vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Is this feature built into vBulletin or not? (https://vborg.vbsupport.ru/showthread.php?t=173539)

K8TEK 03-19-2008 08:18 PM

Is this feature built into vBulletin or not?
 
Notice how on this forum, just to the left of the Join date, posts and IM stuff there are icons. How is this done?

http://www.radioreference.com/forums...t=99885&page=2

King Kovifor 03-19-2008 08:25 PM

That looks like a custom mod where it calls certain groups and adds them right next to the posts. This can be done by editing the postbit template with certain <if> calls. More help could be obtained by searching the mod database and/or requesting coding help within our Programming Discussions Forum.

RobDog888 03-19-2008 08:27 PM

<font color="darkgreen">Probably just edited the postbit template and added the code to insert the image. All based upon a conditional evaluation of the member being in a custom secondary UserGroup of Premium Subscriber.</font>

K8TEK 04-24-2008 01:37 AM

I want it to show an icon for everyone with a usergroup of 23. I am using 3.7.0, what do I need to type?
Code:

<if condition="is_member_of($userinfo, 23)"><img src="...">
</if>

But, this isn't working

King Kovifor 04-24-2008 01:55 AM

Your problem would be that $userinfo is not for the poster's ID. It is for the current users ID.

Dismounted 04-24-2008 06:52 AM

$bbuserinfo is the current user
$userinfo is the profile you are viewing
$post is the poster


All times are GMT. The time now is 11:55 PM.

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.01095 seconds
  • Memory Usage 1,714KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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