Page 1 of 1

[MOD] Alert Before Guest Post

PostPosted: Fri Apr 14, 2006 4:14 am
Author: evolver
It happends,
Someone replied before logging in...
Message posted as 'Guest'...Damn

This very small MOD gives a little warning before posting as 'Guest'.
Can't happen by mistake anymore...

Code: Select all
################################################################ MOD Title]http://www.phpbb.com/mods/[/url] for the## latest version of this MOD. Downloading this MOD from other sites could cause malicious code## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered## in our MOD-Database, located at: [url=http://www.phpbb.com/mods/#]http://www.phpbb.com/mods/#[/url]############################################################### Author Notes: When installing this mod, know that users may leave and join groups at will##       without the group moderator intervening if the group is set to auto. No emails will##       be sent.################################################################ Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD##############################################################  ##-----[ OPEN ]------------------------------------------#templates/subSilver/posting_body.tpl  ##-----[ FIND ]------------------------------------------#<script>  ##-----[ BEFORE, ADD ]------------------------------------------#<script>var url = location.href;var username = "{USERNAME}";if (username == "" && url.indexOf('mode=reply') != '-1'){alert("You are about to post at {SITENAME} in {FORUM_NAME} as a guest.  If you would rather log in to your account or register and post under your own name, please do so now. Otherwise, your message will be posted as a guest.");}</script>    ##-----[ SAVE/CLOSE ALL FILES ]------------------------------------------## EoM


Easy to install and works fine...

BUT...
Unfortunately, there's no warning when entering a new topic as 'Guest'... <img>

Re: [MOD] Alert Before Guest Post

PostPosted: Fri Apr 14, 2006 4:24 am
Author: evolver
Also, keep this warning in mind:

Author Notes: When installing this mod, know that users may leave and join groups at will without the group moderator intervening if the group is set to auto. No emails will be sent.


(There are no groups set to auto on my forum...)

Re: [MOD] Alert Before Guest Post

PostPosted: Wed May 03, 2006 5:48 am
Author: found it
Thoough it is a good mod i would advise that due to the amount of spam bots and script kiddies on the web...

I would say it would be better to not allow guest voting when making a forum...

but just my oppinion

:mrgreen:

Re: [MOD] Alert Before Guest Post

PostPosted: Mon Jun 19, 2006 2:02 pm
Author: Apocal
Personally, I just set it such that the user has to register before posting. How hard is it to register. (It takes like 30 seconds) For my forum, at least, if they don't want to take 30 seconds, then I don't want them posting there. Kind of resolves the guest issue all together.

Re: [MOD] Alert Before Guest Post

PostPosted: Mon Jun 19, 2006 3:09 pm
Author: evolver
"Apocal";p="9775" wrote:Personally, I just set it such that the user has to register before posting. How hard is it to register. (It takes like 30 seconds) For my forum, at least, if they don't want to take 30 seconds, then I don't want them posting there. Kind of resolves the guest issue all together.

That is true <img>

However, I always keep at least one forum open for guests...
So they still have a chance to ask anything about forum -registration, -rules, -privacy and read about the questions that have already been answered...

...and also for members who can't log in for some reason...
Then we can at least be informed about such a problem and fix it or help this member to get back in...