vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Prison Bars on Banned Users Avatars (https://vborg.vbsupport.ru/showthread.php?t=155688)

rungok 03-19-2008 03:18 PM

Quote:

Originally Posted by Stefano Virgill (Post 1436516)
Hi guys,
I'm attacching another cage for those whom have it working.

Attachment 75492

Mine is not working at all.
Unistalled.

regards

Steve

Have you recently upgraded your forum? It may be neccesary to reapply all template edits after an upgrade.

KeyStalker 03-19-2008 07:05 PM

Quote:

Originally Posted by rungok (Post 1468757)
Maybe you can provide me with some more details if you want some help? Does the avatar show normally on banned users?

Usually for banned members the avatar + signature is gone...

Brandon Sheley 03-19-2008 07:12 PM

nice idea but I usually delete all thereads and post by the banned users.

rungok 03-19-2008 08:06 PM

Quote:

Originally Posted by KeyStalker (Post 1468985)
Usually for banned members the avatar + signature is gone...

You are thinking of deleted users. They will of course not be handled since they have no avatar. But banned or temporary banned users have avatars. This mod is for those users.

SwollenCranium 03-19-2008 08:36 PM

I've got a shiny new nickel with your name on it if you make this work for 3.7.

rungok 03-19-2008 08:42 PM

It will be done right after release. :)

KeyStalker 03-20-2008 06:35 PM

Quote:

Originally Posted by rungok (Post 1469057)
You are thinking of deleted users. They will of course not be handled since they have no avatar. But banned or temporary banned users have avatars. This mod is for those users.

The default banned user group is 8 (if I am not mistaken) on vb 3.6.8, and I put 8 into the code (and followed it (instructions) and doesn't work)

MelissaJ 03-24-2008 12:24 AM

I'm looking into adding something similar to troll and a semi-banned categories as well. I tried modifying the code around to see if it'd work with both, but all I got was the avatar to show up three seperate times. Any idea on what tweaks to the codes here will work for that?

noonespecial 03-26-2008 05:48 PM

Quote:

Originally Posted by MelissaJ (Post 1472917)
I'm looking into adding something similar to troll and a semi-banned categories as well. I tried modifying the code around to see if it'd work with both, but all I got was the avatar to show up three seperate times. Any idea on what tweaks to the codes here will work for that?

Postbit:
Code:

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="<if condition="$post[usergroupid]==9">images/avatars/banned.gif"<else />$post[avatarurl]" $post[avwidth] $post[avheight]</if> alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
Change "9" to your usergroup ID for the banned avatar.

Stupid Monkey.

rungok 03-29-2008 11:03 PM

Quote:

Originally Posted by KeyStalker
The default banned user group is 8 (if I am not mistaken) on vb 3.6.8, and I put 8 into the code (and followed it (instructions) and doesn't work)

Have you temporary banned a user for a time period and then chosen the "banned users" group as a gruop to place the user in during the temporary ban? You must do that.


All times are GMT. The time now is 05:33 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.02940 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete