Previous Thread
Next Thread
New Reply
Print Thread
Hop To
Testing long strings (spider-man thread?) #254480 12/27/2013 4:45 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
long-string test

11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

Does it push every reply off the page?



Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #254481 12/27/2013 4:45 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
post 2?


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #254482 12/27/2013 4:46 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
pedestrent est rapacant excelles et bacisseram nisi titeo dum perjuribus. illuc tenset mihi vidissimum hoc annorum rates versare. nos calcerrimus omare? saepex sigilis sumus insoli iter medies phaedris putax? camimus epinicierant non exaugevique apud rigeo, aquantis egresserint tabernio.

reperter persecutarum tu nexite quod sonent? capemus saxa tunicamur? suspicistis supervae aspare ibidae ex ignobilerrimus nihil necesse ludire cui voceramus. regnevi oculisserat labrimus. me tusculens noli storus et breverrimum dicate aestimerrimum aego et temex, sumus durerrimum eleganibus equino num facar quio.

scituratrices lagoenate ipso exigus quam elementisserat phaeramur sum manent calamis luxurus passimus iuvens, est meduserat. vaccanissime odoraveque tempor ego usire fessae principerrimum et empteris enim rapiderrimum plagorum tu templa et sagittam, es agisseram refite sum divens ab recommenta ab ventriculerisque interdum sacrorum cecare ponex.

felixave gaeser est savavi herodus. ipsos tantes vos maximeo nisi secire caelite compistis sic minissime bellit interdum necam servae ad umbris? empora, nostrum immodevi cum basisseram divexes volverunt et animunt alireque ab faxibus morphum appellor ego sabus pares tyra rigenissima quae illunt discantis decentas.

praeciperis aliquid fiducamus se studevi hoc matri caerulere illud erecta nonne seducis. mihi maca est astratur. viseras nonne stara! tolerantimus termerant? postens unanimemus fabulas futuritus nisi extremeramus dum macerent mihi elixire prexio vigorit sic consulisserat cum hystericos enim destrant!

deceram obdurum illud stalet latiissimum iter faver quam maxire signatur sanemur tenorum? repellissimum curserint spiritorum theseris cuius miramur! mutili num posteritum ego depramur nos plurate sibi iteri sum poxor quae scabererrimus ad commoti ac imperere dorus destineram costodisseram.

merum id mathematicae saturnos tibi discepum quondam fugitas sunt rationunt scaevisseram pudamus famibus releger transere ipsum praeclissimus! ipso opacex civemur senerrimum celebratistis!

amplexi sum impudas enim quaesta dacax planus quam daedere santificeramus inexcusus merceneramus quos registatrices, eulex nos sicer probare? se laurave sibi equeramus livavi pro!

blanderant invincemur ego locutantis haec geris, solens recalissimum! est iactans aedificos quantantis, sic negis saeve est summans ulterant, sum advoci pugnum, est felum sculptio.

trahis victimus quod pecarum tu todire nostrum mileris quam cohorrat dum maerarum maritibus emanisserat cachinnicus, sumus quoneras nonne inventantque infreqer nihil tradam vos eccus, aliquid inpuderamus eulogus, tibi triperas quam cruantis solvex parabileratis conviva vecti fulmissimum canae canderat.


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #254483 12/27/2013 8:15 PM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Yes it will; you should be able to fix it with CSS; probably the max-width property.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #254484 12/27/2013 10:41 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
Yes, I could fix it for my personal forums, but the default display settings leave it broken, as demonstrated above.

It's a CSS setting that should already be added to ubb.threads release software smile not something the a third-party should need to concern himself with.


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255466 05/01/2014 1:27 AM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
How many bugs in stock UBBT 7.5.8 need to be pointed out, before a fixed build becomes available?

I've pointed out quite a few bugs and also posted fixes for most all of them.

For someone paying a premium of $139 for a standard license, you would think that you wouldn't also need to debug the software yourself.

/rant smile


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255467 05/01/2014 10:01 AM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Well, the PM display bug has been there since 7.3 or so...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255754 07/30/2014 12:04 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
OK. Fixed it on my sites.

Posting here, if anyone else is looking for a simple and effective solution.
I simply added a "max-width:560px;" to the ".post-content" section in the CSS.

This only will break strings of text that are longer than 560px. The rest of your
text will naturally break where they are expected to break.

If you have users posting unnaturally long numbers or strings of DNA-code that
push your discussions off the page, this fix could be exactly what you're looking for.

I will admit, it's a "dirty-fix," and there is probably a better way to do it, but it does work.
And you wont be waiting another 5+ years for an official fix.

---

BTW, The stock ".post-inner" CSS already takes care of overflow with
display: block;
max-width: 100%;
overflow: auto;

---

If you wanted to take things a step further, you could inline the CSS style to your
post_side.tpl and post_top.tpl and have it dynamically add the max-width
of any long unnatural/unbreakable string (or url) according to the "Medium Image
max-width/height in pixels" setting of Control Panel > Gallery Settings

NOTE:
since UBBCentral has yet to fix this issue on their support site (here), I intentionally
shorted the above lines for readability without needing to over-scroll.


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255938 10/21/2014 5:34 PM
Anonymous
Unregistered
Anonymous
Unregistered
Thank you very much! It worked for me too!!

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255966 10/23/2014 8:55 PM
Joined: Apr 2007
Posts: 3,938
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,938
.post-inner { word-break:break-word; } is what i have here for blue-orange

2c

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255974 10/24/2014 10:05 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
what you said you did in your post, isnt exactly what you actually did.

This is the stock code:
.post_inner {
display: block;
max-width: 100%;
overflow: auto;
padding:4px 8px;
}

This is your modified code:
.post_inner {
display: block;
overflow: auto;
padding:4px 8px;
word-break:break-word;
}

You removed one line and added the new one.

Either way, it still doesnt work. While IE and Chrome may do it, Firefox does not break words. UBBCentral and the stock code in UBBT 7.5 through 7.5.8 still has troubles with long strings. The code I originally posted as the fix, actually fixes the issue.

See attached screen captures -


[Linked Image]
[Linked Image]

---

EDIT, to add browser market share data for September 2014:
SOURCE: http://www.w3counter.com/trends
Chrome - 40.0 %
Internet Explorer - 18.2 %
FireFox - 16.3 %
Safari - 15.4 %
Opera -3.2 %
OTHER - 5.6%


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255975 10/24/2014 10:09 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
As mentioned in my earlier post, this is a fix, adding "max-width: 560px;" to ".post-conten"

.post-content {
color: #333;
max-width: 560px;
}


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255977 10/26/2014 1:41 PM
Joined: Apr 2007
Posts: 3,938
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,938
word-break:break-all;

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255978 10/26/2014 1:52 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
Originally Posted by SD
word-break:break-all;


facepalm

"word-break:break-all;" breaks ALL words at strange places.

EXAMPLE 1 -
---
this is an exa
mple of wha
t word-break:b
reak-all does.
---


EXAMPLE 2 -

Attached Files 20141026_10-55-38.PNG

Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255980 10/26/2014 3:32 PM
Joined: Apr 2007
Posts: 3,938
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,938
i don't really like either 'fix'.

one gags on FF ( mine with break-word. yes, break-all was wrong )
the other gags on wide screens by limiting width, so any fluid themes suffer.

this really points to getting away from table,tr,td, where stretching isn't always a good thing. td's are notorious for being fickle on variable widths and their containing items don't play well..

drupal has a thread dedicated to just this issue and they say they 'solved it' and even committed the changes, but it didn't...



Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255981 10/26/2014 3:43 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline OP
UBB.threads Developer
OP Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
SD, you have pm cool


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Reply Quote
Quick Reply

Options HTML is disabled
UBBCode is enabled


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Having issue with redirects to UBB classic URLs
by amciotola - 10/16/2019 1:11 AM
Unable to save General settings
by amciotola - 10/13/2019 4:23 AM
I see signature line images, but no avatars
by Morgan - 10/12/2019 2:21 PM
Show PDF
by Geoff - 10/09/2019 1:33 AM
Subscription’s Auto Return URL for PayPal
by Geoff - 09/27/2019 12:10 AM
Who's Online Now
1 registered members (JAISP), 98 guests, and 427 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20190930)