Version: , by amykhar
Developer Last Online: Nov 2013
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!
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.
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?
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.
[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,