vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Hide User Contact Info From Guests (https://vborg.vbsupport.ru/showthread.php?t=101180)

SHalliday 06-06-2006 01:39 AM

Clicks Install

Worked Great. Thanks!

chkdgate 07-08-2006 08:34 PM

Installed it perfectly. At the moment I have very few members on my forum so I'll knoww soon enough if something's missing but I doubt it. Thanks for this!

*clicks install*

Mikkito 08-13-2006 10:05 PM

On top of the memberslist, you can still see the contact info in posts done by a user.

peterska2 08-13-2006 10:12 PM

Yes, there are some known places where the info is still visible in this version.

I rewrote it and fixed all these bugs in the 3.6 version.

Strike3ForumsMH 09-05-2006 04:24 PM

Quote:

Originally Posted by peterska2
OK, here goes.

Instead of
Code:

<if condition="$show[registerbutton]">
use
Code:

<if condition="$bbuserinfo[usergroupid]!='x'">
where x is the usergroupid number of the usergroups that you want to be able to view it. You will need to change both instances of this.

Has anyone had any luck with this on 3.54? I've tried this a few times and it's not working for me at all. I haven't tried the default listed method, but I would only need this if I could use it for two usergroups (guests and one registered group.)

Thanks in advance.

peterska2 09-05-2006 09:02 PM

where are you putting it and what exactly is the code you are using?

Strike3ForumsMH 09-06-2006 12:28 AM

I am using the hidecontactinfo352 instructions and instead of using:
<if condition="$show[member]">

I've used:
<if condition="$bbuserinfo[usergroupid]!='5,6,7,9,10,11'">

I wasn't for sure on that last part, but I entered in the usergroups that I want to have the ability to view contact info. And I used that in place of the showmember code for both instances of it. And I have the phrases added.

I am sure I goofed on that somewhere as it's not hard for me to do from time to time. Any help you can give when you give the time will be ery much appreciated Kerry-Anne. If you need some other info that I failed to provide, let me know.

Thanks again.

Strike3ForumsMH 09-15-2006 06:15 PM

I understand that peterska2 might be busy (given all the support they give), so anyone else who has done what I am attempting to do (but did it successfully) could lend a hand, it would be appreciated. I am sure it's some goofy error on my part.

If not, no worries.

peterska2 09-15-2006 09:15 PM

try
Code:

<if condition="is_member_of($usergroup, 5,6,7,9,10,11)">
instead.

Strike3ForumsMH 09-15-2006 11:50 PM

No error messages this time like with what I did, but the contact info still shows up. Perhaps it's coming into conflict with another code I have. I will try it again when I upgrade to 3.6 in the future (without the various codes and such added back in yet), as I can't see anything wrong with what you provided to assist me. Thanks for all your help. :)


All times are GMT. The time now is 08:59 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.01245 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_code_printable
  • (1)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