vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   UserCP Link (https://vborg.vbsupport.ru/showthread.php?t=289004)

marcus123 10-13-2012 04:50 AM

UserCP Link
 
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:
Code:

{vb:raw navigation}
And paste this code below it.
Code:

<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

Quote:

Originally Posted by Stefan118 (Post 2372796)
What I have done is this:

In the navbar template find:
Code:

{vb:raw navigation}
And paste this code below it.
Code:

<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

Quote:

Originally Posted by snakes1100 (Post 2373349)
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


All times are GMT. The time now is 07:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01157 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete