Previous Thread
Next Thread
Print Thread
Rate Thread
#222021 08/05/2002 6:39 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I'm not taking credit for this. JustDave wrote this and it's been working great on my site. I've tweaked the interface a bit, and written up the instructions to post here. Thanks Dave!!!

Mod Name / Version: ProfileStarRewards1.0
Description: This is a hack which awards stars to users based on the completeness of their profiles. A great alternative to user ratings...one where the user has complete control over their ratings....and people browsing the forums know how complete the profile is, before they click to view it (only to find an empty profile).
Working under: UBB.threads 6.0.1 and 6.0.2
Any pre-requisites: Assumes you're not going to use the user rating feature.
Author(s): JustDave
Credits: JoshPet for suggesting it and tweaking the interface.
Files Altered: changebasic.php, showflat.php, showthreaded.php, /languages/english/showprofile.php, showprofile.tmpl
Database Altered: No
New Files: none
Attachments
53604-ProfileStarRewards1.0.txt (0 Bytes, 38 downloads)

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: ProfileStarRewards1.1
Description: This is a hack which awards stars to users based on the completeness of their profiles. Version 1.1 adds the stars to the user list, with sort ability.
Working under: UBB.threads 6.0.1 and 6.0.2
Any pre-requisites: Assumes you're not going to use the user rating feature.
Author(s): JustDave
Credits: JoshPet for suggesting it and tweaking the interface.
Files Altered: changebasic.php, showflat.php, showthreaded.php, /languages/english/showprofile.php, showprofile.tmpl, showmembers.php, showmembers.tmpl, /languages/english/showmembers.php
Database Altered: No
New Files: none
Attachments
53622-ProfileStarRewards1.1.txt (0 Bytes, 27 downloads)

Last edited by JoshPet; 08/06/2002 2:02 AM.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Version 2.0 fixes some bugs and adds the profile rating to the Who's Online List. On the Who's Online list the stars will replace the status (Admin,Mod,User) column. Admin/Mod flags are added to user names to show Admins and Mods.

Mod Name / Version: ProfileStarRewards2.0

Description: This is a hack which awards stars to users based on the completeness of their profiles. Version 1.1 adds the stars to the user list, with sort ability.
Version 1.2 adds the rating stars to the Who's Online view.
Version 2.0 fixes some bugs with users who do not have any stars.

Working Demo: http://www.Measurection.com

Working under: UBB.threads 6.0.1 and 6.0.2

Any pre-requisites: Assumes you're not going to use the user rating feature.

Author(s): JustDave, JoshPet

Credits: JoshPet for suggesting it and tweaking the interface.

Files Altered: changebasic.php, showflat.php, showthreaded.php,
/languages/english/showprofile.php, showprofile.tmpl,
showmembers.php, showmembers.tmpl, /languages/english/showmembers.php,
online.php, online.tmpl, /languages/english/online.tmpl

Database Altered: No

New Files: none
Attachments
53629-ProfileStarRewards2.0.txt (0 Bytes, 31 downloads)

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Attachments
53676-userlistscreenshot.gif (0 Bytes, 25 downloads)

Last edited by JoshPet; 08/06/2002 10:18 PM.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Attachments
53678-onlinescreenshot.gif (0 Bytes, 35 downloads)

Last edited by JoshPet; 08/06/2002 10:19 PM.
Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Nice one Josh, good application of the ratings


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks-
I just toned it up a bit.

JustDave deserves the credit.

Joined: Jan 2000
Posts: 796
MTO Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
Been away for some time, so I might be missing something...
Is it aimed to be a complete alternative to the current rating system? Or just an addition/improvement?

I think adding higher rating for profile completion is great, especially added to the current system. Having more fields filled in counting as more positive votes towards you. Sounds like this isnt the case, but anyway its a very interesting alternative.

I wonder... what happens when you remove a field content? Does the rating go down?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
It's an alternative to using the user rating system as it was intended. Sort of a "symbol" to show that the profile is complete.

It's calculated when you run changebasic.php... So if I fill in all the fields, I get 5 stars. If I empty them out... my stars go away.

Users are loving this.... and version 2.0 that I tweaked with has fixed all the "quirks" that I had found.
Might be coming up with a "status bar" version of this... as users still feel like stars "rate" people....so might switch to some sort of status bar type image.

Maybe something like this []http://www.measurection.com/user-submittals/34039-bar2.gif[/] to show completeness of the profile and not look like a "rating" per say.

But I'm not sure if I can pull that one off yet by myself. LOL Time will tell. I'm going get out My PHP for Dummies book and give it the college try.


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Version 2.2 (attached to this post) Updates instructions to add code so that ratings are updated when the Admin edits a user as well.

Attachments
53880-ProfileStarRewards2.2.txt (0 Bytes, 33 downloads)

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Also posted another hack..very similar to this one, which uses a profile status bar like this []http://www.pettitfamily.net/josh/profile3.gif[/] to show the completeness of the profile, instead of the stars.

That hack can be found here.


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)