The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
RSS News Feed Hack Details »» | |||||||||||||||||||||||||
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:
PHP Code:
Find this: PHP Code:
PHP Code:
Find this: PHP Code:
PHP Code:
Hack by: Andrew Wickham (http://www.liquidpro.net) Hack for: Xtreme-Forumz (http://www.xtreme-forumz.net) Show Your Support
|
Comments |
#167
|
||||
|
||||
Quote:
|
#168
|
||||
|
||||
Quote:
http://IndianCountry.com/rss/index.php |
#169
|
||||
|
||||
Did you remember to add a cron to the rss.php file ??
As the instructions say: Open up your cron manager (in admincp->scheduled tasks -> add scheduled task) and add an entry for rss.php. You should update every hour at the most. The filename for this is ./rss.php. |
#170
|
||||
|
||||
Quote:
|
#171
|
||||
|
||||
Quote:
This is what I have in the instructions: HTML Code:
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. #### open the /index.php script #### Find this: require_once('./includes/functions_forumlist.php'); Add below it: require_once('./includes/RSS/rss_update.php'); #### open the /forumdisplay.php script #### Find this: require_once('./includes/functions_forumdisplay.php'); Add below it: require_once('./includes/RSS/rss_update.php'); #### open the /admincp/index.php script #### Find this: construct_nav_group("$vbphrase[styles] & $vbphrase[templates]", '<hr />'); Add below it: // 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. |
#172
|
||||
|
||||
And I don't have a rss.php file in my unzipped directory???
|
#173
|
|||
|
|||
ok, here is the code to use the build_new_post function in vB to insert the data. this will make the post number increase automatically, make the posts searchable, make similar threads work. however, there is one tiny problem.
- the posts have \n\n in them, when they should be actual new lines. anyone know how to fix this? other than that, it works just fine. i just need to figure this last thing out. original authors code commented out: PHP Code:
PHP Code:
|
#174
|
||||
|
||||
Ok, went back and installed the new version posted in the thread. It seems to be working better.
Couple of questions now. Will thread views increase?? Only one of my feeds is working. I have all of them going to the same forum with the same userid, is that a problem?? Here are all of my feeds: http://IndianCountry.com/rss/index.php http://rss.news.yahoo.com/rss/mostemailed http://groups.yahoo.com/group/native...messages?rss=1 http://www.nativenationsnet.net/backend.php The 2nd one is the only one that shows up in the forum. When I run the cron job by hand through Admin CP I get this error: Error: Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/virtual/site2/fst/var/www/html/gathering/includes/RSS/rss_update.php on line 36 Warning: file(http://www.nativenationsnet.net/backend.php): failed to open stream: Resource temporarily unavailable in /home/virtual/site2/fst/var/www/html/gathering/includes/RSS/rss_update.php on line 36 Warning: implode(): Bad arguments. in /home/virtual/site2/fst/var/www/html/gathering/includes/RSS/rss_update.php on line 36 |
#175
|
|||
|
|||
I thin kit is a great great hack but I've a Problem with it.
If i let i generate the link from a backend.php it looks like this: http://www.wavebone.net/modules.php?...le&sid=118 But the real link is http://www.wavebone.net/modules.php?...rder=0&thold=0 So it wont work for me. How can i fix it? Thanks in advance, regardly v7 |
#176
|
|||
|
|||
someone just needs to rewrite this
|
#177
|
|||
|
|||
that is what i am trying to do. i am at the last step basically. i just need to figure out how to insert the post with newlines. the way i wrote it uses vB's build_new_post function so that it works. look at post #174 in this thread. here is the code i have been working with. i just need to find out how i can insert the post with actual newlines, instead of viewing \n\n on the post. otherwise it works just fine and it uses vB's build_new_post function which means it will be searchable, post counts go up, similiar threads will work ... everything.
modified rss_update.php, my new way to insert the post: PHP Code:
FIND: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#178
|
|||
|
|||
If i do it your way i get just cryprtical signs on index.php
|
#179
|
|||
|
|||
Quote:
|
#180
|
|||
|
|||
Slapyo, thanks! Can you zip your final version?
|
#181
|
||||
|
||||
Quote:
{br} as the tag and text to replace with <br />. I have a similiar tag for use when posting code on one of my forums. It will act as the break tag even in a forum that doesn't have html enabled. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|