Description: Simple Database query of users based on Posts and Time. Has options for Last Post Date, Ammount of Posts, Random Names, Allow Admin Names, Allow Mod Names
Working Under: UBB.Threads 6.4
Mod Status: Beta
Any pre-requisites: UBBthreads
Author(s): scroungr
Date: 03/12/04
Credits:
Files Altered:
New Files: raffle.php
Database Altered: no
Info/Instructions: just change the pointer to the main.in.php file and set whether to allow moderators to run, then set whether or not to show the IIP sidebar if it's on your site.
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
You need to fill in the appropriate threads path on line 21: $threadspath = "/home/ctadmin/public_html/ubbthreads";
The real instructions are imbedded in the file itself. Just read the commented out stuff(//in front of it) and make the appropriate adjustments. You won't need to adjust anything after line 29, unless you have your main.inc.php file someplace other than the default(which is highly unlikely).
So, its basically edit your path(which you can find in your threads config), make the appropriate adjustment to line 25 if you're running the IIP side bar, and change yes to no on line 29 if you don't want moderators to be able to run raffles. Its a very simply to configure addon.
Thank you Slayer60, but I'm still not getting it. How do I apply the raffle.php? I uploaded the file to my UBBT folder, but don't know what to do at this point.
I've not used this myself, but I believe that it is pretty striaght forward from there. Looking at the code, I see that it will have a form that you fill out to specify your criteria.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.