vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Mini Mods - Double navigation buttons bar (https://vborg.vbsupport.ru/showthread.php?t=172301)

shawon025 03-11-2008 02:15 PM

very very thanx ..... i already applied into my forum

choccyclaire 03-11-2008 06:50 PM

This is just what I need, and so simple! Thanks. :)

iogames 03-11-2008 07:49 PM

Quote:

Originally Posted by Boofo (Post 1462048)
You know you can do this as a plug-in and automatic template replace, right? I have already done this if you would like to see the plug-in.

Can I see it please?

Boofo 03-11-2008 08:17 PM

iogames, PM me so we don't clutter up his thread.

Mike-D 03-11-2008 08:52 PM

Quote:

Originally Posted by Boofo (Post 1462048)
You know you can do this as a plug-in and automatic template replace, right? I have already done this if you would like to see the plug-in.

Bob,
no doubt: Plugins are in most ways the best solution and it's really no big deal to write an Plugin as you already did. But in this case I'd recommend to use TMS! In most Codes (esp in HTML Codes) always the best solution ;)

Boofo 03-11-2008 09:04 PM

Yes, the plug-in was a big deal as getting it to work in the arcade was a nightmare.
TMS is great if you have it installed and are using it. Alot of people aren't yet.

jwhale 03-12-2008 03:15 AM

hi there, Firstly, this is a great peice of code for a simple partial coder like me, thanks.

What i want to do is display a link on the navbar based upon what page a user is currently looking at. So, for example, a user who is logged in (ie <if condition="$show['member']">) gets to see a bunch of links in menu, then say for example the main forums page (I am using vbadvanced cmps) has a link to the home index page, and the home index page has a link to the main forums page?

anyone can answer this simple condition test?

iogames 03-14-2008 05:34 PM

Quote:

Originally Posted by Boofo (Post 1462509)
Yes, the plug-in was a big deal as getting it to work in the arcade was a nightmare.
TMS is great if you have it installed and are using it. Alot of people aren't yet.

What's TMS? :rolleyes:

DarkSorrowz 03-14-2008 06:26 PM

How do I make it so I can make it go to another link and not take you to

www.forumhome.com/www.redirectedlink.com

I want it just to take you to

www.redirectedlink.com

when you click it

(Note: Those are not the actual links)

4number8 03-14-2008 10:25 PM

How would I add another usergroup to the AdminCP part here.....

<if condition="$bbuserinfo[usergroupid] == 6">
<td class="vbmenu_control"><a href="$admincpdir/index.php$session[sessionurl_q]">AdminCP</a></td>
</if>


I added after the 6 using a comma, and it did't work, any help would be appreciated and thanks for a nice hack.


All times are GMT. The time now is 03:00 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.01278 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete