XF 1.5 Template condition (if visitor can read thread)

Ghostaunt

Active member
Hello.

I'm trying to find if it's possible to get a condition for know if visitor can read the thread.
If I want that, it's because I have added sharing buttons to the first post in thread, but I wan't to hide them if visitor can't read the thread.

Thanks for your help
 
The linked to resource covers guests. So you wrap the sharing buttons into a conditional that shows to those who aren't guests.

**EDIT** D'oh! I just thought about this. If the guest can't read the thread, surely they won't see the sharing buttons anyway?
 
**EDIT** D'oh! I just thought about this. If the guest can't read the thread, surely they won't see the sharing buttons anyway?
No no it's not what I need.

I just want to hide sharing button for my members IF GUESTS(visitor) can't read the thread.
Because you don't have to share content that guest can't read. That why i need this condition ^^
 
In that case, the threads that guests can see will be in specific forums. You can use a conditional based on those forums. See the link in my previous post.
 
Top Bottom