Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2012, 04:50 AM
marcus123 marcus123 is offline
 
Join Date: Apr 2012
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-13-2012, 08:54 PM
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
Location: Vaassen (Netherlands)
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 10-14-2012, 12:32 AM
marcus123 marcus123 is offline
 
Join Date: Apr 2012
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stefan118 View Post
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
Reply With Quote
  #4  
Old 10-16-2012, 07:28 AM
marcus123 marcus123 is offline
 
Join Date: Apr 2012
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow i guess vbulletin has fallen not one reply that helps the issue
Reply With Quote
  #5  
Old 10-16-2012, 07:38 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 10-16-2012, 09:22 AM
marcus123 marcus123 is offline
 
Join Date: Apr 2012
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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
Reply With Quote
  #7  
Old 10-16-2012, 09:31 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats why i told you to use the Navigation Manager thats now in 4.2
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:18 PM.


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.03765 seconds
  • Memory Usage 2,220KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete