The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
NEW Modified RSS News Feed Hack Details »» | |||||||||||||||||||||||||
Hack originally posted by: Xyphen - RSS News Feed Hack
Modified by: wolfstream - Modified RSS News Feed Hack I am posting this up as a new hack because of the major changes made to how the script works. Also, I didn't want people to get confused as to which one to download since there were 3 different versions on the original post. Xyphen released the original version, then wolfstream modified the script and corrected some errors. After that, I modified wolfstreams version to change how posts were inserted. Now the post count will increase, posts will be able to be searched, and similiar threads will work. RSS News Feed Hack for vB 3.0.x. 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! Support provided through this thread. Latest Version: - 1.26 - for PHP 4.3.0 & above - 1.26a - for PHP prior to 4.3.0 vBulletin Versions: - 3.0.0 - 3.0.1 PHP Versions: - > 4.3.0 - < 4.3.0 Installation Overview: - Files to edit: (2) /admincp/index.php, /includes/functions_newpost.php - Files to upload: (4) rss.php, admincp/rss_admin.php, includes/RSS/class.RSS.php, includes/RSS/rss_update.php - Queries to run: (4) in rss_install.php History: Version 1.26 (23 June 2004 - Slapyo, Natch) - listing of bot's more intuitive (Natch) - hopefully fixed duplicate problem (Slapyo) - stripped html tags from title and description (Slapyo) Version 1.25 (12 May 2004 - Slapyo) - fix for " showing up - logs action in scheduled task log if turned on Version 1.24 (20 April 2004 - Slapyo) - posts now deleted with delete_thread function - post counts updated when using delete all news Version 1.23 (14 April 2004 - Slapyo) - added ability to delete bots - cleaned up includes - fix for PHP versions prior to 4.3.0 calling html_entity_decode() Version 1.22 (13 April 2004 - Slapyo) - duplicate posts problem fixed - fix for problem with ' appearing as \' Version 1.21 (12 April 2004 - Slapyo) - bot will not be subscribed to posts now Version 1.2 (11 April 2004 - Slapyo) - posts now inserted with build_new_post function Version 1.1 (28 March 2004 - wolfstream) - file edits taken down to 1 - cron script included Version 1.0 (28 January 2004 - Xyphen) - original release Common RSS Feeds: - Yahoo! - CNET.com - BBC - Wired News - The Register - Ars Technica - All Headline News Show Your Support
|
Comments |
#197
|
||||
|
||||
I'm not sure if this was the fix YET.. but I did notice something about code..
Code:
// filter out the old items while($rss_thread_data = $DB_site->fetch_array($rss_query)) { for($j = count($rss_allItems) - 1; $j >= 0; $j--) { if($rss_thread_data[title] == $rss_allItems[$j][TITLE] && $rss_thread_data[rss_date] == $rss_allItems[$j]['pubDate']) { $rss_allItems[$j][OLD] = true; } } } Aceman ***UPDATE*** This did NOT fix my duplication problem. I'm getting ALOT of duplicated threads.. help me! |
#198
|
||||
|
||||
Quote:
New "Mobile Console" Plays PC Games Does this help? is their a fix? Certain threads ARE still duplicating.. and I reuploaded your files to my server again to make sure it wasn't something I'd screwed up. I'm using 1.25 as my version of PHP is higher then 4.3.0. Aceman |
#199
|
|||
|
|||
ya ok, then it is what i think it is and this should be fixed by my update i am hoping. i made it fix the titles with " and ' in them instead of having " or ' they will have " and ' .... here is the problem:
New "Mobile Console" Plays PC Games does not equal New "Mobile Console" Plays PC Games when compared to each other the " and ' are not converted to " or ' ... or vice versa. the literal strings do not match each other even though to me and you they are the same. let it run for a little bit on the new 1.25 and let me know if this fixes the problem with the multiple posts. |
#200
|
|||
|
|||
any ideas why the thread and post count isnt updating in subforums?
|
#201
|
|||
|
|||
it should. the newest version takes care of that. make sure you have the latest version. it updates on mine and i am running the same version i have uploaded here, no changes.
|
#202
|
|||
|
|||
any ideas why the bots post as different users now since upgrade? was working ok before..
|
#203
|
|||
|
|||
there were no changes in the code that has to do with making the post. all of that stayed the same, just quotes were changed and then it was recorded in the scheduled tasks log if you have it turned on. mine is still posting with the bot and nobody else and i use v1.25 off this upload.
|
#204
|
|||
|
|||
tried that and still messed up is posting from the user that views the thread yet its meant to post the news every hour only
|
#205
|
|||
|
|||
Can anyone help me trouble shoot this error message? I've installed per directons and when i run rss.php manually, I get this:
Warning: main(class.RSS.php): failed to open stream: No such file or directory in /home/peterjun/public_html/includes/RSS/rss_update.php on line 28 Fatal error: main(): Failed opening required 'class.RSS.php' (include_path='') in /home/peterjun/public_html/includes/RSS/rss_update.php on line 28 Interestingly, I also don't have the configuration panel (admincp -> hacks -> rss news feed) in my admincp and had to manually point my webpage to that php file. Thanks for any help! |
#206
|
|||
|
|||
did you make the file edits? there are 2 files that you have to edit. read the instructions.txt and you will see the files you need to edit and what changes need to be made.
|
#207
|
|||
|
|||
fixed my prob slapya i hope
|
#208
|
|||
|
|||
everything running like it should now?
|
#209
|
|||
|
|||
Thanks Slapyo. I solved the problem with the admincp by editing the file.. I edited the other files, but still get the same error message.
Warning: main(class.RSS.php): failed to open stream: No such file or directory in /home/peterjun/public_html/includes/RSS/rss_update.php on line 28 Fatal error: main(): Failed opening required 'class.RSS.php' (include_path='') in /home/peterjun/public_html/includes/RSS/rss_update.php on line 28 I'll delve more, but was wondering if you knew any quick solutions. |
#210
|
||||
|
||||
Good job. I'm running this as a cron job on my server - I just removed the log cron action function from the rss.php file. It works well. Thanks!
|
#211
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|