Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
RSS Output Mod & Icon Details »»
RSS Output Mod & Icon
Version: 1.00, by fluent fluent is offline
Developer Last Online: Jan 2006 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 06-03-2004 Last Update: Never Installs: 41
 
No support by the author.

The code modifications make a simple change to external.php to explode a list of child forums in addition to some quick template changes to provide a common button for users to click to see the RSS feed.

1) at the Forum Home level, the xml link when clicked, produces an RSS feed for all threads in all forums. No changes made to external.php for this to work.

2) at the Sub-Forum level, the xml link when clicked, produces an RSS feed for all threads in the listed sub-forums. external.php is changed to explode the list of child forums.

3) at the Forum level, the xml link when clicked, produces an RSS feed only to threads in the that forum. No changes made to external.php for this to work.

I’m using this on an internal forum and have not had any problems. But your mileage may vary. Let me know what you think and if it works for you or not.

I've uploaded the rss.gif file that I'm using.

-paul

[7 June 2004 - re uploaded - small doc changes - no code changes]
[8 June 2004 - re uploaded - Natch's code changes, two options now available]

Show Your Support

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

Comments
  #2  
Old 06-04-2004, 10:48 PM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent

*Clicks install*

Thanx
Reply With Quote
  #3  
Old 06-04-2004, 11:28 PM
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Location: Black Mage Village
Posts: 442
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so confused, how about a screenshot lol?
Reply With Quote
  #4  
Old 06-05-2004, 04:22 AM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool, do you have the images too?
Or do I have them already in my working dirs?
If not, do you have any nice ones?
Anyway, I'm going to install it now, it seems like what I was looking for... I'll report back
Many thanks,
MH

****
Self edit - images now added. Kindly disregard this post.
Reply With Quote
  #5  
Old 06-05-2004, 04:41 AM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Welahhh

1. Looks like a table on my homepage index got thrown off slightly. The other forum pages (forumdisplay) look ok though.
2. So when I click the rss image I used, I get XML Parsing Error: syntax error

XML Parsing Error: syntax error
Location: http://forum.free-templates.com/external.php?type=RSS2
Line Number 1, Column 31:<?xml version="1.0" encoding=""?>
------------------------------^


For what it's worth, thats the first time XML Parsing Error: syntax error was typed here!
Beam me up Scotty!

Any suggestions?

Thanks man,

MH
Reply With Quote
  #6  
Old 06-05-2004, 04:58 AM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm no expert but I think a colspan needs to be fixed on the forum home. If you know where it goes, that'd be great.

still trying to find out why I get the parsing error.
Reply With Quote
  #7  
Old 06-05-2004, 05:13 AM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting close.
And only continuing to post here because I know this will be a hot one as the years fly by. If it happened to me, maybe I can help the ones after me..

So, I think I need to roll some dice and pick a charset. This is what I came up with after a very quick search:
I like international standards. But it's not up to me. Is there a best choice out of this list for what I'm doing here? I'm really no expert, I keep telling people.

<?xml version="1.0" encoding="windows-1252"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-16"?>

I'll be back!
Reply With Quote
  #8  
Old 06-05-2004, 10:28 AM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's whats going on over there:
http://www.vbulletin.com/forum/showthread.php?t=106696
Reply With Quote
  #9  
Old 06-05-2004, 05:51 PM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed it.
I went into my admin and simply pasted
ISO-8859-1
in my
HTML Character Set
This is the value of the 'charset' attribute for the HTML content type setting in the 'headinclude' template.<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

For some reason, this was missing in my board.
A developer at vbulletin.com said this has happened a few times now.
My installed hacks include the arcade hack and the new user welcome PM. Maybe something along the lines fudged it up.

So for anyone considering this hack, its a great hack and no worries.
Hope it goes smoothly for you.

Many thanks
Reply With Quote
  #10  
Old 06-07-2004, 01:40 PM
fluent fluent is offline
 
Join Date: Oct 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get back to the office this morning and all this activity took place

@ Vivi Ornitier

Screen shot uploaded


@ MediaHound

I figured, there were a ton of RSS icons available all over the net. Some have rounded corners, some are square, and not everyone might like the one I picked.

Here are some resources for free XML icons:

http://www.graphicpush.com/archives/000035.shtml
http://www.antipixel.com/blog/archiv...e_buttons.html

As for the XML error, I'm glad you found the fix, I had the same error and forgot to mention it in the install docs. I figured it was one of those things that I should have read the manual on

I'll add this to the install docs:
Add this to in the admincp if you get XML encoding errors:

Language Manager -> Edit -> HTML Character Set -> ISO-8859-1
Reply With Quote
  #11  
Old 06-07-2004, 04:20 PM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We're in it together.

So the XML error is taken care of on my site. Good for that.

But my forumhome is still a bit skewed.
Adding a new column above the forums, where the xml icon goes, altered the columns of the page.
Take a look at http://forum.free-templates.com and see what I mean.

If you know the fix would be great to post it here as others will need it too.
If you cant see it, post here and let me know I'll provide a screenshot with an arrow pointing at it.

Many thanks,

Jarred
Reply With Quote
  #12  
Old 06-07-2004, 05:27 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I actually decided to alter this for my own benefit ...

Look for:

Code:
	<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
Re-place with the following:

Code:
	<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]
	<!-- RSS ICON -->
		<a href="external.php?type=RSS2" style="float:right">
			<img src="$stylevar[imgdir_button]/rss.gif" alt="Subscribe to XML RSS for all Threads in all Forums" border="0" />
		</a>
	<!-- / RSS ICON -->
	</td>
And apply the same change to all other cells - what you are doing is moving the RSS image into the previous cell, and retaining the Forum spacings ...

Example - http://www.mobileforces.org/forums/
Reply With Quote
  #13  
Old 06-07-2004, 06:40 PM
fluent fluent is offline
 
Join Date: Oct 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the corrections! I'll update and upload the changes in a little bit, but here is what I've ended up going with.
Reply With Quote
  #14  
Old 06-07-2004, 11:02 PM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fluent, could you give those of us that installed it already a step by step to fix the problem?
Reply With Quote
  #15  
Old 06-07-2004, 11:23 PM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh its fine now.
All I did was remove the new td, and moved the existing closing td tag to after the image, and its fine.
Added natches style="float:right" to the image and it looks great.

I'm really no expert.
Anyway, thanks for everything.
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:28 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.09764 seconds
  • Memory Usage 2,339KB
  • Queries Executed 28 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (15)post_thanks_box
  • (15)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (15)post_thanks_postbit_info
  • (14)postbit
  • (15)postbit_onlinestatus
  • (15)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