vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Another Forum Tabs (https://vborg.vbsupport.ru/showthread.php?t=209097)

belindazhu 06-29-2009 03:00 PM

i met a problem.
My forum is fixed in width as 980px, but when I open my forum, the tags is floated on left, not in the same verticle line with body. how to resolve it?

https://vborg.vbsupport.ru/

deadlySniper 06-29-2009 03:02 PM

This is great, thanks. But I have a different one that's just text :D

DNG 07-01-2009 09:36 AM

nice,, thanks

Mellymonster 09-01-2009 04:26 PM

Is there away to have a tab that only staff can see and members cannot see?

bobster65 09-01-2009 04:33 PM

Quote:

Originally Posted by Mellymonster (Post 1877877)
Is there away to have a tab that only staff can see and members cannot see?

Ya, just wrap the <li> that you want "hidden" with a template conditional.. just replace 5,6 with the user group IDs that you want to be able to SEE the Tab


Code:

<if condition="is_member_of($vbulletin->userinfo, 5,6)">
        <li><a href="#"><span>Page 3</span></a></li>
</if>


Mellymonster 09-01-2009 04:47 PM

Oh thank you so much for the quick response.

Mellymonster 09-03-2009 01:21 AM

For some reason, in IE this is what it looks like... I am not a regular IE user, but a member brought it to my attention

https://vborg.vbsupport.ru/external/2009/09/23.png

1320Nation 09-14-2009 08:43 AM

Is there anyway to set this mod up so that when a tab is clicked on it opens up a new window so it doesn't pull the viewer away from our website?

Hi-Jack 09-16-2009 06:20 PM

Hi guys, i don't want this tab to show on my portal, only the forums. When placing it in the FORUMHOME template section it only shows up there and not on the forumdisplay... Se where should i add the code for the tabs?

Limode 09-17-2009 11:15 AM

Quote:

Originally Posted by Hi-Jack (Post 1885895)
Hi guys, i don't want this tab to show on my portal, only the forums. When placing it in the FORUMHOME template section it only shows up there and not on the forumdisplay... Se where should i add the code for the tabs?

Easy, real this : http://www.vbulletin.com/docs/html/t...e_conditionals
PHP Code:

<if condition="THIS_SCRIPT != 'your portal' ''>
  <div id="
vibetab">
    <ul>
    <li><a href="
#" id="active_menutopnav"><span>Portal</span></a></li>
    
<li><a href="#"><span>Forum</span></a></li>
    <
li><a href="#"><span>Article</span></a></li>
    <
li><a href="#"><span>Mods</span></a></li>
    <
li><a href="#"><span>Styles</span></a></li>
    <
li><a href="#"><span>Graphic</span></a></li>
    <
li><a href="#"><span>Page 1</span></a></li>
    <
li><a href="#"><span>Page 2</span></a></li>
    <
li><a href="#"><span>Page 3</span></a></li>
    </
ul>
    </
div>  
</if> 



All times are GMT. The time now is 09:05 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.01124 seconds
  • Memory Usage 1,749KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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