Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Extra forumbit controls Details »»
Extra forumbit controls
Version: 1.00, by veenuisthebest veenuisthebest is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 02-03-2009 Last Update: Never Installs: 290
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

This adds 4 mini icons (famfam) corresponding to each forum on forumhome and forumdisplay (subforums)

DEMO1
DEMO2

The 4 controls added are:-

Read new Posts
Create a new thread
Subscribe to Forum
RSS Feed


1. First upload the 4 attached icons in images/misc/ folder.

2. Then in Forum Home Templates/forumhome_forumbit_level2_post

Find this:

Code:
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" >

Add below:-

Code:
<div style="float:right">
<a href="search.php?do=getnew&f=$forum[forumid]"><img src="images/misc/newposts.png" border="0" width="11" height="11" hspace="2" alt="Read New Posts" /></a>

<a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="images/misc/newthread.png" border="0" width="11" height="11" hspace="2" alt="Create a New Thread" /></a>

<a href="subscription.php?do=addsubscription&f=$forum[forumid]"><img src="images/misc/subscribe.png" border="0" width="11" height="11" hspace="2" alt="Subscribe" /></a>

<a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>
</div>

3. Then in Forum Home Templates/forumhome_forumbit_level1_post

Find this:

Code:
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
			<td width="100%">

Make the change in the above code (in red) and add below:-

Code:
<div style="float:right">
<a href="search.php?do=getnew&f=$forum[forumid]"><img src="images/misc/newposts.png" border="0" width="11" height="11" hspace="2" alt="Read New Posts" /></a>

<a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="images/misc/newthread.png" border="0" width="11" height="11" hspace="2" alt="Create a New Thread" /></a>

<a href="subscription.php?do=addsubscription&f=$forum[forumid]"><img src="images/misc/subscribe.png" border="0" width="11" height="11" hspace="2" alt="Subscribe" /></a>

<a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>
</div>

Thats it!

a) Obviously, works in all vb versions!
b) Yes, it is XHTML valid.
c) If this has been released before, then sorry.

If you like it, please click Install and join my site too

Thanks

Source: http://tech6.com/f51/extra-forumbit-controls-t549/

Supporters / CoAuthors

Show Your Support

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

Comments
  #92  
Old 05-06-2009, 08:35 AM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by funkmeister View Post
Everything works great, except with sub-forums and Safari. I'm seeing some wierd display issues - both MAC and Windows.

On the MAC there is some doubling-up of the icons and alignment issues and on Windows just the alignment issue.

Again, this is just with Safari and sub-forums. The regular forums with the controls are rendered fine, even with Safari!

The various flavours of IE, plus Firefox and Chrome don't have this issue, just Safari. I'm on 3.8.2.

Any ideas on how to correct it?
I can confirm same on Safari, cannot seem to work it out though, any ideas?
Reply With Quote
  #93  
Old 05-12-2009, 09:23 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great thanks.

Nice little effect.
Reply With Quote
  #94  
Old 06-06-2009, 11:37 PM
directprint directprint is offline
 
Join Date: Jun 2006
Location: Australia
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome modification, well done. Looks great on my VB 3.8.2 site
Reply With Quote
  #95  
Old 06-14-2009, 07:43 PM
doctorsyrup doctorsyrup is offline
 
Join Date: Mar 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quantnet.org View Post
Google's Chrome does not show this properly. Firefox shows fine.
The spanning 100% on the level 2 does not affect the Chrome browser
How do you get this to work properly with Chrome? I see it works fine on other sites with Chrome but it only appears properly for mine in Firefox.

Edit: Problem is fixed after I moved my forums under a parent category.
Reply With Quote
  #96  
Old 06-22-2009, 11:26 PM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great with 3.8.1 without using the "<td width="100%">". This is on the disturbed style.
Reply With Quote
  #97  
Old 06-25-2009, 03:54 AM
john102774 john102774 is offline
 
Join Date: Aug 2008
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod,

Installed, Thank you.
Reply With Quote
  #98  
Old 06-25-2009, 08:25 AM
P?ŋĭsЋ?я's Avatar
P?ŋĭsЋ?я P?ŋĭsЋ?я is offline
 
Join Date: Mar 2009
Location: Trabzon
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed Thank you !!:up:
Reply With Quote
  #99  
Old 06-26-2009, 12:56 PM
ubcforums ubcforums is offline
 
Join Date: Apr 2009
Location: clouds
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi...
Thanks For the great modification..
How can we restrict this in some private forums ?
Reply With Quote
  #100  
Old 06-30-2009, 01:28 AM
JointRolla420 JointRolla420 is offline
 
Join Date: Jun 2009
Location: Canada
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THIS IS AWESOME.... install!
Reply With Quote
  #101  
Old 06-30-2009, 01:40 AM
JointRolla420 JointRolla420 is offline
 
Join Date: Jun 2009
Location: Canada
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: Is there any way to make it so the forum descriptions dont go underneath the icons, it would look better if there was some sort of allignment to fix that so the icons have nothing underneath and the forum description text just starts from the beginning on a new line
Reply With Quote
Reply

Thread Tools

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 02:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08728 seconds
  • Memory Usage 2,320KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_code
  • (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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete