Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 08:37 am EST

Geeklog Forums

Links in stories


Andrew

Anonymous
Hi, How do I put a link in the stories? Thanks, Andrew K.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Use HTML (and don\'t forget to switch the story mode to HTML). bye, Dirk
 Quote

Andrew

Anonymous
Hi, I\'m trying to put this link in the story but nothing shows up.

Is there a reason why? Andrew K.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
A link in HTML goes like this:
Text Formatted Code
<a href=\"http://insert.url.here\">some text here</a>
bye, Dirk
 Quote

Andrew

Anonymous
Hi Dirk,

I never previewed the last message. I am trying to use:

&lt;A href=&quot;http://blah&gt;&lt;IMG src=&quot;http://blah&gt;&lt;/A&gt;

and it doesn't seem to work.

Andrew K.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
IMG tags are filtered out per default, since they are not in the list of allowed HTML (in config.php). So you would end up with an empty link. You should only add the IMG tag to the allowable HTML for admins. Otherwise, you may be vulnerable to scripting attacks. Or just use Geeklog\'s image upload capabilities, which works without having to activate the IMG tag. Enclosing the image pseudo-tag in a link tag should work, too. bye, Dirk
 Quote

All times are EST. The time is now 08:37 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content