UBB.Dev
Posted By: Greg Hard Speeding up Thread Loading - 11/05/2000 5:15 AM
Sometimes you wonder to yourself:
"Is it my server, or the ubb"

Answer: Sometimes the ubb, unless your server blows.

This little (actually, large) code modification to ubb_library2.pl, will load the threads 30% faster on most servers, and on some, up to 50% faster!!

Its in beta for alot of reasons.
It is a large code change, i cant be held responsible for any problems that may severely damage your ubb topics.
ALWAYS MAKE BACKUPS OF HACKED FILES!

!Infopop note!: If this code modification is used in any upcoming version of ubb, I request full credit and an infopop mouse pad. [Linked Image] (Inside joke)

NOTE: This code is far from done. I will not release it now. I am working on making a mod for forumdisplay and a similar mod to Ultimate.cgi. I'll keep you updated.

Get it here. http://platform-z.hypermart.net/thread.txt
------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: jlaine Re: Speeding up Thread Loading - 11/05/2000 7:34 PM
Our server doesn't technically blow.. but anything that speeds things up is a verah good thing...
You have piqued my interest... [Linked Image]
Yet again, you tease with the goodies, then say "tomorrow"... lol.. slightly evil you are. [Linked Image]
Did you want an official infopop mug with that mousepad? [Linked Image]

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/05/2000 8:37 PM
I love coffee. I could use a new mug.

I am finishing some tweaks to this now.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: ClasicCybertron Re: Speeding up Thread Loading - 11/05/2000 9:03 PM
Bless you man, will it be compaible with 5.45c?

------------------
"Adventure, Excitement, A Jedi craves not these things." -Silent Bob.
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/05/2000 9:09 PM
Hot damn, i gots an idea.

Yes, it'll work with most versions from 5.40-5.47a.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: NBAustin Re: Speeding up Thread Loading - 11/05/2000 9:11 PM
How about 5.39?
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/05/2000 9:12 PM
NBA, you can try it. It may work.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: gamerzparadize.com Re: Speeding up Thread Loading - 11/05/2000 9:27 PM
I cant wait till you release it MasterMind.

------------------
www.gamerzparadize.com
*ITS HERE*
Check it out!
Posted By: Subzero Re: Speeding up Thread Loading - 11/06/2000 7:21 AM
Yes,,I'm very interested in this hack. When do you think you will release it?
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 1:41 AM
Took longer, but i made ALOT of process.

Thanks to Mark Badalato, who helped me with alot of this. I did some small code crunches to it and should dramatically increase CPU time and loading time.

Download it here! http://platform-z.hypermart.net/thread.txt

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Subzero Re: Speeding up Thread Loading - 11/07/2000 2:18 AM
humm,,it didn't work on mine. Line errors.
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 2:36 AM
Please give me a link

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 3:17 AM
What are we supposed to do with this?

Quote
quote:
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 3:23 AM
That line appears a few times in ubb. Replace it all times.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Screamer Re: Speeding up Thread Loading - 11/07/2000 3:55 AM
Quote
quote:
to

Quote
quote:
It may also be worth checking if it's faster to use

Quote
quote:
This one certainly is cleaner code.

To be honest once I got my hands on the UBB source I was less than impressed by the code quality... far less than impressed.

------------------

print pack "b*",join '',map '0'x$_.'1',split m||,'112111001020031006240200'.
'10100010310041011202200661112022003010651014010301011011202200';

This message has been edited by Screamer on November 06, 2000 at 08:09 PM
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 4:13 AM
I get this error when i try replying to a post after installing this mod.:

Error including required files: Can't declare substitution in my at D:blah...blah...blahubb_library2.pl line 186, near "s/UBBrandomX/$RandomNumber/isg;" Make sure these files exist, permissions are set properly, and paths are set correctly.
Posted By: Parker Clack Re: Speeding up Thread Loading - 11/07/2000 4:17 AM
NBA:

Try using:

if ($Header) {
$Header2 = $Header;
$Header2 =~ s/UBBrandomX/$RandomNumber/isg;
$Header2 =~ s/UBBrandomY/$RandomNumber2/isg;
}
if ($Footer) {
$Footer2 = $Footer;
$Footer2 =~ s/UBBrandomX/$RandomNumber/isg;
$Footer2 =~ s/UBBrandomY/$RandomNumber2/isg;
}

instead. That is the same thing that I came across and this fixed it.

MM:

Woo hoo. Much faster.

Parker
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 4:29 AM
Thanks Parker!

Perfect!

Now...can we speed up postings.cgi? [Linked Image]

Great hack MM!
Posted By: Exstatica Re: Speeding up Thread Loading - 11/07/2000 6:12 AM
this link is down
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 6:26 AM
Here ya go Exstatica....

***********************************
****Speeding Up Thread Loading****

This hack speeds up thread loading.

open ubb_library2.pl.

find:

sub CreateThreadHTML {
my($ForumIs) = shift;
my($ThreadFile) = shift;
my($ArrayStart) = shift;
my($PageNumber) = shift;

$PageNumber = $PageNumber + 0;
$ArrayStart = $ArrayStart + 0;

($trash, $number) = split("Forum", $ForumIs);
$ThreadNumber = substr($ThreadFile, 0, 6);

if ($AllowSearch eq "FALSE") {
$SearchOption = "";
} else {
$SearchOption = qq(| search );
}

replace that whole big block with this:

sub CreateThreadHTML {
my ($ForumIs, $ThreadFile, $ArrayStart, $PageNumber) = @_;

($trash, $number) = split("Forum", $ForumIs);
$ThreadNumber = substr($ThreadFile, 0, 6);

my $SearchOption = ($AllowSearch eq 'FALSE') ? '' : qq(| search );


then find:

if ($RandomNumber) {
$RandomNumber = $RandomNumber + 2;
$RandomNumber2 = $RandomNumber2 + 2;
} else {
@digit = (0..9);
srand(time);
$num1 = rand(10);
$num2 = rand(10);
$num3 = rand(10);
$num4 = rand(10);
$RandomNumber = ("$digit[$num1]" . "$digit[$num2]" . "$digit[$num3]" . "$digit[$num4]");

$RandomNumber2 = $RandomNumber + 1004;
}

replace with:

if ($RandomNumber) {
$RandomNumber += 2;
} else {
@digit = (0..9);
srand(time);
$num1 = rand(10);
$num2 = rand(10);
$num3 = rand(10);
$num4 = rand(10);
$RandomNumber = ($digit[$num1] . $digit[$num2] . $digit[$num3] . $digit[$num4]);

$RandomNumber2 = $RandomNumber + 1004;
}

find:

if ($DisplayRegistration eq "NO") {
$RegLinkHere = "";
} else {
$RegLinkHere = qq(profile | register |);
}

replace with:

my $RegLinkHere = ($DisplayRegistration eq 'NO') ? '' : qq(| register );

find:

if ($ProfileNumber ne "") {

replace with a simple line like:

if ($ProfileNumber) {
DO THAT 6 TIMES OR SO!!!!

find:

if ($Header) {
$Header2 = $Header;
$Header2 =~ s/UBBrandomX/$RandomNumber/isg;
$Header2 =~ s/UBBrandomY/$RandomNumber2/isg;
}
if ($Footer) {
$Footer2 = $Footer;
$Footer2 =~ s/UBBrandomX/$RandomNumber/isg;
$Footer2 =~ s/UBBrandomY/$RandomNumber2/isg;
}

replace that with:

if ($Header) {
my $Header =~ s/UBBrandomX/$RandomNumber/isg;
my $Header =~ s/UBBrandomY/$RandomNumber2/isg;
}
if ($Footer) {
my $Footer =~ s/UBBrandomX/$RandomNumber/isg;
my $Footer =~ s/UBBrandomY/$RandomNumber2/isg;
}

That saves plenty of CPU time right in that small code there.

There is so much we could do to this **** code here.

I can do this to other files too, but thats what ted is doing now.

THIS IS EXPECTED TO BE UPDATED SOON!!!!!!!

******************************************
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 6:29 AM
MM,

It would be really cool if you could do postings.cgi, and I for one would be very appreciative!
Posted By: Subzero Re: Speeding up Thread Loading - 11/07/2000 2:28 PM
Quote
quote:
Got the same general error http://www.subzeroland.com
Posted By: Screamer Re: Speeding up Thread Loading - 11/07/2000 3:16 PM
I don't know what's wrong... it worked for me and it certainly is valid Perl. Actually I was thinking myself a log there - the real clean version would look like so:
Quote
quote:
------------------
print pack "b*",join '',map '0'x$_.'1',split m||,'112111001020031006240200'.
'10100010310041011202200661112022003010651014010301011011202200';
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 3:54 PM
dont know whats wrong. Works fine, and i see no errors.
postings.cgi is next. [Linked Image]

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 4:43 PM
Quote
quote:
Whoo Hoo!

Thanks so much in advance MM!
Posted By: CTH Re: Speeding up Thread Loading - 11/07/2000 7:08 PM
Hey,

I'm not sure if I'm getting some sort of placebo effect after adding this mod but sheesh my boards are flying lol [Linked Image]

Thanks to Parker for the extra bit because I too had the same problem as NBAustin on my fully modded 5.47 UBB

Cheers MM great mod as always [Linked Image]

TotalNewbie
Posted By: WEAPON Re: Speeding up Thread Loading - 11/07/2000 7:27 PM
Quote
quote:
Hmm...by replacing this, there is no longer a 'profile' link nor a 'register' link. And the acronym for the register text is the same as what's supposed to be for the search text. Also, the search text is no longer a link. I ended up fixing this manually, but you may want to change this in the file, MM.

------------------
-Webmaster of Cheat City

This message has been edited by WEAPON on November 07, 2000 at 11:28 AM
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/07/2000 7:41 PM
Nice work MM, and thanks MArk an those who have contributed...

------------------
Allen

- http://www.stand318.com
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 7:46 PM
Thanks allen.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 7:53 PM
He helped me with 99% of this actually.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Mark Badolato Re: Speeding up Thread Loading - 11/07/2000 7:58 PM
No 99% is high, i just made a few suggestions of things I do to improve speed on some of my stuff.

Removing extraneous tests, removing doubling up on variables, moving to faster operators where necessary (and using the benchmark module to test).

Basic stuff, and i only looked at a routine or two for about 10 minutes. Nothing earth shattering.

So any speed increases you see, are all Mastermind's hard work!

--mark
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 8:17 PM
Well...You made me happy. [Linked Image]



------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 8:25 PM
Instructions updated with a fix and new code replacement!!!

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 8:40 PM
Make that 2 more. Do the bottom 2 if you already added it.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 8:56 PM
Quote
quote:
Could you kindly post your fix. I think I did it right...just want to make sure.
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 9:04 PM
Updated once more with another code mod.

WEAPON, shouldn't happen..

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 9:09 PM
Added three fixes!

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/07/2000 9:11 PM
Looking good MM... when you do the updates, can you put a date/time stamp on it so we'll know which version we have?

------------------
Allen

- http://www.stand318.com
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 9:16 PM
i wish i read your post before i added 4-5 fixes.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/07/2000 9:23 PM
it's ok.. just start now... so we'll know if we have the latest version...

------------------
Allen

- http://www.stand318.com
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 9:37 PM
There's still a problem with the links in the threads.
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 9:48 PM
Post your board URL.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 9:50 PM
nevermind. Your right.
I have updated that fix in the last release. Replace all the coding with search in it.

Allen, how do i timestamp it? :[Linked Image]:

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 9:52 PM
Look at this one:
http://www.unitedconservatives.com/ubb/Forum2/HTML/000528-7.html
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 10:25 PM
MM,

It's still messed up. I fixed the profile error with the pipe problem, but the reg and search links are still messed up.
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 10:34 PM
MM,

I have the reg link fixed using this code:

my $RegLinkHere = ($DisplayRegistration eq 'NO') ? '' : qq( profile | register | );
****************

The search link is still messed up.
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/07/2000 10:42 PM
find:

Code
code:

replace that with the new code

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 10:57 PM
I've fixed all the links.

here is the complete code for the hack:
*Edited the other code out*

find:

if ($Header ne "") {
$Header2 = $Header;
$Header2 =~ s/UBBrandomX/$RandomNumber/isg;
$Header2 =~ s/UBBrandomY/$RandomNumber2/isg;
}
if ($Footer ne "") {
$Footer2 = $Footer;
$Footer2 =~ s/UBBrandomX/$RandomNumber/isg;
$Footer2 =~ s/UBBrandomY/$RandomNumber2/isg;
}

replace that with:

if ($Header) {
$Header2 = $Header;
$Header2 =~ s/UBBrandomX/$RandomNumber/isg;
$Header2 =~ s/UBBrandomY/$RandomNumber2/isg;
}
if ($Footer) {
$Footer2 = $Footer;
$Footer2 =~ s/UBBrandomX/$RandomNumber/isg;
$Footer2 =~ s/UBBrandomY/$RandomNumber2/isg;
}


All new code addons will be added to the bottom ~MM~
************************************
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/07/2000 11:02 PM
Just put the time and date of your latest fix either at the top or bottom of the text file.... that way I can click on the link and see if it is newer than the one I have without comparing the files to see if there is a change... kinda like a version number.

You could do something like:

v1-11-07-00-12:30pm

the next one could be:

v1-11-07-00-3:40pm

Once you get a "final" draft, we can give it a real documenting and post it to the database. If new changes are made after that, we can begin putting a bug fix/ change note at the bottom of the header info.

------------------
Allen

- http://www.stand318.com
Posted By: NBAustin Re: Speeding up Thread Loading - 11/07/2000 11:24 PM
The code I pasted above has the header and footer fixes and the link fixes.
Posted By: jlaine Re: Speeding up Thread Loading - 11/07/2000 11:41 PM
I just installed this hack in my beta forum---- it could be wishful thinking, or it may not be... but from what I can see- the change is noticable... and well worth it...
Excellent job MM... anything that speeds up the forum and drops the cpu usage of the server is a good thing in my book.. now if postings.cgi was faster... wooo hooo!

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/08/2000 1:29 AM
beta testing it here as well... let me know if you see any problems...

------------------
Allen

- http://www.stand318.com
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/08/2000 1:30 AM
I guess that answers that... no header/ footer info in the latest version downloaded 10 minutes ago..

------------------
Allen

- http://www.stand318.com
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/08/2000 1:32 AM
just put the old one back up... will look for the bug fixes from this thread before re-uploading..

------------------
Allen

- http://www.stand318.com
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/08/2000 1:40 AM
OK.. testing now with NBA's posted bug fixes...

------------------
Allen

- http://www.stand318.com
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/08/2000 1:41 AM
seems quite a bit faster... let me know what you think...

------------------
Allen

- http://www.stand318.com
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/08/2000 1:46 AM
The only fix NBA posted was the header one. nothing else changed in his code.

Doc updated/

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/08/2000 1:58 AM
oh no.
NBA, i am sorry.
oh goodness. The text file is dead...



------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/08/2000 2:14 AM
Fixed.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: jlaine Re: Speeding up Thread Loading - 11/08/2000 2:30 AM
I didn't have any headers or footers on my beta site.. will re-insert the new text and put some in and get back to everyone...

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Subzero Re: Speeding up Thread Loading - 11/08/2000 4:13 AM
Holy MOMA!!!!
Ok,got it to work,,must of been an error on my end,,sorry
It works,,holy freakin fast!!
Thanks guys.
Posted By: zapper Re: Speeding up Thread Loading - 11/08/2000 4:47 AM
I've been reading and using this board for quite a while and don't post much. I just wanted to let you know that I just put this mod on my board (this is the first beta I've tried) and it is stellar. Kudos to all of you who have worked so hard to get it right. My board is pretty basic so I didn't have any header, footer problems.

Once again thank you and keep up the good work!


------------------
Indoor Lacrosse... The fastest game on two feet.

The Buffalo Bandits Boosters
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/08/2000 5:15 AM
I'll move this to FINSIHED mods!

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: SpAwN Re: Speeding up Thread Loading - 11/08/2000 6:05 AM
Hi,

MM i am using the cosmatics hack, which means i got icons for search, profile, register etc.. etc... lines.

Is there a way to keep the icons with using this hack?

Thanks [Linked Image]

------------------

I got also UBB hacks database
Posted By: Sal Collaziano Re: Speeding up Thread Loading - 11/08/2000 7:35 AM
Can someone please tell me if I have the right version? It's running at: http://www.80sxchange.com/ubbcgi/Ultimate.cgi?action=intro

I did it this afternoon and everything seems to be working okay. How do I know if I missed something? I'm not really good at these hacks so I could use any help I can get...

------------------
Sal Collaziano
www.80sxchange.com and

Posted By: PhOeNiX LanDinG Re: Speeding up Thread Loading - 11/08/2000 8:20 AM
Hey man... why don't you post a new link with a DIFFERENT URL so that people can compare stuff. Just to be safe.

PhOeNiX LanDinG

------------------
X-Admin Of Gaming Update
Pioneer of Gamespecs.com
Posted By: jlaine Re: Speeding up Thread Loading - 11/08/2000 2:00 PM
I have everything working except the search link in the thread body... Was this updated somewhere inside your text file that I missed MM?
Link:
http://www.carstereos.org/images/Forum1/HTML/000043.html
Other than that... everything I have seen so far indicates a signifigant change for the better!

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Ell Re: Speeding up Thread Loading - 11/08/2000 3:14 PM
Yeah, UBB is a poorly coded piece of *cough*. If you want to see what it SHOULD look like, have a look at an Ultraboard (UBB-inspired imitation).. it has database access, and decent coding... of course, it's absolutely impossible to modify without a degree in Perl, but nevermind. [Linked Image] I've heard UBB 6 is supposed to be a lot cleaner.

Question: I'm still running a slightly outdated UBB version (5.45c) so I don't know if this is built in to subsequent releases, but this probably WAS the best mod I ever installed. If it's not in the currently circulating UBBs, I suggest you add it to your mod, MasterMind.
Posted By: NBAustin Re: Speeding up Thread Loading - 11/08/2000 5:58 PM
Quote
quote:
I fixed all the links and included Parker's header/footer fix in the code I posted yesterday.



This message has been edited by NBAustin on November 08, 2000 at 10:01 AM
Posted By: NBAustin Re: Speeding up Thread Loading - 11/08/2000 6:00 PM
Quote
quote:
You'll have to manually do the imgsrc= stuff to include the icons in the $myreglink line of the code.
Posted By: NBAustin Re: Speeding up Thread Loading - 11/08/2000 6:04 PM
Quote
quote:
No problem.

Parker Clack did the Header/Footer fix...I did all the link fixes.

Glad to be of help.



This message has been edited by NBAustin on November 08, 2000 at 10:04 AM
Posted By: jlaine Re: Speeding up Thread Loading - 11/08/2000 7:23 PM
Quote
quote:
You referring to this one where it was removed?
I'll grab the text file again to see if I missed it...
The other post you did fixed everything but the search link, which is where I am stopped also.


------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/08/2000 7:44 PM
Spawn, Add the IMAGE tags by itself.
Borg, i have it installed and i will repost it sometime.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Sparky Re: Speeding up Thread Loading - 11/08/2000 8:38 PM
so... can someone tell me what the link is to the latest version, which fixes all the problems with the "register" and "search" links and everything? thanks.
Posted By: jlaine Re: Speeding up Thread Loading - 11/08/2000 10:00 PM
Quote
quote:

Could someone that has installed this please check their General Variables??
After installing it I lost the majority of the control panel controls. The major ones- (url, absolute paths) were there, but some of the others, (mostly toggle controls) were missing- the ones in the second column.
After uninstalling the hack I was able to access the GV's again, all of them- so I am assuming it has something to do with it?


------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: jlaine Re: Speeding up Thread Loading - 11/08/2000 10:02 PM
Correction: it was just that. I lost all toggle controls:
IE- On/off, yes/no, etc...


------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/08/2000 10:09 PM
That's a very interesting bug...
Did you hack anything else?

This shouldn't really do that. All we did was speed up ubb_lib2.pl

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: jlaine Re: Speeding up Thread Loading - 11/08/2000 10:37 PM
Yes- there are several hacks installed on my beta forum.
The ones that would add a line to cpanel2.cgi would be the newsfader hack alone I think (the toggle in the first column there worked fine, but the second column toggles were all gone).... Offhand I can't think of anything else that would have changed it. I will have to recheck my log at home.

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: jlaine Re: Speeding up Thread Loading - 11/08/2000 11:16 PM
I think this is an issue in my coding elsewhere. I found an error I have to take care of ASAP on my beta forum. I will let you know once I filter that issue out.


------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: jordo Re: Speeding up Thread Loading - 11/09/2000 3:09 AM
i had the same problem with the control panel. on the second or third page someone (i forget who) had posted the entire hack in their msg, and it had some stuff they had added, including -at the end- one line that edited my radio or something like that. cpanel uses ubb_lib2 to create the radio buttons it uses, and that line was bad, thats why the radio buttons all dissapeared in the control panel, take that line (with radio in it) out, or just intall from the current file mastermind has up and it will be fine.
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/09/2000 3:18 AM
So that's where my radio buttons in general settings went... they all disappeared this afternoon, and I never could figure out what happened...

------------------
Allen

- http://www.stand318.com
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/09/2000 3:30 AM
yep, that's what did it... it was the sub InputRadioRow changed in one of the interim versions that stole the radio buttons... check that jlaine... it was the changes made at the bottom of the mod version I downloaded yesterday evening...

------------------
Allen

- http://www.stand318.com
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/09/2000 3:39 AM
GOODNESS! I thought i corrected that. Your right!

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: jlaine Re: Speeding up Thread Loading - 11/09/2000 6:34 AM
Quote
quote:
Excellent- I will get that repaired then... since after I had fixed my other error the problem hadn't gone away, the commencement of the pulling out of all my hair had started... lol
If you could kindly let me know when you have your text file updated MM I would appreciate it, I like to log all changes and store the most updated files on my server in case of something drastic happening... [Linked Image]



------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Sal Collaziano Re: Speeding up Thread Loading - 11/09/2000 6:12 PM
Well, I'm really glad more than only me had this problem. I have confidence it can be fixed now. But if I delete any of the lines below, I get an error when I go to General Settings:

sub InputRadioRow {
my ($RowColor, $FieldName, $Notes, $InputField, $Cols, $Rows) = @_;
if ($Notes ne "") {
$Notes = "
$Notes";
}

What do I need to remove? I've tried all of it, just the sub row, and both the sub and my row... Please help me out...
Posted By: Subzero Re: Speeding up Thread Loading - 11/09/2000 6:32 PM
I have to correct myself. The hack worked great, but with bugs.
It wouldn't let me into curtain control panels, like forums or User Permissions. It kept saying No record of that username. I could however get into General Settings, and announcments. I took the hack outand it worked fine again. This completly confuses me to why it did this, but then again I am new to this.

------------------
Love life, feel life,,be life.
Posted By: errol Re: Speeding up Thread Loading - 11/09/2000 7:31 PM
This hack works great at my board.

Not sure what the radio button issue is about. Where should I look for this?

Thanks,
Errol
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/09/2000 7:36 PM
Our radio button problem was in general settings...

Just put the sub back to like it was:

sub InputRadioRow {
my $RowColor = shift;
my $FieldName = shift;
my $Notes = shift;
my $RadioStuff = shift;

if ($Notes) {
$Notes = "
$Notes";
}

------------------
Allen

- http://www.stand318.com
Posted By: Sal Collaziano Re: Speeding up Thread Loading - 11/09/2000 7:53 PM
Thank you very much! That fixed my problems!
Posted By: Ghoste Re: Speeding up Thread Loading - 11/09/2000 8:24 PM
That radio problem isnt in my .txt -- wierd.

This .txt is only about ubb_library2.pl



------------------
Liquid FX Design.com
-------------------
Posted By: AllenAyres Re: Speeding up Thread Loading - 11/09/2000 11:39 PM
You are correct Ghoste, it was in an interim version yesterday...

ubb_library2.pl is required in most of the ubb files, and any of them that use that sub routine for radio buttons was affected...

------------------
Allen

- http://www.stand318.com
Posted By: Ghoste Re: Speeding up Thread Loading - 11/10/2000 2:04 AM
Good , I guess I got the right version then - I see no problems. Hack works great MM.

-Ghoste

------------------
Liquid FX Design.com
-------------------
Posted By: errol Re: Speeding up Thread Loading - 11/10/2000 7:52 AM
To NBA Austin,

Regarding the Search link being not linked...

I'm no Perl programmer but I looked at the code below:

Code
code:

It has no a href attached to it. So, if you do this:

Code
code:

The Search link should now be linked.

Hope that helps.

Thanks,
Errol
Posted By: zapper Re: Speeding up Thread Loading - 11/10/2000 7:06 PM
I've been following this thread since the beginning. I had the hack installed and it seemed to work fine. As I continued to follow the thread I made some of the suggested fixes and lo and behold......I managed to really screw it up. The help I get from this board is greatly appreciated and I would like to get this mod set up on my site again.

Could some one please direct me to the complete code mods needed to get this thing going? The one at http://platform-z.hypermart.net/thread.txt
does not include the fixes mentioned in the thread.

Thanks in advance.

------------------
Indoor Lacrosse... The fastest game on two feet.

The Buffalo Bandits Boosters
Posted By: Greg Hard Re: Speeding up Thread Loading - 11/10/2000 7:20 PM
That was an immediate backup to the other server. I will make a new thread about this hack in a bit.
Closed.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
© UBB.Developers