![]() |
ok my bad, set the threadBOT hour limit to 24.
and make sure that the cron job is set to run in hours rather than minutes. |
Clicked install :)
One small confusing element .. in admincp "threadBOT Feeding Permissions" . "Please enter the forumid of a forum where only people you want to be able to feed the threadBOT have permission to view and post." When using feed_threadBOT.php, the drop down list provides a list of category's into which post will be added by the cron. Do we need to add all the category ID's for all the forums we want posts to be allowed in the admincp? |
nope you just gotta put in a forum with the permissions of the posters you want to be able to feed the threadBOT.
i think i explained it a bit better here https://vborg.vbsupport.ru/showpost....1&postcount=27 |
Okay, I put about 7 sample questions in through feed_threadBOT.php for the same forum, and when the cron time came, it posted all of the questions I had entered, instead of selecting just one randomly.
|
ok finally had time to play with this, it was me being a dummy.
regarding the cron set the hour you want it to run and set the minute to 0 or it will run continuously, sorry i should've checked that before hand. |
Okay I did that, then I tried clicking the 'run now' button in scheduled tasks, and got this error:
Database error in vBulletin 3.0.7: Invalid SQL: SELECT * FROM post_bank WHERE threadid = LIMIT 1 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4 mysql error number: 1064 Date: Tuesday 17th of May 2005 02:48:55 PM Script: http://www.bmww.org/forums/admincp/c...cron&cronid=15 Referer: http://www.bmww.org/forums/admincp/index.php? |
feed_threadBOT.php??? I installed, but I can not find this file anywhere. Where is it?
|
Quote:
|
kevin, feedthreadBOT.php should be in www.yoururl.com/forum/feedthreadBOT.php
|
Quote:
|
Quote:
Not there. I assume this did not install correctly then? |
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...
|
ok that being the case, open up forums/includes/cron/threadBOT.php and find
PHP Code:
PHP Code:
|
Quote:
|
Had my first post made by the cron .. only the post header appeared in the category selected, no post content !?
|
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? |
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!!! |
Quote:
|
Quote:
|
Quote:
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 .. |
Okay, I have another issue - seems like threadBOT is postiong the same post three times in a row from the group of threads in threadbank - it's just taking the first thread (or maybe the last one, and only posting that - not picking a random one, and therefore not changing either..
|
Quote:
|
Quote:
month * week * day * hour XX minute 0 ??? |
Quote:
:ermm: .. screenshot of what .. an empty post with just a header !? |
Quote:
|
Picture of empty post attached :ermm:
|
damn, how did that happen, download the latest zip and replace the file in the cron folder, i'm hoping that you have have an old one.
|
That solved the problem .. thanks sabretOOthe :)
|
Re - the same thread posted each day -
I have about 5 questions in the thread bank cron settings are: Day of the week * Day of the month * Hour 15 Minute 0 log entries = yes ./includes/cron/threadBOT.php |
Quote:
|
How come everytime the postbot makes a post his count goes down one?
|
also is there any kind of auto feed for it? or do i have to plug in a bunch of things for it and how com eits running every minute?
|
i have no idea how either of them have happened and what kind of auto feed are you referring to?
|
Like where it can be smart and just make its own threads or pull feed from somewhere else already posted?
|
unfortunately not.
|
Damm that sucks it would be good if we had one like that. Does anyone know where i can download a postbot for VBulletin, I used to have one and lost it
|
i believe velocd made a article bot.
|
Quote:
:cool: |
does this work perfectly on any life forum?
|
sabretooth, Here are some updated instructions I prepared a while ago, to try and make install and set up easy. Please check them and make sure they dont conflict with anything you've changed since then, and if they are okay you can add them to the zip if you like..
I was working on this for a while but then let it go because of other issues - but now am trying to get back on it again.. Instructions: 1. Download the threadBOT.zip file, and unzip it. 2. In your admin cp, add a new scheduled task Admincp > Scheduled tasks > new scheduled task Title: threadBOT Day of the Week: * (unless you have a specific day you want it to run on) Day of the month: * (unless you're setting it to run once a month) Hour: 17 (which will run it as five o'clock pm everyday) Minute: * Log Entries: Yes Filename: ./includes/cron/threadBOT.php 3. Upload files to their proper directories, then run the HIS (Hack Installer System) by going to this url: run the installer @ http://www.yoururl.com/forums/install/hack_install.php - make sure to replace the www.yoururl.com with your doman address. 4. Make sure the checkbox that says 'threadBOT' has a check in it, then click 'continue' and follow the step by step instructions. 5. Modify the options. Go to adminc cp > vBulletin options > threadBOT * threadBOT Active - turns your threadBOT on or off * threadBOT name - the already existing username of who the threadBOT will be posting as - can be your name, or you may want to create a custom user and call it "Thread Bot" or whatever. The username must be already created. * threadBOT Feeding Permissions - enter a forum ID number that has permissions of who you want to allow to feed it, or add info. For example if your moderators will be allowed to enter data into threadBOT's database, use the ID of your moderator forum. If you want only yourself to add data, then put in the forum ID that only you have permission to see/access. To find out what your forum ID number is, go to admin cp > Forums & Moderators > Forum Manager, then find your forum in the list. Hold your mouse over the link to the forum, and the forum ID is the number at the end of the url. * 6. Create the threads to be auto-posted. Go to http://www.yoururl.com/forums/feed_threadBOT.php (again, replace www.yoururl.com with your domain name) This will load up a box letting you create the title and subject of the message to be autoposted. You will see a drop down box to the right, that allows you to specify which forum it will be posted in. Choose your forum, and create your message. |
All times are GMT. The time now is 04:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|