01/12/09 04:56am
Status: offline
blueberry
Forum User
Junior
Registered: 10/22/08
Posts: 21
i have a problem my web site. i cannot use <a> tag in the story or static pages, for example
<a href="mailto:abc@gmail.com">abc@gmail.com</a>
did you know where can i find that problem? pls teach me how to do. :pray:
01/12/09 05:08am
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
"mailto:" is filtered out by default. You need to add it to the list of allowed protocols under
Configuration > Geeklog > Miscellaneous > HTML Filtering > Allowed Protocols
bye, Dirk
01/12/09 05:41pm
Status: offline
1000ideen
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Did you notice that you can link like this and avoid visible email addresses?
http://www.geeklog.net/profiles.php?uid=14481
01/13/09 06:27am
Status: offline
blueberry
Forum User
Junior
Registered: 10/22/08
Posts: 21
dear drik,
can u tell me where is it? config.php? I want to get this one very urgent.
01/13/09 07:04am
Status: offline
1000ideen
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Are you using GL 1.5.1? Then it is on the left side.
01/14/09 01:13am
Status: offline
blueberry
Forum User
Junior
Registered: 10/22/08
Posts: 21
no i was using geeklog 1.4.1
$_CONF['allowed_protocols'] = array ('http', 'https', 'ftp'
;
I've already had in config.php but it's useless things
01/14/09 04:56am
Status: offline
1000ideen
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
True that`s useless.
Look for this line:
$_CONF['user_html'] = array (
after that there is a line similar to this:
'a' => array('href' => 1, 'title' => 1, 'rel' => 1),
change it to:
'a' => array('href' => 1, 'title' => 1, 'rel' => 1, 'mailto' => 1),
01/14/09 08:05am
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by: 1000ideen
change it to:
'a' => array('href' => 1, 'title' => 1, 'rel' => 1, 'mailto' => 1),
That doesn't make sense. "mailto" is not an attribute but a protocol. As such, it should be added to $_CONF['allowed_protocols'].
bye, Dirk