vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NEW Modified RSS News Feed Hack (https://vborg.vbsupport.ru/showthread.php?t=63798)

Slapyo 04-14-2004 04:41 AM

Quote:

Originally Posted by SnowBot
:( Well the user i set up still has NOT appeared on whois online or posted :(

No db errors

Nothing, i have rechecked my install / file edits and everything is correct as far as i can see, just nothing is happening.

Any ideas?

Want me to set up an admin login so you can check ?

snowbot, the bot will not appear in the who's online. the bot never actually logs into the system, it just uses the user info to make the post. if you want i can take a look at it for you, no promises that i will find the error.

but you uninstalled it, then reinstalled the latest version correct? just want to make sure of that before i looked at anything. go ahead and PM me the information. then i will get back to you if i find anything. thanks.

Slapyo 04-14-2004 04:45 AM

Quote:

Originally Posted by rocket98
I will try this, thank you Slapyo !!!!

rocket98

----------------------------------------

I am at a complete loss ... I was playing and playing and then I uploaded the attached file and for some reason I got a BBC feed immediately after doing a manual run, no dups nothing just a BBC feed with 30 threads.

I think this was from the original hack. I found it on hotscripts today when i was looking around at all things RSS.

I honestly don't know what is different from your edits to the original hack. No PHP problems to speak of. Not sure if this works for others but i tried it and it seems to go ...

Here is my forum

http://bocastown.com/forum/forumdisplay.php?f=51

rocket98, that appears to be the original script. the problem i found with the original script is that when submitting the post, it is done manually. that way you will not be able to search the threads, similar threads won't work, and post counts will not increase properly.

what are the errors you are getting. if you want, PM me your email address and i will send you the rss_update.php file that you need. i read back and see that you need the one that is compatible with a version of PHP prior to 4.3.0 ... lemme know, i will send it to you.

Slapyo 04-14-2004 04:46 AM

Quote:

Originally Posted by dethfire
I have my cron set to every 20 hours, however once that 20 hours comes around the script seems to run 3 times creating 3 sets of duplicated

what is your feed that you are using? i haven't seen this error before, but that doesn't mean it isn't happening. it should load the rss file once then parse it, that's it.

rocket98 04-14-2004 05:15 AM

Quote:

Originally Posted by Slapyo
rocket98, that appears to be the original script. the problem i found with the original script is that when submitting the post, it is done manually. that way you will not be able to search the threads, similar threads won't work, and post counts will not increase properly.

what are the errors you are getting. if you want, PM me your email address and i will send you the rss_update.php file that you need. i read back and see that you need the one that is compatible with a version of PHP prior to 4.3.0 ... lemme know, i will send it to you.

I'm hosted for Free on 1and1. On this particular server they are running php 4.2.3. After a couple of enquiries to support there I'm sad to say "non paying" customers have to put up with what they get for the free accounts.

I still had errors with redeclaring of htmlentities as shown here after following the instructions you provided in the update.

Fatal error: Cannot redeclare unhtmlentities() (previously declared in /homepages/23/d95339147/htdocs/public_html/forum/includes/RSS/rss_update.php:76) in /homepages/23/d95339147/htdocs/public_html/forum/includes/RSS/rss_update.php on line 76

I would like to have this work and do appreciate your efforts.

Thank you
rocket98

Michael Morris 04-14-2004 08:39 AM

I tried to run this and got this error message...

Warning: file(http://www.wizards.com/rss.asp?x=dnd): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /http/forums/includes/RSS/rss_update.php on line 32

Warning: implode(): Bad arguments. in /http/forums/includes/RSS/rss_update.php on line 32

All Done

mirdin 04-14-2004 09:02 AM

Quote:

Originally Posted by Slapyo
Code:

$rss_title = str_replace(""", "\"", $rss_title);
$rss_description = str_replace(""", "\"", $rss_description);


Also had the same issue with " showing up, now I've added these lines, hope that works :)

Apart from that everything seems to work nicely so far.
Great job!

Slapyo 04-14-2004 01:44 PM

Quote:

Originally Posted by Michael_Morris
I tried to run this and got this error message...

Warning: file(http://www.wizards.com/rss.asp?x=dnd): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /http/forums/includes/RSS/rss_update.php on line 32

Warning: implode(): Bad arguments. in /http/forums/includes/RSS/rss_update.php on line 32

All Done

that rss feed appears to not work for me. when i follow that link i just get a blank page. that might be the cause of your problem. in fact, i went through all of their RSS feed links and none of them would load up for me. the reason it is not working, is more that likely something on their end. none of their rss feeds will load up.

VodkaFish 04-14-2004 02:31 PM

Is this hack for a single rss feed?

Slapyo 04-14-2004 02:48 PM

you can set up as many bots/rss feeds as you want.

you could use the same bot over and have it post a different feed in a different forum. or whatever you want.

Morrus 04-14-2004 05:13 PM

Quote:

Originally Posted by Slapyo
you can set up as many bots/rss feeds as you want.

you could use the same bot over and have it post a different feed in a different forum. or whatever you want.

This hack seems to be working fine!

Is there a way to change the formating of the output, though? Rather than a line break and then "View the entire article", can it be set to just append "(Read more...)" at the end of the text (no line breaks)?


All times are GMT. The time now is 06:19 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.01643 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete