Results 1 to 10 of 10

Thread: IF statement

  1. #1

    Default IF statement

    I have a custom header with links to the main pages of my site. How could I an IF statement for the header links that when clicked, if a user is not registered or loggen in they will not be able to use the link. I would like to open the window that says:
    "You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:" for unregistered, not loggen in users that try to access the links page.

  2. #2
    Join Date
    Feb 2006
    Posts
    164

    Default Re: IF statement

    just make the links page viewable for members only by using the usergroup permissions.

  3. #3

    Default Re: IF statement

    I did but when the guest clicks the "Links" page, the page shows up as if there were no links in it. I would rather the page not show up unless they were registered.

  4. #4
    Join Date
    Feb 2006
    Posts
    164

    Default Re: IF statement

    I just tested this on my site so I know this works.

    click on usergroup settings under Vba links directory.
    Modify settings for Unregistered / Not Logged In.

    Set this to no and click save, Can View Links Directory.

  5. #5

    Default Re: IF statement

    Try it on my site.
    www.prowaterlife.com

  6. #6
    Join Date
    Feb 2006
    Posts
    164

    Default Re: IF statement

    That's strange and you have that set to no.

  7. #7
    Join Date
    Feb 2006
    Posts
    164

    Default Re: IF statement

    You must have, can view links set to no. cause I can't view the links. The main link page I can see.

  8. #8

    Default Re: IF statement

    Yeah, but how can I make it so that "registration" screen appears rather than the links page. From a personal standpoint this looks like there is no information on the links page and that can be a deturnet to potential members.

  9. #9
    Join Date
    Feb 2006
    Posts
    164

    Default Re: IF statement

    Have this set to no.

  10. #10

    Default Re: IF statement

    Thats what I missed. Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional statement help
    By HacknSlash in forum "How Do I..." Questions
    Replies: 4
    Last Post: 01-17-2008, 04:51 AM
  2. Double if Statement
    By TraumTeam in forum "How Do I..." Questions
    Replies: 3
    Last Post: 09-27-2005, 10:44 AM
  3. Conditional statement help
    By absolutepunknet in forum "How Do I..." Questions
    Replies: 1
    Last Post: 06-26-2005, 09:05 PM
  4. Need if/else statement for urls
    By macker123 in forum Modifications
    Replies: 6
    Last Post: 01-20-2005, 01:30 AM
  5. Powered By vBadvanced statement
    By mholtum in forum Troubleshooting / "How do I..." Questions
    Replies: 17
    Last Post: 10-09-2004, 12:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •