|
I am a new administrator for WebWiz Forums, and I do not yet have a deep knowledge of WWF. However, I have made a minor patch to the help.asp page of WWF v10 which may be useful to other new administrators. When a new user registers with WWF by clicking the Register link, the user views the Registration Rules which may be accepted or declined. If an existing user wishes to be reminded of these rules, it is necessary to click the Register link to view them. It is possible that an existing user might not realise this. Therefore, it would be desirable to include these rules in the help.asp page obtained when a user clicks the FAQ link because they could be expected to be included on that page. The text of the Registration Rules is available through the global string variable strRegistrationRules, and it can be used in patching the help.asp page. The help.asp page needs to be patched in 2 places as shown in the following 2 excerpts. In each case, the patched code is marked in red. Excerpt 1:
<table cellspacing="1" cellpadding="3" class="tableBorder" align="center"> <tr class="tableLedger"> <td><% = strTxtChooseAHelpTopic %></td> </tr> <tr class="tableSubLedger"> <td><% = strTxtLoginAndRegistration %></td> </tr> <tr> <td class="tableRow"> <!-- RJC 30/12/2011 inserted next item --> <a href="#FAQA">What are the Registration Rules for the Forum?</a> <br /> <!-- --> <a href="#FAQ1"><% = strTxtWhyCantILogin %></a> <br /> ... </table>
|
<table cellspacing="1" cellpadding="3" class="tableBorder" align="center"> <tr class="tableLedger"> <td><% = strTxtLoginAndRegistration %></td> </tr> <!-- RJC 30/12/2011 inserted next item --> <tr class="tableSubLedger"> <td><a name="FAQA"></a>What are the Registration Rules for the Forum?</td> </tr> <tr class="tableRow"> <td align="justify"><i style="color: red">[ Disregard the first paragraph below ]</i><br /><% = strRegistrationRules %><a href="#top" class="smLink"><% = strTxtBackToTop %></a><br /><br /></td> </tr> <!-- --> <tr class="tableSubLedger"> <td><a name="FAQ1" id="FAQ1"></a><% = strTxtWhyCantILogin %></td> </tr> <tr class="tableRow"> <td align="justify"><% = strTxtFAQ1 %><br /><a href="#top" class="smLink"><% = strTxtBackToTop %></a><br /><br /></td> </tr> ... </table>
|
The patched code in Excerpt 2 includes the text "[ Disregard the first paragraph below ]" because the first paragraph of the default Registration Rules refers to Accept and Cancel buttons. This could confuse the user because these buttons do not exist here. Regards Ray Carpenter
|