Previous Thread
Next Thread
New Reply
Print Thread
Hop To
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
long-string test

11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

Does it push every reply off the page?



Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
post 2?


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Anonymous
Unregistered
Anonymous
Unregistered
Thank you very much! It worked for me too!!

Like Reply Quote
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
.post-inner { word-break:break-word; } is what i have here for blue-orange

2c

Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
word-break:break-all;

Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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 -
Attachments
20141026_10-55-38.PNG


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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...



Like Reply Quote
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
SD, you have pm cool


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Quick Reply

Options HTML is disabled
UBBCode is enabled


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)