vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Error message text too harsh? (https://vborg.vbsupport.ru/showthread.php?t=304114)

sparksromeo 11-02-2013 11:51 PM

Error message text too harsh?
 
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 11: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-03-2013 12:02 AM

define('DISABLE_HOOKS', true); has no effect. If I could impose, try to click on "Reply with quotes" on this link. HERE

ozzy47 11-03-2013 12:06 AM

Maybe something in htaccess, or vbseo?

Your link reply with quotes looks like this:
Code:

http://www.treasurecoastaviation.com/forums/newreply.php?do=newreply&p=1928
When it should look like this:
Code:

http://www.treasurecoastaviation.com/forums/newreply.php?&do=newreply&p=1928
Yours has the extra in it

Max Taxable 11-03-2013 12:13 AM

But on another thread, the link for reply looks like this, no extra ampersand:
HTML Code:

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?
HTML Code:

<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:
HTML Code:

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-03-2013 12:14 AM

(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-03-2013 12:16 AM

Yeah that should be the right class.

ozzy47 11-03-2013 12:19 AM

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-03-2013 12:20 AM

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-03-2013 12:21 AM

Actually I see some of the code has been hidden in my other reply, but no matter, it still don't work either way.


All times are GMT. The time now is 02:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete