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
  #82  
Old 04-26-2009, 01:38 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zelnik View Post
I had not installed it until now and I have noticed that I get a blank screen for the 2 non public sections when I click on the RSS icon (mods and site news section) so I assume it will only generate an RSS feed for public forums/sections so that would stop it anyway.

But is the above method better than just having a blank screen?

PS: the if condition removes the rss icon so that works, but I'm wondering if it is possible to show up a msg saying that no rss feed is available on the other private (not accessible to guests) forums instead of a blank white screen?
That blank screen is a standard behaviour of vb, not what this template edit handles.

Quote:
Originally Posted by zelnik View Post
Also there is a minor error in your instructions :

Find this:

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

it should be :

<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
so whats the error?
Reply With Quote
  #83  
Old 04-27-2009, 10:58 AM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post

so whats the error?
Space between " > it should be "> not " >
Reply With Quote
  #84  
Old 04-30-2009, 01:10 AM
DefenceTalk DefenceTalk is offline
 
Join Date: Dec 2004
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, thank you!
Reply With Quote
  #85  
Old 04-30-2009, 01:46 AM
DefenceTalk DefenceTalk is offline
 
Join Date: Dec 2004
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to replace forum feed URLs for each forum in this mod with feedburner?
Reply With Quote
  #86  
Old 05-01-2009, 01:20 AM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If this has been released before, then sorry.
Yer kidding me, right? All the way down to the icons, the size I chose to make them, and icon order? I never released it, but you may have at least given us credit for your inspiration.

You may as well figure this out and release it as well. I used different icons for the Social Groups. Link
Reply With Quote
  #87  
Old 05-01-2009, 02:51 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are many other skins/sites that I have seen using this before I released. Maybe yours was one of them, or maybe not. Its such a easy template edit that anybody can do this, so not sure to whom the credit for the idea goes to.

Thanks for noticing after 3 months though. :erm:



But because you said so, I really don't mind adding your name to the co-auths. Anybody else wants it?
Reply With Quote
  #88  
Old 05-01-2009, 05:21 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Maybe yours was one of them, or maybe not.
Err yeah, whatever. It's cool man, I don't want anything saying I authored it--I didn't. Just a simple, 'Hey I saw this here and decided to release it.' would have been the way to do it from the start. Didn't mean to point out the obvious.
Reply With Quote
  #89  
Old 05-02-2009, 05:05 AM
DefenceTalk DefenceTalk is offline
 
Join Date: Dec 2004
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DefenceTalk View Post
Anyway to replace forum feed URLs for each forum in this mod with feedburner?
Whoever can figure this out should get the ownership of the mod.

No really guys, anybody know how to do this?
Reply With Quote
  #90  
Old 05-02-2009, 10:46 AM
nexialys
Guest
 
Posts: n/a
Default

hum, strangely, i fall on this release months after it's firstpost, and see that there is a "war" about who released something similar before?
Quote:
Originally Posted by veenuisthebest View Post
There are many other skins/sites that I have seen using this before I released. Maybe yours was one of them, or maybe not. Its such a easy template edit that anybody can do this, so not sure to whom the credit for the idea goes to.

Thanks for noticing after 3 months though. :erm:



But because you said so, I really don't mind adding your name to the co-auths. Anybody else wants it?
Thanks venus, as you say, you saw similar template edit in the past, you can see it here: http://vbenhancer.com/free-features-...ool-icons/446/

... and i don't care if someone release something to mimic one of my addons, my version was created 4 years ago and never released on vb.org, so why bother following the mood of "i made it first"... tsss

adding someone else to co-authors.. come on, nobody helped you create this release.
Reply With Quote
  #91  
Old 05-06-2009, 05:34 AM
funkmeister funkmeister is offline
 
Join Date: Oct 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Attached Images
File Type: jpg safarimac.jpg (17.5 KB, 0 views)
File Type: jpg safariwindows.jpg (14.5 KB, 0 views)
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 09:21 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.11732 seconds
  • Memory Usage 2,346KB
  • 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
  • (7)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
  • (2)postbit_attachment
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete