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)
-   -   Article Bot (https://vborg.vbsupport.ru/showthread.php?t=67078)

memobug 05-10-2005 07:31 AM

Quote:

Originally Posted by MarcoH64
Are you running PHP5?

I have PHP Version 4.3.11

Regards,

Matt

Marco van Herwaarden 05-10-2005 08:28 AM

memobug
I don't have this installed so it would be a bit difficult to bugfix. So could you please temporary do the follwoing edit.

Find:
PHP Code:

                $DB_site->query("
                    UPDATE "
.TABLE_PREFIX."user
                    SET posts = posts + 
$user_posts
                    WHERE userid = 
$userid
                "
); 

Add before:
PHP Code:

                                if ('debug' == 'debug')
                                {
                                    echo 
"<br />Users: <pre>";print_r($users);echo "</pre>";
                                    echo 
"<br />Userid: $userid - user_posts: <pre>";print_r($user_posts);echo "</pre>";
                                } 

Then let the bot make a post and check these debug echo's.
Remove these lines after you have the info and post it here.

KevinL 05-10-2005 10:42 AM

memobug,

I got that when I used the other option and not the server cron job. As soon as I set up a cron job I havent seen it again.

Dont know if that really helps though.

NewOrder 05-15-2005 12:46 PM

does it have to link to a .rss

or is linking it to http://blogs.msdn.com fine?

mine are linked to things like the above link but im getting no news displayed?

also when i goto articlebot.php i get the following

Warning: chdir(): No such file or directory (errno 2) in /home2/tek/public_html/articlebot.php on line 42

memobug 05-16-2005 01:44 AM

1. No it doesn't need to have an .rss extension. It could be .xml or .cgi or most anything but it needs to be a valid rss feed. Try a search on RSS FEED VALIDATOR on Google - then submit your feed

2. You apparently have a path problem as your server is trying to tell you. Did you make the required change in articlebot.php?

Regards,

Matt

kylek 05-17-2005 02:37 AM

Help please,

My host doesn't allow cpanel access for security reasons so I am running Article Bots with the include method and it works. Would like to find out how to set it up as a scheduled task and scanned the 43 pages but cannot see how to do it.

Could someone please explain in step by step instructions how to do this. much thanks in advance!!!

greenhybrid 05-17-2005 02:43 AM

In the vBulletin control panel, at the bottom you can set up a Scheduled Task. Just fill out the form and point to the correct script.

cPanel access for your own shared account doesn't pose a security issue.

kylek 05-17-2005 02:53 AM

Quote:

Originally Posted by greenhybrid
In the vBulletin control panel, at the bottom you can set up a Scheduled Task. Just fill out the form and point to the correct script.

cPanel access for your own shared account doesn't pose a security issue.

That is what they told me when I asked, oh well,
I know how to fill out the task except for the bottom box called file name. All my other various tasks have ./includes/cron/ and then whatever file you are pointing to, so would I need to have ./includes/cron/articlebot.php?

And what do I need to put in articlebot.php for the forum server path?

I appreciate the help as a newbie still but trying to learn.

NewOrder 05-17-2005 04:07 PM

Quote:

Originally Posted by memobug
1. No it doesn't need to have an .rss extension. It could be .xml or .cgi or most anything but it needs to be a valid rss feed. Try a search on RSS FEED VALIDATOR on Google - then submit your feed

2. You apparently have a path problem as your server is trying to tell you. Did you make the required change in articlebot.php?

Regards,

Matt

sorry what recriured change?

kylek 05-17-2005 04:54 PM

Quote:

Originally Posted by NewOrder
sorry what recriured change?

If you are using crontab check step 7 for required change to articlebot.php,
not using crontab check step 8 for required change to articlebot.php


All times are GMT. The time now is 07:27 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.01826 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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