Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Here's the hack description:
http://www.chainmaille.prohosting.com/UBBHacks/disablehtmlhack.txt

Let me know if it works for you. Works great here with 5.42.

CW

Sponsored Links
Joined: Mar 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 37
ok, all the buttons and everthing show up, but it doesn't work! the HTML still works...it doesn't just show the code [Linked Image]

------------------
E-Mail: [email protected]
ICQ: 19608225
AIM: Mazmanr

Joined: Mar 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 37
ok, no, WAIT! it does work..but there is one problem...the first post in a thread still does HTML, but if you reply, it shows the code!!!

------------------
E-Mail: [email protected]
ICQ: 19608225
AIM: Mazmanr

Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Looking into it. Thanks. Eine moment bitte.

Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
I found another problem.
If you include a smile in your post, it won't be displayed. All you'll get will be [Linked Image]

Sponsored Links
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
I will look into it sometime this weekend, CW will probably beat me to it.

The problem comes when you
a) edit a message with HTML in it already
b) post a new topic
c) edit a message and add new HTML to it.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Yea the Hack is installed on this UBB if you need to test it [Linked Image]. Maybe somebody can use it to run tests.

------------------
President and Webmaster of UBB Hackers Hideout.

ICQ: 33326211
AIM:SpazJCC
Email: ubbmaster@ubbcodehacking.com

[This message has been edited by UBBMaster (edited January 07, 2000).]

Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
Crap is a real font color, amazing isn't it?

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
haha [Linked Image]

Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Here's the fix. The only remaining problem I have found is when you edit a message with HTML it in, the PrepForEdit function calls EditUBBConvert to convert it all to UBB. I'll add a fix to this soon.

Sponsored Links
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Sorry to mention the hack location again.
http://www.chainmaille.prohosting.com/UBBHacks/disablehtmlhack.txt

Also I'd like to disable the "Disable HTML in This Post" option from post/edit screens in forums that already do not allow HTML.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
do you think you can post a upgrade version of the text?

------------------
President and Webmaster of UBB Hackers Hideout.

ICQ: 33326211
AIM:SpazJCC
Email: ubbmaster@ubbcodehacking.com

Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
How's that? I just uploaded a new text file. There were only two changes. One was a move of the if ($in{'DisableHTMLies'} eq 'yes') { block in the DoPostTheTopic subroutine. The other was an addition of the if block in the DoTheEdit subroutine.

CW

Joined: Jun 2000
Posts: 263
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 263
I found one more problem. If you use   in your message, it will convert it to spcae. It really matters if you have   in your hacks [Linked Image].
I think I know how to solve this problem.
After
$Message =~ s/>/>/g;
add
Code
code:
I.e. the "&" sign should be replaced with &


[This message has been edited by ilya (edited January 08, 2000).]

Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Better yet. I think the next release will convert all &'s to &'s before the =~ s/>>/>/g line.

Joined: Jan 2000
Posts: 26
Member
Member
Offline
Joined: Jan 2000
Posts: 26
TestTest2

Test to center
test


------------------
Chris Miller
http://www.webtrixter.com/


Joined: Jan 2000
Posts: 26
Member
Member
Offline
Joined: Jan 2000
Posts: 26
When will the latest bug free version be done?

Chris Miller http://www.extremeforums.com

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Great hack. Work terrific.

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
it is bug free, but doesn't show amp codes...

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians


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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 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 20240430)