vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Paid Members Image in Postbit (https://vborg.vbsupport.ru/showthread.php?t=308183)

btedition 02-11-2014 11:19 AM

Paid Members Image in Postbit
 
Hey guys,

I'm a bit of a noob when it comes to coding here but I am a fast learner.

We just established a paid membership package on our forum and I'd like to get those paid members distinguished from other members. I've already created a separate group for them, but I want to do some stuff to make them more special than others.

https://vborg.vbsupport.ru/external/2014/02/23.png

This is my current postbit. I want to insert this star (https://vborg.vbsupport.ru/external/2014/02/24.png) inside both red circles. So basically having the name wrapped with two stars.

Also, in the area of the yellow rectangle I'd like a banner image of some sort to be inserted saying "Paid Member"

Now I understand I have to play with postbit_legacy but I don't know exactly what I need to adjust.

Please help, I appreciate your time and efforts. Thanks

-------

Paid Members usergroupID = 16
Star PNG link : http://bmwclubuae.com/images/star.png

cellarius 02-11-2014 05:51 PM

No need to play with postbit. Just add the htrml code for the stars in the usergroup settings -> Username HTML Markup.

And for the second you can use user ranks

btedition 02-12-2014 05:20 AM

Thank you, I said I am a noob when it comes to coding because I don't know what code I need to insert in. Can you please guide?

Thanks in advance!

cellarius 02-12-2014 08:42 PM

Well, something like <img src="path/to/your/star.gif" alt="star" />. But that's really very basic html, there's tons of pages where the usage of the img-tag in html is explained.

btedition 02-13-2014 06:20 AM

Thank you sir!


All times are GMT. The time now is 06:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02161 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete