Closed (duplicate)
Project:
Guestbook
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2009 at 22:20 UTC
Updated:
12 Feb 2009 at 09:42 UTC
i wanted to be able to add guestbooks entries on my own guestbook.
so i themed the guestbook to add "add guestbook entries" also for "own guestbook"
but when the user goes to this page for example user/1/guesbook there is a wsod, because _guestbook_access
<?php
$form['#access'] = (_guestbook_access('post', $uid) == 'allowed' ? TRUE : FALSE);
?>returns "own guestbook" here
i'm not sure wether the user should be able to post on their own guestbook by default(adding the link to the theme) but i think it should be at least possible to use it.
attached patch
PS: i think there could be added a variable to enable this, any oppinions about it?
| Comment | File | Size | Author |
|---|---|---|---|
| wsod_own_guestbook.patch | 954 bytes | dawehner |
Comments
Comment #1
sunMarking as duplicate of #317798: Option to allow guestbook owners to post in their own guestbook. Please search existing issues before creating new ones.