The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What is the Script/Code/Tag for module visibility?

3 posters

Go down

What is the Script/Code/Tag for module visibility? Empty What is the Script/Code/Tag for module visibility?

Post by AdmiralJuicy October 19th 2018, 1:14 am

Hello everyone,

I'm making some HTML pages because the portal has reached the maximum amount of pages. The members for my website have exclusive features and so I use a separate module that they can see but the guests can't, I'm wondering if it's possible to have this same feature on a custom HTML page by using a tag/code/script.

Here's a picture that helps illustrate my problem:
https://i.servimg.com/u/f82/11/41/61/02/exampl11.png

Thanks in advance!
AdmiralJuicy
AdmiralJuicy
Forumember

Male Posts : 125
Reputation : 0
Language : English

http://sonicfamily.forumotion.com/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by SLGray October 19th 2018, 1:19 am

So you what guests to see it?  Is this only occurring to members using a mobile device?


What is the Script/Code/Tag for module visibility? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51576
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by AdmiralJuicy October 19th 2018, 1:24 am

I want guests to not see the extras tab, but I don't know how to do it in an html page.
AdmiralJuicy
AdmiralJuicy
Forumember

Male Posts : 125
Reputation : 0
Language : English

http://sonicfamily.forumotion.com/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by Draxion October 19th 2018, 2:14 am

Is this HTML page a completely separate page or does it also have the header and footer, too?
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by AdmiralJuicy October 19th 2018, 2:17 am

It's using the header and footer.
AdmiralJuicy
AdmiralJuicy
Forumember

Male Posts : 125
Reputation : 0
Language : English

http://sonicfamily.forumotion.com/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by Draxion October 19th 2018, 2:24 am

If you have a certain area have a specific id that you want guests not to see, you can use this script.
Code:
if (_userdata["session_logged_in"] == 0) {
 // do something
}

In the script, 0 means the user isn't logged in, 1 means the user is logged in.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by AdmiralJuicy October 19th 2018, 6:16 pm

Thanks, I'll see what I can do with this, and before I mark the issue as solved, I'd like to ask the reasoning behind there being a limit to portal pages/modules but seemingly no limit to html pages?
AdmiralJuicy
AdmiralJuicy
Forumember

Male Posts : 125
Reputation : 0
Language : English

http://sonicfamily.forumotion.com/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by SLGray October 19th 2018, 6:51 pm



What is the Script/Code/Tag for module visibility? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51576
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by AdmiralJuicy October 19th 2018, 7:01 pm

SLGray wrote:There is a limit on HTML pages.

https://help.forumotion.com/t1709-some-limits-of-forumotion-forum

What is it?
I only this error message.
Code:
ISorry, but only users granted special access can read topics in this forum.
AdmiralJuicy
AdmiralJuicy
Forumember

Male Posts : 125
Reputation : 0
Language : English

http://sonicfamily.forumotion.com/

Back to top Go down

What is the Script/Code/Tag for module visibility? Empty Re: What is the Script/Code/Tag for module visibility?

Post by SLGray October 19th 2018, 7:19 pm

Oh, sorry.

HTML Pages: 500 pages


What is the Script/Code/Tag for module visibility? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51576
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum