php forum
php mysql forum
php mysql smarty
 
Topic Options
#44227 - 02/18/02 11:22 AM Paid Member Icon
msjulian Offline
Junior Member

Registered: 06/05/01
Posts: 9
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??

Top
#44228 - 02/18/02 03:51 PM Re: Paid Member Icon
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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

Top
#44229 - 02/18/02 05:23 PM Re: Paid Member Icon
msjulian Offline
Junior Member

Registered: 06/05/01
Posts: 9
Thanks!! Worked Great!!

Top
#44230 - 02/19/02 03:36 PM Re: Paid Member Icon
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
No problems mate.
_________________________
I can't afford a good signature editor frown

Top
#44231 - 10/25/02 12:46 AM Re: Paid Member Icon
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
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:</font><hr />
Code:
if ($ThisStatus eq "Administrator") {
						
                                    $ThisStatus = "Administrator
<img src="$NonCGIURL/Admin1.gif">

";
}
elsif ($ThisStatus eq "Moderator") {
						
                                    $ThisStatus = "Moderator
<img src="$NonCGIURL/star2.gif">

";

<hr /></blockquote>And changing it to this:
<blockquote><font class="small">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...
_________________________
Greg
The Reload Bulletin Board

Top
#44232 - 10/27/02 06:27 PM Re: Paid Member Icon
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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

Top
#44233 - 10/28/02 06:45 AM Re: Paid Member Icon
Deb Offline

Pooh-Bah

Registered: 02/13/00
Posts: 3480
Loc: Wisconsin
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

Top
#44234 - 10/29/02 01:50 AM Re: Paid Member Icon
reloadbench Offline
Member

Registered: 10/11/01
Posts: 34
Loc: New York
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:</font><hr />
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">

";
}

<hr /></blockquote>And replaced it with this:
<blockquote><font class="small">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!
_________________________
Greg
The Reload Bulletin Board

Top
#44235 - 10/29/02 09:47 AM Re: Paid Member Icon
Deb Offline

Pooh-Bah

Registered: 02/13/00
Posts: 3480
Loc: Wisconsin
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

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks