Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 02:21 pm EST
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.
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.
8
11
Quote
All times are EST. The time is now 02:21 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