PDA

View Full Version : [vB] Update: logout code fix


CustomerService
12-05-2007, 09:01 AM
Issue: There is no logout button or link on the home page.

Resolution: A logout button was added in the standard position, bottom right. The fixed version of the skin has limited space and for users this is not an often used link, so it was not added anywhere else.

Manual Fix: Find in the Forumhome template at the bottom:

</td>
</tr>
</table>
<!-- / icons and login code -->
Replace with:

</td>
<td align="right" valign="top"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
</tr>
</table>
<!-- / icons and login code -->
Master archives will be updated soon.

CustomerService
12-05-2007, 12:48 PM
Archive has been updated. Also, got rid of the four fixed .xml files, as the fluid versions can be set to fixed width. Changed the demo to reflect this, by showing all four colors, and having two set at 100% screen width and two set at a fixed 780 pixels.