Jump to content


Photo

Customize the default page


  • Please log in to reply
1 reply to this topic

#1 dvnandover

dvnandover

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 09 October 2013 - 06:10 PM

How do i disable or hide the Reset feature when the first time the user login (see below)?

Posted Image

Here are the html markup:
<td>
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                                                       <%if( (Session("PRM_secretManager").CustomerMenu & 3)!=0 ){%>
                                                        <tr>
                                                            <td height="10" colspan=3><HR></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="center" width="80">
                                                                <a href="enroll1.asp">
                                                                    <img src="images/icon_enroll.png" border="0" alt="<%=HTMLEncodeWithoutTegBR(Enroll)%>" />
                                                                </a>
                                                            </td>
			                                                <td>&nbsp;</td>
                                                        	<td align="left" class="body_text">
                                                                <B><%=HTMLEncodeWithoutTegBR(localeStrs.Item("strEnroll"))%></B><br>
                                                                 <% =HTMLEncodeWithoutTegBR(localeStrs.Item("strFirstEnroll").split(spl)[0]) %><br>
                                                                 <a href="enroll1.asp"><%=HTMLEncodeWithoutTegBR(localeStrs.Item("strEnroll"))%></a>
                                                                 <%if(String(ReEnroll).length){%>
                                                                    <% =HTMLEncodeWithoutTegBR(localeStrs.Item("strFirstEnroll").split(spl)[1]) %>&nbsp;<a href="enroll1.asp"><%=HTMLEncodeWithoutTegBR(localeStrs.Item("strReEnroll") )%></a>
                                                                 <%}%>
                                                            </td>
                                                        	</tr>
                                                       <%}%>

                                                       <%if(Session("PRM_secretManager").CustomerMenu & 1){%>
                                                        <tr>
                                                            <td height="10" colspan=3><HR></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="center" class="body_text" width="80">
                                                                <a href="user_name.asp?act=reset">
                                                                    <img src="images/icon_reset.png" border="0" alt="Reset password" />
                                                                </a>
                                                            </td>
                                                            <td>&nbsp;</td>
                                                            <td align="left" class="body_text">
                                                                <b><% =HTMLEncodeWithoutTegBR(localeStrs.Item("strReset")) %></b><br>
                                                                <% =HTMLEncodeWithoutTegBR(localeStrs.Item("strNeedReset")) %><br>
                                                                <a href="user_name.asp?act=reset"><% =HTMLEncodeWithoutTegBR(localeStrs.Item("strResetPwd")) %></a>
                                                            </td>
                                                        </tr>
                                                       <%}%>

                                                      <%if(Session("PRM_secretManager").CustomerMenu & 2){%>
                                                        <tr>
                                                            <td height="10" colspan=3><HR></td>
                                                        </tr>
                                                        <tr>
			                                                <td align="center" class="body_text" width="80">
				                                                <a href="user_name.asp?act=unlock">
				                                                <img src="images/icon_unlock.png" border="0" alt="Unlock the account" />
				                                                </a>
			                                                </td>

				                                            <td>&nbsp;</td>
                                                        	<td align="left" class="body_text">
                                                        	    <b><% =HTMLEncodeWithoutTegBR(localeStrs.Item("strUnlock")) %></b><br>
                                                        	    <% =HTMLEncodeWithoutTegBR(localeStrs.Item("strIfLocked")) %><br>
                                                        	    <a href="user_name.asp?act=unlock"><% =HTMLEncodeWithoutTegBR(localeStrs.Item("strUnlockAcc")) %></a>
                                                        	</td>
                                                        </tr>
                                                       <%}%>

                                                      <%if(Session("PRM_secretManager").CustomerMenu & 4){%>
                                                        <tr>
                                                            <td height="10" colspan=3><HR></td>
                                                        </tr>
                                                        <tr>
                                                            <td align="center">
                                                                <a href="change_password.asp">
                                                                    <img src="images/icon_change.png" border="0" alt="Change password" />
                                                                </a>
                                                            </td>

			                                                <td>&nbsp;</td>
                                                        	<td align="left" class="body_text">
                                                        	    <b><% =HTMLEncodeWithoutTegBR(localeStrs.Item("strChange")) %></b><br>
                                                        		<% =HTMLEncodeWithoutTegBR(localeStrs.Item("strChangeDescr")) %><br />
                                                        		<a href="change_password.asp"><% =HTMLEncodeWithoutTegBR(localeStrs.Item("strPwdChange")) %></a>
                                                        	</td>
                                                        </tr>
                                                      <%}%>



                                                    </table>
                                                </td>


#2 jeffb

jeffb

    Advanced Member

  • Administrators
  • PipPipPip
  • 384 posts
  • Gender:Male

Posted 10 October 2013 - 03:44 PM

It is possible to disable the reset feature for all users but because the portal uses anonymous authentication there is no way to know WHO is actually going to the portal.

-Jeff




0 user(s) are reading this topic

0 members, guests, anonymous users