PDA

View Full Version : 2.1.1 bug


Lionel
06 Jul 2010, 15:41
In the plugin User CP navigation, those lines are preventing the subnav items from displaying in navbar

if (THIS_SCRIPT != 'usercp')
{
$vbulletin->options['selectednavtab'] = 'projecttools';
}

Lionel
06 Jul 2010, 15:58
My fix for it:

$thisscript = array('usercp', 'private', 'profile', 'subscription', 'calendar');
if (!in_array(THIS_SCRIPT, $thisscript))
{
$vbulletin->options['selectednavtab'] = 'projecttools';
}

Mosh
06 Jul 2010, 22:48
It has already been reported here and has been fixed in the next version.

Thanks for reporting it though :)

Lionel
06 Jul 2010, 23:22
Great! I did my search for 'private' as I spotted that at first in private messages.

PitchouneN64ngc
06 Jul 2010, 23:52
You forgot one page name (but I didn't get private, subscription & calendar) ;)

Mosh, check changeset 130 :)

Lionel
07 Jul 2010, 00:06
Never dream one second to put 'projectpost' in there also :-)

PitchouneN64ngc
07 Jul 2010, 21:58
I mean 'moderation' :)

--------------- Added 1278536459 at 1278536459 ---------------

And why do you want to list 'projectpost'? This is a file from Projects, for the 'Projects' tab must be selected, not 'Forums' :)

Lionel
07 Jul 2010, 22:18
projectpost appears in Usercp under Projects => List Subscriptions
(I did not put it in there) :-)

And thank you for moderation.