php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#235140 - 02/04/03 12:21 AM [6.2] Profile Status Bars 1.1
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC

   [6.2] Profile Status Bars 1.1 to Del.icio.us Add to del.icio.us
  Digg [6.2] Profile Status Bars 1.1 Digg it
Mod Name / Version: ProfileStatusBar 1.1 <br /> <br />Description: This is a hack which was based on the Profile Star Rewards by JustDave <br />and tweaked by me. It assigns a value (from 0-5) based on the completeness of the user's <br />profile into the rating field. This hack assumes that you are not using the rating <br />function. Then it will include a "status bar" graphic showing the completeness of a user's <br />profile. This hack gives instructions for displaying the status bar with the posts, <br />in both flat and threaded mode, in the user's profile, on the Who's Online screen, and <br />in the User List. It even adds the ability to sort by profile status in the user list. <br />Version 1.1 made necessary tweaks to instructions for 6.1. <br />Version 2.0 made necessary tweaks to instructions for 6.2. <br /> <br />Working under: UBB.threads 6.2 <br /> <br />Any pre-requisites: Assumes you're not going to use the user rating feature. <br /> <br />Author(s): JoshPet, JustDave, Gardener <br /> <br />Credits: JoshPet suggested and JustDave developed the ProfileStarRewards hack. <br />This simply takes it one further, and uses a symbol which is more accepted if your <br />users don't like "people being rated". Graphics created by JoshPet. <br />Gardener created the script to update existing users. <br /> <br />Files Altered: changebasic.php, /admin/dochangeuser.php, showflat.php, showthreaded.php, <br />/languages/english/showprofile.php, showprofile.php, showprofile.tmpl, <br />showmembers.php, showmembers.tmpl, /languages/english/showmembers.php, <br />online.php, online.tmpl, /languages/english/online.php <br /> <br />Database Altered: Not Really. If you have previously used the Profile Rating feature <br />there is a Database Command below to clear those ratings. If you don't clear the ratings <br />your UserList sort by Profile Status won't be accurate. <br /> <br />New Files: empty.gif, profile1.gif, profile2.gif, profile3.gif, profile4.gif, profile5.gif <br />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. <br /> <br />Special Notes: A good add on to this is my other mod which restricts viewing of profiles to <br />people with profiles 60% complete. <br /> <br />What the bars look like: <br />It will show []http://www.pettitfamily.net/josh/empty.gif[/] if the profile is empty (or not updated). <br />It will show []http://www.pettitfamily.net/josh/profile1.gif[/] if the profile is 20% complete (ie 1 star). <br />It will show []http://www.pettitfamily.net/josh/profile2.gif[/] if the profile is 40% complete (ie 2 star). <br />It will show []http://www.pettitfamily.net/josh/profile3.gif[/] if the profile is 60% complete (ie 3 star). <br />It will show []http://www.pettitfamily.net/josh/profile4.gif[/] if the profile is 80% complete (ie 4 star). <br />It will show []http://www.pettitfamily.net/josh/profile5.gif[/] if the profile is 100% complete (ie 5 star). <br /> <br /> <br />Profile Screen: <br />[]http://www.threadsdev.com/threads/php/uploads/54616-profilescreen.gif[/] <br /> <br /> <br />User List Screen: <br />[]http://www.threadsdev.com/threads/php/uploads/54617-userlistscreen.gif[/] <br /> <br /> <br />Who's Online Screen: <br />[]http://www.threadsdev.com/threads/php/uploads/54618-whoonlinescreen.gif[/] <br />


Attachments
67476-ProfileStatusBar1.1.zip (94 downloads)



Edited by JoshPet (02/14/03 07:40 PM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235141 - 02/04/03 05:05 PM Re: [6.2] Profile Status Bars 1.1 [Re: Daine]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
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.<br /><br />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.<br /><br />In your files altered list you have listed /languages/english/online.tmpl. Should this be online.php?<br /><br />You also have one instance of the word Fidn:<br /><br />Well, there's the latest rants from beta-testing. The hack itself seems to work well though.<br /><br />Thanks again!
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#235142 - 02/04/03 05:17 PM Re: [6.2] Profile Status Bars 1.1 [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
in showmembers.tmpl, need to add a </td> after the </a> <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#235143 - 02/13/03 12:55 AM Re: [6.2] Profile Status Bars 1.1 [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Moved to finished mods.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235144 - 02/14/03 09:40 PM [6.2] Profile Status Restriction 1.1 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name / Version: Profile Status Restriction 1.1 <br />    Version 1.1 - Updated for UBB.Threads version 6.2 <br /> <br />Description: This Hack Requires the Profile Status Bar Hack. <br />What it does is prohibit the viewing of profiles from users who do not have their profile at least 60% complete. <br />I call it "tit for tat profile viewing". If you wanna see profiles, then you have to fill yours in. <br />I have seen a BIG improvement in the number of completed profiles. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Working under: UBB.threads 6.2 <br /> <br />Any pre-requisites: Profile Status Bar Hack for 6.2 (from the first post in this thread) <br /> <br />Author(s): JoshPet of www.joshuapettit.com <br /> for discussions and bugs go to www.threadsdev.com <br /> <br />Date: 2/14/03 <br /> <br />Credits: JustDave for the core code of the Profile Status Bar hack. <br /> <br />Files Altered: showprofile.php, ubbt.inc.php, /templates/default/myhome.tmpl <br /> <br />Database Altered: No. <br /> <br />New Files: none <br /> <br />Notes: Again, this Requires the use of the Profile Status Bar hack to do the calculations and write the profile rating to the database. <br />


Attachments
68934-ProfileStatusRestriction1.1.txt (108 downloads)



Edited by JoshPet (02/17/03 12:48 AM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235145 - 02/16/03 06:06 PM Re: [6.2] Profile Status Restriction 1.1 [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
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?<br /><br />version 6.2.2

Top
#235146 - 02/16/03 09:50 PM Re: [6.2] Profile Status Restriction 1.1 [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I'll check this. Perhaps there's something missing from my instructions. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235147 - 02/17/03 12:49 AM Re: [6.2] Profile Status Restriction 1.1 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
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. <br /><br />It should work for you now.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235148 - 02/17/03 03:44 AM Re: [6.2] Profile Status Restriction 1.1 [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
All better <img src="/forum/images/graemlins/smile.gif" alt="" /> Thanks Josh good one as usual

Top
#235149 - 02/17/03 02:18 PM Re: [6.2] Profile Status Bar images [Re: Kelly]
Mudpuppy Offline
Journeyman

Registered: 08/16/02
Posts: 113
Loc: Sin City
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. <br /><br />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".<br /><br />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.

Top
#235150 - 02/17/03 03:29 PM Re: [6.2] Profile Status Bar images [Re: jbiz]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
Feel free to share the images if you wish <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#235151 - 02/17/03 04:04 PM Re: [6.2] Profile Status Bar images [Re: Gorlum]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Great idea Coy! <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I also made a set of orange bars for a site, I should share those here as well.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235152 - 02/18/03 09:06 PM Re: [6.2] Profile Status Bar images -- Smilies [Re: Gorlum]
Mudpuppy Offline
Journeyman

Registered: 08/16/02
Posts: 113
Loc: Sin City
Attached are my "smilie bars" to replace the standard blue profile status bars. Be forewarned, they're a bit gaudy, but the kids really like them.


Attachments
69724-ProfileSmilieBars.zip (53 downloads)


Top
#235153 - 02/19/03 04:38 AM Re: [6.2] Profile Status Bars 1.1 [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
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.
_________________________
/Gardener | Complete list of my mods

Top
#235154 - 02/19/03 09:06 AM Re: [6.2] Profile Status Bars 1.1 [Re: c0bra]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I haven't noticed a problem. <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235155 - 02/19/03 09:51 AM Re: [6.2] Profile Status Bars 1.1 [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
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. ;]
_________________________
/Gardener | Complete list of my mods

Top
#235156 - 02/19/03 05:19 PM Re: [6.2] Profile Status Bar images -- Smilies [Re: jbiz]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Thanks for sharing coy7. These will come handy sometime soon <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Nikos

Top
#235157 - 02/28/03 01:02 PM Re: [6.2] Profile Status Bars 1.1 [Re: Daine]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Small fix in the online.php script:<br /><br />Change this:<br /> if ($Status == "User") { $Status = "<img src=\"{$config['images']}/blank.gif\" alt=\"{$ubbt_lang['USER_MOD']}\" border=\"0\" />"; }<br /><br />To this:<br /> if ($Status == "User") { $Status = "<img src=\"{$config['images']}/blank.gif\" alt=\"\" border=\"0\" />"; }<br /><br />Otherwise there will be a tool tip saying "Moderator" if you happen to hover the pointer above the blank gif next to normal users.
_________________________
/Gardener | Complete list of my mods

Top
#235158 - 04/19/03 02:44 PM Re: [6.2] Profile Status Bars 1.1 [Re: c0bra]
Mudpuppy Offline
Journeyman

Registered: 08/16/02
Posts: 113
Loc: Sin City
My users seem to have found a bug in this...<br /><br />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%.<br /><br />This little quirk greatly offends them <img src="/forum/images/graemlins/smile.gif" alt="" /> Any idea of what is causing it or how to fix it?

Top
#235159 - 04/19/03 02:56 PM Re: [6.2] Profile Status Bars 1.1 [Re: jbiz]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
It was originally set up like that.... so the "visible" field counted.<br /><br />Here's how you can fix it :<br /><br />In the changebasic.php and /admin/dochangeuser.php script, find the bit that looks like this and remove it:<br /><br />if ($Visible == "yes") {<br /> $stars = $stars + 5;<br />}<br /><br /><br /><br />Then also find where it says:<br /><br />$stars / 8;<br /><br />And change it to:<br /><br />$stars / 7; <br /><br />(as we are now only requiring 7 things.)<br /><br /><img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 1 of 2 1 2 >


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
0 Registered (), 21 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks