Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2013, 11:51 PM
sparksromeo sparksromeo is offline
 
Join Date: Apr 2010
Location: Fort Pierce Florida
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 11-02-2013, 11:55 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That message should only come up if the person browsing is on the banned group. Guests should not be seeing that.
Reply With Quote
  #3  
Old 11-03-2013, 12:02 AM
sparksromeo sparksromeo is offline
 
Join Date: Apr 2010
Location: Fort Pierce Florida
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

define('DISABLE_HOOKS', true); has no effect. If I could impose, try to click on "Reply with quotes" on this link. HERE
Reply With Quote
  #4  
Old 11-03-2013, 12:06 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-03-2013, 12:13 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 11-03-2013, 12:14 AM
sparksromeo sparksromeo is offline
 
Join Date: Apr 2010
Location: Fort Pierce Florida
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(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.
Reply With Quote
  #7  
Old 11-03-2013, 12:16 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah that should be the right class.
Reply With Quote
  #8  
Old 11-03-2013, 12:19 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No there is something else going on in your site, no need to edit code. Have you added anything to your htaccess file?
Reply With Quote
  #9  
Old 11-03-2013, 12:20 AM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 11-03-2013, 12:21 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04273 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete