![]() |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
just make the links page viewable for members only by using the usergroup permissions.
|
|
#3
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
Try it on my site.
www.prowaterlife.com |
|
#6
|
|||
|
|||
|
That's strange and you have that set to no.
|
|
#7
|
|||
|
|||
|
You must have, can view links set to no. cause I can't view the links. The main link page I can see.
|
|
#8
|
|||
|
|||
|
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
|
|||
|
|||
|
Have this set to no.
|
|
#10
|
|||
|
|||
|
Thats what I missed. Thanks
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Conditional statement help | HacknSlash | "How Do I..." Questions | 4 | 01-17-2008 03:51 AM |
| Double if Statement | TraumTeam | "How Do I..." Questions | 3 | 09-27-2005 09:44 AM |
| Conditional statement help | absolutepunknet | "How Do I..." Questions | 1 | 06-26-2005 08:05 PM |
| Need if/else statement for urls | macker123 | Modifications | 6 | 01-20-2005 12:30 AM |
| Powered By vBadvanced statement | mholtum | Troubleshooting / "How do I..." Questions | 17 | 10-09-2004 11:10 AM |