|
|
Joined: Aug 2001
Posts: 68
Member
|
Member
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!
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Post a URL. What hacks do you have installed?
|
|
|
|
Joined: Aug 2001
Posts: 68
Member
|
Member
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 ]
|
|
|
|
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...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I think I know what you mean... You didn't use a WYSIWYG, did you? Try to do it with UltraEdit/Noted/Notepad/whatever.
|
|
|
|
Joined: Aug 2001
Posts: 68
Member
|
Member
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 ?
|
|
|
|
Joined: Aug 2001
Posts: 68
Member
|
Member
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.
|
|
|
|
Joined: Aug 2001
Posts: 68
Member
|
Member
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 ]
|
|
|
|
Joined: Aug 2001
Posts: 68
Member
|
Member
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!
|
|
|
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.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|