Incan
Posts: 197
Joined: Fri Mar 14, 2008 2:45 pm
Location: Sweden

Hide Index.aspx?

Fri Mar 14, 2008 3:05 pm

Can I "hide" the file index.aspx in any way? I don’t want my users to be able to register accounts on their own.

/Incan

User avatar
Bjorn_Andersson
GpsGate
Posts: 466
Joined: Wed Jun 28, 2006 5:20 pm
Location: Sweden
Contact: Website

RE: Hide Index.aspx?

Mon Mar 17, 2008 3:13 pm

Hi!
I suppose you mean /BuddyTracker/Index.aspx ?
You can remove the registration section of the BuddyTracker/Index.aspx page.

Remove this section or add comment tags around it.

Code: Select all

				<div>
					<table class="top-table" style="margin-top:10px; margin-bottom:2px">
						<tr>
							<td class="top-left"><img src="images/top_left_bottom_trans.png"  width="10" height="12" /></td>
							<td class="top-middle"><span class="public-title" style="line-height:25px"><%Response.Write(Lang.Server["BT_INDEX_REGBUDDYTRACKER_TITLE"]); %>	</span></td>
							<td class="top-right"><img src="images/top_right_bottom_trans.png"  width="15" height="13"/></td>
						</tr>
					</table>	
					<table class="main-table">
						<tr>
							<td class="main-top"><img src="images/main_top_right_trans.png" width="10" height="9"></td>
						</tr>
					</table>
					
					<div class="sidewidget-bottom">
						<div style="padding:5px">
						<%Response.Write(Lang.Server["BT_INDEX_REGBUDDYTRACKER_REGHERE"]); %>	<br />
						</div>
						<div style="text-align:right; padding:5px">
							<asp:Button ID="ButtonRegister" runat="server" TabIndex="3" OnClick="ButtonRegister_Click"></asp:Button>
						</div>
					</div>
				</div>
				<!-- End Register widget -->
Regards,
Franson Support
Bjorn Andersson

Return to “GpsGate Server - How to setup and use”