vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   What Mod Is This (https://vborg.vbsupport.ru/showthread.php?t=238666)

BigPete7978 03-19-2010 09:01 PM

What Mod Is This
 
I was browsing some vB forums and came across the PSU forums. They have Badges underneath their screennames that signify different things. LINK

I was wondering what mod this was. I would be interested in implementing it.

Anseur 03-19-2010 09:52 PM

I'm sure it's really a mod as such, more a template modfication. They have just added the little images with a template conditional at a guess.

Code:


<if condition="is_member_of($post, N)">
<!-- stuff here for the little image  -->
</if>

Change the N to the usergroup number of the user group(s) who you want to show that image for.

If I'm wrong and those images are not for a usergroup, then please explain what they do, under what condition do they appear/get hidden etc?

BigPete7978 03-19-2010 10:05 PM

So your saying that they have the badge for each usergroup. And for the badge to appear that user joins that individual group? Because that is what I am wanting to occur. Is my members to see a list, and when they join it they get a little badge below their stats.

Anseur 03-20-2010 05:45 PM

I'm not saying anything about that website you linked. :) I'm not a member of that forum and I have no idea what those images mean or when they apear. I just took a look at that page you linked to and took an educated guess. (I can't even make out what those little images say/depict, they are so small!)

If you want to show a little picture below everyone in a given usergroup, then yes, the code I posted above is how you would do that by editing your postbit template and putting that in the reliant spot.

BigPete7978 03-20-2010 06:15 PM

Oh I see. Well I assumed it is simply a mod seeing as how it would take a lot of work just to get multiple usergroups going. Hopefully someone who has seen the mod comes across this thread.


All times are GMT. The time now is 05:36 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.01457 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
  • (1)bbcode_code_printable
  • (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