Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Another Forum Tabs Details »»
Another Forum Tabs
Version: 1.00, by vibedream vibedream is offline
Developer Last Online: Sep 2009 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.1 Rating:
Released: 03-21-2009 Last Update: Never Installs: 64
Template Edits
 
No support by the author.

Another Forum Tabs
http://vibe.vn/photo/u1a205p2725/tab.png

Installtion

- Upload vibetab.gif to images/
- Edit template / Additional CSS Definitions add :

PHP Code:
#vibetab
{
    
margin:5px 0 0 0px;
    
height:29px;
    
font-weight:bold;
}
#vibetab a
{
    
color:white;
    
background:url(../images/vibetab.gif00no-repeat;
    
text-decorationnone;
    
padding-left6px;
    
margin:0;
    
height:29px;
    
outline:0;
}
#vibetab a span
{
    
backgroundurl(../images/vibetab.gif1000no-repeat;
    
padding9px 12px 0 4px;
    
height:29px;
    
cursorpointer;
}
#vibetab a, #vibetab a span
{
    
displayblock;
    
floatleft;
}
#vibetab a#active_menutopnav
{
    
colorblack;
    
background:url(../images/vibetab.gif044no-repeat;
}
#vibetab a#active_menutopnav span
{
    
backgroundurl(../images/vibetab.gif10050no-repeat;
}
#vibetab a:hover
{
    
colorwhite;
    
background:url(../images/vibetab.gif089no-repeat;
}
#vibetab a:hover span
{
    
backgroundurl(../images/vibetab.gif100100no-repeat;
}

#vibetab ul
{
    list-
stylenone;
    
padding0;
    
margin0;
}
#vibetab li
{
    
floatleft;
    
margin0;

Add to template you want :

PHP Code:
    <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

Download Now

File Type: zip vibetab.zip (7.9 KB, 612 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 06-29-2009, 03:00 PM
belindazhu belindazhu is offline
 
Join Date: Mar 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?

Reply With Quote
  #43  
Old 06-29-2009, 03:02 PM
deadlySniper deadlySniper is offline
 
Join Date: Dec 2008
Location: New York
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great, thanks. But I have a different one that's just text
Reply With Quote
  #44  
Old 07-01-2009, 09:36 AM
DNG DNG is offline
 
Join Date: Jun 2009
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice,, thanks
Reply With Quote
  #45  
Old 09-01-2009, 04:26 PM
Mellymonster Mellymonster is offline
 
Join Date: Oct 2008
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there away to have a tab that only staff can see and members cannot see?
Reply With Quote
  #46  
Old 09-01-2009, 04:33 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mellymonster View Post
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>
Reply With Quote
  #47  
Old 09-01-2009, 04:47 PM
Mellymonster Mellymonster is offline
 
Join Date: Oct 2008
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh thank you so much for the quick response.
Reply With Quote
  #48  
Old 09-03-2009, 01:21 AM
Mellymonster Mellymonster is offline
 
Join Date: Oct 2008
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Reply With Quote
  #49  
Old 09-14-2009, 08:43 AM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #50  
Old 09-16-2009, 06:20 PM
Hi-Jack Hi-Jack is offline
 
Join Date: Sep 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #51  
Old 09-17-2009, 11:15 AM
Limode's Avatar
Limode Limode is offline
 
Join Date: May 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hi-Jack View Post
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> 
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 08:32 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.04597 seconds
  • Memory Usage 2,375KB
  • Queries Executed 26 (?)
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)bbcode_code
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete