Description: This is a hack which was based on the Profile Star Rewards by JustDave and tweaked by me. It assigns a value (from 0-5) based on the completeness of the user's profile into the rating field. This hack assumes that you are not using the rating function. Then it will include a "status bar" graphic showing the completeness of a user's profile. This hack gives instructions for displaying the status bar with the posts, in both flat and threaded mode, in the user's profile, on the Who's Online screen, and in the User List. It even adds the ability to sort by profile status in the user list. Version 1.1 made necessary tweaks to instructions for 6.1. Version 2.0 made necessary tweaks to instructions for 6.2.
Working under: UBB.threads 6.2
Any pre-requisites: Assumes you're not going to use the user rating feature.
Author(s): JoshPet, JustDave, Gardener
Credits: JoshPet suggested and JustDave developed the ProfileStarRewards hack. This simply takes it one further, and uses a symbol which is more accepted if your users don't like "people being rated". Graphics created by JoshPet. Gardener created the script to update existing users.
Database Altered: Not Really. If you have previously used the Profile Rating feature there is a Database Command below to clear those ratings. If you don't clear the ratings your UserList sort by Profile Status won't be accurate.
New Files: empty.gif, profile1.gif, profile2.gif, profile3.gif, profile4.gif, profile5.gif Also included in the zip is a script from Gardener "updateprofiles.php" which will update existing profiles of all your users for the status bar.
Special Notes: A good add on to this is my other mod which restricts viewing of profiles to people with profiles 60% complete.
Great hack Josh! I've just installed it, so my beta testing is in it's infancy, but I think I found some problems with the instructions.
One of the steps is to open and edit showprofile.php, yet this is not listed in the files altered list. The only showprofile.php file you have listed there is /languages/english/showprofile.php.
In your files altered list you have listed /languages/english/online.tmpl. Should this be online.php?
You also have one instance of the word Fidn:
Well, there's the latest rants from beta-testing. The hack itself seems to work well though.
Mod Name / Version: Profile Status Restriction 1.1 Version 1.1 - Updated for UBB.Threads version 6.2
Description: This Hack Requires the Profile Status Bar Hack. What it does is prohibit the viewing of profiles from users who do not have their profile at least 60% complete. I call it "tit for tat profile viewing". If you wanna see profiles, then you have to fill yours in. I have seen a BIG improvement in the number of completed profiles.
Working under: UBB.threads 6.2
Any pre-requisites: Profile Status Bar Hack for 6.2 (from the first post in this thread)
Josh I have the status bar working on my site. I then added the restriction hack and it didn't allow me to access profiles. I had mine filled out 100%... did I miss a step or need to run the update profiles again?
I updated the instructions for the profile status restriction add on.... I need to go to school for copy and paste. I had missed a line in the instructions.
I made some new images to replace the standard blue bars that are included with this mod. I made series of different coloured smilies instead, so users get between 0 to 5 smilies based on how complete their profile is.
I did this because I'd had complaints that the blue bar was "boring" (my forums are populated by teenagers). However, it's had the added bonus of encouraging people to complete their profile because they want "all the colours".
So, just an idea to keep in mind to personalize this mod. If you make images that are relevant to your forum and/or theme, it might be added incentive to complete the profile.
My profile page sometimes showed the wrong percentage and it seems I had slipped a lot in the copy/paste when installing the script on that page. Or was this a bug that's been fixed? Just curious.
Probably just me then. =] When I followed the instructions in this version correctly it worked just fine. Don't know how I could've missed a couple of steps though. Was hoping it was somebody elses fault. ;]
Users in one particular user group have noticed that if they make themselves invisible, their status bar switches to 80% complete, even though their profile is really 100% complete. Once they are visible in the user list again, their profile bar goes back to 100%.
This little quirk greatly offends them Any idea of what is causing it or how to fix it?
Ah, okay -- I will make the changes so that they can have their 5 smilies while still remaining mysterious and secretive
edited to add: Users need to make themselves visible, then go back to invisible, for the change to take place. I supposed a cookie deletion or logout/login might work too, but the change doesn't seem to happen automatically.
I ran the script, and then discovered that it also needs to be modified as per your instructions for changebasic.php and /admin/dochangeuser.php. Just an fyi for anyone else who might be trying this.
Anyone know why my userlist shows the actual ratings number under the User# column and thus the profile bars column doesn't get updated. I followed the instructions to a tee and ran the update script.
In the Who's online everything looks fine. Only have display problems with the User list.
Use: test/test to log in to my site and see the list.
I am running AdminSelectableRatings 2.0 on my threads to identify the different levels of patronship and I was wondering is there another way to use the Profile Status mod? I'd really like to passively force my users to fill out their profile. Could I create another database? Or are there relationships to the ratings database that I don't know I about and would really screw things up. Because you know...that's what I'm good at.
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.