MyTopix bridge file for 1.4 MyTopix bridge file for 1.4
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

MyTopix bridge file for 1.4

Started by Nibbler, November 05, 2005, 09:38:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nibbler

Bridge file for use with MyTopix forum software. To use, extract file and fill in the info:


// local path to your mytopix config file
$path = '../mytopix/';
$this->use_post_based_groups = 0;


Then upload into your cpg bridge dir and run the bridge manager, entering 'mypix' as a custom bridge file. Set post based groups to 1 to import usergroups from the board. If you leave it as 0 then everyone gets dumped into the members group for easy administration.


DARRKCLOUD

It works very well, but there is an problem. If you go to my profile, and try to edit it, then it outputs:
Quote
The system cannot find the appropriate data to match your request. Please ensure that your input is in the correct format.
I fixed this by finding

// Pages to redirect to
$this->page = array(
'register' => '/index.php?a=register',
'editusers' =>  '/index.php?a=members',
'edituserprofile' => '/index.php?a=ucp&CODE=00'
);

and changing it to

// Pages to redirect to
$this->page = array(
'register' => '/index.php?a=register',
'editusers' =>  '/index.php?a=members',
'edituserprofile' => '/index.php?a=ucp&id='
);

Otherwise it works perfectly. :D

DEMO:
http://www.nitrocarcentral.ath.cx/community/
http://www.nitrocarcentral.ath.cx/gallery/

DARRKCLOUD

Realised an bug. If you login, click car gallery, and go back to the forums, then all of your posts are duplicated. You also get an duplicate entry in the active users, so i think that is connected. Any ideas? Screen below:

Joachim Müller

How could the bridge file interfere with your board? This process is only possible vice versa afaik.

DARRKCLOUD

#4
It was working fine before i used the bridge.  I think it is coppermine's active users doing it, so i am going to find it an comment it out. :(