View Full Version : Star for paid subscribers
johnrizz
11-15-2006, 01:04 AM
I need some help please!
what I did was set up a paid subscriber area on my forum and what i'm trying to do is have it were all paid subscribers get a star next to their name, this is where I hit the brick wall. I'am sure it isn't as complicated as I make it out to be. If anyone has an insight to this I would surely appreciate the help? :)
This picture is an example of what I'm trying to do..
John..
bada_bing
11-15-2006, 01:27 AM
I would be interested also for my premium members
paul41598
11-15-2006, 11:42 AM
seems easy. Since paid subscribers generally are moved into a new usergroup Im presuming on your forums too...you could write a conditional. If part of x group, display star icon
RedTyger
11-15-2006, 12:58 PM
In Usergroup settings, there's two fields for username markup. In the second, add something like:
<img src="images/star.gif" border="0" class="inlineimg" />
bada_bing
11-15-2006, 02:31 PM
In Usergroup settings, there's two fields for username markup. In the second, add something like:
<img src="images/star.gif" border="0" class="inlineimg" />
Wow that seams to easy.. I will try it
Wow that seams to easy.. I will try it
This did not work...
Wow that seams to easy.. I will try it
This did not work...
Awww OK it actually does work except that it adds the image next to the member name in between the membername and the on/offline status.
Can I have this image show up under the member name?
Another issue with placing it in the HTML markup are is that now this image diaplays in all these areas Logged-in Users, Who's Online, Users Browsing Forum, Users Browsing Thread, Posts, Member List etc.)
I only want it to show up under the members name but only if they are a premium member..
johnrizz
11-15-2006, 08:08 PM
In Usergroup settings, there's two fields for username markup. In the second, add something like:
<img src="images/star.gif" border="0" class="inlineimg" />
Thanks RT I'll gave it a shot
**EDIT**
That did it! your the best.... haha! I removed the from the line to bring the star closer to the user name. Thanks again!!
<img src="images/star.gif" border="0" class="inlineimg" />
Ok, another question! Is there a way to block the star.gif from showing up next to the name in your Who's Online area at the bottom? srry! dont wana be a pest!
bada_bing
11-16-2006, 07:34 PM
Wow that seams to easy.. I will try it
This did not work...
Awww OK it actually does work except that it adds the image next to the member name in between the membername and the on/offline status.
Can I have this image show up under the member name?
Another issue with placing it in the HTML markup are is that now this image diaplays in all these areas Logged-in Users, Who's Online, Users Browsing Forum, Users Browsing Thread, Posts, Member List etc.)
I only want it to show up under the members name but only if they are a premium member..
Any one?
johnrizz
11-16-2006, 07:47 PM
bada_bing
what I did was added a </div> infront of the code, Like so </div><img src="images/green-star.gif" border="0" class="inlineimg" /> that put the star under the user name...
bada_bing
11-16-2006, 07:51 PM
bada_bing
what I did was added a </div> infront of the code, Like so </div><img src="images/green-star.gif" border="0" class="inlineimg" /> that put the star under the user name...
Yea but that does not stop if from displaying that image in various other locations like who's online, memberlist and do on.. I just want the image to apear when the postbit or postbit_legacy only
johnrizz
11-16-2006, 09:21 PM
Ok, This is what was just handed to me form vbulletin.com, I haven't tried it yet so, will see....
You can keep using the username markup, but you will need to edit the templates for the areas where you don't want the markup to show. For example:
Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Forum Home Templates -> forumhome_loggedinuser
Remove the m that is highlighted:
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
You will need to make a similar change to the other templates. You can find these templates in your:
Admin CP -> Styles & Templates -> Search in Templates
Search for "musername".
bada_bing
11-16-2006, 10:33 PM
Wow thanks for the research on this.. I think I will try and see if there are other solutions because this can get complicate trouble shooting when you edit features our to make up for one.. I dont like doing that as it can bit you in the butt in the long run
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.