Previous Thread
Next Thread
Print Thread
Rate Thread
#270798 03/12/2004 2:22 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Mod Name / Version: Admin Raffle Page

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.
Attachments
109862-raffle.zip (0 Bytes, 32 downloads)

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Very nice. Thank you!

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Thanks


- Allen wavey
- What Drives You?
Joined: Jul 2003
Posts: 46
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 46
[]Info/Instructions: just change the pointer to the main.inc.php file[/]

What pointer?

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
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.

Have fun.:)

Sponsored Links
Joined: Jul 2003
Posts: 46
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 46
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.

TIA

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Well, I don't know what your url is but, basic go here:

http://www.yourdomain.com/yourthreadsfolder/raffle.php

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.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)