vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   threadBOT: The Thread Provider (https://vborg.vbsupport.ru/showthread.php?t=80770)

kevinrstruck 05-17-2005 08:15 PM

Quote:

Originally Posted by jilly
kevin, feedthreadBOT.php should be in www.yoururl.com/forum/feedthreadBOT.php


Not there. I assume this did not install correctly then?

jilly 05-18-2005 12:58 AM

sabre, I dont have any threads in, because it posted them all - but what I was hoping it could do is have a 'database' of threads, and could just randomly pick one for the day, but not necessarily delete it out of the queue - say I put like 150 questions in through feedthreadBOT - then I want to be able to let it run, so basically for the next year it will pick a random question each day, and post it, and hopefully not post the same question too often...

sabret00the 05-18-2005 09:58 AM

ok that being the case, open up forums/includes/cron/threadBOT.php and find
PHP Code:

    $DB_site->query("
        DELETE
        FROM thread_bank
        WHERE threadid = 
$spewthread[threadid]
    "
);

    
$DB_site->query("
        DELETE
        FROM post_bank
        WHERE threadid = 
$spewthread[threadid]
    "
); 

and replace with
PHP Code:

/*
    $DB_site->query("
        DELETE
        FROM thread_bank
        WHERE threadid = $spewthread[threadid]
    ");

    $DB_site->query("
        DELETE
        FROM post_bank
        WHERE threadid = $spewthread[threadid]
    ");
  */ 


sabret00the 05-18-2005 09:59 AM

Quote:

Originally Posted by kevinrstruck
Not there. I assume this did not install correctly then?

did you upload the files?

TTG 05-18-2005 10:15 PM

Had my first post made by the cron .. only the post header appeared in the category selected, no post content !?

jilly 05-19-2005 02:20 PM

I think that did it! Are you going to fix that in the zip? I think that should be default that threads dont get deleted from the thread bank :)

Now how about if you need to edit or delete a thread in the thread bank?

jilly 05-20-2005 01:32 PM

Okay, this seems to be working good for me now! I will post up my 'instructions' later tonight or tomorrow, for you to add to the first post :)

Woohoo!!!

TTG 05-20-2005 03:23 PM

Quote:

Originally Posted by TTG
Had my first post made by the cron .. only the post header appeared in the category selected, no post content !?

Support finished already for this hack !?

sabret00the 05-20-2005 03:29 PM

Quote:

Originally Posted by TTG
Had my first post made by the cron .. only the post header appeared in the category selected, no post content !?

please elaborate upon your problem as i don't quite understand your dilemma

TTG 05-20-2005 03:51 PM

Quote:

Originally Posted by sabret00the
please elaborate upon your problem as i don't quite understand your dilemma

Thanks for the quick response .. :)

Post made via threadBOT with normal posting header and a couple of dozen lines of text in the message box. Submitted post, await cron to add the post at specified time and post is made with the header only, post content not shown !?

Tried 3 different posts in different category's and same result. Checked template has been added to style and it's there ok ..


All times are GMT. The time now is 09:51 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.01074 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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