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
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
  #102  
Old 07-06-2009, 07:49 PM
NolimitMike NolimitMike is offline
 
Join Date: Aug 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to get the icons to appear either to the left or to the right of the title of the forum area?

So it would be: Fourm (icon) (icon) (icon) (icon) (5 Guests Viewing)
Reply With Quote
  #103  
Old 08-02-2009, 09:43 PM
sherwood sherwood is offline
 
Join Date: May 2008
Location: United Kingdom
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NolimitMike View Post
Is there anyway to get the icons to appear either to the left or to the right of the title of the forum area?

So it would be: Fourm (icon) (icon) (icon) (icon) (5 Guests Viewing)
Yes, just insert your code below the following in your forumhome_forumbit_level2_post Template:
Code:
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
And remove the DIV tags at the beginning and end.
Reply With Quote
  #104  
Old 08-10-2009, 03:10 PM
Birched Birched is offline
 
Join Date: Sep 2007
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, tried it out, uninstalled -- rss links were not working, and decided the one in the browser url bar was sufficient
Reply With Quote
  #105  
Old 08-13-2009, 02:51 AM
GSeybold GSeybold is offline
 
Join Date: Dec 2007
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rss doesn't work but the rest do. Thanks! Great mod!
Reply With Quote
  #106  
Old 08-14-2009, 09:26 PM
Mike21 Mike21 is offline
 
Join Date: Sep 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesnt show up on my forumbit_level2_post section:

Code:
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" >
Reply With Quote
  #107  
Old 08-15-2009, 02:17 PM
M@tthew M@tthew is offline
 
Join Date: Apr 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, installed and no probs - thank you.
Reply With Quote
  #108  
Old 08-18-2009, 06:26 AM
JasonGD JasonGD is offline
 
Join Date: Jul 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should be integrated with vB by default.

The only problem I'm having seems to be a common one, my RSS page is blank. I've switched all my syndication settings to On in my vB Options, maybe it just takes some time to kick in?
Who knows, it's still gold.

Installed!


Update: I found out that the reason my RSS page is blank is because I have my forum set to private, nothing is guest-viewable. Didn't even think of that at first.
Reply With Quote
  #109  
Old 08-29-2009, 03:14 AM
Al3asq Al3asq is offline
 
Join Date: Oct 2008
Location: SaudiArabia
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx you my friend
Reply With Quote
  #110  
Old 08-29-2009, 12:44 PM
Bansheebob Bansheebob is offline
 
Join Date: Apr 2009
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wheres the files to upload with icons at?
Reply With Quote
  #111  
Old 09-03-2009, 08:20 AM
Log on Log on is offline
 
Join Date: Aug 2009
Location: KSA
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great
thank u
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 01:55 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.12673 seconds
  • Memory Usage 2,328KB
  • 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
  • (6)bbcode_code
  • (1)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