Previous Thread
Next Thread
Print Thread
Rate Thread
#44227 02/18/2002 12:22 PM
Joined: Jun 2001
Posts: 10
Junior Member
Junior Member
Offline
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??

Sponsored Links
#44228 02/18/2002 4:51 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
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 frown
#44229 02/18/2002 6:23 PM
Joined: Jun 2001
Posts: 10
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 10
Thanks!! Worked Great!!

#44230 02/19/2002 4:36 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
No problems mate.


I can't afford a good signature editor frown
#44231 10/25/2002 12:46 AM
Joined: Oct 2001
Posts: 34
Member
Member
Offline
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:
Quote
code:
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]
Code
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...

Sponsored Links
#44232 10/27/2002 7:27 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
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 frown
#44233 10/28/2002 7:45 AM
Joined: Feb 2000
Posts: 2,668
Deb Offline
Pooh-Bah
Pooh-Bah
Offline
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:

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. smile


- Deb
#44234 10/29/2002 2:50 AM
Joined: Oct 2001
Posts: 34
Member
Member
Offline
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:
Quote
code:
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]
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">

";
}

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
Deb Offline
Pooh-Bah
Pooh-Bah
Offline
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. smile

I'm happy it worked for you! smile


- Deb

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
isaac
isaac
California
Posts: 1,157
Joined: July 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
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)