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 News Feed Hack Details »»
RSS News Feed Hack
Version: 1.00, by Xyphen Xyphen is offline
Developer Last Online: Dec 2004 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-28-2004 Last Update: Never Installs: 34
 
No support by the author.

My friend made this hack, he owns http://www.liquidpro.net. Check him out.
You may contact him at liquidpro@neo.rr.com. Or you can IM him on AIM at LiquidPro10.

An example is shown at http://www.xtreme-forumz.net. Go to the Techno forum under the General category. Then the CNET News sub-forum.

RSS News Feed Hack for vB 3.0.0. As long as vBulletin doesn't change the database structure much, this should be good for the next release also, and those to come.

Allows you to have a live RSS news feed (such as one from Google or CNET) in a forum. The user that posts it will basically be a bot, which *should* only be used for posting the news, but you can even make it for a regular user.

Comments are welcome!

Instructons:
Note: DON'T FORGET TO MAKE A BACKUP OF EACH FILE BEFORE YOU MODIFY IT!

Copy the files to your web server... keep the same directory structure as in the zip file.
Run the rss_install.php file to setup the RSS script.
If you're upgrading run the rss_upgrade.php file to setup the RSS script. Don't forget to remove all previous modifications (you can find them by searching for "LiquidPro")

#### open the /index.php script ####
Find this:

PHP Code:
require_once('./includes/functions_forumlist.php'); 
Add below it:

PHP Code:
require_once('./includes/RSS/rss_update.php'); 
#### open the /forumdisplay.php script ####
Find this:

PHP Code:
require_once('./includes/functions_forumdisplay.php'); 
Add below it:

PHP Code:
require_once('./includes/RSS/rss_update.php'); 
#### open the /admincp/index.php script ####

Find this:

PHP Code:
construct_nav_group("$vbphrase[styles] &amp; $vbphrase[templates]"'<hr />'); 
Add below it:

PHP Code:
// Manage Hacks
// by: Andrew Wickham
// LiquidPro Inc.
//
construct_nav_option('RSS News Feed''rss_admin.php''<br />');
construct_nav_group('Hacks');
//
// End Manage Hacks 
You're done, thanks for installing the hack.

Hack by: Andrew Wickham (http://www.liquidpro.net)
Hack for: Xtreme-Forumz (http://www.xtreme-forumz.net)

Show Your Support

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

Comments
  #182  
Old 04-11-2004, 04:39 AM
rockergrrl's Avatar
rockergrrl rockergrrl is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I got about replacing the &nbsp; tags in the post feeds

I tried putting something like " - " put it doesn't want to take.
or even " " with a space - nothing.

Suggestions?
Thanks
Reply With Quote
  #183  
Old 04-11-2004, 05:11 AM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@aws ... thanks, i will look into this and see if it works. from the sounds of it, it should! how exactly would i go about making a replacement variable? forgive the silly question, i just bought vB and am very new to it.

@rockergrrl ... this function should replace all those.

PHP Code:
$rss_title html_entity_decode($rss_titleENT_NOQUOTES); 
$rss_description html_entity_decode($rss_descriptionENT_NOQUOTES); 
Reply With Quote
  #184  
Old 04-11-2004, 05:35 AM
rockergrrl's Avatar
rockergrrl rockergrrl is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have that already in the rss_update.php file...

Still getting &nbsp; tags showing up in posts. :/

Check attachment
Reply With Quote
  #185  
Old 04-11-2004, 06:15 AM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about this?

PHP Code:
$rss_title str_replace("&nbsp;"" "$rss_title); 
$rss_description str_replace("&nbsp;"" "$rss_description); 
Reply With Quote
  #186  
Old 04-11-2004, 12:00 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And when is the Version 2 coming ?

If i use : http://www.redlabour.de/vbulletin/in...RSS/rss_update

i get

Fatal error: Call to a member function on a non-object in /is/htdocs/53751/www.redlabour.de/vbulletin/includes/RSS/rss_update.php on line 10

on line 10 is : $query = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "rss_settings");

And i even have the Problem with no updates for the Feeds.

Can somebody post a new install.txt or post a complete *.zip with all corrections for this Hack ? :tired:
Reply With Quote
  #187  
Old 04-11-2004, 12:54 PM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour
And when is the Version 2 coming ?

If i use : http://www.redlabour.de/vbulletin/i.../RSS/rss_update

i get

Fatal error: Call to a member function on a non-object in /is/htdocs/53751/www.redlabour.de/vbulletin/includes/RSS/rss_update.php on line 10

on line 10 is : $query = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "rss_settings");

And i even have the Problem with no updates for the Feeds.

Can somebody post a new install.txt or post a complete *.zip with all corrections for this Hack ? :tired:
i might have something ready tonight. i'm not at my machine so i can test the final thing out. but i will be out there later tonight and can give it a shot. if everything is good, i will package it up and include a install.txt file as well.
Reply With Quote
  #188  
Old 04-11-2004, 01:55 PM
vau7 vau7 is offline
 
Join Date: Mar 2004
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Slapyo
what do you mean? i have no problems with it at all and i didn't touch index.php ... what are these cryptical signs you are talking about? do you have a screenshot or link so we can see. but like i said, i've made these changes and have had no problems at all with the bot making posts, users making posts/polls. the only problem i am running into, is pretty much getting the newlines to actually be newlines instead of just the text \n\n in the posts.

In the description of the first post are Modifications at the index.php.
Why do you wrote
Quote:
i have no problems with it at all and i didn't touch index.php ...
?

I've mixed up your edits and the Hack from the #1 Post. Wrong?
If i only do yours there is no abilty do the options in the acp?

I'm so confused now. Please tell it me slowly :disappointed:
Reply With Quote
  #189  
Old 04-11-2004, 02:35 PM
rockergrrl's Avatar
rockergrrl rockergrrl is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Slapyo
what about this?

PHP Code:
$rss_title str_replace("&nbsp;"" "$rss_title); 
$rss_description str_replace("&nbsp;"" "$rss_description); 
Nope, that didn't work :/

Now I have a problems with bold and italics in posts as well...

I tried:
PHP Code:
// change <b> tags
$rss_description str_replace("<b>""[b]"$rss_description);
$rss_description str_replace("</b>""[/b]"$rss_description);
 
// change <i> tags
$rss_description str_replace("<i>""[i]"$rss_description);
$rss_description str_replace("</i>""[/i]"$rss_description); 
But that didn't work. Should I just do a replacement var for those?

Thanks again!
Reply With Quote
  #190  
Old 04-11-2004, 03:03 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wrote a PM to Xyphen - maybe he can tell us when V2 is coming out.

For the first i uninstall this Hack - i wait for a stable version or some stable feedbacks from other Users of the changes from "Slapyo" !
Reply With Quote
  #191  
Old 04-11-2004, 03:41 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vau7
In the description of the first post are Modifications at the index.php.
Why do you wrote
?

I've mixed up your edits and the Hack from the #1 Post. Wrong?
If i only do yours there is no abilty do the options in the acp?

I'm so confused now. Please tell it me slowly :disappointed:


Hey is not the Coder of the first posting !

The original ist from 'Xyphen' - his name is 'Slapyo' !! :tired:
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 01:35 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.12502 seconds
  • Memory Usage 2,337KB
  • 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
  • (10)bbcode_php
  • (5)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
  • (1)pagenav_pagelinkrel
  • (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