"Essential Nickname": JavaScript solution on how to force anonymous users to enter their nickname when posting.
Release date: November 25, 2005.
Last update: June 17, 2008.
miniBB version: 2.0 RC4b +
Authors: Sergei Larionov, Paul Puzyrev (minibb.com).


This JavaScript solution allows to disable 'Anonymous' nicknames on forums. If users are allowed to post anonymously and registration is not required, they will have to enter something for the username. Also some characters or word fragments may be disallowed when configuring this addon (case won't matter for English characters).

Note if JavaScript is disabled in the browser, user still may post as "Anonymous" - but it only will mean the users is doing so by purpose regarding your forums, and the corresponding admin action is needed to take.


==SETUP==

1) Modify templates/form.js and paste the code provided in form.js.code file. Modify alert message and the array of the forbidden characters or wording fragments, if necessary.

2) In the submitForm() function of the same file, right after the function's declaration, paste the line:

// custom - anonymous postings solution
if(anonPost==1 && !checkIt()) return false;


That's all!
Enter your forums as guest and try to post some message, not filling the Username field. You must see an alert forbidding you to post.


==FINALLY==
Hope, you'll enjoy. Please, post bugs and suggestions on our forums:
http://www.minibb.com/forums/
