vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Profile Enhancements - Hide Contactinfo Block from the Guests (https://vborg.vbsupport.ru/showthread.php?t=166120)

Kaleem 12-24-2007 10:00 PM

Hide Contactinfo Block from the Guests
 
Its a very simple and easy MOD.

Hope it HELPS.

CIAO!

DjEddie 05-30-2008 11:56 AM

Thanks for this *installed*

wpeloquin 06-03-2008 02:24 AM

i made all but Statistics hidden. good thought.

okhissabigfish 06-15-2008 01:59 AM

Nice. Thanks...

PoetJA-1975 06-26-2008 02:23 PM

Thanx!

Jacquii.

Sirus123 06-27-2008 03:25 PM

Many thanks

Ideal Web Tech 06-27-2008 08:31 PM

Your code for this has room for improvement compared it creates an else statement that isn't needed as well as the steps should have just been a find and replace not a find and add above and then find it again and add below.

The proper code for this should be as follows

Find:

PHP Code:

$blocks[contactinfo

Replace with:
PHP Code:

<if condition="$show[member]">
$blocks[contactinfo]
</if> 


PoetJA-1975 06-28-2008 08:54 AM

^ Yep ^

Apologies for not having posted that when I 1st saw the thread.
The <else /> is definitely not needed in that code - It's just about tidying up the code ;)
Good share anyway

Jacquii.

SeaLs 06-29-2008 10:28 AM

Thanks

chatzworld 06-29-2008 11:00 AM

just what i have been looking for!

samet54 07-02-2008 07:14 AM

Thanks

Artes_Marciales 07-27-2008 10:52 AM

Thanks!

Quote:

Originally Posted by wpeloquin (Post 1539329)
i made all but Statistics hidden. good thought.

+1

mesdar 12-12-2008 05:43 AM

thanks

installed


All times are GMT. The time now is 11:45 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.01233 seconds
  • Memory Usage 1,732KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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