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
Adding RSS next to forum title Details »»
Adding RSS next to forum title
Version: 1.1, by KID_1194 KID_1194 is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.4 Rating:
Released: 11-19-2009 Last Update: Never Installs: 9
Template Edits
Translations  
No support by the author.

Dear everyone,

This modification is to add rss feed next to the forum title ...

The previous modification was Adding RSS and other options to Forum home page which I've posted before but my friend Ghostt gave me the idea of putting only 1 rss feed for all the forums in that section.

Lets see how it should be done ...

First, we go to Admincp --> Styles & Templates --> Style Manager --> Choose the style --> Edit templates --> Go

Then edit forumhome_forumbit_level1_nopost template only ....

Search for
PHP Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title
Add next to it
PHP Code:
<img src="$stylevar[imgdir_misc]/rss_rss.gif" border="0" width="14" height="14" hspace="0" alt="Rss feed" /></a
----------------
Update: 1.1

If you want to exclude the code in some forms .. you can add this code instead
PHP Code:
<if condition="!in_array($forumid, array(x,x,x,x))"><img src="$stylevar[imgdir_misc]/rss_rss.gif" border="0" width="14" height="14" hspace="0" alt="Rss feed" /></a></if> 
Instead of x .. put the category ids ...
----------------



Then go to Admincp --> Forums & Moderators --> Forum Manager --> Select Main Category --> Edit forum --> Go

Add next to the name this code
PHP Code:
&nbsp;<a target="_blank" href="external.php?type=RSS2&forumids=1,2,3"
instead of 1,2,3 put the forumids that is under the main category

The result is


Dont forget to upload the rss icon in to images --> misc

I'm trying to make it and Add-on!

Best regards

Screenshots

File Type: gif 2009-11-20_163211.gif (6.5 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 05-06-2010, 12:43 PM
KID_1194 KID_1194 is offline
 
Join Date: May 2009
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't get what you mean actually ..

As I understood .. the problem is that u have to

Search for
PHP Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title
Add next to it
PHP Code:
<img src="$stylevar[imgdir_misc]/rss_rss.gif" border="0" width="14" height="14" hspace="0" alt="Rss feed" /></a
Then go to Admincp --> Forums & Moderators --> Forum Manager --> Select Main Category --> Edit forum --> Go

Add next to the name this code
PHP Code:
&nbsp;<a target="_blank" href="external.php?type=RSS2&forumids=1,2,3"
instead of 1,2,3 put the forumids that is under the main category
Reply With Quote
  #13  
Old 05-21-2010, 04:45 PM
KID_1194 KID_1194 is offline
 
Join Date: May 2009
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are most welcome ..

Best regards
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 11:54 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.09501 seconds
  • Memory Usage 2,250KB
  • Queries Executed 18 (?)
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
  • (7)bbcode_php
  • (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
  • (1)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete