View Full Version : Changing the look of the comments
David
10-02-2007, 09:08 PM
Hi there,
anybody knows, where I can change the formatting (e.g. the date BEFORE the name) of the comments? :)
Thank you!
sentinel
10-02-2007, 10:32 PM
[edit]
sorry! forget this one i got you totally wrong yesterday
this depends on the template you're using..
you have to look for the <VINFO_NAME> tag in
a..) comment_template.html if your comments are located in a popup-window
b.) image_template.html otherwise
further tags for customization
here (http://wiki.pixelpost.org/index.php?title=How_can_I_make_my_own_template%3F)
to change the order of datetime/name at of _already written_ comments
you must edit some php code in includes/functions.php in line 117 and 119 (in pixelpost 1.6.0 )
corresponding to your needs. variables should be self-explanatory .
115 if ($comment_email == $cfgrow['email']){
116 // admin comment
117 $image_comments .= "<li class=\"admin_comment\">$comment_message<br/>$comment_name @ $comment_datetime</li>";
118 } else {
119 $image_comments .= "<li>$comment_message<br />$comment_name @ $comment_datetime</li>";
120 }
David
10-03-2007, 08:17 AM
Perfect! :) THX
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.