The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Styles for Premium Members Details »» | |||||||||||||||||||||||||
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. Custom Avatars Addon: https://vborg.vbsupport.ru/showthrea...084#post366084 No PM Quota for Premium Addon: https://vborg.vbsupport.ru/showthrea...882#post364882 Show Your Support
|
Comments |
#22
|
||||
|
||||
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.
Amy |
#23
|
||||
|
||||
thank you
|
#24
|
||||
|
||||
would it be possible to alow premium members to have custom avatars and non premium members use the gallery avatars ?
|
#25
|
||||
|
||||
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.
Amy |
#26
|
||||
|
||||
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 |
#27
|
||||
|
||||
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. Amy |
#28
|
||||
|
||||
Quote:
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>"; Code:
} else if ($user['premium'])and $highlightadmin) { $userinfo["$key"]['username'] = "<img src="Put icon here."><b>$user[username]</b>"; Amy |
#29
|
||||
|
||||
u r a star ! and all this without usergroups thanks ever so much !
|
#30
|
||||
|
||||
cant get icon to work ! i will not put it in onlin.php but i would like it to go in index so it shows up next to the username in forum home whosonline
|
#31
|
||||
|
||||
OK. This one is easy.
In index.php Find: (twice) Code:
eval("\$activeusers = \"".gettemplate('forumhome_loggedinuser')."\";"); Code:
if ($loggedin['premium'] == 1 and $highlightadmin) { $username = "<img src='Icon src here'> " .$username; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|