What is the Script/Code/Tag for module visibility?
3 posters
Page 1 of 1
What is the Script/Code/Tag for module visibility?
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!
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!
Re: What is the Script/Code/Tag for module visibility?
So you what guests to see it? Is this only occurring to members using a mobile device?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: What is the Script/Code/Tag for module visibility?
I want guests to not see the extras tab, but I don't know how to do it in an html page.
Re: What is the Script/Code/Tag for module visibility?
Is this HTML page a completely separate page or does it also have the header and footer, too?
Re: What is the Script/Code/Tag for module visibility?
If you have a certain area have a specific id that you want guests not to see, you can use this script.
In the script, 0 means the user isn't logged in, 1 means the user is logged in.
- 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.
Re: What is the Script/Code/Tag for module visibility?
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?
Re: What is the Script/Code/Tag for module visibility?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: What is the Script/Code/Tag for module visibility?
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.
Re: What is the Script/Code/Tag for module visibility?
Oh, sorry.
HTML Pages: 500 pages
HTML Pages: 500 pages
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» what could be the script or code used in this welcome sreen, when logging in?
» Java script Select all code stopped working
» Tabs in module
» Suggested Script (Need Someone that can read script)
» Facebook Connect module
» Java script Select all code stopped working
» Tabs in module
» Suggested Script (Need Someone that can read script)
» Facebook Connect module
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum