Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
New tab positioning not working
Can anyone point out what I'm doing wrong here? I'm trying to make a new tab that signs the user out, and I would like that tab to be on the right-most side of the tab menu. No mater what I do with the positioning values I cannot get it to appear anywhere but the left-most side (to the left of "Discussions").
<?php
/*
Extension Name: Signout Tab
Extension Url: http://www.gubbish.org
Description: Adds Sign Out tab
Version: 1
Author: Chead
Author Url: http://www.gubbish.org
*/
if (in_array($Context->SelfUrl, array("index.php", "categories.php", "comments.php", "search.php", "post.php", "account.php", "settings.php"))) {
$Menu->AddTab("Sign Out", "Sign Out", "http://www.sanfrancisquad.com/vanilla/people.php?PostBackAction=SignOutNow", "Signout Tab", $Attributes = "", $Position = "6", $ForcePosition = "1");
}
?>
0
This discussion has been closed.
Comments
SkyBlueshoes
Edit: I also tried "15" and it didn't move.