Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
RSS Feed Icon for boards Details »»
RSS Feed Icon for boards
Version: 1.00, by karim004 karim004 is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.0 Rating:
Released: 04-14-2008 Last Update: Never Installs: 177
Template Edits
 
No support by the author.

Add a Rss feed icon to each forum on forumhome

Update May 09,2008 : icon before forum s name
open template forumhome_forumbit_level2_post
After :
Code:
<tr align="center">
	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
	<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
		<div>
Add :
Quote:
<a href="external.php?forumids=$forum[forumid]"><img src="$stylevar[imgdir_misc]/rss_small.gif" border="0" width="13" height="11" hspace="2" alt="Subscribe to this feed $forum[title]"></a>
Done
If you update remove the old code
PrintScreen :


Icon next to forum Name :Check Screenshots

open template forumhome_forumbit_level2_post
After :
Quote:
<div style=float:left>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
Add :
Quote:
<a href="external.php?forumids=$forum[forumid]"><img src="$stylevar[imgdir_misc]/rss_small.gif" border="0" width="13" height="11" hspace="2" alt="Subscribe to this feed $forum[title]"></a>
Upload this icon to your images/misc

Show Your Support

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

Comments
  #102  
Old 08-30-2008, 09:29 PM
agitated agitated is offline
 
Join Date: Jan 2005
Location: U.K.
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by masterweb View Post
Intalled on my 3.7.2 board and seems ok, but i have just an issue:

when i click on the RSS icon for any category using IE7 i can see the right RSS string, but when i click the same icon for same category into FireFox i get:

<br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_postbit_alt.php(468) : eval()'d code</strong> on line <strong>29</strong><br /><?xml version="1.0" encoding="ISO-8859-1"?>

Any suggestion?, pls help...
Please try this (and anyone else with FF issues)
This code validates. -> http://validator.w3.org/

Code:
<a href="external.php?type=RSS2&amp;forumids=$forum[forumid]"><img src="$stylevar[imgdir_misc]/rss_small.gif" border="0" width="14" height="14" hspace="2" alt="Subscribe to this feed $forum[title]"></img></a>

Note! Please alter -> width="14" height="14" to suit the image you are using.
Reply With Quote
  #103  
Old 08-30-2008, 10:45 PM
agitated agitated is offline
 
Join Date: Jan 2005
Location: U.K.
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To include or exclude specific forums, use conditionals and enclose the code (CODE HERE)

To include specific forums
Code:
<if condition="in_array($forum['forumid'], array(1,2,3,4,5,6,7))">CODE HERE</if>

or
To exclude specific forums

Code:
<if condition="!in_array($forum[forumid], array(1,2,3,4))">CODE HERE</if>
Reply With Quote
  #104  
Old 09-04-2008, 07:32 PM
Pete2007 Pete2007 is offline
 
Join Date: Feb 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I installed this mod (3.7 version) several days ago on 4 forums which are all visable to the public, but 2 are completely empty and not showing anything, the other is displaying one post and the last is showing about 3 posts. How can I get this to work properly?

I have already checked that the RSS Syndication is set to yes, is there anything else I can check?

Any help or advice would be most appreciated!
Reply With Quote
  #105  
Old 09-06-2008, 07:07 PM
gkaradagan gkaradagan is offline
 
Join Date: Apr 2007
Location: İstanbul
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, thanks a lot.
Reply With Quote
  #106  
Old 09-09-2008, 12:32 AM
24hourForum.com 24hourForum.com is offline
 
Join Date: May 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I delete this code , the coding is not written correctly and it causes 300+ errors...

http://validator.w3.org/ pointed the erros and i deleted the code.. my site now passes...

i recommend you re-write this code and make sure it passes
Reply With Quote
  #107  
Old 09-09-2008, 12:49 AM
NeverBored NeverBored is offline
 
Join Date: Feb 2008
Location: CA
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All you have to do is close the image tag to validate the code.
Reply With Quote
  #108  
Old 09-28-2008, 12:03 PM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, how can i change the code to have this on the right far side instead of the left please?
cheers

eg:
Reply With Quote
  #109  
Old 10-07-2008, 01:23 PM
Pete2007 Pete2007 is offline
 
Join Date: Feb 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pete2007 View Post
Hi,

I installed this mod (3.7 version) several days ago on 4 forums which are all visable to the public, but 2 are completely empty and not showing anything, the other is displaying one post and the last is showing about 3 posts. How can I get this to work properly?

I have already checked that the RSS Syndication is set to yes, is there anything else I can check?

Any help or advice would be most appreciated!
Please can anyone help?
Reply With Quote
  #110  
Old 10-07-2008, 02:34 PM
ultimatenatureg ultimatenatureg is offline
 
Join Date: Aug 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaycob View Post
hi, how can i change the code to have this on the right far side instead of the left please?
cheers

eg:

Im the same am runing 3.7.3 and it appears on the right instead of the left, but i searched for the align left code but i dont have it?
Reply With Quote
  #111  
Old 10-07-2008, 02:37 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's just a matter of where you place the code in the templates on where it'll show on the forum
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 12:36 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.10886 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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