(2010-12-05, 05:09 PM)euantor Wrote: Any way of hiding the "change question" button if there's only 1 question added?
I'll implement a check in the next version which will automatically remove the button if theres only one question in the database.
For now, you can remove the button from the template.
Global Templates>regsecureq
Remove the following lines:
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
document.write('<br \/><input type="button" class="button" tabindex="10000" name="refresh" value="{$lang->regq_change}" onclick="regsecureq.change();return false;" \/>');
}
// -->
</script>
(2010-12-05, 09:05 PM)Gene53 Wrote: Great plugin but for some strange reason, the Change Question doesn't work on my install.
(2010-12-05, 10:02 PM)Gene53 Wrote: I think I might have found a bug, if I deactivate the plugin and reactivate it, there are 2 instances of Security Question on my registration page.
I couldn't replicate the above. I even looked over the code and I don't see a problem there. It seems something is not right with the templates, which could also be the reason for the problem in changing the question.
Could I have the URL to your forum with the plugin activated so I can have a look?
To remove multiple instances, look at them member_register template and make sure there is only one of these
{$regq}