solved Guestbook entries not showing

blindmime
@blindmime
7 years ago
772 posts
I'm trying to track down an issue I see on multiple jamrooms. Some guestbook entries are not showing. I can see them in the data browser. But I get the "no entires..." message on the guestbook index page. When submitting an entry it acts like something has been entered, but nothing shows up.

Attached is a listing from the database. The entries with _profile_id 1 are showing, but the other one isn't. Entries from this user are not showing.
updated by @blindmime: 10/02/17 08:15:10AM
douglas
@douglas
7 years ago
2,790 posts
Nothing attached... is the profile set to private?

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
blindmime
@blindmime
7 years ago
772 posts
Here's the data. Profile is visible to everyone.
screenshot_965.png
screenshot_965.png  •  85KB

michael
@michael
7 years ago
7,715 posts
From your screenshot it looks like some of them are in the PENDING system. Waiting for admin to approve them.

Check the QUOTA CONFIG tab for 'item approval'
ACP -> MODULES -> PROFILES -> GUESTBOOK -> QUOTA CONFIG -> ITEM APPROVAL
item_approval.jpg
item_approval.jpg  •  70KB

penidng.jpg
penidng.jpg  •  189KB


updated by @michael: 06/26/17 04:24:27PM
blindmime
@blindmime
7 years ago
772 posts
I think a value of 0 means they are NOT pending approval. None of the quotas require approval in any event.
michael
@michael
7 years ago
7,715 posts
What are the steps you use to check? when I login as a normal user and write in the guest book it shows, so don't understand how to setup to investigate this situation.
blindmime
@blindmime
7 years ago
772 posts
I believe I've found it. Anyone logged in can view the GuestBook form and submit it. But your submission will only show if you belong to a quota that shows a guestbook on your profile. I would think showing a guestbook submission shouldn't be based on whether your quota shows a guestbook on your own profile. For instance, you might not want guestbooks on your admin profiles, just on your artist profiles. But you'd want the submissions you post as an admin on artist guestbooks to show. Currently, according to my tests on 3 different jamrooms, they don't under this configuration.
michael
@michael
7 years ago
7,715 posts
In the jrGuestBook's item_index.tpl file you'll see this code:
{jrCore_list module="jrGuestBook" search1="guestbook_owner_id = `$_profile_id`" order_by="_created numerical_desc" limit="250"}
add quota_check=false to it so it becomes
{jrCore_list module="jrGuestBook" search1="guestbook_owner_id = `$_profile_id`" order_by="_created numerical_desc" limit="250" quota_check=false}

This will be added to the next version of jrGuestBook.

Thanks for finding this.
blindmime
@blindmime
7 years ago
772 posts
Thanks, Michael.

Tags