I have tried for 3 days, 29 hours of online time...to fix this goofy problem. No need to redirect me to other posts, I know them inside and out on both coppermine and mybb boards. I'm moving in circles without hitting the proper combination. I think this is a simple fix, is there someone who could help me... I tried to be as complete as possible, if you need more info, please let me know.
I have the following issue when trying to bridge coppermine and mybb:
[Your user ID could not be verified to log you out. This may have been because a malicious Javascript was attempting to log you out automatically. If you intended to logout, please click the Logout button at the top menu.]
This is my coppermine mybb.inc.php file.
I'm sure it is wrong ...it is as close as I can get...
how can I pull in the mybb logout key? :
// Logout
function logout_page()
{
$this->redirect('/member.php?action=logout&uid=' . USER_ID . '&logoutkey=' . $this->logoutkey);
I have followed the instructions from mybb support team lead as follows:If you are using MyBB 1.2.8 or later (already have &sid=xxxx in URL)
Admin CP --> Templates --> Modify/Delete --> *expand your template set* --> changeuserbox
Find:
<a href="member.php?action=logout&uid={$mybb->user['uid']}&sid={$session->sid}">{$lang->change_user}</a>
Replace with:
<a href="member.php?action=logout&uid={$mybb->user['uid']}&logoutkey={$mybb->user['logoutkey']}">{$lang->change_user}</a>
Admin CP --> Templates --> Modify/Delete --> *expand your template set* --> header_welcomeblock_member
Find:
<a href="{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}&sid={$session->sid}">{$lang->welcome_logout}</a>
Replace with:
<a href="{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}&logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a>
Admin CP --> Templates --> Modify/Delete --> *expand your template set* --> Index Page Templates --> index_logoutlink
Find:
<a href="member.php?action=logout&uid={$mybb->user['uid']}&sid={$session->sid}">{$lang->index_logout}</a>
Replace:
<a href="member.php?action=logout&uid={$mybb->user['uid']}&logoutkey={$mybb->user['logoutkey']}">{$lang->index_logout}</a>
Coppermine install:
http://www.removed-by-request.com/photo_gallery/Forum install:
http://www.removed-by-request.com/forum/Coppermine version: cpg1.4.16
Forum version: mybb 1.2.12
Test user account: question / question
BridgeManager settings:
Forum URL:
http://www.removed-by-request.com/forum/Relative path to your BBS's config file: ../forum/
Use post-based groups?: ?not sure_default?
Cookie name/preifx micksclicks_photo