Topic: Admin, delete all guestbooks entries
ADMIN USER
who knows how to do the admin user Can delete all guestbooks entries directly from all profiles page (with a link cancel)
thanks
Last edited by foxnetwork (2010-07-14 06:13:00)
You are not logged in.
ADMIN USER
who knows how to do the admin user Can delete all guestbooks entries directly from all profiles page (with a link cancel)
thanks
Last edited by foxnetwork (2010-07-14 06:13:00)
Fixed
Fixed
You could write sollution here, once you started this discussion, thanks.
ext.guestbooks.tpl
<!-- IF session.group_id == "1" -->
<li class="remove"><a href="#" onclick="javascript:confirmLink('Delete guestbook comment?', '{top.virtual_cp_path}index.php?m=membersguestbook&p=delete&id={top.member_id}&sid={entry_id}')" title="Delete comment">Delete?</a></li>
<!-- ENDIF -->
ext.guestbooks.tpl (Regular members)
<!-- IF session.can_delete_own_guestbook AND session.group_id == "2" -->
<li class="remove"><a href="#" onclick="javascript:confirmLink('You can delete any comments that are written in your Guestbook', '{top.virtual_path}account/guestbook/delete/{top.member_id}/{entry_id}')" title="Delete">Delete?</a></li>
<!-- ENDIF -->
Hi, I tried this and it takes me to the admin panel saying
"Invalid entry ID."
Could you please give some more help on this??
can´t admin delete comments from other members' guestbook entries ?
okey I try this on my site ... Member groups ... Admin ... Can delete all guestbooks entries.
but strange ... I can delete my own comments on my own page but if I had write
on another members guestbook I can´t delete it. it is no delete button.
should it be in this way or had I done something wrong ?
or must I change ext.guestbooks.tpl ( I use version 2.5.3 )
Last edited by gugu (2011-07-20 18:32:44)