Tommy
Junior Member
Posts: 344
inherit
241969
0
May 2, 2023 4:47:54 GMT -8
Tommy
344
February 2017
tommytdl
|
Post by Tommy on Jul 30, 2018 12:47:08 GMT -8
Can someone help me the code to hide a line of text (including a link) from guests?
The line of text will be in the posting screen if that makes any difference.
If more information is needed please let me know, thanks.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jul 30, 2018 13:17:57 GMT -8
Hi, Tommy. Can you specify which text you're looking to hide? Assuming it's something visible in the Posting Page layout template an if statement should be able to hide it from unregistered users.
|
|
Tommy
Junior Member
Posts: 344
inherit
241969
0
May 2, 2023 4:47:54 GMT -8
Tommy
344
February 2017
tommytdl
|
Post by Tommy on Jul 30, 2018 13:35:11 GMT -8
Hi Brian, thanks. It has to do with this conversation. I have created a small line of text and link "account required" in the vicinity of the "Upload File" button to cut down on the confusion for members who have not signed up for Cloudinary yet. In the plug-in the Upload File button disappears for guests and thus I want my line of text/link to disappear also.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jul 30, 2018 13:40:02 GMT -8
Which section of your admin area did you add the text to?
The solution to hide it from guests will depend on where that text resides.
|
|
Tommy
Junior Member
Posts: 344
inherit
241969
0
May 2, 2023 4:47:54 GMT -8
Tommy
344
February 2017
tommytdl
|
Post by Tommy on Jul 30, 2018 13:43:10 GMT -8
Which section of your admin area did you add the text to? The solution to hide it from guests will depend on where that text resides. It's in two places: Layout Templates > Posting Page Layout Templates > Thread > Quick Reply
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jul 30, 2018 13:49:46 GMT -8
Okay. In both cases you should be able to do something like this.
|
|
Tommy
Junior Member
Posts: 344
inherit
241969
0
May 2, 2023 4:47:54 GMT -8
Tommy
344
February 2017
tommytdl
|
Post by Tommy on Jul 30, 2018 14:04:52 GMT -8
Great, thanks Brian!
|
|