Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Email Linking  (Read 3473 times)

0 Members and 1 Guest are viewing this topic.

Aisne

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Email Linking
« 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.

« Last Edit: August 21, 2006, 09:20:27 am by GauGau »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Email Linking
« Reply #1 on: August 21, 2006, 07:10:48 am »

use email=name@domain.tld]my mail [/email , instead
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Aisne

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Email Linking
« Reply #3 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.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Email Linking
« Reply #4 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.
Logged

Aisne

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Email Linking
« Reply #5 on: August 21, 2006, 09:14:14 am »

Thanks GauGau, that might be a solution.
Logged

Nibbler

  • Guest
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.