Project

General

Profile

Actions

Bug #3335

closed

J2.5+UddeIM: CB PMS Integration needs updating for Joomla 2.5 and uddeIM

Added by nant about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
12 March 2012
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

Stephan Slabihoud:
Hi, there is a small bug in pms.mypmspro.php which makes it incompatible with Joomla 2.5 when uddeIM is selected:
Please load the libraries with following code:

if ( defined( 'JPATH_ADMINISTRATOR' ) ) {
jimport( 'joomla.version' );
$ver = new JVersion();
if (!strncasecmp($ver->RELEASE, "2.5", 3)) {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib25.php');
} elseif (!strncasecmp($ver->RELEASE, "1.5", 3)) {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib15.php');
} elseif (!strncasecmp($ver->RELEASE, "1.6", 3)) {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib16.php');
} elseif (!strncasecmp($ver->RELEASE, "1.7", 3)) {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib17.php');
} else {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib25.php');
}
} else {
global $mainframe;
require_once($mainframe->getCfg('absolute_path').'/components/com_uddeim/uddeimlib10.php');
}

In the current version the 2.5 layer is missing.
Thx!


Files

3335.patch (2.17 KB) 3335.patch krileon, 10 April 2012 17:26
3335_rev1.patch (2.14 KB) 3335_rev1.patch krileon, 19 June 2012 20:51
3335_rev2.patch (1.26 KB) 3335_rev2.patch krileon, 19 June 2012 21:21
Actions #1

Updated by krileon about 12 years ago

  • File 3335.patch 3335.patch added
  • Status changed from New to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 0 to 100
Actions #2

Updated by krileon almost 12 years ago

  • Priority changed from Normal to Urgent
Actions #3

Updated by beat almost 12 years ago

  • Status changed from Resolved to Assigned
  • Assignee changed from beat to krileon
  • % Done changed from 100 to 40

can you redo that patch using the CB checkjversion call instead of the Joomla version calls that are not same on all versions ?

Actions #4

Updated by krileon almost 12 years ago

  • File 3335_rev1.patch 3335_rev1.patch added
  • Status changed from Assigned to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 40 to 100

rev1 implements usage of CBs checkJversion function.

Actions #5

Updated by beat almost 12 years ago

  • Status changed from Resolved to Assigned
  • Assignee changed from beat to krileon
  • % Done changed from 100 to 70

Patch still regression from original.

Original was doing minimal tests to see if a file was existing before require-ing it.

Actions #6

Updated by krileon almost 12 years ago

  • File 3335_rev2.patch 3335_rev2.patch added
  • Status changed from Assigned to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 70 to 100
Actions #7

Updated by beat almost 12 years ago

  • Subject changed from CB PMS Integration needs updating for Joomla 2.5 and uddeIM to J2.5+UddeIM: CB PMS Integration needs updating for Joomla 2.5 and uddeIM
  • Status changed from Resolved to Closed
  • Estimated time set to 1:00 h

Committed patch ver2 to r1799 .

To Test:
- try sending UddeIM private messages with UddeIM latest and Joomla 2.5 and Joomla 1.5.

Actions

Also available in: Atom PDF