PDA

View Full Version : 2.1.1 bug


Lionel
07-06-2010, 01:41 PM
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
07-06-2010, 01:58 PM
My fix for it:

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

Mosh
07-06-2010, 08:48 PM
It has already been reported here and has been fixed in the next version.

Thanks for reporting it though :)

Lionel
07-06-2010, 09:22 PM
Great! I did my search for 'private' as I spotted that at first in private messages.

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

Mosh, check changeset 130 :)

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

PitchouneN64ngc
07-07-2010, 07:58 PM
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-07-2010, 08:18 PM
projectpost appears in Usercp under Projects => List Subscriptions
(I did not put it in there) :-)

And thank you for moderation.