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
  #132  
Old 07-08-2010, 11:12 AM
farazfaraz farazfaraz is offline
 
Join Date: Mar 2009
Location: Iran-Tehran
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

goooooooooooooooooooooooood
Reply With Quote
  #133  
Old 04-16-2011, 09:21 PM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Best One
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:26 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.11588 seconds
  • Memory Usage 2,235KB
  • Queries Executed 19 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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