Page 1 of 1
Link to guestbook removed from backend
Posted: Mon Apr 25, 2011 6:57 pm
by Niclas
Hi all,
after having installed an update of the guestbook plugin I'm missing the link to the guestbook in the backend of Serendipity. Before I could use the link to approve or delete guestbook entries. This link is now gone.
How can I approve or delete entries without having to go into the database itself everytime, why is this link gone and how can it be brought back again ?
Re: Link to guestbook removed from backend
Posted: Mon Apr 25, 2011 7:10 pm
by Timbalu
Since having had access to members, when using the adduser plugin,
the default setting is now that this link is available to blog admin only.
I assume, I have to make it compat to admin group some time in future.

Re: Link to guestbook removed from backend
Posted: Tue Apr 26, 2011 10:18 am
by Niclas
Ah, ok, found it.
Strange I didn't saw this the last time I'd logged in as admin to check whether the link is visible for this account only.
At least it's still a more comfortable way than opening the DB itself everytime.

Re: Link to guestbook removed from backend
Posted: Tue Apr 26, 2011 11:17 am
by Timbalu
Hi Niclas
Could u please test this and replace the 2 case 'xxx' down from line 1088 serendipity_event_guestbook.php with this:
Code: Select all
case 'backend_sidebar_entries':
// forbid sidebar link if user is not in admin group level
if ($serendipity['serendipityUserlevel'] < USERLEVEL_ADMIN) {
return false;
}
echo '<li class="serendipitySideBarMenuLink serendipitySideBarMenuEntryLinks"><a href="?serendipity[adminModule]=event_display&serendipity[adminAction]=guestbook">' . PLUGIN_GUESTBOOK_ADMIN_NAME . '</a></li>';
return true;
break;
case 'backend_sidebar_entries_event_display_guestbook':
// forbid entry access if user is not in admin group level
if ($serendipity['serendipityUserlevel'] < USERLEVEL_ADMIN) {
return false;
}
/* show backend administration menu */
$this->backend_guestbook_menu();
return true;
break;
Thanks for helping...