-
{$comments|tag:comments_number}
{if isset($views)}({$views} views){/if}
So there is no comment link under each entry. How to disable the comments globaly, I also don't know. assign('entry_commslock', true);
}
add_action('entry_block', 'plugin_locker_entry');
as a bonus, this should lock comments after a defined amount of days (useful to fight spam)
save this as fp-plugins/expire/plugin.expire.php then enable Expire in the plugin panel
assign('entry_commslock', $now-$date > $MAX_DAYS*3600*24);
}
add_action('entry_block', 'plugin_expire_entry');
Posted By: marcoverga86I've added the link to the wiki! :)
/fp-interface/sharedtpls/commentadminctrls.tpl
> modified the link that apeear above comments to permit edit it by admin when logged
/fp-interface/lang/it-it/lang.admin.entry.php
> added translation strings for 'commedit' function
/admin/panels/entry/admin.entry.commentlist.tpl
> hided delete link and added an edit link on the right for every comment
/admin/panels/entry/admin.entry.commedit.php
> modified redirect to related post with comments after saved comment
/admin/panels/entry/admin.entry.commedit.tpl
> made readonly every input except for loggedin flag to make comment visible
/fp-interface/themes/lilliput_2/comments.tpl
> modified to make comments not visible if tey haven't loggedin flag
/fp-interface/sharedtpls/comment-form.tpl
> added a comment to explain that comments are moderate by admin and to clear data after comment is posted by user
It looks like you're new here. If you want to get involved, click one of these buttons!