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)
-   -   Miscellaneous Hacks - Banned User Profile Replaced by Custom Image (https://vborg.vbsupport.ru/showthread.php?t=160533)

Snake 10-25-2007 03:46 PM

Quite useful. Thank you!

PoetJA-1975 10-29-2007 12:06 AM

Thanx for the share ;)

Jacquii.

Disi 11-04-2007 03:29 PM

Well i would suggesting the following changes:

Code:

                        <if condition="is_member_of($post, 8)">
                        <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="images/avatars/banned.gif" alt="Member is Eliminated" title="Member is Eliminated" /></a>
                        <else />
                          <if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
</if>

and

Code:

                  <if condition="is_member_of($post, 8)">
                  <a href="member.php?$session[sessionurl]u=$vbulletin->userinfo[userid]"><img src="images/avatars/banned.PNG" alt="Member is Eliminated" title="Member is Eliminated" /></a>
                  <else />
                    <if condition="$show['avatar']">
                    <td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
              <else />
                  <td>&nbsp;</td>
              </if>
            </if>

This Code will show the banned avatar always!

cheat-master30 11-05-2007 07:40 PM

I don't see much of the change. Unless it's the <td> tags. Never the less, I guess that's good (I have little experience with the specifics of tables).

cheat-master30 07-07-2008 05:42 PM

Heh, I remember this after a certain member of my forum wondered where it was and I readded it. Yep, nearly the works the same on vBulletin 3.7.2.


All times are GMT. The time now is 02:56 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.01093 seconds
  • Memory Usage 1,723KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete