Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Restricted

Asked Modified Viewed 13,147 times
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 11 questions
asked
Super Admin

[mp]49[/mp]
0 replies

9 posts

K
kenny
K
kenny 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

I can't use this Addon.
And i add in maincore.php the line:
if(!iMEMBER){redirect("".INFUSIONS."restricted/index.php"); exit;}


Please Help.
Thank's for attention
0 replies
S
spunk
S
spunk 10
www.duesseltag.de/../../images/banner/banner209x69.png
  • Member, joined since
  • Contributed 92 posts on the community forums.
  • Started 6 threads in the forums
answered
Member

Do not add this in maincore.php but in every file guests not allowed to see (photogallery.php, tikitaka.php ...)

For me it works fine.
0 replies
K
kenny
K
kenny 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Quote

spunk wrote:

Do not add this in maincore.php but in every file guests not allowed to see (photogallery.php, tikitaka.php ...)

For me it works fine.


Don't work.
I add this line in photogallery.php and in articles.php but don't work.
I want all pages are restricted and redirect to the page login.php
0 replies
S
supersonic
S
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
answered
Junior Member

have you tried using a standard user account to view , as admin you would see the content i know it may seem silly point but i have seen it happen before then people say dooh silly me :)
0 replies
K
kenny
K
kenny 10
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

Quote

supersonic wrote:

have you tried using a standard user account to view , as admin you would see the content i know it may seem silly point but i have seen it happen before then people say dooh silly me :)


I did logout to see if it worked. :)
I want all visitors to see the home page only.

Edit: And when all visitors try to go to the other place redirect to login page.
Edited by kenny on 29-07-2013 02:20,
0 replies
— 7 months later —
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 11 questions
answered
Super Admin

Some related threads,

http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=31294
http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=25638
http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=28060
0 replies
T
TalkFever
T
  • Member, joined since
  • Contributed 65 posts on the community forums.
  • Started 26 threads in the forums
answered
Member

I am wondering if there is a way to restrict access to certain areas of my site to certain usergroups instead of restricting it to members? For instance, I have a usergroup called Testing Team, how can I use your mod to restrict access to certain pages to that usergroup only?
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 11 questions
answered
Super Admin

Yes it can be done with this function,
You can always see the Group number in your Group Administration before the group name.
if (!checkgroup(X)) { die("Denied"); exit; }
0 replies
T
TalkFever
T
  • Member, joined since
  • Contributed 65 posts on the community forums.
  • Started 26 threads in the forums
answered
Member

Thank you very much Domi!
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 5 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet