Into Joinrequests template:
the text in red create a form into another form and this causing a "security token missing error"
Please , move the pagination conditional outside the form to avoid this error. Thank you
Code:
<script type="text/javascript"><!-- function radioCheck(formname, option) { formlength = formname.elements.length; for (i=0; i<formlength; i++) { e = formname.elements[i]; if (e.type=='radio') { e.checked = false; if (option == e.value) { e.checked = true; } } } } //--> </script> <form action="joinrequests.php" method="get"> <div> {vb:rawphrase requests_to_join_usergroup}:<br /> <select name="usergroupid" tabindex="1" onchange="this.form.submit()">{vb:raw usergroupbits}</select> {vb:raw gobutton} </div> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="pp" value="{vb:raw perpage}" /> </form> <form action="joinrequests.php?do=processjoinrequests&usergroupid={vb:raw usergroupid}" method="post" class="block" name="joinrequestsform"> <div class="block joinrequests"> <h2 class="blockhead">{vb:rawphrase requests_to_join_usergroup}: {vb:raw usergroup.title}</h2> <vb:if condition="$show['joinrequests']"> <div class="blockbody"> <div class="blocksubhead accept"><a class="textcontrol" onclick="radioCheck(document.joinrequestsform, 1);return false;" href="javascript://" />{vb:rawphrase accept}</a></div> <div class="blocksubhead deny"><a class="textcontrol" onclick="radioCheck(document.joinrequestsform, 0);return false;" href="javascript://" />{vb:rawphrase deny}</a></div> <div class="blocksubhead ignore"><a class="textcontrol" onclick="radioCheck(document.joinrequestsform, -1);return false;" href="javascript://" />{vb:rawphrase ignore}</a></div> <div class="blocksubhead userdate">{vb:rawphrase username} / {vb:rawphrase date}</div> <div class="blocksubhead reason">{vb:rawphrase request_reason}</div> <ol class="requestlist"> {vb:raw joinrequestbits} </ol> </div> <div class="blockfoot actionbuttons"> <div class="group"> <input type="submit" class="button" value="{vb:rawphrase do_authorizations}" accesskey="s" tabindex="1" /> </div> </div> <vb:else /> <div class="blockbody"> <div class="blockrow"> {vb:rawphrase there_are_no_outstanding_requests_to_join_this_usergroup} </div> </div> </vb:if> </div> [COLOR=#ff0000]<vb:if condition="$pagenav">[/COLOR] [COLOR=#ff0000] <div class="floatcontainer">[/COLOR] [COLOR=#ff0000] <div id="pagination_bottom">[/COLOR] [COLOR=#ff0000] {vb:raw pagenav}[/COLOR] [COLOR=#ff0000] </div>[/COLOR] [COLOR=#ff0000] </div>[/COLOR] [COLOR=#ff0000] </vb:if>[/COLOR] <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="processjoinrequests" /> <input type="hidden" name="usergroupid" value="{vb:raw usergroupid}" /> </form>
Please , move the pagination conditional outside the form to avoid this error. Thank you
Comment