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)

kallelm 01-14-2006 09:40 PM

I tried installing it and it just hides all the user info from everyone. I revert the template and tried again. Still no luck. I'm running 3.5.3. I know I've goofed up somewhere. Can you tell me if it works for 3.5.3 first before I try again?

peterska2 01-15-2006 09:53 PM

it should work on 3.5.3, I've not actually got round to upgrading yet though so can't confirm this totally. I'm not aware of any siginificant changes to the templates that would prevent it though.

rnmcd 01-15-2006 09:59 PM

Quote:

Originally Posted by peterska2
Ah, now I'd completely forgot about that. I'll get a fixed knocked up later today.

Were you able to do the fix for post #39?

peterska2 02-12-2006 01:03 AM

Sorry, been mega busy with school and a load of clients all wanting things doing at once so I sorta forgot.

I'll try and get it done sometime this week.

???`S?LV?R???` 03-31-2006 10:21 PM

Is it working ok on 3.5.4?

peterska2 04-04-2006 02:17 AM

yes it is.

Chadi 04-18-2006 03:20 AM

I got a problem here:

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/chadi/public_html/includes/adminfunctions_template.php(3537) : eval()'d code on line 208

I had inserted below the mentioned code (in instructions)

<if condition="$show[registerbutton]">
<if condition="$userinfo[field18]=No">
<tr>
<td>
$vbphrase[contact_is_private]
</td>
</tr>
</if>
<else />

What is the issue?

peterska2 04-18-2006 12:28 PM

try
Code:

<if condition="$userinfo[field18]==No">
instead of
Code:

<if condition="$userinfo[field18]=No">
also it is better to use
Code:

<if condition="$show[member]">
instead of
Code:

<if condition="$show[registerbutton]">

peterska2 04-19-2006 10:21 PM

Important information regarding support - 20/04/06
Due to time constraints and the amount of things that are being planned for future modifications, priority support will now be provided here. Support provided in this thread will be on an as and when basis.

Chadi 04-22-2006 11:54 PM

What about hiding from COPPA users or banned users?

Chadi 04-22-2006 11:58 PM

Problem..see attached

Why is it suddenly showing the actual full IM (I blotted it out) and the hidden message, when it is not hidden? I was logged in also.

I attached my full MEMBERINFO template.

peterska2 04-23-2006 08:52 PM

Quote:

Originally Posted by chadi
Problem..see attached

Why is it suddenly showing the actual full IM (I blotted it out) and the hidden message, when it is not hidden? I was logged in also.

I attached my full MEMBERINFO template.

ok, you had your end code for the IM section in the wrong place as you have added additional info to that section.

Try the attached file instead.

peterska2 04-23-2006 08:53 PM

Quote:

Originally Posted by chadi
What about hiding from COPPA users or banned users?

A new build is in development. This will use usergroup permissions to set who can and can't view the contact info. It will also fix other known problems with this mod.

COBRAws 05-02-2006 12:41 AM

Quote:

Originally Posted by peterska2
A new build is in development. This will use usergroup permissions to set who can and can't view the contact info. It will also fix other known problems with this mod.

maybe a plugin? :D

peterska2 05-02-2006 12:43 AM

IT will be a product when it is finished. Development has been slow due to a number of personal issues, but is continuing slowly but steadily.

ztempuser 05-28-2006 12:34 AM

im haveing some trouble im running vb 3.5.1 the skype is not in the sytem yet

i get this line when i go to a profile

Code:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/user/public_html/forum/member.php(652) : eval()'d code on line 327

peterska2 05-28-2006 12:39 AM

I recommend upgrading to 3.5.4 as there are a number of bugs that have been fixed, and additional functionality such as skype added to it.

If you are unable to upgrade to the latest version for whatever reason, the line to find, instead of the skype one, will be

Code:

<if condition="$userinfo['showyahoo']">
                                        <tr>
                                                <td>$userinfo[yahooicon]</td>
                                                <td><a href="#" dir="ltr" onclick="imwindow('yahoo', '$userinfo[userid]', 400, 200); return false;">$userinfo[yahoo]</a></td>
                                        </tr>
                                        </if>

If not, then I will need to redownload 3.5.1 and go through the style xml to find the correct part.

ztempuser 05-28-2006 12:50 AM

GREAT works:)
ya im not planning on upgradeing, as my forum as a down side, its heavy on the modded side, contless adds and changes
thanks for the fast reply and help *clicks insall*
great hack

peterska2 05-28-2006 12:52 AM

Glad it worked. :D

I wasn't looking forward to the prospect of having to trawl through a massive style file to find a couple of lines :p Now I can rest easy again.

ztempuser 05-28-2006 12:54 AM

:knockedout:

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. :)

PoetJA-1975 01-21-2007 02:32 PM

Nice - works lovely in 3.6.4
Lots of template edits - but worth it for Member privacy
Thanx for sharing!

Jacquii.

pmkb 03-25-2008 02:04 PM

Does this work with v3.6.8?


All times are GMT. The time now is 01:05 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.01330 seconds
  • Memory Usage 1,790KB
  • 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
  • (9)bbcode_code_printable
  • (5)bbcode_quote_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
  • (32)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