vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Prevent this from happening (https://vborg.vbsupport.ru/showthread.php?t=287692)

chefy 09-10-2012 01:58 PM

Prevent this from happening
 
This is the first line of my post...
...and this is the second one...

and here you have the last one (which isn't the third)!

Lynne 09-10-2012 05:31 PM

OK. Um, is there a question here?

ForceHSS 09-10-2012 05:38 PM

Have no idea what this post is about. Looks more like spam

chefy 09-10-2012 07:02 PM

Well, this is how my first post looks: http://i50.tinypic.com/2duzep4.png
Do you notice the huge amount of space between lines 2 and 3?

The post should like like this: http://i45.tinypic.com/2eplshu.png

ForceHSS 09-10-2012 07:05 PM

Maybe if you explain what you are talking about as this problem if any seems to be with u

chefy 09-10-2012 07:09 PM

Check post above yours.

ForceHSS 09-10-2012 07:36 PM

Yes I seen that it still does not explain ur problem in other words you are not explaining how it happened. More info is needed? As I said above you are the only one with this problem so it could be a browser problem. Does it only happen on this site or all etc etc

chefy 09-10-2012 08:07 PM

I don't know... could you please post a screenshot of how my first post looks on your browser?

It's worth noting that I have intentionally pressed the "Enter" button of my keyboard a lot of times between lines 2 and 3 of my first post to make it to look like this because I want it to be parsed as this removing all those intentionally line breaks between lines 2 and 3.

Got it?

Lynne 09-10-2012 10:23 PM

Wait a sec.... you hit enter several times in the post but you want the software to remove all the line breaks you entered? It doesn't do that. You need to only hit enter once if you want one line break.

chefy 09-10-2012 10:32 PM

Quote:

Originally Posted by Lynne (Post 2364447)
Wait a sec.... you hit enter several times in the post but you want the software to remove all the line breaks you entered?

Yes.

Quote:

Originally Posted by Lynne (Post 2364447)
It doesn't do that.

I know, that's why I'm asking here at vbulletin.org instead of vbulletin.com

Quote:

Originally Posted by Lynne (Post 2364447)
You need to only hit enter once if you want one line break.

I know.

I'm not the one doing this on my forums, okay? There are trolls who abuse of the 'Enter' key to generate a lot of line breaks to annoy other members.

Is there any easy way to alter the system so when it detects more than one line break then it simply 'compresses' all the line breaks to only one? As an example, when the system detects this, instead of displaying that it should display this.

Lynne 09-10-2012 10:54 PM

I do not know of any easy way. You may want to look through the string functions for php here - http://www.php.net/manual/en/ref.strings.php - and see if one of those would work for you and then you can just write a plugin to run it on the page text prior to spitting it out.

Or.... how about banning these users? Or setting it up so the first couple of posts must be approved? Or putting them on global ignore?


All times are GMT. The time now is 08:09 PM.

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.01041 seconds
  • Memory Usage 1,732KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete