PDA

View Full Version : Disable comments?


comraido
03-21-2006, 02:35 PM
Hey!
I was wondering if it is possible to remove or disable the commmentfuncion??
:confused:
/Comraido

HiImSeth
03-21-2006, 02:48 PM
if it's not possible to disable it you may be able to simply remove the comment link from your image_template.html.

here's the link i would think you would want to remove

<span class="addcomment">+ <COMMENT_POPUP></span>

but i could be wrong and i'm sure someone will correct me if i am. =]

comraido
03-21-2006, 03:01 PM
Yea! It worked! Thx m8! ;)

HiImSeth
03-21-2006, 03:02 PM
No problem!

GeoS
03-21-2006, 11:38 PM
But there is still option to post comments. Solution would be to find something similar in /index.php to this:
$query = "INSERT INTO ".$pixelpost_db_prefix."comments(id,parent_id,datetime,ip,message,name,url ,email,publish)
VALUES('NULL','$parent_id','$datetime','$ip','$mes sage','$name','$url','$email','$cmnt_publish_permi ssion')";
$result = mysql_query($query);

and change it to:
#$query = "INSERT INTO ".$pixelpost_db_prefix."comments(id,parent_id,datetime,ip,message,name,url ,email,publish)
VALUES('NULL','$parent_id','$datetime','$ip','$mes sage','$name','$url','$email','$cmnt_publish_permi ssion')";
#$result = mysql_query($query);

Connie
03-22-2006, 03:28 PM
the option to disable comments or to enable them is on the todo-list for further releases