PDA

View Full Version : Cant get rid of timestamp on comments


JoeG
01-27-2009, 10:44 PM
I cant seem to get rid of the '@' on my comments. The date and time doesnt show up after a comment but the '@' sign does after the post. An example would be this "This is a sample comment" @ - I dont want any sort of Time stamp, but the @ at the end of each comment starts looking silly after multple comments.

Can someone please help me out with this? Here is the code for my comment page, what needs to be changed or removed to get rid of the @ symbol?

Thanks!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><SITE_TITLE></title>

<!-- Meta tags -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Language" content="FR" />

<!--CSSJSRSS-->
<link rel="stylesheet" type="text/css" media="screen" href="templates/simplicious/style.css" />

</head>

<body style="padding-top:5px;" bgcolor="#e1e8be">

<div id="commain">
<div id="comhaut">&nbsp;</div>
<div id="combord">
<a href="index.php?popup=comment&amp;showimage=<IMAGE_PREVIOUS_ID>"></a> <a href="index.php?popup=comment"></a> <a href="index.php?popup=comment&amp;showimage=<IMAGE_NEXT_ID>"></a>
</div>
<div id="comthumb"><IMAGE_THUMBNAIL_NO_LINK></div>
<div id="comcom">
<span class="orangeg"><IMAGE_TITLE></span><br />
<br />
</div>
<a href="#addcomment"></a> <br />
<IMAGE_COMMENTS>
</div>
<div id="combas">&nbsp;</div>
</div>

<div id="commain2">
<div id="comhaut2">&nbsp;</div>
<div id="combord2">
<div id="addcomment">
<form method='post' action='index.php?popup=comment&amp;x=save_comment' name='commentform' >
Comment :<br />
<textarea name='message' rows='4' cols='50' class="text"></textarea>
Name :<br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' /><br />
E-mail (will not appear !) :<br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>'/><br />
Website :<br />
<input type='text' name='url' class='input' value='<VINFO_URL>' /><br />
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' /><br />
<p class="centre"><input type='submit' value='Add the comment' class="commentbutton" /></p>
</form>
</div>
</div>
<div id="combas2">&nbsp;</div>&nbsp;
</div>

</body>

</html>

Dennis
01-28-2009, 07:24 AM
Check your language files.

JoeG
01-28-2009, 02:18 PM
Dennis,

Thanks for your reply. When I tried to remove the date, I simply logged into my admin panel and removed the the date hour and year from the date format section in my admin section. That got rid of the date showing up, but not the '@' symbol. I look in my lang_english file for anything that could be causing it with no luck. What am I doing wrong?

JoeG
01-29-2009, 01:40 AM
So no one knows how to remove timestamps from pixelpost comments?

Dennis
01-29-2009, 05:23 AM
If it isn't in the language files then my guess would be it is embedded somewhere in the core code. I'll get back to you on that.

JoeG
01-29-2009, 12:51 PM
RESOLVED! Thanks jaywilliams!

If anyone else is curious. If you want to remove timestamps and the @ from your comments. Navigate to the /includes/functions.php file and remove the "@ $comment_datetime" variable from line 152