Checkbox before Registration (JavaScript)
With this small plugin (code snippet) it is possible to allow the registration process only if a checkbox is activated. The plugin also checks if the checkbox is set on the server side.
Version: 1.1
Autor: itsmeJAY
Deutsche Übersetzung: itsmeJAY (26.05.2020)
Hochgeladen: 26.05.2020
Letzte Aktualisierung: 26.05.2020
Support: https://www.mybb.de/forum/thread-37243.html (0 Beiträge)
Kompatibilität: MyBB 1.8.x
Bisherige Downloads: 17
Mit diesem kleinen Plugin (Code-Snippet) ist es möglich, den Registrierungsprozess nur zu erlauben, wenn eine Checkbox aktiviert wurde. Der Button "Ich akzeptiere" erscheint erst, wenn die Checkbox gesetzt ist. Das Plugin überprüft auch, ob die Checkbox serverseitig gesetzt wurde. Sollte jemand also versuchen mit dem Browser-Inspektor zu "schummeln", wird dies serverseitig abgefangen / überprüft.Tutorial:1. Lade das Plugin herunterAutor: itsmeJAY
Deutsche Übersetzung: itsmeJAY (26.05.2020)
Hochgeladen: 26.05.2020
Letzte Aktualisierung: 26.05.2020
Support: https://www.mybb.de/forum/thread-37243.html (0 Beiträge)
Kompatibilität: MyBB 1.8.x
Bisherige Downloads: 17
2. Lade alle Dateien des Plugins auf deinen Server hoch
3. Aktiviere das Plugin im Forum-ACP
4. Editiere das Member Template "member_register_agreement"
5. Füge folgende Variable VOR</body> ein
{$acceptedScript}
6. Ändere folgende Zeile von<input type="submit" class="button" name="agree" value="{$lang->i_agree}" />
zu{$acceptTerms}<br/> <input type="submit" class="button" style="display: none" name="agree" id="agree" value="{$lang->i_agree}" />
(Wichtig ist, dass der Button die id "agree" bekommt und die CSS Eigenschaft "display: none". Ebenfalls muss die Variable{$acceptTerms} über dem Button verfügbar sein.)Viel Spaß!
Quelle: Checkbox before Registration (JavaScript) bei MyBB.com
Ähnliche Erweiterungen
Registration Checkboxes 1.2 von thruska für MyBB 1.8.x
Adds configuration options for setting the checkbox defaults during user registration.
63 Downloads
Adds configuration options for setting the checkbox defaults during user registration.
63 Downloads
Registration Checkbox Configuration 1.2 von thruska für MyBB 1.6.x
Sets the default status of the checkboxes displayed during registration.
43 Downloads
Sets the default status of the checkboxes displayed during registration.
43 Downloads
Checkbox Validation 1.1 von Vernier für MyBB 1.6.x
Checkbox Validation adds a validation check in four different locations: New Threads, New Replys, New Private Messages and Registration.
221 Downloads
Checkbox Validation adds a validation check in four different locations: New Threads, New Replys, New Private Messages and Registration.
221 Downloads
Javascript Bot Protection 1.1 von LePrau für MyBB 1.6.x
Uses javascript to fill out a hidden field to prevent automated registrations
21 Downloads
Uses javascript to fill out a hidden field to prevent automated registrations
21 Downloads
Ajax / Cool Registration 1.1 von DragonFever für MyBB 1.2.x
Uses AJAX Technology to Specifying Erros on register Page.
20 Downloads
Uses AJAX Technology to Specifying Erros on register Page.
20 Downloads