Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 17
Newbie
Newbie
Offline
Joined: Aug 2000
Posts: 17
After making a post with markup (only) enabled, and then editing it, the post reverts to HTML code. The HTML code then does not properly display it because HTML was not originally enabled. Example:

Make new post using markup:
[:red][i.mage]http://whatever.com/myimage.jpg[/i.mage]

The image shows up fine after I post. Now after editing the post I just made the markup reverts to HTML code:
[:red]<img src="http://whatever.com/myimage.jpg">

And it displays the HTML code instead of the image itself. The user must by hand convert all his HTML code to markup while editing the post.

Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
This was a problem with 5.4.3. The original encoding of the post (markup/html) was not recorded properly with the post so it broke when editing.


UBB.threads Developer
rainman99 #212081 10/08/2001 11:17 AM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
...what that means is "please upgrade to 5.4.4 for a fix."


+++ Quis custodiet ipsos custodies? +++
Joined: Aug 2000
Posts: 17
Newbie
Newbie
Offline
Joined: Aug 2000
Posts: 17
Rats... ok thanks. My 5.4.3 is heavily hacked. Is there a specific section of code you can point me to where I can incorporate the fix or is it fairly widespread and dependent on a larger scope of changes and additions?

rainman99 #212083 10/08/2001 9:54 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
The upgrade from 5.4.3 to 5.4.4 had some pretty hefty changes. Initially it was only in newpost and newreply, but to fully fix it involves those 2 files along with addpost, showflat and showthreaded.


UBB.threads Developer
Sponsored Links
rainman99 #212084 10/10/2001 10:43 AM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
My board, too, is heavily hacked.

One thing I've been doing to make upgrades smoother and less time-consuming is to always keep a local copy of W3T on my hard drive (the copy downloaded from here); when any of the PHP components are hacked a/o modified, I make a copy of the original script, and name the copy something like 'xyz.php (mod)' ... for instance, 'newpost.php' would be changed to 'newpost.php (mod)' ... but you can use any naming convention that works for you. The point is that, when looking in any of the W3T directories, at a glance you know exactly which scripts have been hacked, and consequently what needs to be modified when you download the latest upgrade.

I'm sure there are other, equally good approaches to tracking hacks; this method has (so far) served me well. Ultimately, you simply have to weigh the benefits of having the latest, improved version of W3T against what you're currently using. 5.4.3php had enough problems (and gave me enough headaches) that the choice was clear and compelling.


+++ Quis custodiet ipsos custodies? +++

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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
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)