PDA

View Full Version : Email forms?


caseserve
Jan-04-2006, 11:19 AM
I'm not sure if I should post this here or in the customization section. If it's to be there please feel free to move it

I have my own commercially hosted domain (caseserve.com) if that matters in regards to my question. I would like to include email forms on my smugmug site (gallery.caseserve.com) I'm tired of all the spam that I'm getting and feel a form would do away with this.

How can I put an email form on my smugmug site? Or do I create the form on my personal site (caseserve.com) and just link to it?


Thanks,

John

Andy
Jan-04-2006, 11:28 AM
I'm not sure if I should post this here or in the customization section. If it's to be there please feel free to move it

I have my own commercially hosted domain (caseserve.com) if that matters in regards to my question. I would like to include email forms on my smugmug site (gallery.caseserve.com) I'm tired of all the spam that I'm getting and feel a form would do away with this.

How can I put an email form on my smugmug site? Or do I create the form on my personal site (caseserve.com) and just link to it?


Thanks,

John

Stand by I will help shortly.

bwg
Jan-04-2006, 11:28 AM
I'm not sure if I should post this here or in the customization section. If it's to be there please feel free to move it

I have my own commercially hosted domain (caseserve.com) if that matters in regards to my question. I would like to include email forms on my smugmug site (gallery.caseserve.com) I'm tired of all the spam that I'm getting and feel a form would do away with this.

How can I put an email form on my smugmug site? Or do I create the form on my personal site (caseserve.com) and just link to it?


Thanks,

John

usually an email form posts back to a server process that sends out the email from the server. This is not possible within your smugmug site.

you could however write a javascript function that would open up the end users's email client and pre-populate the to address with your email address. This would be similar to using the mailto:youremail@address syntax in an xhtml anchor tag except that by using javascript, you could encode your email address so the nasty spam bots couldnt find it.

Mike Lane
Jan-04-2006, 11:30 AM
I'm not sure if I should post this here or in the customization section. If it's to be there please feel free to move it

I have my own commercially hosted domain (caseserve.com) if that matters in regards to my question. I would like to include email forms on my smugmug site (gallery.caseserve.com) I'm tired of all the spam that I'm getting and feel a form would do away with this.

How can I put an email form on my smugmug site? Or do I create the form on my personal site (caseserve.com) and just link to it?


Thanks,

John

This sounds more like a customization thing so I'll move it.

I did a google search of create email form and came up with this link (http://www.web-source.net/html_forms1.htm). That should help you out!

Andy
Jan-04-2006, 11:31 AM
OK - I just saw a nice example on SmugMug yesterday, I will try to find it (forgot to bookmark it, d'oH!)

But here:

Make a linky in your navbar, or whereever, "Contact Me"

Then do an HTML-only Gallery (http://www.dgrin.com/showpost.php?p=186127&postcount=19) and put your email form code in the description of that gallery.

Hope this helps!

caseserve
Jan-04-2006, 11:46 AM
The link you provided relies on a cgi script. Are you saying that smugmug will allow us to load cgi scripts on their server :rofl Or are you saying I should load in on my server?



I did a google search of create email form and came up with this link (http://www.web-source.net/html_forms1.htm). That should help you out!

caseserve
Jan-04-2006, 11:48 AM
Andy,
I went to the link but and tried to put in the reference you stated below on another page. But I'm not sure where to put this?

/* html only page for gallery XXXXXX */
.gallery_XXXXXX .nophotos { display: none; }
.gallery_XXXXXX .opening { display: none; }


OK - I just saw a nice example on SmugMug yesterday, I will try to find it (forgot to bookmark it, d'oH!)

But here:

Make a linky in your navbar, or whereever, "Contact Me"

Then do an HTML-only Gallery (http://www.dgrin.com/showpost.php?p=186127&postcount=19) and put your email form code in the description of that gallery.

Hope this helps!

Andy
Jan-04-2006, 11:49 AM
Andy,
I went to the link but and tried to put in the reference you stated below on another page. But I'm not sure where to put this?

/* html only page for gallery XXXXXX */
.gallery_XXXXXX .nophotos { display: none; }
.gallery_XXXXXX .opening { display: none; }

That goes in your CSS Stylesheet of your customization (Control Panel>Customization

Change the XXXXXX to the actual gallery number.

caseserve
Jan-04-2006, 11:50 AM
Well that makes more sence :huh now that I know where to put it.

Thanks I got it working

That goes in your CSS Stylesheet of your customization (Control Panel>Customization

Change the XXXXXX to the actual gallery number.

flyingdutchie
Jan-04-2006, 01:00 PM
I'm not sure if I should post this here or in the customization section. If it's to be there please feel free to move it

I have my own commercially hosted domain (caseserve.com) if that matters in regards to my question. I would like to include email forms on my smugmug site (gallery.caseserve.com) I'm tired of all the spam that I'm getting and feel a form would do away with this.

How can I put an email form on my smugmug site? Or do I create the form on my personal site (caseserve.com) and just link to it?


Thanks,

John

Mike posted a solution earlier, in another thread somewhere. I am using this solution on my site:
http://w2.syronex.com/jmr/safemailto/

It basically replaces the mailto: link with a javascript code that complete hides and scrambles your real e-mail address.

bwg
Jan-04-2006, 03:49 PM
Mike posted a solution earlier, in another thread somewhere. I am using this solution on my site:
http://w2.syronex.com/jmr/safemailto/

It basically replaces the mailto: link with a javascript code that complete hides and scrambles your real e-mail address.
thats pretty cool

basically the same thing i suggested earlier, but much more complicated.

Andy
Jan-04-2006, 04:11 PM
Mike posted a solution earlier, in another thread somewhere. I am using this solution on my site:
http://w2.syronex.com/jmr/safemailto/

It basically replaces the mailto: link with a javascript code that complete hides and scrambles your real e-mail address.


OK Anton, what's the trick with that site? I tried it, but coulnd't do it b/c I'm a dope. I see they give you some code. Where does that batch of code go? Thanks man....

flyingdutchie
Jan-04-2006, 04:30 PM
**************************************************

EDIT: Feb 18th, 2008: THIS is the preferred method, here:

http://www.dgrin.com/showthread.php?t=81235

**************************************************

Andy
Jan-04-2006, 04:44 PM
Here is an example of my site, from my bio:

To contact me, send me an <script language="javascript"> writeEMail('e-mail','From smugmug:'); </script>, sign

The contents of the <script> writes out a "mailto:" link. In my custom javascripting i have this function writeEMail, generated by syronex (i unchecked the 'User Challenge' checkbox(!))

function writeEMail(pLinkText, pSubject)
{
var v2="826ZTCGEBAWEH6VASTTIJ";
var v7=unescape("YAF%3B5-4%05112%24%23S72*z%3A%2C%3E");
var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}

(note: you can not directly copy this, since it only will work with my e-mail address! But it gives you an idea of how to incorporate the code from the syronex site. The variable values for v2 and v7 are different for each different e-mail address)

The bold line is the one writing out the link. The rest of the code in this function is just a decoder (of the text that the syronex encoded).

I used the <script> tag with the call to writeEMail on several pages. Just change the the parameters with which you call writeEMail to provide the proper link-text on the page and the subject of the e-mail.

(note: the actual contents of the <script> tag don't show up after you hit the 'save' button on your bio. You will see an empty space instead. You must refresh the page to see the actual link. The code inside the <script> tag is not executed when updating content through AJAX).


It works! Thanks Anton

www.moonriverphotography.com

Andy
Jan-04-2006, 04:52 PM
It works! Thanks Anton

www.moonriverphotography.com


Anton,

I'm guessing that there's not a way to implement that image verification thingie?

flyingdutchie
Jan-04-2006, 05:31 PM
Anton,

I'm guessing that there's not a way to implement that image verification thingie?

I think it's possible, but it is just 'too much'.
I did not take a good look into it. But possible or not, I don't want to rely on a third party service for just sending an e-mail. :D

BTW: Why does a selected ':D' look like a skull/alien with a kind-of sombrero on?... hehehehe

flyingdutchie
Jan-04-2006, 05:35 PM
I think it's possible, but it is just 'too much'.
I did not take a good look into it. But possible or not, I don't want to rely on a third party service for just sending an e-mail. :D

BTW: Why does a selected ':D' look like a skull/alien with a kind-of sombrero on?... hehehehe

Update: You can not implement the image-verifcation thingy on Smugmug. Smugmug does not allow uploading of HTML files.
(I requested that as a new feature in an earlier post, for google sitemap verification)

bwg
Jan-04-2006, 08:20 PM
I think it's possible, but it is just 'too much'.
I did not take a good look into it. But possible or not, I don't want to rely on a third party service for just sending an e-mail. :D


it doesnt actually link out to syronex.

They generate an image file and the html page to store on your server. The image file is just an image of the unencode key (or whatever you want to call it). It's actually the same thing as var v2 in the non-image version. The html file just has a modified version of the script you are using to accept the user inputted v2 as a parameter instead of having it hard coded in the script.

you could create an html only page and duplicate the functionality

Andy
Jan-04-2006, 08:24 PM
you could create an html only page and duplicate the functionality


Show me? :ear

bwg
Jan-05-2006, 03:01 AM
Show me? :ear
i know kung-fu (http://bigwebguy2.smugmug.com/gallery/1099201)


personally, i think forcing the user to enter a code is unnecessary and a PITA. Just hard-encoding the email address in the page and decoding when the user clicks the mailto: link should be more than enough to get by the spam bots.

caseserve
Jan-05-2006, 05:15 AM
Can you explain again :dunno

Here is an example of my site, from my bio:

To contact me, send me an <script language="javascript"> writeEMail('e-mail','From smugmug:'); </script>, sign

The contents of the <script> writes out a "mailto:" link. In my custom javascripting i have this function writeEMail, generated by syronex (i unchecked the 'User Challenge' checkbox(!))

function writeEMail(pLinkText, pSubject)
{
var v2="826ZTCGEBAWEH6VASTTIJ";
var v7=unescape("YAF%3B5-4%05112%24%23S72*z%3A%2C%3E");
var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}

(note: you can not directly copy this, since it only will work with my e-mail address! But it gives you an idea of how to incorporate the code from the syronex site. The variable values for v2 and v7 are different for each different e-mail address)

The bold line is the one writing out the link. The rest of the code in this function is just a decoder (of the text that the syronex encoded).

I used the <script> tag with the call to writeEMail on several pages. Just change the the parameters with which you call writeEMail to provide the proper link-text on the page and the subject of the e-mail.

(note: the actual contents of the <script> tag don't show up after you hit the 'save' button on your bio. You will see an empty space instead. You must refresh the page to see the actual link. The code inside the <script> tag is not executed when updating content through AJAX).

Andy
Jan-05-2006, 06:09 AM
i know kung-fu (http://bigwebguy2.smugmug.com/gallery/1099201)


personally, i think forcing the user to enter a code is unnecessary and a PITA. Just hard-encoding the email address in the page and decoding when the user clicks the mailto: link should be more than enough to get by the spam bots.

I agree, but for completeness' sake, I thank you for showing how it can be done! I wouldn't implement that way, but there maybe someone who does. If I understand you, it can't be done on SmugMug the way they demo it on their website, with the little popup box? :ear

bwg
Jan-05-2006, 06:21 AM
I agree, but for completeness' sake, I thank you for showing how it can be done! I wouldn't implement that way, but there maybe someone who does. If I understand you, it can't be done on SmugMug the way they demo it on their website, with the little popup box? :ear

correct, no popup box....unless they host the popup box on their own site.

Andy
Jan-05-2006, 06:22 AM
correct, no popup box....unless they host the popup box on their own site.

It's really cool the way it is, without the popup. I'm diggin it. And, the price is right!

brandofamily
Jan-07-2006, 10:43 PM
Mike posted a solution earlier, in another thread somewhere. I am using this solution on my site:
http://w2.syronex.com/jmr/safemailto/

It basically replaces the mailto: link with a javascript code that complete hides and scrambles your real e-mail address.

Dutchie...I followed the thread and attempted the "job" but I'm confused...The coding I got looked nothing like what you have in the box.

Yours looked more like the + challange version. But you said you un-checked the challange option.

I also donot know what code to enter in the description area for the html pages...
Also, what if I want 2 differnet types of links for the same address?

Andy
Jan-08-2006, 05:45 AM
Dutchie...I followed the thread and attempted the "job" but I'm confused...The coding I got looked nothing like what you have in the box.

Yours looked more like the + challange version. But you said you un-checked the challange option.

I also donot know what code to enter in the description area for the html pages...
Also, what if I want 2 differnet types of links for the same address?

I fixed you, Anthony....

flyingdutchie
Jan-08-2006, 07:56 AM
Dutchie...I followed the thread and attempted the "job" but I'm confused...The coding I got looked nothing like what you have in the box.

Yours looked more like the + challange version. But you said you un-checked the challange option.

I also donot know what code to enter in the description area for the html pages...
Also, what if I want 2 differnet types of links for the same address?

Thanks Andy for fixing his issue! :thumb
I did uncheck that option. The code you'll see is equal (except for the values for v2 and v7) to what i posted inside the body of the writeEMail function. I surrounded the generated code by the writeEMail function so that i could re-use it easily in multiple spots/pages.

By calling the writeEMail function, you allow the viewer to send e-mails to one address only, but you can specificy any link-text (the text visible to the viewer that (s)he can click) and any subject.

Andy, maybe you can add this thread (or some messages of this thread) to this forums 'JavaScripting Tips' thread (http://www.dgrin.com/showthread.php?t=18632)? Thanks!

Andy
Jan-08-2006, 08:08 AM
Andy, maybe you can add this thread (or some messages of this thread) to this forums 'JavaScripting Tips' thread (http://www.dgrin.com/showthread.php?t=18632)? Thanks!


Done :deal

Barb
Jan-08-2006, 08:31 AM
I'm testing a form mail function on my site. Was hoping someone, anyone, would submit a comment to test it for me. Thx!

http://photoscapedesign.smugmug.com/gallery/568677

Andy
Jan-08-2006, 08:35 AM
I'm testing a form mail function on my site. Was hoping someone, anyone, would submit a comment to test it for me. Thx!

http://photoscapedesign.smugmug.com/gallery/568677


Done.

How do people know that their email isn't being harvested though when you collect it :evil

rainforest1155
Jan-08-2006, 08:36 AM
I'm testing a form mail function on my site. Was hoping someone, anyone, would submit a comment to test it for me. Thx!

http://photoscapedesign.smugmug.com/gallery/568677
I sent you a testmail. Did it work?

Sebastian

Andy
Jan-08-2006, 08:36 AM
I'm testing a form mail function on my site. Was hoping someone, anyone, would submit a comment to test it for me. Thx!

http://photoscapedesign.smugmug.com/gallery/568677


And, where do you get the code for this email form? :ear

Barb
Jan-08-2006, 08:38 AM
Done.

How do people know that their email isn't being harvested though when you collect it :evil

It works! Thank you :)

To answer your question, I guess they don't! I guess it's no different really than if someone clicked on a link and it opened up their email and they sent me an email. Either way, I have their email address. By the way, email harvesting is not something I'm into - LOL.

Barb
Jan-08-2006, 08:38 AM
I sent you a testmail. Did it work?

Sebastian
It did work Sebastian - thank you!

Barb
Jan-08-2006, 08:39 AM
And, where do you get the code for this email form? :ear

My web host has form mail forms - for dummies - haha. Fill in the blanks, copy the HTML and there ya go :)

Andy
Jan-08-2006, 08:40 AM
It works! Thank you :)

To answer your question, I guess they don't! I guess it's no different really than if someone clicked on a link and it opened up their email and they sent me an email. Either way, I have their email address. By the way, email harvesting is not something I'm into - LOL.

I wasn't thinking that you would. But, others might - so a friendly "I won't spam you notice" would be a nice touch - just my opinion :D

Nice work!

flyingdutchie
Jan-08-2006, 08:40 AM
Done.

How do people know that their email isn't being harvested though when you collect it :evil

This is relative: If i send someone an e-mail through Outlook, or any other e-mail client, the receiver will get my e-mail address as well.... and could harvest it...

Barb
Jan-08-2006, 08:50 AM
I wasn't thinking that you would. But, others might - so a friendly "I won't spam you notice" would be a nice touch - just my opinion :D

Nice work!

How's this Andy:

http://photoscapedesign.smugmug.com/gallery/568677

Andy
Jan-08-2006, 08:53 AM
How's this Andy:

http://photoscapedesign.smugmug.com/gallery/568677

Nice - but actually - Anton is correct, too - I dunno what I was thinking :lol3

Barb
Jan-08-2006, 09:00 AM
Nice - but actually - Anton is correct, too - I dunno what I was thinking :lol3

Yep - if someone wants to be malicious, they'll find a way.

peestandingup
Jan-08-2006, 01:52 PM
Yep - if someone wants to be malicious, they'll find a way. So, can someone just leave the "Your Email" field blank & will it still go through??

Also, do you know of a free site that has these mail forms with html??

Barb
Jan-08-2006, 02:41 PM
So, can someone just leave the "Your Email" field blank & will it still go through??

Also, do you know of a free site that has these mail forms with html??

Yep - one doesn't have to fill in anything, actually. Hitting the "Send Mail" button will email me a blank email if nothing is filled in.

I do not know of any sites, but Google might :)

flyingdutchie
Jan-08-2006, 03:01 PM
Yep - one doesn't have to fill in anything, actually. Hitting the "Send Mail" button will email me a blank email if nothing is filled in.

I do not know of any sites, but Google might :)

The only drawback of e-mails through html-forms is that you open yourself up for spamming more than you would with using 'regular' e-mail.

E.g. comment-fields on blogs are very vulnerable for these and this is one of the reason i installed 'SecureImage' that protects my blog's comment-functionality with a challenge-response system (user/commenter has to type in a phrase presented inside an image). And it is one of the reasons i used the 'syronex' solution on my smugmug site.

On an html-form it is easy to extract (especially by malicious software) the 'action' attribute of the <form> and start hitting the URL contained in it, thus creating spam.

If you want to use html-forms for e-mail, either install a challenge-response system (safest) or make the email-address field required and check the e-mail for validity (reverse lookup, etc.)

It is such a pitty that these things seem to be more and more necessary; spam's becoming more insidious all the time.

azazel
Jan-15-2006, 11:48 PM
can you please tell me how you did this? i mean write the code down or is it not that simple. Id love to have one of these:
http://photoscapedesign.smugmug.com/gallery/568677

Barb
Jan-16-2006, 04:10 AM
can you please tell me how you did this? i mean write the code down or is it not that simple. Id love to have one of these:
http://photoscapedesign.smugmug.com/gallery/568677

Hi :)

This is a plug-in that my web host provides. The raw code won't work. You may be able to Google "Form Mail" and find something that will work for you.

MelP
Jan-16-2006, 10:46 AM
Here is an example of my site, from my bio:

To contact me, send me an <script language="javascript"> writeEMail('e-mail','From smugmug:'); </script>, sign

The contents of the <script> writes out a "mailto:" link. In my custom javascripting i have this function writeEMail, generated by syronex (i unchecked the 'User Challenge' checkbox(!))

function writeEMail(pLinkText, pSubject)
{
var v2="826ZTCGEBAWEH6VASTTIJ";
var v7=unescape("YAF%3B5-4%05112%24%23S72*z%3A%2C%3E");
var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}

(note: you can not directly copy this, since it only will work with my e-mail address! But it gives you an idea of how to incorporate the code from the syronex site. The variable values for v2 and v7 are different for each different e-mail address)

The bold line is the one writing out the link. The rest of the code in this function is just a decoder (of the text that the syronex encoded).

I used the <script> tag with the call to writeEMail on several pages. Just change the the parameters with which you call writeEMail to provide the proper link-text on the page and the subject of the e-mail.

(note: the actual contents of the <script> tag don't show up after you hit the 'save' button on your bio. You will see an empty space instead. You must refresh the page to see the actual link. The code inside the <script> tag is not executed when updating content through AJAX).
I have incorporated this into my site (or at least tried to). I added this to my Contact page: I can be reached by: <script language="javascript"> writeEMail('EMail'); </script>

Whenever I view the page, all I get is: writeEMail('EMail'); :scratch

Any suggestions,
Mel

Andy
Jan-16-2006, 10:52 AM
Any suggestions,
Mel
[/I][/COLOR]

Let me look at your site, standby and stay out of your customization a while...

Andy
Jan-16-2006, 11:04 AM
I have incorporated this into my site (or at least tried to). I added this to my Contact page: I can be reached by: <script language="javascript"> writeEMail('EMail'); </script>

Whenever I view the page, all I get is: writeEMail('EMail'); :scratch

Any suggestions,
Mel


Mel, you forgot the cardinal rule when editing captions, descriptions, or your bio on SmugMug:

http://blogs.smugmug.com/web-tricks/2005/09/02/using-html-in-your-bio-caption-or-description/

I fixed it for you on your contact page.

You'll want to change the email link on your homepage, too :evil

Speaking of your homepage

some code...

is not allowed. I commented it out of your CSS. Sorry, but at least our minifooter must be visibile. You can have the minifooter by having SOMETHING, ANYTHING in the footer section of the customization panel. I've put in <div></div> for you...

MelP
Jan-16-2006, 11:15 AM
Mel, you forgot the cardinal rule when editing captions, descriptions, or your bio on SmugMug:

http://blogs.smugmug.com/web-tricks/2005/09/02/using-html-in-your-bio-caption-or-description/

I fixed it for you on your contact page.

You'll want to change the email link on your homepage, too :evil

Speaking of your homepage, some..code:



is not allowed. I commented it out of your CSS. Sorry, but at least our minifooter must be visibile. You can have the minifooter by having SOMETHING, ANYTHING in the footer section of the customization panel. I've put in <div></div> for you...
Thank you, Andy. I was not aware of the cardinal rule :dunno Will check it out. Still playing around with the footer (trying to figure out what to put there) Thanks for commenting out my code for me. A lot of it makes my head spin!!! One day I'll clean it up some...

Thanks a bunch,
Mel

After looking at the cardinal rule, I DID know that. Man, can't believe I left that out...What an idiot I can be at times :)

Andy
Jan-16-2006, 11:23 AM
After looking at the cardinal rule, I DID know that. Man, can't believe I left that out...What an idiot I can be at times :)

There's a lot to know, Mel :lol3 don't even think twice about it! We just want to help.

Remember, you have an open email linky on your front page - you'll want to do the js thingie there, too :D

azazel
Jan-21-2006, 12:14 AM
make a private gallery check

put the code for the stylesheet check

write in the gallery number where the x's are check

everything is set, all i need to know is how to make those boxes where people write text in them and a submit button.. thats all i need and ill be on the rich track. thanks all! and remember im a "copy paste" guy ;)

Andy
Jan-21-2006, 05:18 AM
make a private gallery check

put the code for the stylesheet check

write in the gallery number where the x's are check

everything is set, all i need to know is how to make those boxes where people write text in them and a submit button.. thats all i need and ill be on the rich track. thanks all! and remember im a "copy paste" guy ;)

The email forms boxes are provided by others - try google. For example, bygates, on her site, has the form from her webhosting provider.

flyingdutchie
Jan-21-2006, 08:44 AM
make a private gallery check

put the code for the stylesheet check

write in the gallery number where the x's are check

everything is set, all i need to know is how to make those boxes where people write text in them and a submit button.. thats all i need and ill be on the rich track. thanks all! and remember im a "copy paste" guy ;)

A big disadvantage of e-mail forms: They are more prone to attract SPAM than (encrypted) e-mail links! I've heard that some blogs' comment sections got flooded with spam comments (blog-comments work similar as e-mail forms). E-mail servers/clients have spam-filters, but your e-mail form does not have it... spammers can automate the attacks on the URL in your <form>'s action attribute...

The big advantage of e-mail forms it that viewers don't need to have a e-mail client (such as Outlook, Eudora, etc) installed on their system (e.g. for viewers in internet cafes).

I opted for a encrypted e-mail link ( mailto: ). I hate spam! :D

Barb
Jan-21-2006, 10:01 AM
A big disadvantage of e-mail forms: They are more prone to attract SPAM than (encrypted) e-mail links! I've heard that some blogs' comment sections got flooded with spam comments (blog-comments work similar as e-mail forms). E-mail servers/clients have spam-filters, but your e-mail form does not have it... spammers can automate the attacks on the URL in your <form>'s action attribute...

The big advantage of e-mail forms it that viewers don't need to have a e-mail client (such as Outlook, Eudora, etc) installed on their system (e.g. for viewers in internet cafes).

I opted for a encrypted e-mail link ( mailto: ). I hate spam! :D

I've yet to get any spam from my email form. Here's hopin'!!

flyingdutchie
Jan-21-2006, 10:07 AM
I've yet to get any spam from my email form. Here's hopin'!!

I hope you never get it! :D
When i installed my blog a little while ago, i got my first SPAM only a few days later. It was only one message, posted as a comment to one of my blog-posts, but it was a start.

I installed SecureImage to thwart spam on my comment sections. That works great and i have had no more spam since.

SecureImage is a tool that presents an image containing a text. The commenter needs to look at the (somewhat garbled) text in the image and copy it into a confirmation-field before she/he can leave a comment. It works with WordPress; you may be able to install a similar tool on your e-mail form host.

Andy
Mar-24-2006, 08:35 AM
Hi, I don't do questions by private message. Reasons: I get 20-30 PMs a day. And the best reason: your question by ONE can be answered by MANY. And the answer by MANY can benefit more than ONE.

Thanks for your cooperation.


Andy,

I finally fought my way thru the thread that describes how to use the Syronex utility to secure ones email address. After a few struggles with my syntax I think I may have it in there correctly.

But I still have one question. When the view clicks on my "email me" and invokes the javascript it opens up their email package to an empty mail but the address field in mine is junk but when I tried yours your address show up.

Can you look at my sight and tell me what I've done wrong? I went to Syronex and it generated the code, which I thought I pasted in correctly. But this has given me such a headache !!!

http://mrcoons.smugmug.com/ is my site address.

If nobody's fixed you up, I'll get you sorted this weekend when I return from my trip :D

mrcoons
Mar-25-2006, 06:06 AM
Here is an example of my site, from my bio:

To contact me, send me an <script language="javascript"> writeEMail('e-mail','From smugmug:'); </script>, sign

The contents of the <script> writes out a "mailto:" link. In my custom javascripting i have this function writeEMail, generated by syronex (i unchecked the 'User Challenge' checkbox(!))

function writeEMail(pLinkText, pSubject)
{
var v2="826ZTCGEBAWEH6VASTTIJ";
var v7=unescape("YAF%3B5-4%05112%24%23S72*z%3A%2C%3E");
var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}

(note: you can not directly copy this, since it only will work with my e-mail address! But it gives you an idea of how to incorporate the code from the syronex site. The variable values for v2 and v7 are different for each different e-mail address)

The bold line is the one writing out the link. The rest of the code in this function is just a decoder (of the text that the syronex encoded).

I used the <script> tag with the call to writeEMail on several pages. Just change the the parameters with which you call writeEMail to provide the proper link-text on the page and the subject of the e-mail.

(note: the actual contents of the <script> tag don't show up after you hit the 'save' button on your bio. You will see an empty space instead. You must refresh the page to see the actual link. The code inside the <script> tag is not executed when updating content through AJAX).

I have been attempting for 2 days to implement this and am not getting something right. I no very little html and zero javascript so I have just been feeling my way thru this. Can someone instruct me as to what I am doing wrong.

I had an email link on my Nav bar that I tried to convert from mailto to the encoded method described here. I went to Syronex and it generated the code which I think I have insterted correctly. But at this point I am very unsure of it all.

Andy
Mar-25-2006, 06:23 AM
I have been attempting for 2 days to implement this and am not getting something right. I no very little html and zero javascript so I have just been feeling my way thru this. Can someone instruct me as to what I am doing wrong.

I had an email link on my Nav bar that I tried to convert from mailto to the encoded method described here. I went to Syronex and it generated the code which I think I have insterted correctly. But at this point I am very unsure of it all.

mrcoons,

I really can't help you until the popup-stuff is removed from your footer. Your site won't load for me, and when I cleared the popups, I was asked for registry cleaner software and poker party. I'm SURE you don't want your visitors to see that sort of stuff.

flyingdutchie
Mar-25-2006, 08:01 AM
I have been attempting for 2 days to implement this and am not getting something right. I no very little html and zero javascript so I have just been feeling my way thru this. Can someone instruct me as to what I am doing wrong.

I had an email link on my Nav bar that I tried to convert from mailto to the encoded method described here. I went to Syronex and it generated the code which I think I have insterted correctly. But at this point I am very unsure of it all.

In your top-menu, instead of just
writeEMail('e-mail','From smugmug:');
write
<script type="text/javascript>writeEMail('e-mail','From smugmug:');</script>

And, please get rid of those pop-ups, as Andy said.:D

mrcoons
Mar-25-2006, 10:23 AM
In your top-menu, instead of just
writeEMail('e-mail','From smugmug:');
write
<script type="text/javascript>writeEMail('e-mail','From smugmug:');</script>

And, please get rid of those pop-ups, as Andy said.:D

I made the change you listed but I'm still missing something because nothing shows up in the Nav bar to click on to start the email. What have I deleted?

As to the pop-ups - I haven't the foggiest what they are as I never see them. I'd guess that they are from either Webstats or Statcounter or both. But I only thought that they would produce pop-ups if you clicked on them and who would ever select these but me? It's the only time I've ever seen one anyway.

This is all that is in my footer:

<div align="center"><img src="http://mrcoons.smugmug.com/photos/60961755-L.jpg "
<br>
<h1 align="center">Slideshows</h1><h3 align="center">
<li><a href="http://www.photodex.com/sharing/viewshow.html?fl=2540002&alb=0/" target="_blank">Unit 5 Jazz Night 2006</a></li>
<li><a href="http://www.photodex.com/sharing/viewshow.html?fl=2540833&alb=0/" target="_blank">Unit 5 Spaghetti Supper 2006</a></li>
<li><a href="http://www.photodex.com/sharing/viewshow.html?fl=2540258&alb=0" target="_blank">NCHS Saxophone Quintet</a></li>
</ul>
</h3>
<h1 align="center">Links</h1><h3 align="center">
<li><a href="http://mrcoons.tripod.com/" target="_blank">Marks homepage</a></li>
<li><a href="http://www.unit5.org/nchs/music/" target="_blank">Website of the NCHS Music Department</a></li>
<li><a href="http://www.unit5musicparents.org/" target="_blank">Unit 5 Music Parents</a></li>
</ul>
</h3>
<br>
<h1 align="center">Help Links</h1><h3 align="center">
<li><a href="http://www.send-a-friend.net/send.php?user=3935"> Tell-a-friend</a>
<a href="http://www.smugmug.com/help/digital-prints/"> Ordering Prints</a>
<a href="http://www.smugmug.com/prints/our-guarantee.mg"> Guarantee</a>
<a href="https://www.smugmug.com/cart"> View Cart</a>
<a href="https://www.smugmug.com/prints/shipping.mg"> Shipping </a>
<a href="http://www.smugmug.com/help/"> Help</a>
</ul>
</h3>
<br>
<div align="center">
<img src="http://mrcoons.smugmug.com/photos/61087864-M.jpg">
</div>
<br>


<!-- Begin Webstats4U code -->
<!-- Title: Marks Photo Home -->
<!-- URL: http://mrcoons.smugmug.com/ --> <script language="JavaScript" type="text/javascript" src="http://m1.webstats4u.com/m.js">
</script>
<script language="JavaScript" type="text/javascript">
<!--
webstats4u("ADvi/QeSNYFOwGd2aGd2VMo153Lg", 0); // --> </script> <noscript> <a target="_blank" href="<A href="http://www.webstats4u.com/stats?ADvi/QeSNYFOwGd2aGd2VMo153Lg"><img">http://www.webstats4u.com/stats?ADvi/QeSNYFOwGd2aGd2VMo153Lg"><img
src="http://m1.webstats4u.com/n?id=ADvi/QeSNYFOwGd2aGd2VMo153Lg"
border="0" width="18" height="18"
alt="Webstats4U - Free web site statistics Personal homepage website counter"></a><br> <a target="_blank" href="<A href="http://www.webstats4u.com/">Free">http://www.webstats4u.com/">Free counter</a> </noscript>
<!-- End Webstats4U code -->

<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=1345205;
var sc_invisible=0;
var sc_partition=12;
var sc_security="6efb599e";
</script>
<script type="text/javascript" language="javascript" src="<A href="http://www.statcounter.com/counter/counter.js"></script><noscript><a">http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c13.statcounter.com/counter.php?sc_project=1345205&amp;java=0&amp;security=6ef b599e&amp;invisible=0" alt="free tracking" border="0"></a> </noscript>
<!-- End of StatCounter Code --><br><a href="<A href="http://my.statcounter.com/project/standard/stats.php?project_id=1345205&amp;guest=1">View">http://my.statcounter.com/project/standard/stats.php?project_id=1345205&amp;guest=1">View My Stats</a>
<hr size="1" width="100%" noshade align="center">

flyingdutchie
Mar-25-2006, 11:16 AM
I made a typo in my answer to your question and you copied it.. sorry.:D

Instead of this:
<script type="text/javascript>writeEMail('e-mail','From smugmug:');</script>
Do this:
<script type="text/javascript">writeEMail('e-mail','From smugmug:');</script>
You see the difference?: A missing double-quote after the text/javascript.

About the pop-ups... they are very disconcerning, about scripts doing registry cleaning... all kinds of pop-ups. People will just run away from your site.

I know that statcounter does not show pop-ups (i use it too). Maybe the other one does. But why would you want 2 web-stat counters on your site. One is enough, me thinks :D

flyingdutchie
Mar-25-2006, 11:29 AM
I used FireFox to see your website and did a 'View JavaScript' using the Web Developer Extension.

The call webstats4u("ADvi/QeSNYFOwGd2aGd2VMo153Lg", 0); in your HTML generates a LOT (i mean a LOT) of unreadable javascript code, which in its turns generates a link to http://a.as-eu.falkag.net/dat/dlv/aslmain.js, which then in its turn generates even more javascript, generating all kinds of pop-ups.

Remove the webstats4u links/web-counter. It is terrible.


Here is the part of generated script i copied from your smugmug site, if you're interested (warning: Long script) Only a part of it, because the length of the script is too long. Dgrin won't allow it :D

// Falk AdSolution - Copyright (c) 2004 by Falk eSolutions AG - All rights reserved (Build: 00000070)Ads_Build='00000070';var QQbA,QQcA,QQdA,QQeA,QQfA,QQgA,QQhA,QQiA,QQjA,QQkA, QQlA,QQmA,QQnA,QQoA,QQpA;NUM_FARM=1;QQbA=['http://a.as-test.falkag.net' ,'http://a.as-eu.falkag.net' ,'http://a.ads.t-online.de' ,'http://a.as-us.falkag.net' ,'http://a.as-rh4.falkag.net' ,'','','','',''];QQcA=['http://a.as-test.falkag.net' ,'https://s.as-eu.falkag.net' ,'https://s.ads.t-online.de' ,'https://s.as-us.falkag.net' ,'http://a.as-rh4.falkag.net' ,'','','','',''];QQdA=['http://a.as-test.falkag.net' ,'http://a.as-eu.falkag.net' ,'http://a.ads.t-online.de' ,'http://a.as-us.falkag.net' ,'http://a.as-rh4.falkag.net' ,'','','','',''];QQeA=['http://a.as-test.falkag.net' ,'https://s.as-eu.falkag.net' ,'https://s.ads.t-online.de' ,'https://s.as-us.falkag.net' ,'http://a.as-rh4.falkag.net' ,'','','','',''];QQfA=['http://bw.as-test.falkag.net' ,'http://bw.as-eu.falkag.net' ,'http://bw.ads.t-online.de' ,'http://bw.as-us.falkag.net' ,'http://a.as-rh4.falkag.net' ,'','','','',''];QQgA=['http://bw.as-test.falkag.net' ,'https://s.as-eu.falkag.net' ,'https://s.ads.t-online.de' ,'https://s.as-us.falkag.net' ,'http://a.as-rh4.falkag.net' ,'','','','',''];QQhA=['http://red.as-test.falkag.net' ,'http://red.as-eu.falkag.net' ,'http://red.ads.t-online.de' ,'http://red.as-us.falkag.net' ,'http://red.as-rh4.falkag.net' ,'','','','',''];QQiA=['http://red.as-test.falkag.net' ,'https://red.as-eu.falkag.net' ,'https://red.ads.t-online.de' ,'https://s.as-us.falkag.net' ,'http://red.as-rh4.falkag.net' ,'','','','',''];QQjA=['http://sel.as-test.falkag.net/server/asldata.js','http://data.as-eu.falkag.net/server/asldata.js','http://data.ads.t-online.de/server/asldata.js' ,'http://data.as-us.falkag.net/server/asldata.js' ,'http://a.as-rh4.falkag.net/server/asldata.js','','','','',''];QQkA=['http://sel.as-test.falkag.net/server/asldata.js','https://as1.falkag.de/server/asldata.js' ,'https://red.ads.t-online.de/server/asldata.js' ,'https://s.as-us.falkag.net/server/asldata.js' ,'http://a.as-rh4.falkag.net/server/asldata.js','','','','',''];QQlA=['.as-test.falkag.net' ,'.as-eu.falkag.net' ,'.ads.t-online.de' ,'.as-us.falkag.net' ,'.as-rh4.falkag.net' ,'','','','',''];QQmA=['Falk AdSolution' ,'AdSolution' ,'Adsolution' ,'Falk AdSolution' ,'Falk AdSolution RH4' ,'','','','',''];QQnA=['/dat/bgf/trpix.gif?' ,'/dat/bgf/trpix.gif?' ,'/dat/bgf/trpix.gif?' ,'/dat/bgf/trpix.gif?' ,'/dat/bgf/trpix.gif?' ,'','','','',''];QQoA=['/red?cmd=red&' ,'/red?cmd=red&' ,'/red?cmd=red&' ,'/red?cmd=red&' ,'/red?cmd=red&' ,'','','','',''];QQpA=['/red?cmd=url&' ,'/red?cmd=url&' ,'/red?cmd=url&' ,'/red?cmd=url&' ,'/red?cmd=url&' ,'','','','',''];// Falk AdSolution - Copyright (c) 2004 by Falk eSolutions AG - All rights reserved (Build: 00000070)function QQbD(QQTb){document.write('<scr'+'ipt type="text/javascript" language="JavaScript" src="'+QQTb+'"></scr'+'ipt>');}function QQcD(QQUb){var QQVb=this.location.hostname.toLowerCase();var QQWb='';var QQXb=QQVb;var QQYb=[];intPos1=QQVb.indexOf('.');if (QQUb==1){if (intPos1!=-1){while (intPos1!=-1){intPos1=QQXb.indexOf('.');QQYb[QQYb.length]=(intPos1==-1)?QQXb.substring(intPos1+1,QQXb.length):QQXb.subs tring(0,intPos1);QQXb=QQXb.substring(intPos1+1,QQX b.length);}if (QQYb[QQYb.length-2]=='falkag'){for (var intI=1;intI<QQYb.length;intI++){QQl=QQYb.length-intI;QQWb=QQYb[QQl]+((QQWb=='')?'':'.'+QQWb);}}else{QQWb=(QQYb[QQYb.length-2].length<3)?QQVb:QQYb[QQYb.length-2]+'.'+QQYb[QQYb.length-1];}}}else{if (intPos1==-1){QQWb='';}else{if((intPos1>=0)&&(intPos1<QQVb.length)){intPos2=QQVb.indexOf('.',intPos1+1); if(intPos2>intPos1)QQWb=QQVb.substring(intPos1+1,QQVb.length) ;}if ((QQWb.lastIndexOf('.')==QQWb.indexOf('.'))&&QQWb.lastIndexOf('.')<3)QQWb=QQVb;}}return QQWb;}function QQdD(){var QQWb=QQcD(0);if(QQWb=='')return 'D'+this.location.hostname;elsereturn 'D'+QQWb;}function QQeD(QQZb){var QQWb=QQcD(0);if(QQZb==-1){ if(QQWb!='') QQWb=' domain='+QQWb; return ';path=/;'+QQWb;}var QQAc=new Date();if(QQWb!='')QQWb=';domain='+QQWb;QQAc.setTi me(parseInt(QQAc.getTime(),10)+1000*60*parseInt(QQ Zb,10));return ';path=/;expires='+QQAc.toGMTString()+QQWb;}function QQfD(QQZb){var QQWb=QQcD(1);if(QQZb==-1){ if(QQWb!='') QQWb=' domain='+QQWb; return ';path=/;'+QQWb;}var QQAc=new Date();if(QQWb!='')QQWb=';domain='+QQWb;QQAc.setTi me(parseInt(QQAc.getTime(),10)+1000*60*parseInt(QQ Zb,10));return ';path=/;expires='+QQAc.toGMTString()+QQWb;}function QQgD(QQc,QQd,QQy){if(QQsA!=-1) var intBwdTyp=KAS[QQsA][4][27];if(typeof(intBwdTyp)=='undefined')intBwdTyp=0;var QQz=[];QQz[0]='&dlv='+Ads_nid+','+Ads_wid+','+Ads_iid+','+QQc+','+ QQd+'&kid='+QQc+QQy[0]+((QQyC( Ads_iid,QQc )&&(QQvB>0))?QQtB:'');QQz[1]='&dlv='+Ads_nid+','+Ads_wid+','+Ads_iid+','+QQc+','+ QQd+'&kid='+QQc+'&chw='+QQqA+'&tcs='+QQrA+QQy[1]+((QQyC( Ads_iid,QQc )&&(QQvB>0))?QQtB:'')+QQvA;var QQBc='&sta=';QQz[0]+='&dmn='+Ads_T[5];QQz[1]+='&dmn='+Ads_T[5];if(navigator.appVersion.substring(0,1)>'3'){QQz[0]+='&scx='+screen.width+'&scy='+screen.height+'&scc='+screen.colorDepth;QQz[1]+='&scx='+screen.width+'&scy='+screen.height+'&scc='+screen.colorDepth;QQBc+=',,,'+(navigator.jav aEnabled()?'1':'0');if(navigator.javaEnabled())QQz[1]+='&jav=1';}elseQQBc+=',,,';var QQCc=new Date();QQBc+=',,,,,,';if((Ads_wrd!='')&&(Ads_wrd.toLowerCase()!='[keyword]')){var QQDc='!"%&\'()*+#-./:;<=>?@[\\]^{|}~§ ';var QQEc,QQFc='';for(QQl=0;QQl<Ads_wrd.length;QQl++){QQEc=Ads_wrd.charAt(QQl);if( QQDc.indexOf(QQEc)!=-1)QQEc=',';QQFc+=QQEc;}QQFc =QQFc.toLowerCase();QQz[0]+='&wrd='+QQFc;QQz[1]+='&wrd='+QQFc;Ads_wrd=QQFc;QQBc+='';}QQBc+=','+QQwE[10]+','+Ads_T[13]+','+intBwdTyp+','+Ads_T[4]+','+Ads_T[10]+','+Ads_T[11]+','+Ads_T[3]+','+Ads_T[12];QQz[0]+=QQBc;QQz[1]+=QQBc;if(gbolSUXX25067) QQz[1]+='&trglog='+escape(gstrXarrTargetDaten);QQz[0]=Ads_Timestamp+QQz[0];QQz[1]=Ads_Timestamp+QQz[1];QQz[2]=QQz[1]+QQy[0];return (QQz);}function QQhD(QQc,QQd,QQy){var QQGc=[];var QQHc=[];QQHc=QQgD(QQc,QQd,QQy);QQGc[0] ='&rdm='+QQHc[0]+'&iid='+Ads_iid+'&bid='+QQd;QQGc[1] ='&rdm='+QQHc[1]+'&iid='+Ads_iid+'&bid='+QQd;return QQGc;}function QQiD(){if (typeof(QQgB[Ads_sec])=='undefined')QQuC();return QQgB[Ads_sec]+(QQyA?QQoA[NUM_FARM]+'flg='+QQxC()+'&dat='+QQfB[Ads_sec]+'/dat/bgf/trpix.gif&':QQnA[NUM_FARM]);}function QQjD(){return QQgB[Ads_sec]+QQnA[NUM_FARM]+'cmd=req&';}function QQkD(QQIc,QQb){if (QQIc==0){QQpD(1,'',QQiD()+QQb);return ((Ads_opt&512)>0)?'':(QQtD('Ads_Count'+Ads_iid)+'<img src="'+QQiD()+QQb+'" width="1" height="1">'+QQuD());}else if (QQIc==1){QQpD(1,'Request tracking URL',QQjD()+QQb);return QQtD('Ads_ReqCount'+Ads_iid)+'<img src="'+QQjD()+QQb+'" width="1" height="1">'+QQuD();}}function QQlD(QQt,QQb){QQt.document.write(QQkD(0,QQb));}fun ction QQmD(){return QQnD(Math.random()*100000000,8);}function QQnD(QQJc,QQKc){var QQLc='#'+(QQJc+100000000);return QQLc.substr(10-QQKc,QQKc);}function QQoD(QQFc,QQMc,QQNc){var QQl;while((QQl=QQFc.indexOf(QQMc))!=-1)QQFc=QQFc.substr(0,QQl)+QQNc+QQFc.substring(QQl+ QQMc.length,QQFc.length);return QQFc;}function QQpD(QQE,QQFc,QQOc){var QQPc=new Date();if(Ads_debug==1){document.write(((QQE!=3)?' ':'<br>')+'<font color=#0000ff>[DEBUG'+((QQPc-QQwA)/1000)+']</font> ');if((QQE==0)||(QQE==3))document.write('<b><big>'+QQFc+'</big></b><br>');else if(QQE==1)document.write(''+QQFc+': &nbsp;<font color=#000080>'+QQOc+'</font><br>');elsedocument.write('<b>'+QQFc+'</b><br>');}else if((Ads_debug==2)&&(QQE==3))document.write('<font color=#0000ff>[DEBUG'+((QQPc-QQwA)/1000)+']</font> <b><big>'+QQFc+'</big></b><br>');}function QQqD(QQCb){var QQD='#'+(parseInt(QQCb,10)+100000000);return QQD.substr(2,2)+'/'+QQD.substr(4,2)+'/'+QQD.substr(6,2)+'/'+QQD.substr(8,2);}function QQrD(QQJc){var QQQc='0123456789ABCDEF';var QQRc='';while(QQJc>0){QQRc=QQQc.substr(QQJc%16,1)+QQRc;QQJc=parseInt( QQJc/16,10);}return (QQRc=='')?'0':QQRc;}function QQsD(QQMa){var QQSc;var QQTc=0;if(QQaB>-1){QQTc=QQaB;return QQTc;}if((QQMa==0)&&((Ads_opt&2048)>0))return -1;if((navigator.userAgent.indexOf("Opera")!=-1)||((navigator.appName=="Netscape")&&(navigator.userAgent.indexOf("Mozilla")!=-1)&&(parseFloat(navigator.appVersion)>=4))){if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){QQSc=navigator.plugins['Shockwave Flash'].description;QQSc=QQSc.substring(QQSc.indexOf("."),-1);QQTc=QQSc.substr(-1);}}else if(navigator.userAgent&&navigator.userAgent.indexOf("MSIE")!=-1&&navigator.userAgent.indexOf("Mac")!=-1&&document.all){if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){QQSc=navigator.plugins['Shockwave Flash'].description;QQSc=QQSc.substring(QQSc.indexOf("."),-1);QQSc=QQSc.substring(QQSc.length-1,QQSc.length);QQTc=QQSc.substr(-1);}}else if(navigator.userAgent&&navigator.userAgent.indexOf("MSIE")!=-1&&navigator.userAgent.indexOf("Windows")!=-1&&navigator.userAgent.indexOf("Windows 3")==-1&&document.all){document.write('<scr'+'ipt language=VBScript>\n Ads_vbCV=10\nAds_vbMV=1\nDo\nOn Error Resume Next\n');document.write('Ads_vbBF=(IsObject(Create Object("ShockwaveFlash.ShockwaveFlash."&Ads_vbCV)))\n');document.write('If Ads_vbBF=true Then Exit Do\nAds_vbCV=Ads_vbCV-1\nLoop While Ads_vbCV>=Ads_vbMV\n </scr'+'ipt>');QQTc=Ads_vbCV;}QQaB=QQTc;return QQTc;}function QQtD(QQUc){if(QQrB)return '<div id='+QQUc+' style="position:absolute;left:-1000;top:-1000;">';elsereturn '';}function QQuD(){if(QQrB)return '</div>';elsereturn '';}function QQvD(QQVc){var QQWc,QQXc;if(window.innerHeight){QQWc=QQVc.x;QQXc= QQVc.y;}else{if(QQVc.offsetLeft){QQVc=QQVc;QQWc=QQ Vc.offsetLeft;QQSj=QQVc.offsetParent;while(QQSj!=n ull){QQWc+=QQSj.offsetLeft;QQSj=QQSj.offsetParent; }QQXc=QQVc.offsetTop;QQSj=QQVc.offsetParent;while( QQSj!=null){QQXc+=QQSj.offsetTop;QQSj=QQSj.offsetP arent;}}elsereturn [-1000,-1000];}return [QQWc,QQXc];}function QQwD(QQYc,QQA,QQf,QQg){var QQZc;var QQVc=document.images[QQA];var QQAd=QQvD(QQVc);QQVc.width=QQf;QQVc.height=QQg;if( QQrB)QQZc=document.getElementById(QQYc).style;else if(document.layers)QQZc=document.layers[QQYc];elseQQZc=document.all[QQYc].style;QQZc.left=QQAd[0];QQZc.top=QQAd[1];if (QQrB) QQZc.display='block';else if(document.layers) QQZc.visibility='show';else QQZc.visibility='visible';}// Falk AdSolution - Copyright (c) 2004 by Falk eSolutions AG - All rights reserved (Build: 00000070)if((typeof(Ads_debug)=='undefined')||(Ads _debug!=1))window.onerror=QQwC;gbolSUXX25067=false ;var Ads_ModulMain=true;if(typeof(Ads_ModulEffects)=='u ndefined')Ads_ModulEffects=false;var QQqA,QQrA,QQsA,QQtA,QQuA,QQvA,QQwA,QQxA;var QQyA,QQzA,QQaB,QQbB,QQcB,QQdB;var QQeB=false;var QQfB=[];var QQgB=[];var QQhB=[];var QQiB=[];var QQjB=[];var QQkB=[];var QQlB=[];var QQmB=navigator.userAgent.toLowerCase();var QQnB=(QQmB.indexOf("msie")!=-1);var QQoB=((QQmB.indexOf("win")!=-1)||(QQmB.indexOf("16bit")!=-1));var QQpB=(QQmB.indexOf("mac")!=-1);var QQqB=(navigator.appName.indexOf('icrosoft')!=-1);var QQrB=(typeof(document.getElementsByTagName)!='unde fined'&&typeof(document.createElement)!='undefined')?1:0;v ar QQsB=true;var QQtB='';var QQuB='';var QQvB=0;var QQwB=[];var QQxB=0;var QQyB=0;var QQzB=[];var QQaC;var QQbC=[];var QQcC=[];var QQdC=[];var QQeC=[];var QQfC=[];var QQgC=[];var QQhC=[];var QQiC=[];var Ads_LinkUrl,Ads_CountUrl,Ads_CountUrl_ne,Ads_Click Url,Ads_T,Ads_T_OW,iid,bid,rdm;var Ads_Data=[];var Ads_status=[];if(typeof(Ads_FXPL)=='undefined'){var Ads_FXPL=false;}Ads_T_OW=[];var QQjC,QQkC,Ads_gintCurVersion;var QQlC='toolbar=yes,directories=yes,status=yes,scrol lbars=yes,resizable=yes,menubar=yes,location=yes'; function gotoSite(){window.open(QQjC,'flashwin',QQlC);}func tion emosite(){window.open(QQjC,'flashwin',QQlC);}funct ion FlashClick(){window.open(QQjC,'flashwin',QQlC);}fu nction link1(){window.open(QQjC,'flashwin',QQlC);}functio n gotoURL(QQa){window.open(QQkC+escape(QQa),'flashwi n',QQlC);}function QQmC(){Ads_kid=0;Ads_bid=0;Ads_cmd='';}function QQnC(QQa){QQa=QQoD(QQa,'[par]',escape(Ads_par));QQa=QQoD(QQa,'[keyword]',escape(Ads_wrd));QQa=QQoD(QQa,'[timestamp]',Ads_Timestamp);if (typeof(Ads_CountUrl)!='undefined'){QQa=QQoD(QQa,'[clickurl]',escape(Ads_CountUrl));QQa=QQoD(QQa,'[clickurl_plain]',Ads_CountUrl);QQa=QQoD(QQa,'[clickurl_double]',escape(escape(Ads_CountUrl)));QQa=QQoD(QQa,'[clickurl_ne]',escape(Ads_CountUrl.substr(0,Ads_CountUrl.length-1)+'ne='));QQa=QQoD(QQa,'[clickurl_plain_ne]',Ads_CountUrl.substr(0,Ads_CountUrl.length-1)+'ne=');QQa=QQoD(QQa,'[clickurl_double_ne]',escape(escape(Ads_CountUrl.substr(0,Ads_CountUrl .length-1)+'ne=')));}QQa=QQoD(QQa,'[web_id]',Ads_wid);QQa=QQoD(QQa,'[web_external_id]',escape(Ads_xwid));QQa=QQoD(QQa,'[con_id]',Ads_iid);QQa=QQoD(QQa,'[con_external_id]',escape(Ads_xiid));QQa=QQoD(QQa,'[ban_id]',Ads_sbid);QQa=QQoD(QQa,'[cam_id]',QQtA);return QQa;}function QQoC(QQa,QQb){QQpD(1,'QQoC QQb',QQb);return QQgB[Ads_sec]+QQpA[NUM_FARM]+'flg='+QQxC()+'&'+QQb+'&dat='+escape(QQa);}function QQpC(QQc,QQd,QQe,QQf,QQg){var QQh;if(QQvB<2){QQvB++;QQh=QQvB+1;QQtB+='&kid'+QQh+'='+QQc;QQtB+='&bid'+QQh+'='+QQd;QQtB+='&iid'+QQh+'='+Ads_iid;QQtB+='&dlv'+QQh+'='+Ads_nid+','+Ads_wid+','+Ads_iid+','+Q Qc+','+QQd;if(QQuA!=0)QQtB+='&sid'+QQh+'='+QQuA;QQtB+='&bls3'+QQh+'='+QQuB;arrIntern=QQaD(QQe);QQxB=arrInt ern[1];QQyB=arrIntern[2];Ads_iid=arrIntern[1];Ads_kid=arrIntern[2];Ads_bid=(arrIntern.length<4)?0:arrIntern[3];Ads_par=(arrIntern.length<5)?Ads_par:unescape(arrIntern[4]);Ads_xp=(arrIntern.length<6||Ads_xp!='')?Ads_xp:arrIntern[5];Ads_yp=(arrIntern.length<7||Ads_yp!='')?Ads_yp:arrIntern[6];Ads_xp1=(arrIntern.length<8||Ads_xp1!='')?Ads_xp1:arrIntern[7];Ads_yp1=(arrIntern.length<9||Ads_yp1!='')?Ads_yp1:arrIntern[8];Ads_xl=0;Ads_yl=0;QQbD(QQfB[Ads_sec]+'/dat/cjf/'+QQqD(Ads_iid)+'.js');}else{QQtB='';QQvB=0;QQmC() ;}}function QQqC(QQi){var QQj=[];var QQk=QQi.length;var QQl;var QQm='';var QQn='';for(QQl=0;QQl<QQk;QQl+=2){QQm=QQi[QQl+1];if(Ads_cnturl!=''){QQn=QQoD(Ads_cnturl,'[url]',escape(QQm));QQm=QQoD(QQn,'[url_plain]',QQm);}QQj[QQl/2+1]=Ads_CountUrl+escape(QQm)+'&bidx='+QQi[QQl];}return QQj;}function SAS(){var QQo=false;QQuC();QQo=QQvC();if (QQo==true){if((document.cookie.toLowerCase().inde xOf('bndlvl')==-1)&&((IAS[13]&4)>0))QQvE();elseQQrC();}else{QQsB=false;QQpD(1,'Wait ing for asldata.','');}}function QQrC(){var QQp;if((typeof(Ads_debug)=='undefined')||(Ads_debu g!=1))window.onerror=QQwC;if(((Ads_nid==631)||(Ads _nid==668))&&(NUM_FARM==1)){ QQfB[0]=['http://e.as-eu.falkag.net'];QQiB[0]=QQfB[0];}if((Ads_nid==80)&&(NUM_FARM==3)){ QQfB[0]=['http://e.as-us.falkag.net'];QQiB[0]=QQfB[0];}var QQq='undefined';for (intI=0;intI<Ads_T.length;intI++){if (typeof(Ads_T_OW)!=QQq){if (typeof(Ads_T_OW[intI])!=QQq){QQpD(1,'Overwriting Targeting AdsT['+intI+'] ('+Ads_T[intI]+') with',Ads_T_OW[intI]);Ads_T[intI]=Ads_T_OW[intI];}}}if(typeof(Ads_cmd)==QQq) Ads_cmd='';if(typeof(Ads_kid)==QQq) Ads_kid=0;if(typeof(Ads_bid)==QQq) Ads_bid=0;if(typeof(Ads_xl)==QQq) Ads_xl=0;if(typeof(Ads_yl)==QQq) Ads_yl=0;if(typeof(Ads_xp)==QQq) Ads_xp='';if(typeof(Ads_yp)==QQq) Ads_yp='';if(typeof(Ads_xp1)==QQq) Ads_xp1='';if(typeof(Ads_yp1)==QQq) Ads_yp1='';if(typeof(Ads_opt)==QQq) Ads_opt=0;if(typeof(Ads_wrd)==QQq) Ads_wrd='';if(typeof(Ads_prf)==QQq) Ads_prf='';if(typeof(Ads_par)==QQq) Ads_par='';if(typeof(Ads_cnturl)==QQq) Ads_cnturl='';if(typeof(Ads_ref)==QQq) Ads_ref=0;if(typeof(Ads_anc)==QQq) Ads_anc='';if(typeof(Ads_cmb)==QQq) Ads_cmb=[];if(typeof(Ads_uid)==QQq) Ads_uid='';if(typeof(Ads_bgc)==QQq) Ads_bgc='';if(typeof(Ads_status[Ads_iid])==QQq) Ads_status[Ads_iid]=[3,0,0,1];Ads_cmd=Ads_cmd.toLowerCase();if(Ads_ref==0)Ads_r ef=IAS[12];if(Ads_bgc==''){if(typeof(IAS[16])!=QQq)Ads_bgc=IAS[16];}QQp=QQfB[Ads_sec]+'/dat/dlv/aslframe.html?dat='+Ads_iid +'&kid='+Ads_kid+'&wrd='+escape(Ads_wrd) +'&bid='+Ads_bid+'&prf='+escape(Ads_prf) +'&xl='+Ads_xl+'&par='+escape(Ads_par) +'&yl='+Ads_yl+'&cnturl='+Ads_cnturl+'&debug='+Ads_debug +'&xp='+Ads_xp+'&sec='+Ads_sec+'&bgc='+Ads_bgc +'&yp='+Ads_yp+'&ref='+Ads_ref +'&xp1='+Ads_xp1+'&yp1='+Ads_yp1+'&opt=';var QQr='" width="'+Ads_xl+'" height="'+Ads_yl+'" noresize scrolling="no" hspace="0" vspace="0" frameborder="0" marginheight="0" marginwidth="0"></iframe>';if(Ads_ref>0){document.write('<iframe src="'+QQp+Ads_opt+QQr);Ads_ref=0;return;}QQfF();if((Ad s_bgc!='')&&(Ads_bgc!='-1')&&(document.body!=null))document.body.style['backgroundColor']='#'+Ads_bgc;if(((IAS[13]&8)>0)&&(QQwE[10]==0))QQsE();QQqA='';QQrA='';QQtA=0;QQuA=0;QQvA=''; QQsA=-1;if(NUM_FARM==3)KAS[KAS.length]=[-1,100,-1,100,[],0,0,0,0,100];if((Ads_kid==0)||(Ads_kid==''))QQsA=QQaE();else{Q Qk=KAS.length;QQsA=0;while((QQsA<QQk)&&(KAS[QQsA][0]!=Ads_kid))QQsA++;if(QQsA==QQk)QQsA=-1;}if((Ads_opt&256)!=0){if(QQsA!=-1){Ads_skid=KAS[QQsA][0];Ads_status[Ads_iid][0]=3;Ads_status[Ads_iid][3]=4;}elseAds_skid=0;QQpD(1,'Skipping delivery,selected campaign:',Ads_skid);}else{if(QQsA!=-1){QQtA=KAS[QQsA][0];QQuA=KAS[QQsA][6];if(QQuA!=0)QQvA='&sid='+QQuA;Ads_status[Ads_iid][0]=(KAS[QQsA][2]==0)?2:1;Ads_status[Ads_iid][3]=3;if(QQtA>0){QQbD(QQfB[Ads_sec]+'/dat/bjf/'+QQqD(QQtA)+'.js');}elseDAS();}else{QQpD(1,'no campaign selected!','');if (Ads_nid!=0)Ads_status[Ads_iid][3]=2;DAS();}}}function DAS(){var QQs,QQk,QQt,QQu,QQv,QQw,QQx,QQy,QQz;QQy=['',''];QQz=[];var QQA='';var QQB=['_blank','_self','_parent','_top'];var QQC=false;Ads_Timestamp=QQmD();var QQd=0;var QQD,QQf,QQg;if(IAS[9]==1){QQD='adsolut.gif';QQf=234;QQg=60;}else{QQD='t rpix.gif';QQf=1;QQg=1;}QQbB=QQmA[NUM_FARM];if(IAS[9]==4)QQbB='Werbung';if (NUM_FARM==2){QQbB='onmouseover="self.status=\'\';return true;" ';}else{QQbB='onmouseover="self.status=\''+QQbB+'\';return true;" ';}if(IAS[9]==5)QQbB='';var QQE=1;var QQa='http://www.falkag.de';// Ziel-Urlvar QQF=(NUM_FARM==2)?'':'Falk AdSolution';var QQG=0;var QQH='';var QQI='';var QQJ='';var QQK='';var QQL='';var QQM=0;var QQN=0;var QQO=0;var QQP=0;var QQQ=1;var QQR=2;var QQe='';var QQS='';var QQi=[];var QQT=0;var QQU='';var QQV='';var QQW=false;var QQX=0;var QQY=false;var QQZ,QQAa,QQBa,QQCa,QQDa,QQEa,QQFa,QQGa,QQHa,QQIa;i f(QQtA!=0){if((Ads_bid==0)||(Ads_bid==''))QQs=QQbE (QQsA,QQtA);else{QQk=BAS.length;QQs=0;while((BAS[QQs][0]!=Ads_bid)&&(QQs<QQk))QQs++;if(QQs==QQk)QQs=-1;}if(QQs!=-1)QQd=BAS[QQs][0];}if(QQd>0){QQE=BAS[QQs][3];QQD=BAS[QQs][4];QQa=BAS[QQs][5];QQF=BAS[QQs][6];QQG=BAS[QQs][12];QQH=BAS[QQs][7];QQI=BAS[QQs][8];QQJ=BAS[QQs][9];QQK=BAS[QQs][10];QQL=BAS[QQs][11];QQf=BAS[QQs][13];QQg=BAS[QQs][14];QQM=BAS[QQs][15];QQN=BAS[QQs][16];QQQ=BAS[QQs][17];QQR=BAS[QQs][18];QQe=BAS[QQs][19];QQS=BAS[QQs][20];QQi=BAS[QQs][22];QQT=BAS[QQs][23];QQU=BAS[QQs][24];QQV=BAS[QQs][25];
...
...
http://data.as-eu.falkag.net/server/asldata.js?rdm=56927681 (http://data.as-eu.falkag.net/server/asldata.js?rdm=56927681)

Ads_T=[28,36,'.net',16287,18866,'.bos1.dsl.speakeasy.net' ,'66.92.75.214','en-us,en;q=0.5','ISO-8859-1,utf-8;q=0.7,*;q=0.7','march 25, 2006 20:12:49',18813,14659,506,6];CAS();

mrcoons
Mar-25-2006, 11:47 AM
I used FireFox to see your website and did a 'View JavaScript' using the Web Developer Extension.

The call webstats4u("ADvi/QeSNYFOwGd2aGd2VMo153Lg", 0); in your HTML generates a LOT (i mean a LOT) of unreadable javascript code, which in its turns generates a link to http://a.as-eu.falkag.net/dat/dlv/aslmain.js, which then in its turn generates even more javascript, generating all kinds of pop-ups.

Remove the webstats4u links/web-counter. It is terrible.


Here is the part of generated script i copied from your smugmug site, if you're interested (warning: Long script) Only a part of it, because the length of the script is too long. Dgrin won't allow it :D

// Falk AdSolution - Copyright (c) 2004 by Falk eSolutions AG - All rights reserved (Build: 00000070)Ads_Build='00000070';var QQbA,QQcA,QQdA,QQeA,QQfA,QQgA,QQhA,QQiA,QQjA,QQkA, QQlA,QQmA,QQnA,QQoA,QQpA;NUM_FARM=1;QQbA=['http://a.as-test.falkag.net' ,'http://a.as-eu.falkag.net' ,'http://a.ads.t-online.de' ,'http://a.as-us.falkag.net' ,'http://a.as-rh4.falkag.net' ,'','','','',''];QQcA=['http://a.as-t


Wow, that is interesting. The missing quote fixed the first problem, thank very much.

As to the pop-ups I'm overwhelmed. I'm using the basic Smugmug template and have added maybe 100 lines of html code. I look at the source code for my Smugmug site and I do not see any of the names listed in your generated script.

As to the web counters, I've used WebStats for years on my other websites and have never had anyone complain about pop-ups. Would it be safe to assume that these pop-ups only appear on Firefox?

The second counter I had was one I had read about here on Dgrin and I was testing it to see what I thought of it. (Not much.)

I deleted both counters from my site, does that eliminate the pop-ups for you?

And thanks a lot for your help, it is greatly appreciated.

Andy
Mar-25-2006, 11:52 AM
I deleted both counters from my site, does that eliminate the pop-ups for you?

And thanks a lot for your help, it is greatly appreciated.

Yes. But now let's tackle that header of yours. It's very large, both in size and weight. I suggest Slim-Fast.

1) save it for web, medium compression
2) have a different header on your gallery and category pages. This will avoid dreaded "scroll fatigue" and now that your popups are gone, you don't want your customer to run away screaming becuase of that!

http://blogs.smugmug.com/pros/2005/07/19/dont-drive-your-customers-away-screaming/

flyingdutchie
Mar-25-2006, 11:57 AM
Wow, that is interesting. The missing quote fixed the first problem, thank very much.

As to the pop-ups I'm overwhelmed. I'm using the basic Smugmug template and have added maybe 100 lines of html code. I look at the source code for my Smugmug site and I do not see any of the names listed in your generated script.

As to the web counters, I've used WebStats for years on my other websites and have never had anyone complain about pop-ups. Would it be safe to assume that these pop-ups only appear on Firefox?

The second counter I had was one I had read about here on Dgrin and I was testing it to see what I thought of it. (Not much.)

I deleted both counters from my site, does that eliminate the pop-ups for you?

And thanks a lot for your help, it is greatly appreciated.

Both IE and FireFox had pop-ups, but all the pop-ups are gone now. You can re-enable the counter from www.statcounter.com (http://www.statcounter.com). I use it as well and it will not generate pop-ups.

All the javascript code you entered was the call webstats4u("ADvi/QeSNYFOwGd2aGd2VMo153Lg", 0); . This call generates all the other javascript (you won't see it in your HTML source, since it is only generated when you page actually loads).

Andy will give you some more advice on your homepage.
Good luck with it all.

mrcoons
Mar-26-2006, 04:37 AM
Yes. But now let's tackle that header of yours. It's very large, both in size and weight. I suggest Slim-Fast.

1) save it for web, medium compression
2) have a different header on your gallery and category pages. This will avoid dreaded "scroll fatigue" and now that your popups are gone, you don't want your customer to run away screaming becuase of that!

http://blogs.smugmug.com/pros/2005/07/19/dont-drive-your-customers-away-screaming/

OK, I have reduced the size of both photos on this page and eliminated some text in the bio. Was it enough?

Andy
Mar-26-2006, 04:46 AM
OK, I have reduced the size of both photos on this page and eliminated some text in the bio. Was it enough?

I think you can do better, but think differently - how about something like this?

mrcoons
Mar-26-2006, 05:06 AM
I think you can do better, but think differently - how about something like this?

Well I was re-cropping these when I saw your posting. How about these?

mrcoons
Mar-26-2006, 09:09 AM
Both IE and FireFox had pop-ups, but all the pop-ups are gone now. You can re-enable the counter from www.statcounter.com (http://www.statcounter.com). I use it as well and it will not generate pop-ups.

I did not care for Statcounter all that much so today I've added Google Analytics to my page. It looks impressive so far.

Thanks for the assistance.

digitalpins
Mar-28-2006, 07:59 AM
Please help me out here, if anyone can... After doing alot of updates and finalizing my site, I screwed up my email settings for the secure email code. Now I can't figure it out... I have went to syronex.com and did the email coding. Ok so where do I put this again, I have made it look just like whats on page 2 in this thread but when I pasted that in my javascript section of my control panel my homepage goes crazy.......................whats wierd is my text from my about me page replaces my slideshow.......

Before I delete my javascript text for my secure email... to get my slideshow back I wanted to see if it would work so I copied this from page 2:
"To contact me, send me an <script language="javascript"> writeEMail('e-mail','From smugmug:'); </script>, sign"

I pasted the above text in my about me text and does not work, no linkable line to send email.

Did I do something wrong I've been trying to figure this out for and hour now.

Thanks in advance for anyone who can help me.:scratch

Andy
Mar-28-2006, 08:12 AM
Did I do something wrong I've been trying to figure this out for and hour now.

Thanks in advance for anyone who can help me.:scratch

Wait for Dutchie - he's the expert :D

digitalpins
Mar-28-2006, 01:13 PM
ok thanks Andy, no rush I'll wait then

hopefully he will take another look at this thread, when he has a chance

Jamoke
Mar-29-2006, 11:20 AM
My Hosting provider provided me a bunch of code... and I can't get any of the forms to show up...

I'm trying to add them into the description of the gallery, or the description of a photo... and maybe this isn't the right place...

<form action="HTTP://www.stickspics.com/gdform.php" method="post"><input type="text" name="email" /></form>
I know I need the Submit Button, and a couple hidden inputs for subject, etc. But I can't even get the Text Area, or Text field to show up on my site.

What am I missing? How can I get a field to show up in a gallery?



Oh yeah - Linky (http://smugmug.stickspics.com/gallery/1316545)

Edit::

works great on my homepage - Looks Hideous
www.stickspics.com (http://www.stickspics.com)

bwg
Mar-29-2006, 11:23 AM
My Hosting provider provided me a bunch of code... and I can't get any of the forms to show up...

I'm trying to add them into the description of the gallery, or the description of a photo... and maybe this isn't the right place...

<form action="HTTP://www.stickspics.com/gdform.php" method="post"><input type="text" name="email" /></form>
I know I need the Submit Button, and a couple hidden inputs for subject, etc. But I can't even get the Text Area, or Text field to show up on my site.

What am I missing? How can I get a field to show up in a gallery?



Oh yeah - Linky (http://smugmug.stickspics.com/gallery/1316545)

Edit::

works great on my homepage - Looks Hideous
www.stickspics.com (http://www.stickspics.com)
you need to put <html></html> around it

Jamoke
Mar-29-2006, 11:32 AM
you need to put <html></html> around it
:clap:clap

Thanks

peestandingup
Mar-29-2006, 07:33 PM
FYI, I found a free site that lets you make forms, but couldnt get the code to look right. It was all jumbled together, but I only tried once. Here (http://www.mycontactform.com/) is the link if someone else wants to give it a shot.

Mike Lane
Jul-12-2006, 02:08 PM
Dragging up an old(ish) thread.

I just set up a test contact form for my smugmug site. You can find it at http://mikelane2.smugmug.com/gallery/1579234. What I did was to go to The Form Assembly (http://www.formassembly.com/) page and created a free account (click register, go through the registration process, and then click on the free account link once you're done). Then I simply created the simple email form that you see on my page, and set the options to email me whenever someone fills out the form. Easy peasy.

The catches (aren't there always catches?):

1) For now I've got it set up to access the javascript from my hosted site. I am not sure that you could just put the script inline, but I don't see why you couldn't. But maybe someone could enlighten me if that is the case. At any rate, if you have to host it elsewhere you can find hosts that provide services by searching "free hosting" (of all things) on google. One that I know of is Ripway.

2) The same for the CSS files except you probably can't simply do these inline since it appears an alternate stylesheet is called if required. Again ripway or another free host would be your best bet.

3) You'll have to make sure to code the CSS for the generated form so that it doesn't mess up all the other forms on your site. This is simple to do fortunately.

4) don't forget the <html> before the code they give you and the </html> after the code if you put that code in an album description. You may want to wrap the code you're given in a uniquely named div to make altering its looks easier too.

5) The free account pays for itself with advertising. Once the form is filled out the user is directed to an advertising page. You can see this for yourself if you fill out the form on my page. Note that the link on the advertising page is to my other site - I simply forgot to change it is all. You can make that link go anywhere you'd like. If you're up for it you can get a for pay account that turns off the advertising among other things.

You can find the contact me form that I created here (http://www.formassembly.com/form-preview.php?formId=20981). Feel free to use it for yourself. If you want the form assembly people to host it, you will simply be providing a link in your pages that will take the user to a different site that hosts the contact form which probably isn't the worst thing in the world anyhow.


Oh and by the way, I obviously haven't done much to style the email form to match my overall site. :D

doriard
Jul-16-2006, 01:55 PM
I went to the syronex website and got the script. When I apply it to the page footer, it works fine. But it doesn't work when I put it in my Bio. I am using the Spoonman theme. How can I get it to work in my Bio?

The exact script I am using is:
******** type='text/javascript'><!--
var v2="TVB4TU8NFZAEIRHIWE2D";var v7=unescape("%3D8%24%5B%140K-%27*%245%21%3D%3C%26y%26%5D%29");var v5=v2.length;var v1="";for(var v4=0;v4<v5;v4++){v1+=String.fromCharCode(v2.charCodeAt(v4) ^v7.charCodeAt(v4));}document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+'\'">'+'send email</a>');
//--></********<noscript><a href='http://w2.syronex.com/jmr/safemailto/#noscript'>send email (guarded by anti-spam solution)</a></noscript>

Thanks,
Doug



Here is an example of my site, from my bio:

To contact me, send me an ******** language="javascript"> writeEMail('e-mail','From smugmug:'); </********, sign

The contents of the ********> writes out a "mailto:" link. In my custom javascripting i have this function writeEMail, generated by syronex (i unchecked the 'User Challenge' checkbox(!))

function writeEMail(pLinkText, pSubject)
{
var v2="826ZTCGE9999H6VASTTIJ";
var v7=unescape("YAF%3B5-4%05112%24%23S72*z%3A%2C%3E");
var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}

(note: you can not directly copy this, since it only will work with my e-mail address! But it gives you an idea of how to incorporate the code from the syronex site. The variable values for v2 and v7 are different for each different e-mail address)

The bold line is the one writing out the link. The rest of the code in this function is just a decoder (of the text that the syronex encoded).

I used the ********> tag with the call to writeEMail on several pages. Just change the the parameters with which you call writeEMail to provide the proper link-text on the page and the subject of the e-mail.

(note: the actual contents of the ********> tag don't show up after you hit the 'save' button on your bio. You will see an empty space instead. You must refresh the page to see the actual link. The code inside the ********> tag is not executed when updating content through AJAX).

Andy
Jul-16-2006, 02:41 PM
I went to the syronex website and got the script. When I apply it to the page footer, it works fine. But it doesn't work when I put it in my Bio. I am using the Spoonman theme. How can I get it to work in my Bio?

The exact script I am using is:

Hi Doug, I can't help you if I can't find you :D
http://nickname.smugmug.com, please :deal

Andy
Jul-16-2006, 02:48 PM
Hi Doug, I can't help you if I can't find you :D
http://nickname.smugmug.com, please :deal
OK I found you, but only by luck.

Two things:

1) you MUST put any html that goes in a caption, bio or gallery description, inside <html> and </html>

2) you needed to have this:

please ******** language="javascript"> writeEMail('e-mail','From smugmug:');</********.

in your bio. I put it there, and all is well.

doriard
Jul-17-2006, 06:51 PM
OK I found you, but only by luck.

Two things:

1) you MUST put any html that goes in a caption, bio or gallery description, inside <html> and </html>

2) you needed to have this:

please ******** language="javascript"> writeEMail('e-mail','From smugmug:');</********.

in your bio. I put it there, and all is well.
It must have been the missing <html> </html> because at one time I had the function call you put in, but later changed it to inline code. I didn't know if your server would automatically supply the <html> tags or not.
Anyway, thanks for your help.

Doug

allensphoto
Aug-21-2006, 03:03 PM
Andy ,
could you put this code into a little more plain wording.. for lack of a better term.. i would like to have my e-mail coded .. i recently had a customer e-mail me when my link wasn't working and said they got it out off the bottom of the page in the java script.. scary!!! but as you know i am a hack and i will surely screw something up.... :rofl so could you do a step by step? :wink O and i realize your schedule and i am in no hurry to rush you...thanks... by the way can it go in the bio as well as at the bottom of the page in my line where i say the copywrite spill and have a contact point there as well...thanks for all your help .. if there is a way already out there just let me know cause you know i am the cut and paste king...:D :rofl evan though i can screw those up too...

Andy
Aug-21-2006, 03:10 PM
Andy ,
could you put this code into a little more plain wording.. for lack of a better term.. i would like to have my e-mail coded .. i recently had a customer e-mail me when my link wasn't working and said they got it out off the bottom of the page in the java script.. scary!!! but as you know i am a hack and i will surely screw something up.... :rofl so could you do a step by step? :wink O and i realize your schedule and i am in no hurry to rush you...thanks... by the way can it go in the bio as well as at the bottom of the page in my line where i say the copywrite spill and have a contact point there as well...thanks for all your help .. if there is a way already out there just let me know cause you know i am the cut and paste king...:D :rofl evan though i can screw those up too...
Which code, specifically are you trying to use :D

flyingdutchie
Aug-21-2006, 04:56 PM
Andy ,
could you put this code into a little more plain wording.. for lack of a better term.. i would like to have my e-mail coded .. i recently had a customer e-mail me when my link wasn't working and said they got it out off the bottom of the page in the java script.. scary!!! but as you know i am a hack and i will surely screw something up.... :rofl so could you do a step by step? :wink O and i realize your schedule and i am in no hurry to rush you...thanks... by the way can it go in the bio as well as at the bottom of the page in my line where i say the copywrite spill and have a contact point there as well...thanks for all your help .. if there is a way already out there just let me know cause you know i am the cut and paste king...:D :rofl evan though i can screw those up too...

Look at post #10 and #13 in this thread. It deals with scrambling (and unscrambling) your e-mail address.

allensphoto
Aug-21-2006, 09:00 PM
Look at post #10 and #13 in this thread. It deals with scrambling (and unscrambling) your e-mail address.

ok i see where i went askew....i started back at the front .. and found i origionaly looking at the adding a form function to get my visitors info .. and got wraped un in the e-mail encoding thing .. and i thought they went together... duh... they don't that what i get for being distracted while i read..so i guess i need to start over and try to add the form thing and worrie about coding my e-mail later...i'm so lost......
thanks
:scratch curtis

EZRyder
Jan-10-2007, 05:52 PM
I added the code to my footer from syronex - works well, but I don't know how to code the "Click here to email me" to put it under a nav bar link. Here's the syronex code:

******** type='text/javascript'><!--
var v2="SRMDF3JFD6YGJSHS88MG2QZZ";var v7=unescape("6%28%3F%3D%22V8%060_%3A%2C/%27z%21A%5C%285%1C257");var v5=v2.length;var v1="";for(var v4=0;v4<v5;v4++){v1+=String.fromCharCode(v2.charCodeAt(v4) ^v7.charCodeAt(v4));}document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= Email%20from%20SmugMug%20visitor'+'\'">'+'Click here to email me.<\/a>');
//--></********<noscript><a href='http://w2.syronex.com/jmr/safemailto/#noscript'>Click here to email me. (guarded by anti-spam solution)</a></noscript>

I don't really undertstand how all this coding works on SmugMug - sorry. I'd also very much like to center the Caption text under the photos...

Any help greatly appreciated!

EZRyder
Jan-10-2007, 09:10 PM
* bump *

Still an idiot, trying to figure this one out. I just want to add the email code to a nav button. Anyone? Thanks

kuzzy
Jan-14-2007, 07:56 AM
* bump *

Still an idiot, trying to figure this one out. I just want to add the email code to a nav button. Anyone? Thanks


I have the exact same question. Just want to get a "contact us" button on my nav bar as well. Have downloaded code etc. I am in the same place as EZRyder

thanks:bow

kuzzy
Jan-14-2007, 08:33 AM
I have the exact same question. Just want to get a "contact us" button on my nav bar as well. Have downloaded code etc. I am in the same place as EZRyder

thanks:bow

Figured it out for now. Never mind

MrCrabs
Feb-20-2007, 10:29 AM
I have the following in my Guestbook caption text ******** language="javascript"> writeEMail('e-mail','From smugmug:'); </********

and this in my java section;

function writeEMail(pLinkText, pSubject)
{
var v2="R3RFCXFGHWG5MPPBYTQRFFEYVACMRB3TJ";
var v7=unescape("%20R%3E6+%28%233%3C.7%5D%22%24%3F%25+5%21%3A%3F%06 %266%3B%22%22%3E%26l%5D1%3E");
var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}

but all I see when I view my page is writeEMail('e-mail','From smugmug:');.

flyingdutchie
Feb-20-2007, 10:37 AM
I have the following in my Guestbook caption text ******** language="javascript"> writeEMail('e-mail','From smugmug:'); </********

and this in my java section;

function writeEMail(pLinkText, pSubject)
{
var v2="R3RFCXFGHWG5MPPBYTQRFFEYVACMRB3TJ";
var v7=unescape("%20R%3E6+%28%233%3C.7%5D%22%24%3F%25+5%21%3A%3F%06 %266%3B%22%22%3E%26l%5D1%3E");
var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}

but all I see when I view my page is writeEMail('e-mail','From smugmug:');.

Did you make sure that your gallery caption (guestbook caption) text starts with <html> and ends with </html>?

If the embedding <html> element is missing, Smugmug takes your caption text literally and writes it out as plain-text. By embedding it into an <html> element, it tells the Smugmug server to generate html instead of plain text.

frambach
Apr-14-2007, 11:06 AM
Anton,
Have you changed the way your email link was concealed?:scratch

Reason I ask is because if I follow the link in your signature and then look at the source, I can see your email (anton at streets of boston dot com).

I would like to conceal my email but am having a little difficulty with this thread and I went to your page to reference. Upon arriving, I highlighted the area around your "send me an emal" and right clicked within Firefox for "View Selection Source" and found your address just hangin' out.

I currently have my email address for customers spelled out (like I did yours above). A couple things about that: one is I don't know if I'm actually thwarting bots from harvesting my addy and number two is that it isn't clickable (i.e. inconvenient).

Thanks for clearing this up.

frambach

Andy
Apr-14-2007, 11:12 AM
Anton,
Have you changed the way your email link was concealed?:scratch

Reason I ask is because if I follow the link in your signature and then look at the source, I can see your email (anton at streets of boston dot com).

I would like to conceal my email but am having a little difficulty with this thread and I went to your page to reference. Upon arriving, I highlighted the area around your "send me an emal" and right clicked within Firefox for "View Selection Source" and found your address just hangin' out.

I currently have my email address for customers spelled out (like I did yours above). A couple things about that: one is I don't know if I'm actually thwarting bots from harvesting my addy and number two is that it isn't clickable (i.e. inconvenient).

Thanks for clearing this up.

frambach
Try it here: http://www.moonriverphotography.com/gallery/729385
:thumb

frambach
Apr-14-2007, 02:46 PM
Andy,

You're just hangin' out too. How about:
mailto:XXXXXXXXXX@xxxxxxx.com?subject=Photography% 20inquiry
Copy and pasted directly from the link you sent.

I must say you are all over this board... thanks for the fast responses (you've already returned a volley on another thread).

Andy
Apr-14-2007, 02:51 PM
Andy,

You're just hangin' out too. How about:
mailto:XXXXXXXXXX@xxxxxxx.com?subject=Photography% 20inquiry
Copy and pasted directly from the link you sent.

I must say you are all over this board... thanks for the fast responses (you've already returned a volley on another thread).Thanks for posting, but it's uncool to put my email address in a dgrin post :nono I edited your post.

if you view source, you cannot see the email address.

If you view RENDERED source, yeah you can. But supposedly, this method still stops the robots from getting the email addy. I don't get any spam to speak of.

frambach
Apr-14-2007, 04:53 PM
Thanks for posting, but it's uncool to put my email address in a dgrin post
Doh, I meant to change a couple letters to let you see that it was indeed there but that way you wouldn't get spammed.
Sorry. I hate spam too. That's why I'm in this thread!

I edited your post.
Thanks. It was my oversight.

... if you view source, you cannot see the email address.
I assure you that you can see it in Firefox just by right clicking "View Selection Source".
Follow these directions and you too will see it:
1. Highlight the whole sentence and right click
2. Go to View Selection Source in the menu
3. That will open a text editor where everything is highlighted.
4. Look in that highlighted section and behold.

http://frambach.smugmug.com/photos/143705909-M.jpg


http://frambach.smugmug.com/photos/143705936-O.jpg

I can't see how on earth you aren't get farmed on that address and getting slammed.
Maybe Y! is catching it and trashing it before you have to deal with it but,
I wonder if that is cheating you out of "real" emails.

Not trying to hijack the thread but the tread is about email address security and
it doesn't seem like you guys have your addresses as locked down as you once thought.

Andy
Apr-14-2007, 05:18 PM
Not trying to hijack the thread but the tread is about email address security and
it doesn't seem like you guys have your addresses as locked down as you once thought.
That's rendered source, and I believe that the bots don't get the email from that,but again, I could be wrong. If they can, then this trick is not worth it :D

flyingdutchie
Apr-16-2007, 07:12 AM
That's rendered source, and I believe that the bots don't get the email from that,but again, I could be wrong. If they can, then this trick is not worth it :D

Indeed, this is rendered source.
Andy, you're right. Bots don't execute javascript. They just download the un-interpreted source and parse that... I hope, though, that it stays that way :D

I have had about 5 to 10 spam-messages on my streetsofboston e-mail account over the last 2 years... and none of them were sent to the anton inbox, they were sent to some randomly chosen inboxes (e.g. info).

Mike Lane
Apr-16-2007, 08:24 AM
Indeed, this is rendered source.
Andy, you're right. Bots don't execute javascript. They just download the un-interpreted source and parse that... I hope, though, that it stays that way :D

I have had about 5 to 10 spam-messages on my streetsofboston e-mail account over the last 2 years... and none of them were sent to the anton inbox, they were sent to some randomly chosen inboxes (e.g. info).I believe I read that google now searches through the rendered source. You have to wonder how long it will be before someone writes an email harvesting program that will do the same.

Or do you think that it would be pointless given the number of open email addresses out there?

wyndham
May-05-2007, 02:54 AM
I've spent a couple of hours fooling around with the original encrypting syronex code and can't get anything to work. I've put the html tags in the biog text but the script isn't returning the right link word and I have that "sign" hanging off the end (what is that?).

I'd be grateful if someone would take a look and tell me what I've done wrong (or fix it, if that's quicker!). Many thanks.

wyndhamhollis.smugmug.com

denisegoldberg
May-05-2007, 05:01 AM
I've been using a simpler javascript function that I picked up somewhere in dgrin. Sorry, I can't find the original thread, so I can't give credit to the author. But - when I do a view source of the email on my guestbook page, I see the function and not the 'built' email address.

In case it's of any use, here's the javascript:
function norobotmail(aUser, aDomain) {
document.location = "mailto:" + aUser + "@" + aDomain;
}
Called by the following (as referenced in a gallery description):
<html>
<a href="javascript:norobotmail('your email account', 'your email provider')">email</a>
</html>
Yes, the pieces of your email address are visible in the rendered source, but they are not attached by an @. If you do a view source you will see the function.

--- Denise

frambach
May-06-2007, 10:52 AM
Awesome denise!

It worked for me and I'm very happy with it!

Thanks

Dna
May-07-2007, 06:29 PM
I've been using a simpler javascript function that I picked up somewhere in dgrin. Sorry, I can't find the original thread, so I can't give credit to the author. But - when I do a view source of the email on my guestbook page, I see the function and not the 'built' email address.
Over here.
http://www.dgrin.com/showpost.php?p=159257&postcount=6

Andrew

egor
May-09-2007, 06:31 PM
Nice! One question:

I want to style the email link with a css style, but can't get it to work. I put "span class=" and "/span" tags around the code, but it doesn't get styled. Any ideas?

Here's a sample page showing why I need the link styled and the code that isn't working:

http://ultrasomething.smugmug.com/gallery/2802204

-egor

Allen
May-09-2007, 06:39 PM
Nice! One question:

I want to style the email link with a css style, but can't get it to work. I put "span class=" and "/span" tags around the code, but it doesn't get styled. Any ideas?

Here's a sample page showing why I need the link styled and the code that isn't working:

http://ultrasomething.smugmug.com/gallery/2802204

-egor
Try this.

.gallery_2802204 #albumDescription a {
color: red;
}

egor
May-09-2007, 07:01 PM
Try this.

.gallery_2802204 #albumDescription a {
color: red;
}

Hmm... that didn't do it... of course it could just be pilot error.

I currently have this in my css (which I use throughout the site to keep my "accented" text consistently styled):

.gsRed {
color: #f7c7c7;
}

This is how I'm trying to style the email link in my gallery description:

<span class="gsRed"><a href="javascript:norobotmail('photo', 'ultrasomething.com')">e-mail me.</a></span>

However, the "e-mail me" link stays black.

I added your suggestion to the CSS section and tried several ways to invoke it, but still came out with a black link.

egor
May-09-2007, 07:11 PM
duh... it works if I put the span tags in the right place:

<a href="javascript:norobotmail('photo', 'ultrasomething.com')"><span class="gsRed">e-mail me</span>.</a> :rolleyes

Allen
May-09-2007, 07:14 PM
Hmm... that didn't do it... of course it could just be pilot error.

I currently have this in my css (which I use throughout the site to keep my "accented" text consistently styled):

.gsRed {
color: #f7c7c7;
}

This is how I'm trying to style the email link in my gallery description:

<span class="gsRed"><a href="javascript:norobotmail('photo', 'ultrasomething.com')">e-mail me.</a></span>

However, the "e-mail me" link stays black.

I added your suggestion to the CSS section and tried several ways to invoke it, but still came out with a black link. This gets it.

.gallery_2802204 #albumDescription a span {
color: red;
}

.gallery_2802204 #albumDescription a:hover span {
color: #ccc;
}

bburgdorf
Aug-13-2007, 05:42 PM
I think I have the right code to encrypt my email address, but I would like to put it on a "Contact Me" button in the navbar instead of on the page... How can I do that???

Any help would be appreciated!

Thanks!
Brian

bburgdorf
Aug-17-2007, 12:44 PM
I think I figured out a way to have the secure email code included in the navbar, BUT it directs me to blank page where I have to click on the word "email"... How do I fix this so it goes directly to generating the email without creating the blank page???


My website is burgdorfphotography.smugmug.com

Thanks!
Brian

oxy8384
Aug-17-2007, 02:27 PM
In your javascript function 'writeEMail', instead of 'document.write("<a href...', just put in the 'window.location(....' call directly. So change this: document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>'); to this:
window.location='mail\u0074o\u003a'+v1+'?subject=' +escape(pSubject); Hope that helps.

Bill

bburgdorf
Aug-17-2007, 08:52 PM
Thanks!!!!! It worked!

:clap :clap :clap

:rofl

Naums
Oct-19-2007, 10:01 AM
Hi,
I'm trying to install the syronex code and can not get it right--what goes where???

My site is naumannphoto.smugmug.com

I'm using a gallery, called "Contact Me", as an HTML page. I'm placing the text in the gallery description. I've tried placing the Syronex code in the Javascript box.

Thank you for your help.

Mark

Allen
Oct-19-2007, 10:26 AM
Hi,
I'm trying to install the syronex code and can not get it right--what goes where???

My site is naumannphoto.smugmug.com

I'm using a gallery, called "Contact Me", as an HTML page. I'm placing the text in the gallery description. I've tried placing the Syronex code in the Javascript box.

Thank you for your help.

Mark
Do you have html tags around it?

<html>
If you have any questions or comments Email Me
<script language="javascript"><noscript><a href='http://w2.syronex.com/jmr/safemailto/#noscript'>Email Me (using spam guard)</a></noscript>
</script>
</html>

Naums
Oct-19-2007, 10:34 AM
[quote=Allen]Do you have html tags around it?

Yes, I do have html tags around it.

I'm not sure I have the corrected codes / script between the html tags, and I may not have the JS correctly placed. I suspect the JS problem because my slide show no longer works.

Mark

Allen
Oct-19-2007, 11:50 AM
[quote=Allen]Do you have html tags around it?

Yes, I do have html tags around it.

I'm not sure I have the corrected codes / script between the html tags, and I may not have the JS correctly placed. I suspect the JS problem because my slide show no longer works.

Mark
Your js is stopping on this.

function writeEmail

Error reported in Firebug.

missing ) after formal parameters
chrome://firebug/content/blank.giffunction writeEmail (Email Me, SmugMug Site)\n

Naums
Oct-19-2007, 03:20 PM
[quote=Naums]
Your js is stopping on this.

function writeEmail

Error reported in Firebug.

missing ) after formal parameters
chrome://firebug/content/blank.giffunction writeEmail (Email Me, SmugMug Site)\n

I have fixed the JS--that works.

I still do not understand what code goes between the <html> brackets in my "Contact Me" gallery description. I have read the other forum posts by flyingdutchie and Andy, and just don't get it!

The html I was trying to use I placed outside the brackets in the gallery description so you could see what I was doing.

My site is naumannphoto.smugmug.com

Thank you again for your help. No hurry on this.

Mark

Allen
Oct-19-2007, 04:11 PM
[quote=Allen]

I have fixed the JS--that works.

I still do not understand what code goes between the <html> brackets in my "Contact Me" gallery description. I have read the other forum posts by flyingdutchie and Andy, and just don't get it!

The html I was trying to use I placed outside the brackets in the gallery description so you could see what I was doing.

My site is naumannphoto.smugmug.com

Thank you again for your help. No hurry on this.

Mark
I just want out to their site (http://w2.syronex.com/jmr/safemailto/) and quickly generated code, no problem. But
step four says save a html and image file. Just where these go I don't know
but they can't be uploaded to the Smug. So not sure if this will work, maybe
someone else has an answer.

Edit: Looks like the files to save is only if you check User challenge.

Naums
Oct-22-2007, 07:57 AM
OK Anton, what's the trick with that site? I tried it, but coulnd't do it b/c I'm a dope. I see they give you some code. Where does that batch of code go? Thanks man....

Hi Andy,

You and Anton seem to be the experts with the Syronex code, so I'm coming to you for help.

I'm using a gallery (called Contact Me) to create a html-only page. I want to apply the Syronex email address encryption. I have read the threads from you and Anton several times, but fail to understand how to do this:

1. I think I applied the code correctly in my Javascript box. I say I think because my slideshow on my homepage opens, but with errors.

2. I have no idea what script to place in the html in the gallery description to make the encryption work. I want the verbage on the "Contact Me" page to say something like: "If you have questions or comments, email me," allowing the viewer to click on email me to open their email and send a message.

My site is: naumannphoto.smugmug.com

Thank you for your help.

Mark

flyingdutchie
Oct-22-2007, 08:26 AM
At the spot on your smugmug page, where you want the clickable link to be that opens the viewer's email client, put this html code:

< script language="javascript">writeEMail('link text','subject');</script >
Where "link text" is the text of the clickable link (replace it with your own text) and "subject" is the subject of the e-mail.
(be sure to remove the spaces between "<" "s" and between "t" and ">"!!!. DGrin does not allow me to add script tags, even when it is meant litterally)


Then in your javascript section of your Smugmug-customization put this:

function writeEMail(pLinkText, pSubject)
{
/* myemail@myhost.com */
var v2="34890SFAJK34089SF";
var v7=unescape("48%3C64%043%248%22%223%3D%3233%21%2551%5B+e%3AZFDS AY");

var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}

But be sure to replace the values assigned to 'var v2' and 'var v7' with the values you got from Syronex.

PS:
Don't get the email code from Syronex that needs an image for verification and such. This code does NOT support that.

Naums
Oct-22-2007, 09:25 AM
Hi Anton,

Now.... I understand! I followed your steps and it works. When I open my home page, the slide show works, but I still get the "Open, but with errors" message--maybe something to do with the email encryption??

Thank you for your help and patience.

Mark

waldo647
Dec-14-2007, 09:24 PM
At the spot on your smugmug page, where you want the clickable link to be that opens the viewer's email client, put this html code:

< script language="javascript">writeEMail('link text','subject');</script > Where "link text" is the text of the clickable link (replace it with your own text) and "subject" is the subject of the e-mail.
(be sure to remove the spaces between "<" "s" and between "t" and ">"!!!. DGrin does not allow me to add script tags, even when it is meant litterally)


Then in your javascript section of your Smugmug-customization put this:

function writeEMail(pLinkText, pSubject)
{
/* myemail@myhost.com */
var v2="34890SFAJK34089SF";
var v7=unescape("48%3C64%043%248%22%223%3D%3233%21%2551%5B+e%3AZFDS AY");

var v5=v2.length;var v1="";
for(var v4=0;v4<v5;v4++)
{
v1+=String.fromCharCode(v2.charCodeAt(v4)^v7.charC odeAt(v4));
}
document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= '+escape(pSubject)+'\'">'+pLinkText+'</a>');
}
But be sure to replace the values assigned to 'var v2' and 'var v7' with the values you got from Syronex.

PS:
Don't get the email code from Syronex that needs an image for verification and such. This code does NOT support that.

I've been over this about 29 times. I'm still getting this:

writeEMail('Email me','Photo inquiry');

site: waldo647.smugmug.com

I think I got the v2 and v7 right. Does the Email me and Photo inquiry have to match with Syronex' stuff?

TIA,
- Chris :dunno

waldo647
Dec-16-2007, 02:24 PM
I've been over this about 29 times. I'm still getting this:

writeEMail('Email me','Photo inquiry');

site: waldo647.smugmug.com

I think I got the v2 and v7 right. Does the Email me and Photo inquiry have to match with Syronex' stuff?

TIA,
- Chris :dunno
OK, make it 35 times now...

All I get is this:
writeEMail('To contact me','Photo question');

Does this Write Email function require a domain to be set? I haven't done that yet, but I've set up a separate email address and it's working when I test it from other accounts.

Thanks for any help on this!
- Chris

photobrando
Jun-21-2008, 09:27 PM
Looks like I'm bringing a thread back from the dead. Though, in the Customization FAQ, I am referred to this thread.

I was able to get the code provided by Syronex
***
******** type='text/javascript'><!--
var v2="5QQ8WGRI2ES4RENPSRE3RHE";var v7=unescape("E9%3EL8%25%20%28%5C%21%3Ct%3A*%3A%3D2%3B%29%1D1%27 %28");var v5=v2.length;var v1="";for(var v4=0;v4<v5;v4++){v1+=String.fromCharCode(v2.charCodeAt(v4) ^v7.charCodeAt(v4));}document.write('<a href="javascript:void(0)" onclick="window.location=\'mail\u0074o\u003a'+v1+'?subject= Photo%20Question'+'\'">'+'Email Me<\/a>');
//--></********<noscript><a href='http://w2.syronex.com/jmr/safemailto/#noscript'>Email Me (with anti-spam)</a></noscript>
***
to work in my Footer Box on the Customization Page. So now I have a Contact Email link on the bottom of every page, which is fine.

My problem like others (even after reading all 13 pages of this thread) is:

1) I do not understand, nor can I get the Syronex code to work on my Bio page, weather I put it in the 'Bio' box OR the 'Caption' box AND I enclosed the code in html tags.

2) I did something that someone recommended a few pages back, and I am completely locked out of editing the 'Captions' box where on my page it says 'Please sign my guest book'. Now I have: language="javascript"> writeEMail('photobrando@hotmail.com','From smugmug:'); edit

I try to click on the edit, and it no longer performs a function to open the box to type anything. :(

I know this stuff is supposed to be easy, and I hope to be fluant at it one day, but I feel that the people responding are not puting this stuff in Lamens terms well enough for the noobs.

Since this thread is 13 pages long and likely to grow, can we not simply get a DETAILED step by step for this particular setup?

I am stuck and could use some answers now, as well as getting my 'Captions' edit box thingy fixed. Thanks for the help! Here's the link to my 'About Me' page:

http://photobrando.smugmug.com/gallery/4987442_UrrtF

Allen
Jun-22-2008, 08:27 AM
...
2) I did something that someone recommended a few pages back, and I am completely locked out of editing the 'Captions' box where on my page it says 'Please sign my guest book'. Now I have: language="javascript"> writeEMail('photobrando@hotmail.com','From smugmug:'); edit

I try to click on the edit, and it no longer performs a function to open the box to type anything. :(
...
I am stuck and could use some answers now, as well as getting my 'Captions' edit box thingy fixed. Thanks for the help! Here's the link to my 'About Me' page:

http://photobrando.smugmug.com/gallery/4987442_UrrtF
Click "Edit caption/Keywords" under photo tools and you can edit it there.

zphoto
Aug-03-2008, 11:13 PM
i tried the syronex thing which i don't know how to tell whether that function works or not. when implemented, it did prevent me from opening my galleries page. when i removed the code from the footer javascript, it worked fine again. any tips?

www.naturesgiftphotography.com

Hog Leg
Dec-05-2008, 06:47 AM
Can some one look at this on my contact page. I have been able to get the the form on the page but when I try a test I'm not getting the e-mail.

http://tos.smugmug.com/gallery/6118835_GhuVT#382573898_TuFzr

www.tonyspic.com (http://www.tonyspic.com)

Do I have this posted in the right Forum?

rhlewis
Jan-07-2009, 09:51 AM
How do I center the image label under the image in the SmugMug Gallery

http://www.georgiamountainphotography.com/gallery/6987223_M66gV#447363351_VeJGX

Also, I am working on my contact page and have created an empty gallery; however, the words "
This is a brand new gallery with no photos."

is in the gallery. How do I remove that?

http://www.georgiamountainphotography.com/gallery/7032794_MmfmB

Thanks

J Allen
Jan-07-2009, 10:03 AM
How do I center the image label under the image in the SmugMug Gallery

http://www.georgiamountainphotography.com/gallery/6987223_M66gV#447363351_VeJGX


Add to your CSS: #caption_bottom {text-align: center;}

That will make it site wide for all your galleries

J Allen
Jan-07-2009, 10:04 AM
Also, I am working on my contact page and have created an empty gallery; however, the words "
This is a brand new gallery with no photos."

is in the gallery. How do I remove that?

http://www.georgiamountainphotography.com/gallery/7032794_MmfmB

Thanks

Try this...

.gallery_7032794 .nophotos h3 {display: none;}

Allen
Jan-07-2009, 10:05 AM
How do I center the image label under the image in the SmugMug Gallery

http://www.georgiamountainphotography.com/gallery/6987223_M66gV#447363351_VeJGX

Also, I am working on my contact page and have created an empty gallery; however, the words "
This is a brand new gallery with no photos."

is in the gallery. How do I remove that?

http://www.georgiamountainphotography.com/gallery/7032794_MmfmB

Thanks
Add this in CSS to center caption

.caption {text-align: center !important;}


.gallery_7032794 .nophotos h3 {display: none;}

qswombat
Mar-13-2009, 08:05 AM
If I'm understanding correctly, this calls up a mail up from the sender's computer. What's a good solution for senders using webmail (gmail, yahoo, etc.)?

Allen
Mar-13-2009, 08:11 AM
If I'm understanding correctly, this calls up a mail up from the sender's computer. What's a good solution for senders using webmail (gmail, yahoo, etc.)?
I created a small jpg for the email link so at least they can read it and type it in. :D
Example here
(http://mobirds.smugmug.com/gallery/4616942_HBAfW)

qswombat
Mar-18-2009, 04:39 PM
Thank you, Allen. That makes perfect sense and should solve the problem handily. (I feel silly for not thinking of it.)

I created a small jpg for the email link so at least they can read it and type it in. :D
Example here
(http://mobirds.smugmug.com/gallery/4616942_HBAfW)

chongky
Sep-14-2009, 07:36 PM
How can i put my email address to my website?

tuningpeg6
Dec-11-2009, 02:44 AM
How can i put my email address to my website?

I've followed instructions on creating an html gallery with my scrambled email in between html quotes in the description section. I'm just not able to link it to my "CONTACT" page.

How do I also add text together with the email address in the CONTACT page.

I would like it to go something like this:

"Please email me for any questions that you might have or if you would like to inquire about photographic services."

the "email me" part above is actually my email address.

my website is: kenquachphotography.com

PLEASE kindly help. Thanks so much in advance!

Isaac
Dec-11-2009, 10:08 AM
My site is http://www.if3000.com i would like a contact form that has the client fill out details if they are a model, want graphic design, and to submit images. I've read over this forum, may it's the meds, but i'm not getting it. Thank you for your help.

p.s
is there a way that I can link digital grin to my phone as an application to stay connected. It'll be cool to have a widget on my Droid!


Mike posted a solution earlier, in another thread somewhere. I am using this solution on my site:
http://w2.syronex.com/jmr/safemailto/

It basically replaces the mailto: link with a javascript code that complete hides and scrambles your real e-mail address.

Candid Arts
Dec-13-2009, 10:48 AM
Okay, I've read over a bit of this, and I'm still way lost as to how to even begin to do this.

I want a contact form that allows a customer to fill out:

Name
Return Email
and a text box where they can write what they are contacting me about.
Then a submit button where it sends an email to me.

I would like it here: http://www.candidartsphotography.com/gallery/7600440_CvZ9S

Thank you VERY much.

Candid Arts
Dec-18-2009, 09:11 AM
Anyone any ideas?

Candid Arts
Dec-23-2009, 08:34 AM
Bump?

denisegoldberg
Dec-23-2009, 08:46 AM
I want a contact form that allows a customer to fill out...
You might want to try WUFOO. See http://www.dgrin.com/showthread.php?t=123091.

--- Denise

Candid Arts
Dec-23-2009, 07:38 PM
Amazing! Worked Perfectly! Thank you so much!

ramdisk
Jul-12-2010, 04:27 PM
here we go again, I change my photo in my Contact page and I deleted everything, now I need to get this email thing back and just can't seam to get it to work again. Can someone take a look. Big thanks