Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Robot Moderator Details »
Robot Moderator
Mod Version: 1.00, by amykhar (Member) amykhar is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 4
Released: 30 Nov 2001 Last Update: Never Downloads: 3
Not Supported  

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

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 30 Nov 2001, 23:24
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Real name: Joe
I will install it later tonight..but it looks so fun to play with nice work, thanks
Reply With Quote
  #3  
Old 01 Dec 2001, 23:25
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
sounds intresting, but i am a little confused to ezactly what it dose.......
Reply With Quote
  #4  
Old 01 Dec 2001, 23:30
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
It can be used to automatically post a thread using a cron script. It's great for lazy webmasters like me.

Amy
Reply With Quote
  #5  
Old 03 Dec 2001, 01:14
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
Would it be possible to post an rss file using this code? For example, posting an rss file that would consist of 'Breaking News' around the world or 'Doc JavaScript's Tip of the Day Archive'. In other words, something that will change everyday (not the same text).
Reply With Quote
  #6  
Old 03 Dec 2001, 01:41
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Sure. Instead of hardcoding the message and the subject, just make it read from a file.

Amy
Reply With Quote
  #7  
Old 03 Dec 2001, 02:11
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
and that would be done by.............
Reply With Quote
  #8  
Old 03 Dec 2001, 02:23
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
somebody other than me Sorry. I generally only work on hacks that I can use myself because my time is limited right now

Amy
Reply With Quote
  #9  
Old 03 Dec 2001, 03:31
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
amy

I can't get this to work? My host tells me my cron script is correct.

Last edited by Princeton; 03 Dec 2001 at 04:29.
Reply With Quote
  #10  
Old 03 Dec 2001, 08:43
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Cool hack. I'll probably install this on my test board and see how it works.
Reply With Quote
  #11  
Old 03 Dec 2001, 10:32
GeorgeofCS's Avatar
GeorgeofCS GeorgeofCS is offline
 
Join Date: Oct 2001
You know I think this is definitely cool. A definite thing that would be good to add is to have this robotmod used for other purposes, like messaging onto reported threads, PMing users that were reported, etc.
Reply With Quote
  #12  
Old 03 Dec 2001, 11:55
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Princeton,
Does it work when you run it from your browser?

Amy
Reply With Quote
  #13  
Old 03 Dec 2001, 14:45
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
Amy,
I got it to work. thank you
I don't think the rss (thing) is such a good idea. Anyway, it works perfectly. I'm just thinking of a good way to use it.
Reply With Quote
  #14  
Old 09 Jan 2002, 11:58
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
is there a way to get this to work on Windows 2000 server., I heard that windows doesnt have a cron job,
Reply With Quote
  #15  
Old 09 Jan 2002, 13:24
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Real name: Amy
Before I got cron to work, I used a windows scheduler program to simply call the url from my pc each day. The downside was that I had to be connected to the Internet for that to work.

Amy
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:53.

Layout Options | Width: Wide Color: