inherit
259384
0
Mar 28, 2024 23:18:11 GMT -8
Nabeela
138
September 2019
nabeela
|
Post by Nabeela on Jun 6, 2023 6:53:51 GMT -8
Forum URL: serenitycove.freeforums.net/I would like to hide to the shoutbox from guests on the main page of my forum. Only want people who are registered to my forum able to view/post the shoutbox. How do you do that? Thank you.
|
|
#e61919
Support Staff
224482
0
1
Mar 28, 2024 16:54:21 GMT -8
Scott
23,131
August 2015
socalso
|
Post by Scott on Jun 6, 2023 7:00:17 GMT -8
I would like to hide to the shoutbox from guests on the main page of my forum. Only want people who are registered to my forum able to view/post the shoutbox. How do you do that? Thank you. Nabeela - The shoutbox by default appears on all pages. In addition to making it members only, do you also just want it only on the main (home) page of the forum?
|
|
inherit
259384
0
Mar 28, 2024 23:18:11 GMT -8
Nabeela
138
September 2019
nabeela
|
Post by Nabeela on Jun 6, 2023 7:13:58 GMT -8
Oh, okay. No, I want it on all pages for members. Just don't want it on the page for non-members to see if that is possible. I would like to hide to the shoutbox from guests on the main page of my forum. Only want people who are registered to my forum able to view/post the shoutbox. How do you do that? Thank you. Nabeela - The shoutbox by default appears on all pages. In addition to making it members only, do you also just want it only on the main (home) page of the forum?
|
|
inherit
259384
0
Mar 28, 2024 23:18:11 GMT -8
Nabeela
138
September 2019
nabeela
|
Post by Nabeela on Jun 6, 2023 7:16:17 GMT -8
I just made a different theme the default on my forum and logged out and I don't see the shoutbox as a non member but I don't remember the code and where to put the code on each theme I have installed on my forum. lol
|
|
#e61919
Support Staff
224482
0
1
Mar 28, 2024 16:54:21 GMT -8
Scott
23,131
August 2015
socalso
|
Post by Scott on Jun 6, 2023 7:19:46 GMT -8
Go to Admin > Themes > Layout Templates > Forum Wrapper and look for this near the bottom:
$[content] $[shoutbox] and make it look like this:
$[content] {if $[current_user.is_member]} $[shoutbox] {/if} This will make it so only members can see the shoutbox.
NOTE: this is a per theme modification, so you will have to do this for each theme you have active.
|
|
inherit
259384
0
Mar 28, 2024 23:18:11 GMT -8
Nabeela
138
September 2019
nabeela
|
Post by Nabeela on Jun 6, 2023 7:20:17 GMT -8
Thank you and okay. Go to Admin > Themes > Layout Templates > Forum Wrapper and look for this near the bottom: $[content] $[shoutbox] and make it look like this: $[content] {if $[current_user.is_member]} $[shoutbox] {/if} This will make it so only members can see the shoutbox. NOTE: this is a per theme modification, so you will have to do this for each theme you have active.
|
|