vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Default Usergroup Avatars (https://vborg.vbsupport.ru/showthread.php?t=158498)

bigcurt 09-22-2007 09:14 PM

Default Usergroup Avatars
 
I have an extremely large ban list and due to the nature of my site it is important for people to know who I have banned. So, what I am looking for is a way to make all banned users have a specific avatar. That way it is very clear who is banned and who isn't. Plus it might look cool ;). This can also be done for other usergroups as well not just banned ones.

Freesteyelz 09-22-2007 10:48 PM

Look at this thread as a guide. If you need further help let me know.

Kirk Y 09-22-2007 11:25 PM

Just find:
Code:

$post[avatarurl]
Replace with:
Code:

<if condition="is_member_of($post,X)">http://yoursite.com/images/banned.gif<else />$post[avatarurl]</if>
Just replace the X with the UsergroupID of your Banned Usergroup, and set the Image Path to something real.

bigcurt 10-02-2007 03:58 PM

Sorry for late reply - but thanks.

Bilderback 10-04-2007 08:12 AM

There are a couple of good template changes that you may like.
https://vborg.vbsupport.ru/showthread.php?p=1344921
--puts a background Banned image in the avatar

https://vborg.vbsupport.ru/showthread.php?t=155688
--put Prison bars over the avatar

DivisionByZero 10-05-2007 11:03 AM

here's a better one. just create a full-width conditional layer with a clear BANNED image (like a red rubber stamp even) to go over each users postbit, profile, etc.

bigcurt 10-07-2007 11:57 PM

That would be nice haha.


All times are GMT. The time now is 05: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.00994 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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