PDA

View Full Version : UserCP Link


marcus123
10-13-2012, 04:50 AM
does anyone have an updated version of this mod https://vborg.vbsupport.ru/showthread.php?t=232575

or could anyone let me know how i can do this in vb4.2

Stefan118
10-13-2012, 08:54 PM
What I have done is this:

In the navbar template find:
{vb:raw navigation}
And paste this code below it.
<vb:if condition="in_array($bbuserinfo['userid'], array(699,2178,4319))">
<li> <a class='navtab' href='modcp/index.php' target='_blank'> Moderator login </a>
</li>
</vb:if>

Don't forget to change the member ID numbers to your own moderators.
This will add a tab in the navbar to your ModCP or whatever you make the link.
Works on 4.2.0

Edit:
Oeps, i see now that you want a UserCP tab.

marcus123
10-14-2012, 12:32 AM
What I have done is this:

In the navbar template find:
{vb:raw navigation}
And paste this code below it.
<vb:if condition="in_array($bbuserinfo['userid'], array(699,2178,4319))">
<li> <a class='navtab' href='modcp/index.php' target='_blank'> Moderator login </a>
</li>
</vb:if>

Don't forget to change the member ID numbers to your own moderators.
This will add a tab in the navbar to your ModCP or whatever you make the link.
Works on 4.2.0

Edit:
Oeps, i see now that you want a UserCP tab.

yeah thanks but was after user cp tab

marcus123
10-16-2012, 07:28 AM
wow i guess vbulletin has fallen not one reply that helps the issue

snakes1100
10-16-2012, 07:38 AM
It has nothing to do with vbulletin, this is a hack/addon site, which is free for coders to create hacks/addons for you to use, if you want support for a hack, post in the thread you got the hack/addon from.

https://vborg.vbsupport.ru/showthread.php?t=232575

4.2 Has its own Navigation Manager, i would suggest you try it.

marcus123
10-16-2012, 09:22 AM
It has nothing to do with vbulletin, this is a hack/addon site, which is free for coders to create hacks/addons for you to use, if you want support for a hack, post in the thread you got the hack/addon from.

https://vborg.vbsupport.ru/showthread.php?t=232575

4.2 Has its own Navigation Manager, i would suggest you try it.

that wont work for vb4.2 they changed the way the nav bar works in vb4.2

snakes1100
10-16-2012, 09:31 AM
Thats why i told you to use the Navigation Manager thats now in 4.2