Welcome to Geeklog, Anonymous Monday, January 06 2025 @ 08:59 pm EST
Geeklog Forums
How do I format the comment text and authored by portion?
Seriux
Anonymous
Is there a way to format the way comments appear? For example, I would like to be able to make the
"Authored by: Seriux on Monday, June 25 2005 @ 04:14 PM EDT"
be bolded and contain an empty line after it before showing the comment.
Also, what's the diff between "english" and "english-utf-8"?
"Authored by: Seriux on Monday, June 25 2005 @ 04:14 PM EDT"
be bolded and contain an empty line after it before showing the comment.
Also, what's the diff between "english" and "english-utf-8"?
6
8
Quote
Seriux
Anonymous
Ok so this is what I found under comments.thtml
<div class="commenttitle">{title}</div>
<div>{lang_authoredby}
{start_author_anchortag}{author}{end_author_anchortag} {lang_on}
{date}</div>
<div style="verticle-align: top">{comments}</div>
<div><span {hide_if_preview}>[ <a href="{site_url}/comment.php?sid={sid}&pid={pid}&title={title}&type={type}">{lang_replytothis}</a> {parent_link} {delete_option}]</span></div>
</div>
I'm not familiar enough with this code to write my own themes but I am assuming that the oft repeated "style=" command will somehow let me make the "authored by" line bold and attach a space between it and the actual comment which in html I think is the "
Text Formatted Code
<div class="comment" style="padding-left: {indent}px"><div class="commenttitle">{title}</div>
<div>{lang_authoredby}
{start_author_anchortag}{author}{end_author_anchortag} {lang_on}
{date}</div>
<div style="verticle-align: top">{comments}</div>
<div><span {hide_if_preview}>[ <a href="{site_url}/comment.php?sid={sid}&pid={pid}&title={title}&type={type}">{lang_replytothis}</a> {parent_link} {delete_option}]</span></div>
</div>
I'm not familiar enough with this code to write my own themes but I am assuming that the oft repeated "style=" command will somehow let me make the "authored by" line bold and attach a space between it and the actual comment which in html I think is the "
" tag.
Is there anyone here that knows how I can bold the authored by line and then put a space between it and the comment posted?
7
7
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Text Formatted Code
<div class="comment" style="padding-left: {indent}px"><div class="commenttitle">{title}</div>
<div><b>{lang_authoredby}
{start_author_anchortag}{author}{end_author_anchortag} {lang_on}
{date}</b></div><br><br>
<div style="verticle-align: top">{comments}</div>
<div><span {hide_if_preview}>[ <a href="{site_url}/comment.php?sid={sid}&pid={pid}&title={title}&type={type}">{lang_replytothis}</a> {parent_link} {delete_option}]</span></div>
</div>
11
7
Quote
Seriux
Anonymous
Thank you! That worked perfectly. For some reason I thought I would need something more than html and with the other code, I was not sure where to place it. Thanks for taking the time to show me.
8
8
Quote
All times are EST. The time is now 08:59 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