Quote:
Originally Posted by Bolas
Do you mean in the personal journal... so you want to remove the possibility to comment at the bottom of the page?
Do you mean when you are in an url like
http://www.foo.net/forum/journal.php?do=showjournal&j=4
Ok, first backup your templates, all the files hosted in the server and let's go...
in template 'journal_journalpage'
FIND '$reccombits'
This var is the output of the comments. Maybe you would like to purge out the textarea (to add comment) and the comment list.
So...
FIND
PHP Code:
<if condition="$can[comment] AND $journalinfo[status]!=1">
<br />
<a name="adcom"></a>
<form action="journal.php?do=insertcomment&j=$j" method="post" name="comment" onsubmit="return validate()">
<input type="hidden" name="commenter" value="$bbuserinfo[username]" />
<input type="hidden" name="commenterid" value="$bbuserinfo[userid]" />
<input type="hidden" name="j" value="$j" />
<table class="tborder" align="center" cellspacing="$styelvar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0">
<tbody>
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_addcom')"><img id="collapseimg_journal_addcom" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_addcom].gif" alt="" border="0"></a>Add Comment to <if condition="$journalinfo[journalname]">$journalinfo[journalname] Journal <else />$journalinfo[journalist]'s Journal</if></td>
</tr>
</tbody>
<tbody id="collapseobj_journal_addcom" style="$vbcollapse[collapsetobj_journal_addcom]">
<tr>
<td class="alt1">Title: <input type="text" name="title" value="" maxlength="100" size="70" /></td>
</tr>
<tr>
<td class="alt2" align="center"><fieldset><legend>Comment:</legend><table><tr><td><textarea name="comment" cols="60" rows="4"></textarea></td></tr></table></fieldset></td>
</tr>
<tr>
<td class="tfoot" align="center"><input type="submit" value="Add Comment!" class="button" /></td>
</tr>
</tbody>
</table>
</form>
</if>
<if condition="$canview[comments]">
<br />
<table class="tborder" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" width="100%">
<tbody>
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('journal_reccom')"><img id="collapseimg_journal_reccom" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_journal_reccom].gif" alt="" border="0"></a>Recent Comments:</td>
</tr>
</tbody>
<tbody id="collapseobj_journal_reccom" style="$vbcollapse[collapsetobj_journal_reccom]">
$reccombits
</tbody>
<tr>
<td class="tfoot"> </td>
</tr>
</table>
</if>
<br />
REPLACE IT WITH
|
no not exactly
when comments are made at the bottom of the page like at:
http://www.foo.net/forum/journal.php?do=showjournal&j=4
then as a administrator i have no way of removing comments
that need removed later .......
how do i remove a single comment that was posted this way .....
there is no delete buttons at the bottom of the page .....