vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Images (https://vborg.vbsupport.ru/showthread.php?t=115043)

Olli460 05-08-2006 04:13 AM

Images
 
Im trying to configure my template so if a user was in a certain user group they would have either 1 star up to 5 stars under their post count. Thing is I dont know how to do this because I dont know exactly what I can type in to get the images I want. I also dont know how to code this...By using "if" I dont know what commands to put in to determine a specific group. Is it like

PHP Code:

<if condition="usergroup"><div>Rating$post[image]</div

I know thats probably extremely wrong but Im really new at this. The image posted replaces the image that I originally want to use but where do I have to put that image to configure a command or phrase to bring it up? Oh and for the usergroup, I dont want it to be the primary one. Either be secondary or if I can do it specifically. Can anyone help on how to do this?

peterska2 05-08-2006 04:25 AM

Try the user ranks feature in the admin cp. this will more than likely do it all for you.

Olli460 05-08-2006 06:53 AM

It doesnt give me what I want though. I just want under the post count to say GFX Rating: then have stars depending on their rating. I figured itd be easier to make it so when a member is in a certain group their rating is already configured BUT when you try to do that it only has the Primary Usergroup ranks. Is there a way to make a secondary usergroup rank which doesnt show up on the forum OR be able to turn off the usergroup rank and use those pictures for the thing I want to get going. Would I have to delete the usergroup rank from the postbit then?


All times are GMT. The time now is 11:01 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.01050 seconds
  • Memory Usage 1,710KB
  • 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)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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