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)

bishop93 01-11-2005 04:47 AM

Is there anyway to have this bot as an "always signed in" user rather than a Guest? It would seem that certain settings that don't allow guests to actually read posts without being registered and signed in break this little hack. And it's been working so well up until now.

H@K@N 01-11-2005 08:50 PM

clicks *install*

Does somebody know, how i can prune automatically the posted Feeds ?

I don't like to remove them manually, if the BoT is posting 20 Posts/Day or even more ...

gr33tz

Ruffneck 01-12-2005 09:26 PM

This script is nice...but i have a little problem...

I´ve installed it sucesfull and running the articlebot.php on the browser...and the bot added the rss entrys on the board...with title and thread description...

I´ve added a include on the global.php
require_once('./articlebot/articlebot.php');

And edit the chdir('/path/to/forums/'); to the right real chdir... /var/www/html/blablala..../

The script add new Threads with the right title, but nothing thread self...the link to the thread from the index was unavaible...

I think the script has problems with the articlebot_post, because i saw a error with articlebot_post...

Why it´s first works fine and now...

Ruffneck 01-12-2005 09:42 PM

Here is the error:
Fatal error: Call to undefined function: fetch_template() in /var/www/blabla/articlebot/articlebot.php on line 259

This line is:
eval('$articlebot_post = "' . fetch_template('articlebot_post', 0, 0) . '";');

I´ve added this template and it works first time fine, but now...

Firewire 01-13-2005 04:09 PM

How do you do a CRON Job anyway?

I have CPANEL. I set it up, and I get this garbage:

/home/xxxx/public_html/forums/articlebot/articlebot.php: line 1: ?php: No such file or directory
/home/xxxx/public_html/forums/articlebot/articlebot.php: line 5: /aquota.user: Permission denied
/home/xxxx/public_html/forums/articlebot/articlebot.php: line 6: syntax error near unexpected token `|'
/home/xxxx/public_html/forums/articlebot/articlebot.php: line 6: ` | articlebot.php, v1.1, 07/25/04 |'

I checked the permissions of the file to make sure it was executable. This is what I put into the CRON JOB scheduler line as the location:

/home/xxxx/public_html/forums/articlebot/articlebot.php

Any ideas?

Torqued 01-13-2005 06:03 PM

Quote:

Originally Posted by Firewire
How do you do a CRON Job anyway?

I have CPANEL. I set it up, and I get this garbage:

/home/xxxx/public_html/forums/articlebot/articlebot.php: line 1: ?php: No such file or directory
/home/xxxx/public_html/forums/articlebot/articlebot.php: line 5: /aquota.user: Permission denied
/home/xxxx/public_html/forums/articlebot/articlebot.php: line 6: syntax error near unexpected token `|'
/home/xxxx/public_html/forums/articlebot/articlebot.php: line 6: ` | articlebot.php, v1.1, 07/25/04 |'

I checked the permissions of the file to make sure it was executable. This is what I put into the CRON JOB scheduler line as the location:

/home/xxxx/public_html/forums/articlebot/articlebot.php

Any ideas?

I had the same problem and was unable to figure it out. So I made 4 scheduled vB tasks to run the article bot @ 0, 15, 30, and 45 mins every hour.

Firewire 01-14-2005 03:04 AM

Cool! I'll try that!

memobug 01-14-2005 03:44 AM

Quote:

Originally Posted by Firewire
How do you do a CRON Job anyway

I documented a cpanel cron setup back here:

https://vborg.vbsupport.ru/showpost....&postcount=441

Looks like you are missing the php command and *nix has no idea what to do with it, so it is trying to interpret it (your php file) as a series of shell commands.

Regards,

Matt

Booth 01-14-2005 04:32 PM

Since installing this, my forum has been running very slow... :ermm:

paulz 01-15-2005 05:56 AM

Quote:

Originally Posted by Booth
Since installing this, my forum has been running very slow... :ermm:

how often did you set the scheduled task to run? this would load down a server if set too frequently.


All times are GMT. The time now is 08:09 AM.

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.01676 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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