Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
One thing that I see often at my site is what I call "dangling ubb code"

It most often happens w/the quote option since people want to whittle it down so that they are addressing a specific part of a post, but I've also seen it in other situations.

Here's an example:

[i]Test Italics[i] ... or maybe like this [i]Test Italics/i]

Is there any way a hack can be created to look for broken UBB code and either fix it (ala like most spell check programs with word processors) or prompt users to fix it (ala the spell check associated with this board)?


Sue
adwoff.com
Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Detecting UBBCode that is still present (i.e. has an unclosed open or an unopened close) after filtering would be trivial.... But closing it automatically is a majorly tall order.


UBB.classic: Love it or hate it, it was mine.
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Okay ... I can accept that!

I'd love it then if a hack could be developed that would work like the current spell check--to at least prompt them with the dangling code.

Thanks, Charles.


Sue
adwoff.com

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)