Version: 1.00, by amykhar
Developer Last Online: Nov 2013
Version: 2.2.x
Rating:
Released: 02-14-2003
Last Update: Never
Installs: 18
No support by the author.
This Hack allows you to set styles for use only by premium members. (Premium members are people that you decide are premium either because they have paid or because you like them or for whatever reason you determine they are premium)
This hack does not use the usergroup system because it allows premium users to be in any usergroup. This enables me to keep moderators in a mods group, Epinions members in an Epinions group, and everybody else in the registered group and still mark them as a contributor.
Premium members on my board have paid a membership fee. My nonpaid members have the default style that has ad banners and few if any hacks.
My premium members have 5 styles to choose from. None have Ad Banners and there are more hacks and features.
If you want to see a live demo: Join my forum, look at the styles available to you. Then pay to become a premium member and look to see the available styles once you have paid.
KNOWN ISSUES:
None.
I will include screenshots in a few minutes.
NOTE: I will support this hack for users who know how to run queries and edit files. I will not explain the basics of hacking. I will support bugs. I will also refine the instructions if they are incorrect.
Most hacks can be added on very easily to this by only installing them to work on the premium styles. As I am upgrading right now, if I come across any others that I tweak more to work with the premium styles, I will most definitely post them here.
Yes. In fact, I forgot that I had already done something similar. My regular members must have 200 posts to use custom avatars. Premium members can use them no matter how many posts they have. Back in a few with that addon and thanks for the reminder.
OK. I am back.
I wrote two versions of the hack. The first is tested. The second is not.
The first one makes it so that if you set a post limit for custom avatars, premium members are exempt from that limit. On my board, members need 200 posts to use custom avatars but premium members can use them no matter how many posts they have.
The second one makes it so that if you disable custom avatars entirely for your normal members, premium members can still use them. I have not tested the second one and will rely on some brave soul to do so. I will happily fix any bugs.
Today at 10:58 AM corsacrazy said this in Post #25 nice one ! im tryin to make some additions also ! but i cant figure out the variable to select the premium mebers ? is it somthing like
userinfo[premium] ! because i want to add a small icon next to the premium peoples usernames in the whos online bit on forumhome
It depends on the file you are using. Sometimes it is $bbuserinfo[premium] Sometimes it is $userinfo[premium] . Just check to see what other user variables are in that section of code and it is the same.
To do what you want to do, try this:
In online.php Find:
Code:
} else if (($mod["$key"] or $user['usergroupid'] == 5)and $highlightadmin) {
$userinfo["$key"]['username'] = "<b>$user[username]</b>";