Welcome to Geeklog Monday, September 21 2020 @ 05:31 am EDT

Geeklog Forums

Improved the commentform (form generation)


Alok

Anonymous
Hi,

I just downloaded geeklog, and I think it's great. Thanks for the nice work and all. Unfortunately I found it too 'heavy' so I strip almost everything I didn't want....

Anyways, here is an little improvement I made, you might consider making it a default (i know it's just a single line, but I went through the work of understanding how geeklog works just to modify these little kinds of things) :

I added a couple of lines in comment.php, so that when you post a comment the title will be Re: old title, except if title already starts with 'Re:'.

Here is the php code:
L112 (in my file, might be different for you):
if (substr($title, 0, 3)!='Re:') { $title='Re: '.$title;
}
Alok.
 Quote

All times are EDT. The time is now 05:31 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