Logging out Problems
#11
The template fix in the link that LeX- posted will fix the problem! I'll even copy the instructions into this thread for you!

Admin CP --> Templates --> Modify / Delete --> *expand your template set*

The logout code should be:

In header_welcomeblock_member:
<a href="{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}&sid={$session->sid}">{$lang->welcome_logout}</a>)<br />

In index_logoutlink:
<a href="{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}&sid={$session->sid}">{$lang->index_logout}</a> | 

In changeuserbox:

<a href="{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}&sid={$session->sid}">{$lang->change_user}</a>

For all the codes above, in your existing template you will find something very similar, except without &sid={$session->sid} so that's basically you're just adding that bit into the logout links.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#12
Okay but I do not see this
"index_logoutlink:"
#13
Admin CP --> Templates --> Modify/Delete --> *expand your template set* --> changeuserbox

Find:
<a href="member.php?action=logout&amp;uid={$mybb->user['uid']}">{$lang->change_user}</a>
Replace with:
<a href="member.php?action=logout&amp;uid={$mybb->user['uid']}&amp;sid={$session->sid}">{$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&amp;uid={$mybb->user['uid']}">{$lang->welcome_logout}</a>
Replace with:
<a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;uid={$mybb->user['uid']}&amp;sid={$session->sid}">{$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&amp;uid={$mybb->user['uid']}">{$lang->index_logout}</a>
Replace:
<a href="member.php?action=logout&amp;uid={$mybb->user['uid']}&amp;sid={$session->sid}">{$lang->index_logout}</a>

If you can't find what you're supposed to replace, then just post the contents of the template here.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#14
Did it to the template im using, still getting

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.
#15
Link to your forum?
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#16
www.nwhnetworks.com/forums
#17
Make sure you've applied the template modifications to both of your themes.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#18
I did and still nothing. Can I make you admin on my forums and you can try this?
#19
I'll take a look.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#20
Okay I made you administrator, please fix this if you can.


Forum Jump:


Users browsing this thread: 1 Guest(s)