PDA

View Full Version : Forum Home Enhancements - Add rss random joke feed to forum home


neckome
04-26-2011, 10:00 PM
Just a little template mod i added to my site so i thought i would share.
Adds a rss feed block to forum home with random jokes.


Iam no coder but i like it and it seems to work.

In forum home template
Find
{vb:raw ad_location.board_after_forums}


add below
<!--start jokes rss feed-->
<div id="wgo" class="collapse wgo_block block">
<h2 class="blockhead">Random Jokes</h2>
<div class="blockbody formcontrols floatcontainer">
<script language="JavaScript" src="http://convert.rss-to-javascript.com/?src=http://jokes4all.net/rss/540010513/jokes.xml&desc=1&desc_max=0&chan=0&simple_chan=0&font=Arial&fgcolor=&bgcolor=&date=1&target=&num=2&target=&use_lists=0&font_size=" ></script><noscript>Your browser does not support JavaScript. <a title='RSS-to-JavaScript.com: Free RSS to JavaScript Converter' href=http://convert.rss-to-javascript.com/?src=http://jokes4all.net/rss/540010513/jokes.xml&desc=1&desc_max=0&chan=0&simple_chan=0&font=Arial&fgcolor=&bgcolor=&date=1&target=&num=2&target=&use_lists=0&font_size=&as_html=1 ></noscript></div></div>
<!--end jokes rss feed-->



Like i say iam no coder so any input/comments would be much appreciated.

Toxic2
04-27-2011, 05:38 AM
Egads !!! I read the 1st Joke and about fell out of the chair Laughing LOL Nice one Tks

Toxic2
04-27-2011, 07:04 AM
I do have a Suggestion though, Make a forum named Random Jokes or Comedy corner etc, allow html for that forum, but make it closed so no one can coment (due to html turned on) and it may serve 2 purposes, 1 save space and 2 for those who offend easily, they don't need to read the Jokes. I like it but, it takes a Lot of space, so I prefer to do this, if it will work that way. I will check after I stop Laughing.

0verl0rd
04-30-2011, 05:13 AM
how can you make this as a post and how to remove powered by? :(

Toxic2
04-30-2011, 06:01 AM
I just made a Child Forum Under Gereral Discussion and named it "Random Jokes", then allowed HTML , Pasted the Code and closed the forum so no one can add commets (due to HTML on.)

Surprizinly I get comments in chat about it and members laughing about it. :p

As far as the Script, to remove parts Like date etc, I'm still playing with it. I prefer the Powered By RRS feed so people know it is random. But I prefer not to have the dates. ( it Mess's with the reading of the Joke) when I get it figured out I will let you know what I did.

ProFifaLeagues
04-30-2011, 07:29 PM
Nice idea this one thank you!

thecelticway
06-29-2011, 02:17 PM
works great~~~~~Thanks

Krusty1231
06-30-2011, 01:33 AM
I just made a Child Forum Under Gereral Discussion and named it "Random Jokes", then allowed HTML , Pasted the Code and closed the forum so no one can add commets (due to HTML on.) .

Where do I paste the HTML to set it up this way?

oedipean
12-10-2011, 02:52 AM
unfortunately, it dose not work .