Previous Thread
Next Thread
Print Thread
Rate Thread
#188210 08/08/2001 10:44 AM
Joined: May 2001
Posts: 81
Member
Member
Offline
Joined: May 2001
Posts: 81
I remember MM did some hacks for 5.xx to speed up the UBB.. how about some for UBB6?

Sponsored Links
#188211 08/08/2001 11:00 AM
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
But 6.1.0 is already speed up. wink

#188212 08/08/2001 11:19 AM
Joined: Oct 2000
Posts: 117
Member
Member
Offline
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."
#188213 08/08/2001 11:23 AM
Joined: Aug 2000
Posts: 299
Member
Member
Offline
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?

#188214 08/08/2001 11:25 AM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
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.

Sponsored Links
#188215 08/08/2001 1:22 PM
Joined: May 2001
Posts: 81
Member
Member
Offline
Joined: May 2001
Posts: 81
But couldn't it be sped up a lil bit more?

#188216 08/08/2001 2:05 PM
Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
quote:
Originally posted by Soul:
But couldn't it be sped up a lil bit more?


Probably...

#188217 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.
#188218 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
smile

I'll work on them this evening. I think I remember where that went... more reverse_ubb_code I believe


- Allen wavey
- What Drives You?
#188219 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:
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:
Code

$returner = qq~ <img src="$string" alt="" /> ~;



?

smile


- Allen wavey
- What Drives You?
Sponsored Links
#188220 08/08/2001 3:44 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Try
code:
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 ]

#188221 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:
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...


- Allen wavey
- What Drives You?
#188222 08/08/2001 4:15 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
[Linked Image]

Working fine

[ August 08, 2001: Message edited by: LK ]

#188223 08/08/2001 4:21 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
If you mean Graemlins, use:

code:
Code
		$_[0] =~ s/ ?<img src="$short->{'image'}" border="0" alt="" /> ?/ $short->{'trigger'} /gi;


And in sub prep_for_edit!

#188224 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


- Allen wavey
- What Drives You?
#188225 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?


- Allen wavey
- What Drives You?
#188226 08/08/2001 4:27 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Yeah, it should be exactly like I said above

#188227 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? smile


- Allen wavey
- What Drives You?
#188228 08/08/2001 4:28 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
quote:
Originally posted by AllenAyres:


aaaahhhhh.. yes, that was the problem laugh

#188229 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
tipsy


- Allen wavey
- What Drives You?
#188230 08/09/2001 9:36 AM
Joined: Nov 2000
Posts: 2,759
Pooh-Bah
Pooh-Bah
Offline
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

#188231 08/09/2001 9:40 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It's not local yet.

About the other thing, there are some problems with nrn ->

and UBBCode.

#188232 08/09/2001 9:51 AM
Joined: Nov 2000
Posts: 2,759
Pooh-Bah
Pooh-Bah
Offline
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

#188233 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
tipsy


- Allen wavey
- What Drives You?

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 20240430)