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

11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

Does it push every reply off the page?



current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2004
Posts: 1,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
post 2?


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2004
Posts: 1,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
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,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2004
Posts: 1,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
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,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.1.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,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Like Reply Quote
Joined: Apr 2004
Posts: 1,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.1.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,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
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: UBB.threads 8.0.0 // wip: UBB.threads 8.1.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,976
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,976
Likes: 154
SD, you have pm cool


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.1.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
"Recent Posts" box
by SenecaFlyer - 12/13/2024 12:06 PM
Sticky posts and global announcements
by Larry Miller - 12/08/2024 2:30 PM
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
3 members (Ruben, SenecaFlyer, 1 invisible), 1,719 guests, and 157 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)