Previous Thread
Next Thread
Print Thread
Rate Thread
#128608 09/27/2001 7:10 AM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
WTF! Some Users have weired not converted x html break tags in their postings(
) ...and I have completely N O idea how to remove that **** , perhaps one of you has the same error with this, that error really sux!

Sponsored Links
#128609 09/27/2001 6:38 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Post a URL.
What hacks do you have installed?

#128610 09/28/2001 6:24 AM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
I am sorry , I cannot give out the URL, however, I have smashed the whole code with 100000000 of premade hacks and 1000000000 of small little changes in the code, and I found now a code block which seems to convert the break tags, BUT in fact is does not, it is so weired, because of that I need more information about this conversation,

one more info: these break tags... they are saved like this: <br /> in the forum .cgi files. I hope this give you a bit more help.

[ 09-28-2001: Message edited by: Sn0pD0gG ]

#128611 09/28/2001 10:14 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
that doesn't help at all... frown


- Allen wavey
- What Drives You?
#128612 09/28/2001 1:14 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I think I know what you mean... You didn't use a WYSIWYG, did you? wink

Try to do it with UltraEdit/Noted/Notepad/whatever.

Sponsored Links
#128613 09/28/2001 2:25 PM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
Hm I do not think that the board members do that on purpose...
Is there a possibiliy to convert the "<br />"-Type back to n or br ?

#128614 09/29/2001 9:57 AM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
got more info, so I tested and tested and ... this happens on editiing a post.

File: ubb_edit_post.cgi
sub routine: edit_post
has to to with the $message variable and &CheckCoding and &prep_for_edit.

#128615 09/29/2001 9:59 AM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
Got it now! This happens EXACTLY when I make a single 'new line' (only one)
like this
1
2

if I make two 'new lines' (twice) like that
1

2

it does not appear in editiing....

hm I do not supppose that you know where the error is?

[ 09-29-2001: Message edited by: Sn0pD0gG ]

#128616 09/29/2001 5:06 PM
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
yeah, just found it out on myself just had to add simple at the beginning of subroutine pre_for_edit: $_[0] =~ s/
/n/isg;

Now everything seems to be obiously but there I a lot you have to think about before you get it to work!


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
isaac
isaac
California
Posts: 1,157
Joined: July 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 20221218)