InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Disabling Logon, Logoff,... Expand / Collapse
Author
Message
Posted 01/05/2007 21:03:27


Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: 19/11/2008 21:30:14
Posts: 46, Visits: 518
Ok, because I've created my own register and logon pages I need to be able to disable the Logon, Logoff and registration buttons/Pages.

I haven't been able to find a way to do this. Can anyone help?

The way I see things is

Option 1)

remove the buttons

Option 2)

Leave the buttons but have the pages just redirect to my pages.

If anyone can help me with either of these that would be greatly appreciated.

(I don't mind hacking code if thats what it takes).

Post #12700
Posted 01/05/2007 22:23:13


Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Customers
Last Login: 19/11/2008 21:30:14
Posts: 46, Visits: 518
I've worked it out.

But just incase anyone else needs to know this is how to do it.

Under the skins edit the file:

"Controls\MainNavigation.ascx"

You need to look for these sections and add (Visible="False") [without the brackets] to each line

<InstantASP:LinkButton id="butLogin" CssClass="SmlLinks" Runat="Server" />

<InstantASP:LinkButton id="hypRegister" CssClass="SmlLinks" Runat="Server" />

<InstantASP:HyperLink id="hypLogout" CssClass="SmlLinks" Runat="Server" />

Post #12701
Posted 11/08/2007 04:27:40
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/08/2007 21:52:28
Posts: 1, Visits: 7
That is quite strange considering that I am doing something similar, but only for the registration.  I am removing the registration process since we are going to do this through our application.  I am still at a loss as to how to get the debugger working and viewing these components...  I had trouble with prior asp.net apps trying to debug and it was a complicated run-around, but I think enough time and energy will help...

If you have any suggestions on how to get the component controls to show UI, that'd be great...thx for the help

Post #13144
Posted 12/08/2007 11:24:25
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 21/08/2008 16:37:55
Posts: 50, Visits: 67
I've also done similar work, to link the forums into my own user-management system. Bear in mind though that the pages will still be accessible if you type in the URL of these pages.

I put a redirect in place for these pages within the code to counter this scenario. I know it's not that likely, but it's a hole none the less.



londonbikers.com - London's Motorcycling Home
Running a customised InstantForum v4.1.4
Post #13146
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 12:57pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 13 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.