Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Mod Name / Version: Admin Selectable Ratings 2.0

Description: This allows the Admin to assign a custom rating image.
Useful for admins who want to be the one to assign ratings, or you could use to signify the level of financial support you've received from a user. I've included a series of graphics, so you can define from 1-5 gold stars for a user, then you can begin to change the stars from gold to red. Then from red to blue. Thus it's a rating system (admin or mod controlled) that allows you to go beyond just 5 stars, similar to the ebay rating system. You can add new rating images simply by uploading them to your server, they will then be instantly available to you.


Working Under: UBB.Threads 6.4

Mod Status: Beta

Any pre-requisites:

Author(s): JoshPet

Date: 10/27/03

Credits: Gardener for help sorting the list of images.
DLWebmaestro for updating for 6.4
Commissioned by and demo at: www.gapofrohan.com


Files Altered: /admin/showoneuser.php, /admin/dochangeuser.php, showflat.php,
showthreaded.php, showprofile.php


New Files: included images, uploaded to /images/ratingimages

Database Altered: New field "U_RatingImage" added to the Users table.

Info/Instructions: To use, edit the user from the admin menu, and edit their profile, you'll see a pull down box at the bottom to select their rating image. When you select an image, a preview of the image will appear for you next to the menu box.

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
97908-AdminSelectableRatings2.0.zip (0 Bytes, 276 downloads)

Last edited by JoshPet; 11/01/2003 6:37 PM.

Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Ah - thank you.

Joined: Jan 2003
Posts: 141
Journeyman
Journeyman
Offline
Joined: Jan 2003
Posts: 141
Where's the graphics????

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Whoops - uploaded the instructions instead of the Zip - I just fixed it.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Where do I change the ubbdev rating language in the profile?

Ok found it in showprofile.php

Last edited by Smilesforu; 11/11/2003 1:20 AM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
??? You've got kind of a special install? Where exactly are you seeing that. Might be hardcoded.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
it was in the profile but it doesn't show up on the user showflat or showthreaded

Joined: Oct 2003
Posts: 13
Newbie
Newbie
Offline
Joined: Oct 2003
Posts: 13
is this going to work on ubb threaeds 6.2?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
The 6.4 version probably does not. But the 6.2 version should.

Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Josh, I have been working with this and the showprofile.php part of the instructions don't seem to match up at all on version 6.4br1? I thought about re-working them but there is a little too much code in that one.

Sponsored Links
Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
Yes Josh,
I also wanted to install this mod, but got stuck at the showprofile.php part. It doesn't match indeed

I would realy love to get this working!

Thanks a lot!

Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
I had this installed in the beta of 6.4 without a problem but if you ever want to remove someone for whatever reason.. Long story I won't go into... Anyway, it left an empty image holder in place of the stars that the member once had. Looked awful. I ended up adding them back for the time being just so it didn't look that way and have people asking questions.... I'd love to have it back though.....


Some people read their stars..... I choose to write my own
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
For those requesting that this mod be written up like it's in use here, where you can define an image (like the haxxor image) WITHOUT having to disable the standard user ratings, I have posted Version 2.5 which will allow both selectable images and ratings to be used.


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
Posts: 70
Joined: January 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 20221218)