|
#44227
02/18/2002 12:22 PM
|
Joined: Jun 2001
Posts: 10
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 10 |
I am looking for a way to add a "Paid Member" icon under the ranking stars in a members profile. I am changing the board to a allow for members to make a "donation" and would like to put an icon in that shows that they are a paid supporter. How can I do this??
|
|
|
#44228
02/18/2002 4:51 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Just install the avatars hack, or jimbos customs status hack. Then just assign a paid member an icon or some custom text of your choosing.
I can't afford a good signature editor
|
|
|
#44229
02/18/2002 6:23 PM
|
Joined: Jun 2001
Posts: 10
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 10 |
|
|
|
#44230
02/19/2002 4:36 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
I can't afford a good signature editor
|
|
|
#44231
10/25/2002 12:46 AM
|
Joined: Oct 2001
Posts: 34
Member
|
Member
Joined: Oct 2001
Posts: 34 |
I currently have the starshack2000 installed on my board v5.47e. What will happen if I try to also install the avatars hack or Jimbo custom status hack? Wouldn't that give conficting results? Is there a way to hack the starshack2000 to give certain members a custom hack? Perhaps finding this: code:
if ($ThisStatus eq "Administrator") { $ThisStatus = "Administrator <img src="$NonCGIURL/Admin1.gif">
"; } elsif ($ThisStatus eq "Moderator") { $ThisStatus = "Moderator <img src="$NonCGIURL/star2.gif">
";
And changing it to this: code: [qb]if ($ThisStatus eq "Administrator") { $ThisStatus = "Administrator <img src="$NonCGIURL/Admin1.gif">
"; } elsif ($ThisStatus eq "Moderator") { $ThisStatus = "Moderator <img src="$NonCGIURL/star2.gif">
"; elsif ($ThisStatus eq "EXACTUSERNAME") { $ThisStatus = "CUSTOMUSERNAME <img src="$NonCGIURL/CUSTOMUSERNAME.gif">
"; [/qb] For each custom member status, just add a new "elsif" line with their EXACTUSERNAME? Is this possible? I haven't tried this but to me it sounds too easy... Thanks in advance...
|
|
|
#44232
10/27/2002 7:27 PM
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
The this status variable doesnt contain the username, it contains the 'Status' of the user, ie Admin/Mod/Member etc...
Im not sure of those 2 hacks will conflict, so backup your board and try it out ? Otherwise Id look into the custom profle fields hack to store an extra line in theie member file. This is what Ive done on our v5 board, was add an extra profile field, which contains weather the member has made a donation or not.
Good luck!
I can't afford a good signature editor
|
|
|
#44233
10/28/2002 7:45 AM
|
Joined: Feb 2000
Posts: 2,668
Pooh-Bah
|
Pooh-Bah
Joined: Feb 2000
Posts: 2,668 |
I don't use the star rank per se but I do have a system to acknowledge paying members. I use this code: } if ($thisline[2] eq "username") { $ThisStatus = "<img src="/ubb/icon/username.gif"> Member": You could add a break with their star rank in there. Don't forget to make backups. 
- Deb
|
|
|
#44234
10/29/2002 2:50 AM
|
Joined: Oct 2001
Posts: 34
Member
|
Member
Joined: Oct 2001
Posts: 34 |
Deb, Thanks so much for your help. I had to alter it a bit but I got it to work just fine. In the starshack2000 I took this: code:
if ($ThisStatus eq "Administrator") { $ThisStatus = "Administrator <img src="$NonCGIURL/admin.gif" alt="Administrator" width="61" height="12">
"; } elsif ($ThisStatus eq "Moderator") { $ThisStatus = "Moderator <img src="$NonCGIURL/mod.gif" alt="Moderator" width="61" height="12">
"; }
And replaced it with this: code: [qb]if ($ThisStatus eq "Administrator") { $ThisStatus = "Administrator <img src="$NonCGIURL/admin.gif" alt="Administrator" width="61" height="12">
"; } elsif ($ThisStatus eq "Moderator") { $ThisStatus = "Moderator <img src="$NonCGIURL/mod.gif" alt="Moderator" width="61" height="12">
"; }
elsif ($thisline[2] eq "USERNAME") {$ThisStatus = "Sponsor <img src="$NonCGIURL/USERNAME.gif">" } [/qb] Thanks again!
|
|
|
#44235
10/29/2002 10:47 AM
|
Joined: Feb 2000
Posts: 2,668
Pooh-Bah
|
Pooh-Bah
Joined: Feb 2000
Posts: 2,668 |
Glad I could help Greg! BTW, I do have those status lines above as you've shown. I was trying to show what I have for the paying members. I'm happy it worked for you! 
- Deb
|
|
|
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.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|