View Single Post
  #81  
Old 09-19-2005, 02:08 AM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01221 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete