Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
[CM] RSS Button On All Forums (Hightlights When Hover) Details »»
[CM] RSS Button On All Forums (Hightlights When Hover)
Version: 1.00, by ChiNa ChiNa is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.7 Rating:
Released: 08-02-2012 Last Update: Never Installs: 5
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

For vBulletin 4.2, CLICK HERE!

Works for all vB 3.8.x

This is my 2nd Modification this week ever, for vBulletin! I hope you will like it! If so, I will make many other simple tuts later on!

Lets get started.

Well I have seen a few modifications like this, but this one is a bit different than other "RSS Feed Syndication" mods! This modification will show the opacity, and it HIGHLIGHTS the button when you hover the mouse over it. Many forum and site owners does not know the importance of having a RSS Feed Syndication added in their forums or websites. But after I understood what it means for a forum and its users to follow up on the subscribed Feeds, then I decided to add one on each of my forums!

Only 2 Template Edits


Image 1 Below: (Hover With No Opacity, No Highlight)




Image 2:(Hover With Opacity and Highlighted)




Example of the mod, when its finished:




======================== Tutorial Starts Here ==========================

Step 1: Go to your ADMINCP. Then Styles & Templates, click on Style Manager. Now click on the the template NAME that you use! And in the dropdown menu click on "Main CSS"!

In "Main CSS" scroll all the way down till you find the "Additional CSS Definitions" section! In there below all the other codes, add the following code below:
Add the following in Additional CSS Definitions:
PHP Code:
.icon {
        
vertical-alignmiddle;
        
margin-top: -4px;
        
margin-right2px;



Step 2:
Now go back to your Style Manager, and click on the the template NAME that you use!

Now find the "Forum Home Templates"! After you found it you will need to search for "forumhome_forumbit_level2_post", and click to get access inside the "forumhome_forumbit_level2_post"!

Now this is where we should add the RSS BUTTON CODE!

Step 3:
Find the the following line in forumhome_forumbit_level2_post:

Code to find:
PHP Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a
Add the code below ON TOP of it

Add this code:
PHP Code:
<span style="float: right;"><a href="external.php?type=rss2&forumids=$forum[forumid]">
<
img src="images/rss.png" class="icon" alt="RSS"  style="margin-top: -2px; opacity:0.5;filter:alpha(opacity=50)"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"  onmouseout="this.style.opacity=0.5;this.filters.alpha.opacity=50" />
</
a></span


Step 4:
(Last step)Now copy the "rss.png" (RSS
Button Image) from the attachments below, or copy it from the image I have linked! And upload the "rss.png" in the root of your "FTP", inside the "images" folder! So your icon will be placed like this code "images\rss.png"

Right Click to copy the button, or pick the one in the attachments!


Thats it, We are DONE!

Finished Example:




========================== Tutorial Ends Here =========================



Notices & Troubleshoots:

This modification works an almost any vBulletin versions! But remember for vBulletin 4.x you will need to find the exact code in your forumhome_forumbit_level2_post template, and then add the codes needed for the mod to work, its Because the codes are a bit more different in vB 4.x templates, but def works !
Some Extra / Optional Modification:

1) (How to change Hover Text)
If you wanna change the HOVER TEXT, which says "RSS"! Then go to STEP 3, and change the text on the line, where it says alt="RSS" . Change the text "RSS" to what ever you want to call it, when hover!

2) (How to add a button without Opacity & Highlight):

If you want the button to be simple, without the Opacity and Highlight, then add the code below instead of the real code:

Code to Add:
PHP Code:
<span style="float: right;"><a href="external.php?type=rss2&forumids=$forum[forumid]">
<
img src="images/rss.png" class="icon" alt="RSS" />
</
a></span


Please notice, if you use this modification, then make sure to click on Installed. Its only for the later support purpose! Thank you !

Show Your Support

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

Comments
  #2  
Old 08-13-2012, 10:30 PM
tehPARADOX tehPARADOX is offline
 
Join Date: Feb 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #3  
Old 08-20-2012, 08:10 AM
charkman charkman is offline
 
Join Date: Mar 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Useful Mod!
Reply With Quote
  #4  
Old 08-20-2012, 03:14 PM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for clicking installd Charkman, and good luck mate..
Reply With Quote
  #5  
Old 08-21-2012, 10:13 AM
arabyun's Avatar
arabyun arabyun is offline
 
Join Date: Aug 2012
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you dear
Code in Arabic
Code:
style="float: left;
Code:
<span style="float: left;"><a href="external.php?type=rss2&forumids=$forum[forumid]">
<img src="images/rss.png" class="icon" alt="RSS"  style="margin-top: -2px; opacity:0.5;filter:alpha(opacity=50)"
onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"  onmouseout="this.style.opacity=0.5;this.filters.alpha.opacity=50" />
</a></span>
Reply With Quote
Благодарность от:
ChiNa
  #6  
Old 11-10-2012, 12:32 PM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks for this , i will try it later
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 06:16 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.06516 seconds
  • Memory Usage 2,284KB
  • Queries Executed 20 (?)
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
  • (2)bbcode_code
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete