Welcome to Geeklog, Anonymous Monday, January 06 2025 @ 04:12 am EST

Geeklog Forums

Images in comments without using tag


Paolo

Anonymous
Hi, I need to permit in the comments to enter a defined set of images (like smiles) in an easy form as Surprised!k:, :bad: or something like this.
Later in html it will be expanded in <img src=....>.
Before starting to modify the source I'd like to know if there is a built-in way to achieve this result.
Thanks in advance
Paolo
 Quote

Status: offline

Dazzy

Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
If its only smilies you want to enable, then why not purchase glmessenger from Portalparts.com and use the smilie administration feature! its as simple as adding the following line of code to your lib-common.php file at about line 2806! Note this is for Geeklog 1.39 as it changed the way comments were handled!

Text Formatted Code
$A['comment'] = msg_replaceEmoticons($A['comment']);

 


You can also intregate smilies into other aspects of Geeklog just as easily using this plugin!
Dazzy
 Quote

All times are EST. The time is now 04:12 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