Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Your email visible in Profile module
by deka87 on 2009/1/6 6:46:11

nooow the privacy is ok =)
Re: Your email visible in Profile module
by ghia on 2009/1/5 15:37:16

Quote:
i don't get it. it doesn't show the email when you put it directly in the url.
It is not in the visible text but if you look into the html source code of the popup window, it is possible to lookup the target email address, because it is encoded in a hidden field of the html form. And that is what spam harvesters and crawlers do, they read the html source!
Change your code as Trabis explained to encode only the user id in an hidden field and not the full email address.
Re: Your email visible in Profile module
by deka87 on 2009/1/5 14:06:49

Quote:

ghia wrote:
Nice!
But I recommend to add a captcha to your mailform, otherwise some spammers will be gratefull for this open channel to your members.


unfortunately i don't know how to do this =( i've heard there is some captcha module maybe i'll have luck to implement it there.

Quote:

Is it not more logical to heve the source language column before the target language column?


yes, i know that but for some reason it goes first (although it goes 2nd in the registration form..)

Quote:

Is the senders mail address and username prefilled if you are logged on?

yes, it is.

Quote:

When a user registrates on the site can he choose more than one language pair or must he have multiple usernames?

unfortunately yes. i know i can add more lines like source_langauge2 and tartget_language2. but then it'd be such a mess on the user profile page. i'd be awesome if I could display the language pairs on the userinfo like:

Discplay name: ######
Email: ######
1st language pair: English(source_language1) - Dutch (target_language1)

2st language pair: English(source_language2) - Dutch (target_language2)

but I don't think it is possible.

Quote:


Ahah, well not really!
You just have to enter link directly in the url:
http://freelancersupport.com/modules/profile/contact.php?uid=1

Now take a good look at the html source

You should use the email as hidden, you better pass the user id and then get the user email on the contact.php.


i don't get it. it doesn't show the email when you put it directly in the url.
Re: Your email visible in Profile module
by trabis on 2009/1/5 13:57:02

just delete this part you added in case:form and add it in case:post

le="color: #000000"><?php $member_handler =& xoops_gethandler('member'); $thisUser =& $member_handler->getUser($uid); $email_author = $thisUser->getVar('email', 'E');


then delete from the form
le="color: #000000"><?php $form_contact->addElement(new XoopsFormHidden('email_author', $email_author));
Re: Your email visible in Profile module
by trabis on 2009/1/5 13:41:04

Quote:

deka87 wrote:
so now nobody can see users' email address and the only way to contact them is via the website. privacy is ok now =)


Ahah, well not really!
You just have to enter link directly in the url:
http://freelancersupport.com/modules/profile/contact.php?uid=1

Now take a good look at the html source

You should use the email as hidden, you better pass the user id and then get the user email on the contact.php.

Who's Online

176 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits