Quote for logged in user only
-
Hi, after I activated Quote, everyone including non-logged in user can see the quote link at the header. Can we set that only logged in user can see the link?
-
can you give me a link to a live example on your site please
Thanks for your reply. This is my site.
@robin-w – I just played around with various settings for quotes and can confirm that the “Quote” link does get displayed even to logged-out users.
If the site has allows guest posting of topics/replies, then it actually works as intended, and SHOULD be displayed by default.
If the site does NOT allow guest posting of topics/replies, then it acts like a dead link that does nothing.
I think the best option is either:
1.) We make the “Quote” link disabled/hidden by default for guests (unless guest replies are allowed on the site).
or
2.) We make it act as “register” / “login” link to funnel users to the login/registration form (probably preferred by MOST site owners) and add a new option to hide it completely for guest users (like @enkoes is requesting). That’s assuming guests topics/replies are NOT allowed on the site. If they ARE allowed on the site, then it should function as it currently does:

Option #1 is the easiest, doesn’t require any new options, and would probably be fine.
Option #2 is a bit more complex, and may even be a little confusing to site owners. May be more work and complicated code than its’ worth, and probably unnecessary.
-
This reply was modified 3 years ago by
codejp3. Reason: minor additions
Appreciated your explanation on this matter.
My site does NOT allow guest posting of topics/replies. Yes. I would prefer option 1, i.e., to simply HIDE the quote link for guest user. Please guide me how may I do this.
Regards
@enkoes – you won’t be able to right now. Either myself or @robin-w will make the necessary code adjustments and release a new version to take care of this for you. We just need to decide on option #1, or option #2, and then make the code changes for it. I think option #1 is fine (will act like the existing “Reply” link), but I would like Robin ‘s input as well before I spend any time on code for this.
Expect a new release that fixes this within the week, possibly sooner. Thank you for the request! It’s a good one!
@codejp3 I will keep my fingers crossed. Thanks ya.
@codejp3 option 1 is good, let me know if you need me to do anything 🙂
I should be able to knock that out tomorrow and release it either Thursday or Friday as version 5.5.7.
No actions needed on your part 😉
@enkoes – version 5.5.7 just released with this update.
“Quote” link visibility for guest users will follow whatever you have set in the bbPress settings page (wp-admin/options-general.php?page=bbpress) for “Allow guest users without accounts to create topics and replies”.
Marking as resolved, but feel free to post here if you have any issues.
@codejp3 – nice one !!
@codejp3 Thanks! 🙂
-
This reply was modified 3 years ago by
The topic ‘Quote for logged in user only’ is closed to new replies.