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
  #42  
Old 02-18-2009, 10:03 PM
DobieGillis? DobieGillis? is offline
 
Join Date: Feb 2009
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it working, nice mod!
Reply With Quote
  #43  
Old 02-19-2009, 04:36 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nrms? View Post
Opsssss... I have found some errors validation with Internet Explorer in level1_post.

For level2_post no problem, and with mozilla firefox works all 100%...

Look above print screen...


[Show Image]
That kind of problem can only occur if you did not make the change in point 3 (in red).

I have checked it in IE 6, looks good to me.

Quote:
Originally Posted by DobieGillis? View Post
got it working, nice mod!
Mind telling what was the problem.
Reply With Quote
  #44  
Old 02-19-2009, 09:47 AM
DobieGillis? DobieGillis? is offline
 
Join Date: Feb 2009
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post
That kind of problem can only occur if you did not make the change in point 3 (in red).

I have checked it in IE 6, looks good to me.



Mind telling what was the problem.
didn't have an RSS link enabled. Doh!
Reply With Quote
  #45  
Old 02-19-2009, 12:32 PM
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post
everything is possible!

I don't use the recent threads cmps module, so you'll have to figure it out.

The code remains the same, you'll probably need to add it in adv_portal_recthreads_exp_head OR adv_portal_recthreads_exp template. It would be easy, try it out.
had tested both templates but could not get this to work... on portal cmps page ...
maybe some have fix that and maybe can help ....


regards

macc
Reply With Quote
  #46  
Old 02-19-2009, 03:42 PM
nrms?'s Avatar
nrms? nrms? is offline
 
Join Date: Dec 2008
Location: Portugal
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@veenuisthebest... ok, but i don't understand where you want change in red.
<td width="100%">
This with is for a newest table or a existing table in template, like:
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
this table have specific width 9, it makes change 100%...?!!

Explain please...
Reply With Quote
  #47  
Old 02-19-2009, 03:59 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

NO, you do not have to change that, leave it as 9. The change is in the <td> after the line of code you posted.

Find this:

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

And make it <td width="100%">
Reply With Quote
  #48  
Old 02-19-2009, 04:26 PM
nrms?'s Avatar
nrms? nrms? is offline
 
Join Date: Dec 2008
Location: Portugal
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hoooo... yes, now i understand... And work fine.

"vBulletin Template and the table of Doom"


Reply With Quote
  #49  
Old 02-19-2009, 10:26 PM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice; I love it, and so do my members
Reply With Quote
  #50  
Old 02-24-2009, 10:25 AM
gkaradagan gkaradagan is offline
 
Join Date: Apr 2007
Location: İstanbul
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks good thanks
Reply With Quote
  #51  
Old 02-24-2009, 10:32 AM
chennairam's Avatar
chennairam chennairam is offline
 
Join Date: Aug 2007
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

veenuisthebest

this modification Can work on Version 3.7.X

Br.,
ram
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 06:54 AM.


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.05304 seconds
  • Memory Usage 2,331KB
  • 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
  • (4)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