Making Guestbook Visible to All Visitors

MySong
MySong
@mysong
10 years ago
155 posts
Currently 'Profile Guestbook' tab/page is only visible to logged-in users.

Is there any way to make it visible to all visitors including those that are not logged in?

Ability to sign page should remain limited to logged in visitors only. However if everyone was able to see the page, it might give more visitors a motivation to create an account. Currently they do not even know a guestbook page exists since they can not see it.

Thanks,
updated by @mysong: 09/20/14 10:35:36AM
brian
@brian
10 years ago
10,148 posts
I thought that was how it already worked - I haven't looked at the guestbook module in a very long time, but I thought it was set so you had to log in to sign, but was viewable by all (just like comments).

I'll check it out when I get a chance.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MySong
MySong
@mysong
10 years ago
155 posts
Was testing guestbook today and it was having a lot of other issues as well, where comments were not going up and info was not registering in datastore etc.

When I have a chance I can make a more detailed list.
brian
@brian
10 years ago
10,148 posts
MySong:
Was testing guestbook today and it was having a lot of other issues as well, where comments were not going up and info was not registering in datastore etc.

When I have a chance I can make a more detailed list.

Sounds like there are larger issues with your install going on then - we use comments here extensively on jamroom.net and I am not aware of any issues. If you can tel me exactly how to replicate an issue I can check it out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MySong
MySong
@mysong
10 years ago
155 posts
Did not test comments yet, was referring to 'signatures' on guestbook.

Will try to get together a list.

Thanks,
brian
@brian
10 years ago
10,148 posts
MySong:
Did not test comments yet, was referring to 'signatures' on guestbook.

Will try to get together a list.

Thanks,

Thanks - the guestbook module was built really to satisfy the needs of JR4 sites upgrading to JR5 who had already been running the guestbook - it's not something we expect many "modern" JR sites to run (as it is an idea that had it's heyday in the late 90's), but if you see issues let me know and I can check it out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MySong
MySong
@mysong
10 years ago
155 posts
Was thinking of renaming it 'Fan Page', where users can post open fan remarks about their favorite artist.

When have a chance will delete and re-install, then track testing.

Thanks,
brian
@brian
10 years ago
10,148 posts
I've tested this here and I am not seeing any issue. Users who are not logged in will see a "You must be logged in to post to this guestbook!" message, but existing guestbook entries are viewable.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
MAD
MAD
@madc
10 years ago
600 posts
MySong:
Was thinking of renaming it 'Fan Page', where users can post open fan remarks about their favorite artist.
I like that!


--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
MySong
MySong
@mysong
10 years ago
155 posts
MAD©:
I like that!

Think could be very useful as I do not think comments can be added to profiles (did not install comments yet so not sure).

It would need some modification for full functionality since I do not think users can post more then one 'signature' and would also be good if profile can add replies.
MySong
MySong
@mysong
10 years ago
155 posts
Deleted module and reinstalled.

Now it is showing to all visitors but there are still the other issues...

When guestbook is 'signed' with a user account it says "The guestbook entry was successfully created!" but page does not show entry nor does it come up in datestore.

If a 2nd attempt is made to sign guestbook is made, is gives the following message "You have already signed this guestbook!"

(BTW 'no approval needed' is set, also ran integrity and refreshed caches)

No rush on this, can just unactivate guestbook for now. Also if you guys have a plan on releasing some kind of 'profile comments section' or 'wall' where things can be posted by other users, then probably not worth even bothering with 'guestbook'.

Thanks
michael
@michael
10 years ago
7,746 posts
MySong:...if you guys have a plan on releasing some kind of 'profile comments section' ...

just put the comments form into the profile .tpl file. perhaps the profile_header.tpl file.

"jrComments"
https://www.jamroom.net/the-jamroom-network/documentation/modules/275/jrcomment
MySong
MySong
@mysong
10 years ago
155 posts
michael:

just put the comments form into the profile

Sounds like a much better solution, lets drop guestbook issues.

Best plan would be to create a new profile tab called 'FanPage' and add comments form there. Let me see if I can figure this out.

Thanks,
MySong
MySong
@mysong
10 years ago
155 posts
Instead of creating a new module, it was easier to just convert JRguestbook into a FanPage module running with comments.

in JRguestbook > Templates >item_index.tpl

Just deleted all guestbook code and replaced it with...

{* Comments *} {jrComment_form module="jrProfile" profile_id=$item._profile_id item_id=$_profile_id}

This works perfectly from what I have seen so far.

There is only one issue: Users that are not logged in, do not see the 'guestbook' tab on profiles. This is because with JRguestbook that tab would not become activated for non logged in users until the first signature was made.

Is there anyway to make that tab visible at all times even for non logged in users?

Thanks,
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
You're making it very complicated for yourself, you don't need to put it into jrGuestbook.

Just put it into a template, maybe add a tab to the profile menu if needed, and it will work.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
MySong
MySong
@mysong
10 years ago
155 posts
Got something working with jrAparna

Thanks