![]() |
Quote:
Filter out HTML - You can use php replace tags for that |
Quote:
Well I added three bots now, I want to delete a bot from the Motify bot list. |
Quote:
I have also a question. The news feed is working well but only if there aren't already posts in the forum. How can I use the sheduled task option to prune all posts from a special forum at a explicit time? |
When and how do the posts to the forum happen?
I've installed it and added a bot, when will the posts show up? |
hooooolllleeeeey crap!
I installed this and I have never seen my server load and mem usage go so high before!!! any ideas why? Thanks. Christian |
Quote:
|
Quote:
http://IndianCountry.com/rss/index.php |
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. |
Quote:
|
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. |
And I don't have a rss.php file in my unzipped directory???
|
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:
|
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 |
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 |
someone just needs to rewrite this :(
|
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:
|
If i do it your way i get just cryprtical signs on index.php
|
Quote:
|
Slapyo, thanks! Can you zip your final version?
|
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. |
How would I got about replacing the 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 |
@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:
|
I have that already in the rss_update.php file...
Still getting tags showing up in posts. :/ Check attachment |
what about this?
PHP Code:
|
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: |
Quote:
|
Quote:
In the description of the first post are Modifications at the index.php. Why do you wrote Quote:
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: |
Quote:
Now I have a problems with bold and italics in posts as well... I tried: PHP Code:
Thanks again! |
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" ! |
Quote:
Hey is not the Coder of the first posting ! The original ist from 'Xyphen' - his name is 'Slapyo' !! :tired: |
Sorry - me again :
Did i understand your rigtht @Slapyo - with your changes to the Code this Hack is automatically posting new News from the Feeds without deleting the new ones ? Or is it overwriting the old ones ? And is there a option to delete one of my Feeds in the AdminCP ? |
@vau7 ... my changes were to the rss_update.php and functions_newpost.php, that's it. i think the original coder had changes in other files. here is the post that includes the file that i downloaded and have been working with.
https://vborg.vbsupport.ru/showpost....&postcount=139 when i get home tonight i will throw together a package that will include everything that i have done and give the install. it will be a complete package. just the code i have shown will not work just by itself. you have to have everything else installed properly. see the link i posted for the files that i used to install. @rockergrrl ... that should work actually. i noticed you have 2 $rss_descriptions for each one. i think that's my fault for some code i posted for you. this should work because when inserting the data it uses the url tags to make the link. PHP Code:
if you installed the code properly there is a link in the admincp to HACKS which has RSS News Bot under that. you can add, edit, or delete a bot. if you don't want to delete it, you can just turn it off. however, this is all part of the original code. i make no changes to the way the bot collects the data, or admincp changes, just how the data is posted. |
Oy....
Can't get it to work.. even updated threads... no go... :ermm: I can't ge the   problem fixed either..... And then changing the bold and italics tags it puts ".<br><i>" in the posts. :ermm: Thanks again for all your help, I greatly appreciate it! Screens... |
@Slapyo - no in the Admin CP you can only edit the Feeds - there is no "Delete" Funktion.
And sorry - i have to ask again (i know i have written it a little bit confusing before !) : If the Hack is working correctly does the robot post the News and overwrite them if there are new ones or does he add all of them - means old and new News. I can?t know it by now because it did only worked one time with no more update of the News. ;) Can somebody tell me this ? (Sorry - my english is a little bit untrained - i work on it again ! ;) |
oh, ok i though there was a way to delete a bot in there...wasn't sure.
the way it works is this. when the bot grabs the news it will check all the news articles. if there is a new one, it will skip that news article. sometimes i have noticed that with Yahoo! news i get repeated titles, but the content of the article is different, so they are different posts. but it should not repeat an article, it will just goto the next one. new news, will be new posts and the old news will be kept, no posts are deleted. but no repeat posts should be made. |
That was something i understand no definitely !! ;) Thanx ...
|
ok, here it is. i just ran it on my server and it worked fine. there are a couple things...
1 - might be a cleaner/neater way to convert the ASCII to normal characters 2 - might not convert all the ASCII to normal characters so you may end up with like ' or or 
 .... whatever it may be ... if someone wants to look at the code and see if they could clean it up that would be great. that code is in /includes/RSS/rss_update.php ... it's towards the bottom. i have it running on my forums that i just started up ... you can see it here, http://www.sportsbabble.net |
if anyone would help me get these RSS feeds running on my vb3 I will gladly pay you funds via paypal! If interested, please PM me here.
|
Quote:
I have one minor issue though. I've set the user id in rss_admin, but the threads show a different user id as the poster. EDIT: Actually it seems to be a random user id every time the rss feeds are posted... |
Quote:
after thinking about your problem some, it sounds like the problem that i had before. did you make the changes in your functions_newpost.php? it should change the build_new_post function and then change the global variables just below that in the function. |
All times are GMT. The time now is 07:41 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|