klm12
Forum Replies Created
-
Forum: Plugins
In reply to: [Geo Mashup] Can't add location for comments on mobile phonesNobody has an idea?
It’s still sometimes not working on smartphones, and I could not narrow the source of the error down…
@dylan
WPQuestions isn’t working at the moment, otherwise I would be willing to post that there too.Forum: Plugins
In reply to: [Rating-Widget: Star Review System] Custom Rating Images don't workHey Leo,
it’s a page still on a development server, but see this post for example:
https://projects.douglas-media.de/startouched/2276(In the end I want posts to have 30×30 pictures and comments the smaller version 20×20)
It displays the default star layout, although if you check the sourcecode the mentioned javascript is included…
Thanks
Forum: Plugins
In reply to: [Agreeable] User gets registered with unchecked TermsHey,
thank you. When I have time I will check whether it resolved the issue!So far I’ve done a small clientsided (popup) solution without using your plugin. Just in case anybody is interested (changes in the wp-login.php):
Put this code within the <head> area:
<!-- Client based jquery javascript which prevents form from being submitted when checkbox is not checked and displays error message see later down in form RegisterForm --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script type='text/javascript'> $(document).ready( function() { function checkCheckbox() { if ( $('#termsOfService').is(':checked') ) { return true; } else { alert('Please accept our Terms of Service!'); return false; } } $('#registerform').submit( checkCheckbox ); } ); </script>
and this within the <body> area and in the <form name=”registerform […] > just where you want to have a checkbox
<!-- Added Checkbox with termsOfService --> <p><input id="termsOfService" type="checkbox" /><?php _e('I have read the <a href="'); echo get_bloginfo('url'); _e('/termsOfServicePageUrl/" target="_blank">Terms of Service</a> and accept them.') ?></p>
Forum: Plugins
In reply to: [Agreeable] User gets registered with unchecked TermsHey, yea maybe lets discuss it here, better for other users!
So I neither run BuddyPress nor a Multisite.
Just a standard single WordPress 3.9.2 installation!I think somehow when a user doesnt check the checkbox it should have the same function like if he doesn’t enter a email or name.
The given errors are correct, but the transaction is not prevented from happening, which results in a new DB-entry.
When u don’t enter a username or email, this doesnt happen with the given errors