UBB.Dev
Posted By: Rotaredom [ ] Disable HTML in This Post? v1.0.0 - 01/07/2000 1:07 AM
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
Posted By: mazmanr Re: [ ] Disable HTML in This Post? v1.0.0 - 01/07/2000 1:39 AM
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
Posted By: mazmanr Re: [ ] Disable HTML in This Post? v1.0.0 - 01/07/2000 1:41 AM
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
Posted By: Rotaredom Re: [ ] Disable HTML in This Post? v1.0.0 - 01/07/2000 1:46 AM
Looking into it. Thanks. Eine moment bitte.
Posted By: ilya Re: [ ] Disable HTML in This Post? v1.0.0 - 01/07/2000 4:23 AM
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]
Posted By: The Team Re: [ ] Disable HTML in This Post? v1.0.0 - 01/07/2000 4:58 AM
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.
Posted By: The Team Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 1:27 AM
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).]
Posted By: Sir Nikon Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 2:55 AM
Crap is a real font color, amazing isn't it?

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

Joy! A hobby that only cost me $170.
Posted By: Menno Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 11:25 AM
haha [Linked Image]
Posted By: Rotaredom Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 7:40 PM
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.
Posted By: Rotaredom Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 8:11 PM
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.
Posted By: The Team Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 10:04 PM
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
Posted By: Rotaredom Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 10:21 PM
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
Posted By: ilya Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 10:36 PM
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).]
Posted By: Rotaredom Re: [ ] Disable HTML in This Post? v1.0.0 - 01/08/2000 10:48 PM
Better yet. I think the next release will convert all &'s to &'s before the =~ s/>>/>/g line.
Posted By: RageAgnst Re: [ ] Disable HTML in This Post? v1.0.0 - 03/23/2000 4:16 PM
TestTest2

Test to center
test


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

Posted By: RageAgnst Re: [ ] Disable HTML in This Post? v1.0.0 - 03/23/2000 4:17 PM
When will the latest bug free version be done?

Chris Miller http://www.extremeforums.com
Posted By: Greg Hard Re: [ ] Disable HTML in This Post? v1.0.0 - 03/23/2000 7:37 PM
Great hack. Work terrific.
Posted By: The Team Re: [ ] Disable HTML in This Post? v1.0.0 - 03/24/2000 12:22 AM
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
© UBB.Developers