|
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?
|
|
|
|
Joined: Aug 2000
Posts: 299
Member
|
Member
Joined: Aug 2000
Posts: 299 |
But 6.1.0 is already speed up.
|
|
|
|
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."
|
|
|
|
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?
|
|
|
|
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.
|
|
|
|
Joined: May 2001
Posts: 81
Member
|
Member
Joined: May 2001
Posts: 81 |
But couldn't it be sped up a lil bit more?
|
|
|
|
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...
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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="" /> ~;
?
|
|
|
|
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 ]
|
|
|
|
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...
|
|
|
|
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 ]
|
|
|
|
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!
|
|
|
|
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
|
|
|
|
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?
|
|
|
|
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
|
|
|
|
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?
|
|
|
|
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
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|