Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-29-2001 Last Update: Never Installs: 4
 
No support by the author.

Many boards have threads that must be posted on a schedule.

For example some freebies boards have a thread about what was in the mail on a given day. Site sharing boards might have a thread for each date. I have a forum for members to post reviews that they write at Epinions each day.

Originally, my moderators started the thread in our Just In forum every day. Then, our robot moderators - Justin and Justine were born.

I run this using a cron script shortly after midnight each day. It's been working for a few months now.

Here's what you need to do.
1. Create an account for your robot moderator - or moderators. My version allows you to have two of them. Which one posts on any given day is calculated randomly based on the date.

2. I gave mine fun sig lines and profile pix. Babe of the day type sites can have fun with this. My board offers one hottie for each gender. Give your robots a personality. For fun, sometimes I log in as one of them and play with the membership.

3. I have included a standalone script that you will need to modify to suit your needs. It should be pretty easy for you to do. It is attached here as robomod.txt give it any name you desire with a .php extension and upload it to your forum directory.

4. Test it to make sure it does what you think it will do by running the script.

5. Create a cron job to run the script. I use lynx to run mine. IMPORTANT cron needs the FULL PATH to lynx!

My cron looks something like this:

0 0 * * * /usr/bin/lynx -dump http://www.eaforums.com/robotmod.php

I am NOT a cron expert. I simply filled out what I needed in my cpanel. Check the cron man pages or your nearest neighborhood Unix guru for cron help

Demo: Justine

Justin

Amy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-12-2002, 02:04 PM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey cool thasnk, I figured it out like, im gonna write a visual basic app for this, if you are interested in let me know
Reply With Quote
  #23  
Old 04-12-2002, 02:30 PM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay two more things

How do I make it so that when it post it doesnt post icons ?
How do i make it so that when it post it does recieve a post count

also how can I get it to reply back to someone elses thread ?
Reply With Quote
  #24  
Old 08-04-2002, 05:57 PM
Sheldon Rampton Sheldon Rampton is offline
 
Join Date: Jul 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to use this code as the basis for a PHP program that will automatically post items from my weblog as new threads in a vBulletin forum, but I'm having a problem. When I try to test this by calling my PHP program from my web browser, I get a message that says "Please Log in: You are either not a valid administrator or have not logged in." After I go ahead and log in, the PHP program runs as expected, but I want this to run automatically, without requiring manual intervention.

Here's the URL that I've been using for my test program:
http://www.prwatch.org/forum/admin/post2forum.php

If I get this message when I try to execute the program from my web browser, won't the login requirement also block it from executing properly as a cron job?
Reply With Quote
  #25  
Old 02-04-2003, 12:45 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sheldon, I didn't put mine in admin. However, I believe you can simply pass the username and password in as variables. Not sure on that one though, but couldn't hurt to try.

Amy
Reply With Quote
  #26  
Old 02-04-2003, 12:48 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by hypedave
okay two more things

How do I make it so that when it post it doesnt post icons ?

I had some code from another hack that did this, but at the time it crashed and I didn't want to waste my time debugging it.

[/quote]
How do i make it so that when it post it does recieve a post count

also how can I get it to reply back to someone elses thread ?
Reply With Quote
  #27  
Old 04-10-2003, 09:13 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]01-09-02 at 09:59 AM hypedave said this in Post #16
hey can you give me mor detail as in how you got it work
My configuration is a Windows 2000 Server with IIS
and it is connected to the net cause its running the forum,
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07249 seconds
  • Memory Usage 2,263KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete