Welcome to Geeklog, Anonymous Friday, May 03 2024 @ 09:44 pm EDT

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"?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That's what the template files are for. Check the files in the "comments" directory of your theme.

bye, Dirk
 Quote

Seriux

Anonymous
Ok so this is what I found under comments.thtml

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?

 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>
 
see here and here also.
 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.
 Quote

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