Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
Add rss random joke feed to forum home Details »»
Add rss random joke feed to forum home
Version: 1.00, by neckome neckome is offline
Developer Last Online: Jun 2011 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.1.2 Rating:
Released: 04-26-2011 Last Update: Never Installs: 8
Template Edits
 
No support by the author.

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
Code:
{vb:raw ad_location.board_after_forums}

add below
Code:
<!--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.

Screenshots

File Type: jpg Capture.JPG (79.9 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 04-27-2011, 05:38 AM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Egads !!! I read the 1st Joke and about fell out of the chair Laughing LOL Nice one Tks
Reply With Quote
  #3  
Old 04-27-2011, 07:04 AM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 04-30-2011, 05:13 AM
0verl0rd 0verl0rd is offline
 
Join Date: Oct 2010
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can you make this as a post and how to remove powered by?
Reply With Quote
  #5  
Old 04-30-2011, 06:01 AM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

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.
Reply With Quote
  #6  
Old 04-30-2011, 07:29 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea this one thank you!
Reply With Quote
  #7  
Old 06-29-2011, 02:17 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great~~~~~Thanks
Reply With Quote
  #8  
Old 06-30-2011, 01:33 AM
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Jul 2010
Location: Canada
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Toxic2 View Post
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?
Reply With Quote
  #9  
Old 12-10-2011, 02:52 AM
oedipean oedipean is offline
 
Join Date: May 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

unfortunately, it dose not work .
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 04:10 PM.


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.04345 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete