Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Hiding email mod .....
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

laser
Advanced Member

Australia
3859 Posts

Posted - 31 July 2002 :  07:55:06  Show Profile
Can anyone help ?

I downloaded the "hide email" mod, and tried to implement it. There is no readme, so I simply compared my code to the mod code (thank god for UltraEdit).

Anyway, being very cautious I changed all files, but uploaded only one at a time to test. The first one being pop_profile .... doesn't give me a radio button to show/hide email (like I thought it would), but gives an error when submitting a profile change.

Rather than going into specifics (and I've removed the changes from the forum already), does anyone have a documented mod, or some simple steps to install the feature where users can choose to have their email displayed or not.

TIA...


pako
Starting Member

Spain
39 Posts

Posted - 31 July 2002 :  09:15:45  Show Profile  Visit pako's Homepage
I have the mod you say and I converted to use for v4b03 and I made a instructions file. Maybe it could help you. I don´t have a site to download yet. If you want, I can send it you by email.

Go to Top of Page

pahasapa
Starting Member

38 Posts

Posted - 31 July 2002 :  17:16:38  Show Profile
I have the some problem!!! sigh!!

alex
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 31 July 2002 :  17:28:42  Show Profile
pako,

I'm still using 3.3.05, but I would appreciate anything that is close to the readme of the other mod's I've done. This is the first mod where I've had to back it out quick

Go to Top of Page

Tmpj
Junior Member

Denmark
467 Posts

Posted - 31 July 2002 :  17:52:32  Show Profile
I always had problems to install it, because Richard not have commented the Code changes.


------------------------------
Magic is an Orange
http://www.magicorange.tk
Go to Top of Page

pako
Starting Member

Spain
39 Posts

Posted - 01 August 2002 :  04:57:07  Show Profile  Visit pako's Homepage
You can download the mod here. There is a readme3305.txt with the steps to install for Snitz version 3.3.05.

Hope to be useful.

Tmpj, if you know who is the author of the mod I would like to know to write it in the readme.

Edited by - pako on 01 August 2002 05:02:28
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 01 August 2002 :  06:15:20  Show Profile
The readme helps, but I'm still getting :


Data type mismatch in criteria expression.

/snitz/pop_profile.asp, line 964


and on this page I thought I would find a radio button to show/hide the email address. Anyway, I'll try to figure it out and post any progress here.

Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 01 August 2002 :  06:35:50  Show Profile
**** IT !!!!!

Sorry guys, just me being too conservative and only uploading pop_profile. When I worked through the code and found I needed inc_profile as well, I uploaded that and it worked straight away - WOO HOO !!!

Go to Top of Page

James
Average Member

USA
539 Posts

Posted - 01 August 2002 :  21:52:32  Show Profile  Visit James's Homepage
quote:
You can download the mod here. There is a readme3305.txt with the steps to install for Snitz version 3.3.05.


I noticed this mod alters register.asp too and I have a couple questions. I have the older e-mail validation (e-mail random password to a user when they register or change their e-mail address). Will this mod affect that and possibly prevent the site from e-mailing out a random password to a user? Also, is the e-mail still available to Admins?

-
*Interested in Radio Control*
*The RC Web Board - http://www.rcwebboard.com/*
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 August 2002 :  06:48:13  Show Profile
quote:

**** IT !!!!!




I only said D A M N

Go to Top of Page

pako
Starting Member

Spain
39 Posts

Posted - 02 August 2002 :  12:15:15  Show Profile  Visit pako's Homepage
quote:

I noticed this mod alters register.asp too and I have a couple questions. I have the older e-mail validation (e-mail random password to a user when they register or change their e-mail address). Will this mod affect that and possibly prevent the site from e-mailing out a random password to a user? Also, is the e-mail still available to Admins?




Mod alter register.asp in order to save the field M_HIDE_EMAIL where the user choose whether or not to hide his email address. I think it will not affect.
Mod works hiding email access in user profile and users posts even to Admins. So I think you will not have problems with both mods working together. But remember that this mod is not mine. I only make the readme following differences. I have not the last word.

Go to Top of Page

Devastator
Starting Member

3 Posts

Posted - 15 August 2002 :  12:11:32  Show Profile
I found a bit of a logic problem with the Hide Email code. I noticed at first that everytime I would look at my profile the Hide Email was set to No.

I change line 67 in my inc_profile.asp from this:

<% if RS("M_EMAIL") = "" then %>

To this:

<% if RS("M_EMAIL") <> "" then %>

After this change the radio button correctly displays your personal setting.

-Devastator
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07