Previous Thread
Next Thread
Print Thread
Rate Thread
#50176 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
#50177 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

#50178 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."
#50179 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?

#50180 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
#50181 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?

#50182 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...

#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
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?
#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:
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
#50186 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 ]

#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:
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?
#50188 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 ]

#50189 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!

#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


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


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

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


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

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


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

#50197 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.

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

#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
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
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
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,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)