vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How To Hide Avatar (https://vborg.vbsupport.ru/showthread.php?t=203650)

Adeawan 01-30-2009 08:48 PM

How To Hide Avatar
 
hello

i want to hide members avatar in religion

I Know We Can do that but dont know how to do it

Can Any1 Help Me??

Lynne 01-31-2009 01:09 AM

You want to hide a users avatar? You may remove it. Or, you may put the user in a usergroup that doesn't allow avatars.

Dismounted 01-31-2009 02:36 AM

If you think the avatar is breaking one of your forum's rules, tell the user, and ask them to remove it. If they don't remove it, remove it for them.

Adeawan 02-01-2009 02:26 AM

no i dont want to remove avatar of any user

just want to that if any user go in religoius section the avatar hide it self

i seen that on some forums

Lynne 02-01-2009 03:49 AM

Find the avatar in the postbit and put a condition around it:

HTML Code:

<if condition="$thread['forumid']  != x">
<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>
</if>


Adeawan 02-01-2009 04:33 PM

what shall i change that X with??

Lynne 02-01-2009 04:40 PM

The forumid you don't want the avatar to show up in.

Adeawan 02-01-2009 04:52 PM

i tried to install it and now it shows two avatars on posbit lol
can u explain plz if u dont mind

Lynne 02-01-2009 05:18 PM

I said put the condition *around* where the avatar is linked - don't add that code, replace the code (well, of just take the <if> and </if> and put it around the avatar link).

Adeawan 02-01-2009 05:35 PM

i replaced the code and when i changed the X to forum id it gives me an error


All times are GMT. The time now is 10:01 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.01086 seconds
  • Memory Usage 1,725KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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