vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Specific images in memberlist. (https://vborg.vbsupport.ru/showthread.php?t=179654)

gnubittol 05-18-2008 02:57 PM

Specific images in memberlist.
 
Hi everybody,
I need help... :)
My problem is: insert in memberlist an image that is different for usergroup.
I try to use this code without result:

Code:

<if condition="is_member_of($userinfo[usergroupid], 16)">
<div><img src="/images/icons/abc.gif" border="0" alt="" /></a></div>
</if>

<if condition="is_member_of($userinfo[usergroupid], 13)">
<div><img src="/images/icons/def.gif" border="0" alt="" /></a></div>
</if>

the same result :( with

Code:

  <if condition="is_member_of($post, 16)">
<div><img src="/images/icons/abc.gif" border="0" alt="" /></a></div>
</if>

  <if condition="is_member_of($post, 13)">
<div><img src="/images/icons/def.gif" border="0" alt="" /></a></div>
</if>

Someone can help me?

PS: vBulletin v 3.6.10

TIA

veenuisthebest 05-18-2008 03:06 PM

your conditional is wrong probably, use this instead



Code:

<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if>

gnubittol 05-18-2008 03:26 PM

Quote:

Originally Posted by veenuisthebest (Post 1523638)
your conditional is wrong probably, use this instead

Code:

<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if>


ehm...
I explain
the single component of usergroup must have the owner group image..

for example if a user is in user group "13" must have ( under the nickname ) the relative group image...

( in the postbit I have done without problem... )

but in memberlist_resultsbit.... :(

--------------- Added [DATE]1211193917[/DATE] at [TIME]1211193917[/TIME] ---------------

...no solution about?


All times are GMT. The time now is 09:36 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.01018 seconds
  • Memory Usage 1,718KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_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