View Full Version : Error message text too harsh?
sparksromeo
11-02-2013, 10:51 PM
Whenever a person clicks to follow a link on my site and is not signed in or registered he gets this error message "
vBulletin Message
You have been banned for the following reason:
No reason was specified.
Date the ban will be lifted: Never"
How can I change the text to be more friendly so it will not discourage the viewer?
Thanks for any suggestions.
ozzy47
11-02-2013, 10:55 PM
That message should only come up if the person browsing is on the banned group. Guests should not be seeing that.
sparksromeo
11-02-2013, 11:02 PM
define('DISABLE_HOOKS', true); has no effect. If I could impose, try to click on "Reply with quotes" on this link. HERE (http://www.treasurecoastaviation.com/forums/showthread.php?1478-KFPR-Aviation-Day-comming-soon)
ozzy47
11-02-2013, 11:06 PM
Maybe something in htaccess, or vbseo?
Your link reply with quotes looks like this:
http://www.treasurecoastaviation.com/forums/newreply.php?do=newreply&p=1928
When it should look like this:
http://www.treasurecoastaviation.com/forums/newreply.php?&do=newreply&p=1928
Yours has the extra in it
Max Taxable
11-02-2013, 11:13 PM
But on another thread, the link for reply looks like this, no extra ampersand:http://www.treasurecoastaviation.com/forums/newreply.php?do=newreply&p=1951
In the source code, it looks like it is pulling up the right error class, but I suspect that phrase may have been changed at some point?<div class="standard_error">
<h2 class="blockhead">vBulletin Message</h2>
<div class="blockbody formcontrols">
<div class="blockrow restore"><p>You have been banned for the following reason:<br />
No reason was specified.</p>
<p>Date the ban will be lifted: Never</p></div>
</div>
</div>
Plus, I am not seeing the extra ampersand on the thread the OP linked us to:http://www.treasurecoastaviation.com/forums/newreply.php?do=newreply&p=1926
EDIT: Never mind Ozzy - you are saying it SHOULD have the ampersand. Is that right? I pasted the one you said it should look like into my addressbar, and still got the "You have been banned" error message.
sparksromeo
11-02-2013, 11:14 PM
(Using 4.2.2) I have no one banned. A unregistered browser can view everything but if he tries to reply to a posting without signing in he gets the harsh error message.
ozzy47
11-02-2013, 11:16 PM
Yeah that should be the right class.
ozzy47
11-02-2013, 11:19 PM
No there is something else going on in your site, no need to edit code. Have you added anything to your htaccess file?
Max Taxable
11-02-2013, 11:20 PM
I don't think the ampersand makes any difference, like i said I pasted the one Ozzy said it should be, and still got same error.
ozzy47
11-02-2013, 11:21 PM
Actually I see some of the code has been hidden in my other reply, but no matter, it still don't work either way.
sparksromeo
11-02-2013, 11:26 PM
I have never changed the htaccess file. The only major addition was "PANJO" but I disabled it and I still have the problem.
Max Taxable
11-02-2013, 11:30 PM
Check the global phrase "not_logged_no_permission" in Languages and Phrases. It should read:You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
ozzy47
11-02-2013, 11:30 PM
Check your Unregistered Usergroup permissions and make sure that "This Usergroup is not a 'Banned' Group" is set to 'Yes' instead of 'No'.
Max Taxable
11-02-2013, 11:31 PM
Check your Unregistered Usergroup permissions and make sure that "This Usergroup is not a 'Banned' Group" is set to 'Yes' instead of 'No'.^^^ Bingo. I just duplicated this issue on my v3.8.7 by changing this usergroup setting.
This Usergroup is not a 'Banned' Group (Setting this to no will cause the group to be treated as a banned group, this will prevent the sending of email notifications, show a banned error message on the permission error pages and other unspecified behaviors.)
ozzy47
11-02-2013, 11:34 PM
So you allow guests to post replies on your site?
sparksromeo
11-02-2013, 11:38 PM
If Guest had permission to post then I would not get the error msg. They can only read a posting but if they try to reply they get the error msg. The error msg should say "You must be signed in to reply or post to this post"
ozzy47
11-02-2013, 11:38 PM
I have to believe that is what is going on. :)
Max Taxable
11-02-2013, 11:39 PM
I have to believe that is what is going on. :)It worked for me. :D
ozzy47
11-02-2013, 11:42 PM
Try disabling your mods and see if you still get the same message.
Open your config.php and below<?php add this line:
define('DISABLE_HOOKS', true);
So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2
sparksromeo
11-02-2013, 11:45 PM
Check the global phrase "not_logged_no_permission" in Languages and Phrases. It should read:You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
Took me a while but it is exactly as you described. FYI Varname $vbphrase[not_logged_no_permission]
ozzy47
11-02-2013, 11:46 PM
Check your Unregistered Usergroup permissions and make sure that "This Usergroup is not a 'Banned' Group" is set to 'Yes' instead of 'No'.
Max Taxable
11-02-2013, 11:57 PM
Took me a while but it is exactly as you described. FYI Varname $vbphrase[not_logged_no_permission]Yes I am sorry I sent you on that wild goose chase... The issue is going to be exactly what Ozzy is telling us. Usergroup Permissions.
sparksromeo
11-03-2013, 12:01 AM
Check your Unregistered Usergroup permissions and make sure that "This Usergroup is not a 'Banned' Group" is set to 'Yes' instead of 'No'.
BINGO! That did it. Can't thank you enough. Sorry I took so much of your time.
Please keep up the good work.:D
ozzy47
11-03-2013, 12:02 AM
Not a problem, glad to help. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.