Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Admin Selectable Ratings 2.5

Description: This allows the admin to assign a custom rating image to the user. Useful for admins who want to be the one to assign ratings, or rankings, or you could use to signify the level of financial support you've received from a user.

I've included a series of colored star graphics, so you can define from 1-5 stars for each user, then you can change the colors of the stars. You can add alternate or any images simply by uploading them to the /ratingimages directory and they will be instantly available to you.

This modification is in use here for the UBBDevHaxxor logos.

Version 2.5 allows the admin selectable images to be used WITH the normal threads user rating system in place.

Working Under: UBB.Threads 6.4

Mod Status: Beta

Any pre-requisites: UBB.Threads 6.4 or 6.4.1.

Author(s): JoshPet

Date: 01/13/04

Credits: Commissioned by www.gapofrohan.com

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

New Files: included iamges (or images you supply) uploaded to /images/ratingimages

Database Altered: New Field, U_RatingImage added to the w3t_Users table

Info/Instructions: To use, edit the user's profile to select their image.

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
104956-AdminSelectableRatings2.5.zip (0 Bytes, 192 downloads)

Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Will this work in conjunction with the "cancer bean hack" ? You still haven't told us how you have both on here. Or have you?

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Upon actually RingTFM, it looks like everything will be Kosher.

<--- Tard Boy

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Yeah, I had to change RatingImage to RatingImageTwo everywhere since my Haxxor beans already took RatingImage. But it's working now. I'm using it differently though. I wrote a script that assings a member a new star for every 3 months that they've been a member.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Well - this IS the mod for the haxxor beans. You just use the haxxor images instead of the included stars.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Hey, noone ever accussed me of being quick on the uptake.

But now I'm using the mod twice.

Joined: Jan 2005
Posts: 4
Lurker
Lurker
Offline
Joined: Jan 2005
Posts: 4
Can you assign a specific image to an entire group with this addon?

Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
Yes you can liestol

I'm using this mod to show who has donated to our forums. If someone has made a donation in 2004, the user is added to the group "donation2004" and this mod will show a little icon below the avatar. If someone donated in 2004 and 2005, it will show two images:
Attachments
125710-donations.gif (0 Bytes, 263 downloads)

Joined: Jan 2005
Posts: 4
Lurker
Lurker
Offline
Joined: Jan 2005
Posts: 4
Installed the hack, but I can't seem to find a way to select an specific image for a group (f.ex. a Moderator image for the moderator group, an Admin image for the admin group etc..you get the picture). How would you go about doing such a thing?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
This mod doesn't select images per group - this allows you to assign images to individual users.

Joined: Jan 2005
Posts: 4
Lurker
Lurker
Offline
Joined: Jan 2005
Posts: 4
Thanks for the quick reply Josh.

I thought that aswell, as I couldn't possibly see a way to do so - I simply misunderstood the previous poster. I'll work on some code on my own, shouldn't be too hard to make a rough hack that selects specific images from different member statuses, I'll upload it when I finish it.

Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
I now see I mixed up a mod

What I illustrated is not done with this modification, but with this one: https://www.ubbdev.com/forum/showflat.php?Cat=0&Board=modifications&Number=104701 (which also works for 6.5.1)

Sorry for the confusion

Joined: Jan 2005
Posts: 4
Lurker
Lurker
Offline
Joined: Jan 2005
Posts: 4
Thanks, that did the trick!

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
This mod:
https://www.ubbdev.com/forum/showflat.php/Number/123059
Should be mostly what you need. It's an image based on group.

[edit] I see someone beat me to the link[/edit]


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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
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
WebGuy 2
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)