Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2006, 01:04 AM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Star for paid subscribers

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..
Attached Images
File Type: gif star.gif (7.4 KB, 0 views)
Reply With Quote
  #2  
Old 11-15-2006, 01:27 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would be interested also for my premium members
Reply With Quote
  #3  
Old 11-15-2006, 11:42 AM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 11-15-2006, 12:58 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In Usergroup settings, there's two fields for username markup. In the second, add something like:

&nbsp;<img src="images/star.gif" border="0" class="inlineimg" />
Reply With Quote
  #5  
Old 11-15-2006, 02:31 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
In Usergroup settings, there's two fields for username markup. In the second, add something like:

&nbsp;<img src="images/star.gif" border="0" class="inlineimg" />


Wow that seams to easy.. I will try it

Quote:
Originally Posted by bada_bing View Post
Wow that seams to easy.. I will try it
This did not work...

Quote:
Originally Posted by bada_bing View Post
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..
Reply With Quote
  #6  
Old 11-15-2006, 08:08 PM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
In Usergroup settings, there's two fields for username markup. In the second, add something like:

&nbsp;<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 &nbsp; 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!
Reply With Quote
  #7  
Old 11-16-2006, 07:34 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
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?
Reply With Quote
  #8  
Old 11-16-2006, 07:47 PM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #9  
Old 11-16-2006, 07:51 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stone0075 View Post
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
Reply With Quote
  #10  
Old 11-16-2006, 09:21 PM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Code:
$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".
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06312 seconds
  • Memory Usage 2,277KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete