Welcome to Geeklog, Anonymous Monday, May 27 2024 @ 08:43 pm EDT

Geeklog Forums

Improved the commentform (form generation)



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;

All times are EDT. The time is now 08:43 pm.

  • 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