vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   RSS Output Mod & Icon (https://vborg.vbsupport.ru/showthread.php?t=65832)

fluent 06-03-2004 10:00 PM

RSS Output Mod & Icon
 
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]

Acido 06-04-2004 10:48 PM

Excellent :)

*Clicks install*

Thanx ;)

Vivi Ornitier 06-04-2004 11:28 PM

so confused, how about a screenshot lol?

MediaHound 06-05-2004 04:22 AM

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.

MediaHound 06-05-2004 04:41 AM

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

MediaHound 06-05-2004 04:58 AM

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.

MediaHound 06-05-2004 05:13 AM

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!

MediaHound 06-05-2004 10:28 AM

Here's whats going on over there:
http://www.vbulletin.com/forum/showthread.php?t=106696

MediaHound 06-05-2004 05:51 PM

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

fluent 06-07-2004 01:40 PM

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


All times are GMT. The time now is 05:57 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01194 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete