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)

Rob Eh 07-26-2004 03:49 PM

OK, I'm even more confused now. Still getting the same error when I run articlebot/php manually. But I have it setup to run as a scheduled task from with in vB itself, and it appears to be working.

So if everything seems to be working, so everything is fine with me! ;)

Thanks for your help.

Velocd 07-26-2004 05:05 PM

Quote:

The comments are part of vB's setup. They do not show up incorrectly in any other of vB's templates.

When modifying templates, it is often helpful to have this setting enabled so you can view the source of a page to determine what template(s) control it.

It's not a big problem to have this disabled, but it is very strange as to why the comments for the templates are incorrectly showing up as part of the article post itself. I'm confused by it.
Heh, I never noticied vBulletin 3 did this. This hack hasn't been filtering them out, because the code was never there!

Luckily preventing the comments from showing is as easy as providing an optional argument to the fetch_template() function.

So, in articlebot.php, replace:

PHP Code:

eval('$articlebot_post = "' fetch_template('articlebot_post') . '";'); 

with:

PHP Code:

eval('$articlebot_post = "' fetch_template('articlebot_post'00) . '";'); 

Zip has been updated.

nexialys 07-26-2004 06:53 PM

error, debug, whatever: missing TABLE_PREFIX everywhere...

DrkFusion 07-26-2004 06:55 PM

Awesome hack once again. I installed this and modified it to my needs, and let me tell you it is amazing in my case. Even user activity has increased alot!

Maikeru 07-26-2004 07:54 PM

Great hack, Velocd. I think I might install it.

Velocd 07-26-2004 11:05 PM

Quote:

error, debug, whatever: missing TABLE_PREFIX everywhere...
nexialys, where exactly? I've gone through the whole code, the vB tables all have TABLE_PREFIX to them. articlebot tables do not have them, because they are created without prefixes.

Matrixgl 07-27-2004 08:28 PM

Just finished integrating it to the v3Articles hack.....I think I will release it tonight.

Good job on the bot Velocd :)

infiniterb 07-28-2004 07:01 AM

I'm trying to set my scheduled tasks up for this cron job and I have it pointing to:

./articlebot/articlebot.php

Most of the other tasks will display the name of the job, then below it a Done message. I named this job Articles and all I get back is the Articles name, but I am not seeing a done message. This leads me to believe the job isn't running. Has anyone else gotten this to work via this method? I have a shared server and would really like to use this method over the others.

Thanks in advance.

Rob Eh 07-28-2004 11:39 AM

Mine was doing the same thing until I upgraded to the new release. It does work now.

Rob Eh 07-28-2004 11:41 AM

Is there a way to specify the time zone used in the control panel for this?

It uses the server time and not the time set by vB in the control panel.

Thanks,


All times are GMT. The time now is 06:18 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.01539 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)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