coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Aisne on August 21, 2006, 05:55:29 AM

Title: Email Linking
Post by: Aisne on August 21, 2006, 05:55:29 AM
If one is adding a url link in BBcode and you want the address not to show but just the product, name etc then you would use url=http://www.exploreafrica.co.za]Explore Africa[/url (I took away the two brackets so that the script would show). However if I want to add an email link and I apply the same scripting except change the url to email it doesn't work. How do I add the address so that the name of the place shows but not the actual address.

Also is it possible to add an image/button with the mail or url hidden so that one clicks on the image and the url or mail address opens up and if so what script would one use for that.

By the way all this I need to set up under the description section of the photo.

Title: Re: Email Linking
Post by: Sami on August 21, 2006, 07:10:48 AM
use email=name@domain.tld]my mail [/email , instead
Title: Re: Email Linking
Post by: Joachim Müller on August 21, 2006, 07:31:58 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#bbcode
Title: Re: Email Linking
Post by: Aisne on August 21, 2006, 08:44:21 AM
GauGau, that refers to basic linking. I want a little more than basic linking as I want the actual addresses hidden so that just the actual name shows.

bmossavari I tried that linking using email instead of url and it doesn't work. On the actual photo page it shows the whole script.

Title: Re: Email Linking
Post by: Joachim Müller on August 21, 2006, 09:06:57 AM
You can't actually hide email addresses using coppermine's bbcode tag, and the bots/harvesters will be able to see those email addresses anyway. Actual www links can be posted in different ways (using bbcode):
[ u r l ] h t t p : / / s o m e p a g e . t l d [ / u r l ] vs. [ u r l = h t t p : / / s o m e p a g e . t l d ] some text that describes the link for humans [ / u r l ].
However, you can't use this for the [ e m a i l ] -tag: [ e m a i l ] s o m e o n e @ s o m e p a g e . t l d [ / e m a i l ] will work, [ e m a i l = s o m e o n e @ s o m e p a g e . t l d ] s o m e   t e x t [ / e m a i l ] won't.

Bottom line: don't post email addresses if you're afraid to be spammed. Post a link to a web-driven contact form instead.
Title: Re: Email Linking
Post by: Aisne on August 21, 2006, 09:14:14 AM
Thanks GauGau, that might be a solution.
Title: Re: Email Linking
Post by: Nibbler on August 21, 2006, 01:00:14 PM
http://forum.coppermine-gallery.net/index.php?topic=4471.msg32895#msg32895