Previous Thread
Next Thread
Print Thread
Hop To
#265372 06/26/2022 3:52 PM
Joined: Dec 2003
Posts: 6,467
Likes: 70
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,467
Likes: 70
Using firefox when visiting a site.
You can right click on the page and view source.
It displays formatted data using wordwrap and is easy to read.
I have one site that when you view source it appears as if wordwrap is turned off and all the lines are jumbled together.

Could this be due to someone has edited some of the files outside of UBB manually.

I ask because I am looking at reloading the stock code for this site.

There is not much in the html includes so I suspect that this is the culprit.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Apr 2004
Posts: 1,917
Likes: 140
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,917
Likes: 140
Control Panel > Primary > Minify HTML Page Output

Minify HTML Page Output
Remove all unnecessary characters from page HTML without changing its functionality. The process removes unnecessary characters which usually include white space characters, new line characters, and comments, which are used to add readability to the code but are not required for it to execute. This process is done in real time.

This feature was added in UBB.threads 7.6.1 - 2018-01-01
https://www.ubbcentral.com/changelog.php#761

The optional feature is disabled by default.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Work In Progress: soon
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 16,185
Likes: 102
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,185
Likes: 102
Sounds like their webserver or a CDN is running through minify, or they have the Minify HTML Page Output feature enabled in UBB.threads.

Quoting Wikipedia (Minification (programming))
Minification (also minimisation or minimization) is the process of removing all unnecessary characters from the source code of interpreted programming languages or markup languages without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute. Minification reduces the size of the source code, making its transmission over a network (e.g. the Internet) more efficient. In programmer culture, aiming at extremely minified source code is the purpose of recreational code golf competitions.


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!
Joined: Dec 2003
Posts: 6,467
Likes: 70
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 6,467
Likes: 70
Wow.
That is exactly what is was.
They had turned on Minify HTML Page Output in the UBB CP.
Thanks


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
You've already posted
by Baldeagle - 08/06/2022 1:12 PM
Default Group(s) for New Members
by Morgan - 08/02/2022 10:54 AM
Webhook to DISCORD
by TGCsanderson - 08/01/2022 6:42 AM
Is it possible to restore a single forum from backup?
by Baldeagle - 07/19/2022 1:18 PM
Who's Online Now
1 members (AllenQ33), 73 guests, and 73 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 7.7.5