Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 74 guests, and 389 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Mark S
Mark S
Liverpool : England : UK
Posts: 4,704
Joined: July 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
M4TT 12
FREAK 11
Ruben 8
isaac 4
mmkk 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
New Reply
Print Thread
Testing long strings (spider-man thread?) #254480
12/27/13 03:45 PM
12/27/13 03:45 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
long-string test

11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

Does it push every reply off the page?


Reply Quote
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Testing long strings (spider-man thread?) [Re: isaac] #254481
12/27/13 03:45 PM
12/27/13 03:45 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
post 2?

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #254482
12/27/13 03:46 PM
12/27/13 03:46 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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.

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #254483
12/27/13 07:15 PM
12/27/13 07:15 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
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.
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/13 09:41 PM
12/27/13 09:41 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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.

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255466
05/01/14 12:27 AM
05/01/14 12:27 AM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255467
05/01/14 09:01 AM
05/01/14 09:01 AM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
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.
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/14 11:04 AM
07/30/14 11:04 AM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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.

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255938
10/21/14 04:34 PM
10/21/14 04:34 PM

A
Anonymous
Unregistered
Anonymous
Unregistered
A


Thank you very much! It worked for me too!!

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255966
10/23/14 07:55 PM
10/23/14 07:55 PM
Joined: Apr 2007
Posts: 4,313
SoCal, USA
SD Offline
Carpal Tunnel
SD  Offline
Carpal Tunnel
Joined: Apr 2007
Posts: 4,313
SoCal, USA
.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/14 09:05 PM
10/24/14 09:05 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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%

Attached Files 20141024_19-00-00.PNG20141024_19-00-25.PNG
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255975
10/24/14 09:09 PM
10/24/14 09:09 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
As mentioned in my earlier post, this is a fix, adding "max-width: 560px;" to ".post-conten"

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

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255977
10/26/14 12:41 PM
10/26/14 12:41 PM
Joined: Apr 2007
Posts: 4,313
SoCal, USA
SD Offline
Carpal Tunnel
SD  Offline
Carpal Tunnel
Joined: Apr 2007
Posts: 4,313
SoCal, USA
word-break:break-all;

Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255978
10/26/14 12:52 PM
10/26/14 12:52 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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
Reply Quote
Re: Testing long strings (spider-man thread?) [Re: isaac] #255980
10/26/14 02:32 PM
10/26/14 02:32 PM
Joined: Apr 2007
Posts: 4,313
SoCal, USA
SD Offline
Carpal Tunnel
SD  Offline
Carpal Tunnel
Joined: Apr 2007
Posts: 4,313
SoCal, USA
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/14 02:43 PM
10/26/14 02:43 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline OP
UBB.threads Developer
isaac  Offline OP
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
SD, you have pm cool

Reply Quote
Quick Reply

Options HTML is disabled
UBBCode is enabled


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)