#50176
08/08/2001 10:44 AM
|
Joined: May 2001
Posts: 81
Member
|
Member
Joined: May 2001
Posts: 81 |
I remember MM did some hacks for 5.xx to speed up the UBB.. how about some for UBB6?
|
|
|
#50177
08/08/2001 11:00 AM
|
Joined: Aug 2000
Posts: 299
Member
|
Member
Joined: Aug 2000
Posts: 299 |
But 6.1.0 is already speed up. 
|
|
|
#50178
08/08/2001 11:19 AM
|
Joined: Oct 2000
Posts: 117
Member
|
Member
Joined: Oct 2000
Posts: 117 |
I think the xhtml validation is supposed to speed up the rendering of the pages.
Duke
"Life is tough, it's tougher if you're stupid."
|
|
|
#50179
08/08/2001 11:23 AM
|
Joined: Aug 2000
Posts: 299
Member
|
Member
Joined: Aug 2000
Posts: 299 |
quote: Originally posted by The Duke of URL: I think the xhtml validation is supposed to speed up the rendering of the pages.
How do you implement xhtml validation on a normal HTML page?
|
|
|
#50180
08/08/2001 11:25 AM
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
quote: Originally posted by certify:
How do you implement xhtml validation on a normal HTML page?
Read AllenAyres column in the July U-Zine. He explains alot about it.
|
|
|
#50181
08/08/2001 1:22 PM
|
Joined: May 2001
Posts: 81
Member
|
Member
Joined: May 2001
Posts: 81 |
But couldn't it be sped up a lil bit more? 
|
|
|
#50182
08/08/2001 2:05 PM
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
quote: Originally posted by Soul: But couldn't it be sped up a lil bit more? 
Probably...
|
|
|
#50183
08/08/2001 2:31 PM
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
quote: Originally posted by Soul: But couldn't it be sped up a lil bit more? 
Whathuh? Ah. Allen added an alt tag to the Graemlin, but the edit/quote routines won't process it...
UBB.classic: Love it or hate it, it was mine.
|
|
|
#50184
08/08/2001 2:32 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I'll work on them this evening. I think I remember where that went... more reverse_ubb_code I believe 
|
|
|
#50185
08/08/2001 3:42 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
quote: Originally posted by Soul: But couldn't it be sped up a lil bit more? 
hmmmm... any idea how to rewrite this in sub reverse_ubb_code: code:
if ($_[1] ne "OFF") { $_[0] =~ s/(<IMG SRC=")(S+)(">)/[img]$2[/img]/isg; }
so that it will allow the alt="" I added into sub imageize: code:
$returner = qq~ <img src="$string" alt="" /> ~;
? 
|
|
|
#50186
08/08/2001 3:44 PM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Try code:
if ($_[1] ne "OFF") { $_[0] =~ s/(<img src=")(S+)(" alt="" />/[img]$2[/img]/isg; }
Maybe there is a mistake because of the But it's for [img], not smilies. [edit: hopefully fixed a problem caused by the smiley] [edit 2: forgot about something] [ August 08, 2001: Message edited by: LK ]
|
|
|
#50187
08/08/2001 4:11 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
once again I got an error the first time due to an unmatched (, so I added one to make it this: code:
if ($_[1] ne "OFF") { $_[0] =~ s/(<img src=")(S+)(" alt="" />)/[img]$2[/img]/isg; }
but I believe we're getting the same result. Maybe the problem lies in that alt="" should be a part of $string and not seperate...
|
|
|
#50188
08/08/2001 4:15 PM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Working fine  [ August 08, 2001: Message edited by: LK ]
|
|
|
#50189
08/08/2001 4:21 PM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
If you mean Graemlins, use: code:
$_[0] =~ s/ ?<img src="$short->{'image'}" border="0" alt="" /> ?/ $short->{'trigger'} /gi;
And in sub prep_for_edit! 
|
|
|
#50190
08/08/2001 4:25 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
quote: Originally posted by Soul: But couldn't it be sped up a lil bit more? 
I am already using that, it doesn't seem to be the problem... ^^^ this is what seems to be the problem 
|
|
|
#50191
08/08/2001 4:26 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
in sub prep_for_edit my alt has alt="icon" in it, do you think that is what the problem is?
|
|
|
#50192
08/08/2001 4:27 PM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yeah, it should be exactly like I said above
|
|
|
#50193
08/08/2001 4:27 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
quote: Originally posted by Soul: But couldn't it be sped up a lil bit more? 
|
|
|
#50194
08/08/2001 4:28 PM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
quote: Originally posted by AllenAyres:
aaaahhhhh.. yes, that was the problem 
|
|
|
#50195
08/08/2001 4:29 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
#50196
08/09/2001 9:36 AM
|
Joined: Nov 2000
Posts: 2,759
Pooh-Bah
|
Pooh-Bah
Joined: Nov 2000
Posts: 2,759 |
I noticed that the W3C icon was back on the bottom. I'm guessing that you downloaded it so it's local. Anywho, I decided to click on it...just for giggles you know. Anyway, it didn't pass the test. So do we have to remove the icon again? -Tacks
|
|
|
#50197
08/09/2001 9:40 AM
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It's not local yet.
About the other thing, there are some problems with nrn ->
and UBBCode.
|
|
|
#50198
08/09/2001 9:51 AM
|
Joined: Nov 2000
Posts: 2,759
Pooh-Bah
|
Pooh-Bah
Joined: Nov 2000
Posts: 2,759 |
Ah, quite right! Guess they were a little sluggish the other day. I noticed the
roblem several times in the validation report. Maybe we should leave out as much whitespace as possible when composing out posts. -Tacks
|
|
|
#50199
08/10/2001 12:32 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
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: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|