TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 572
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

[bugtracker] Reborn logout button

Started by IchBinâ„¢, January 15, 2009, 03:11:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBinâ„¢

The logout button doesn't show in the reborn theme menu. As you can see below the code has a bang in it, which means its checking if the user is actually logged out, instead of logged in. :)

 // logout button - just for members
 if(!$context['user']['is_logged'])
  $context['menubox'][]=array(
    'title' => $txt[108],
    'link' => $scripturl.'?action=logout;sesc='. $context['session_id'],
    'chosen' => 'logout',
    'memberonly' => true,
    'guestonly' => false,
    'permission' => '',
    );

This website is proudly hosted on Crocweb Cloud Website Hosting.