UBB.Dev
Posted By: Greg Hard Speeding up Thread Loading (Part 2) - 11/10/2000 7:33 PM
I just updated it to tweak a bit more. Postings.cgi and Forumdisplay are next.

Download it here

------------------
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
Hey Mastermind,

Am I able to go in and compare your new version with my current (already modified with the previous version) files? Or do I need to remove the one I put in first?
Posted By: Greg Hard Re: Speeding up Thread Loading (Part 2) - 11/10/2000 8:13 PM
Sal,
You can compare. Nothing in the old version changed, i just added.

------------------
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: GoTorankusuKu Re: Speeding up Thread Loading (Part 2) - 11/10/2000 9:06 PM
I had tweak the code a bit because the links for the profile, registration, and search after installing this tweak didn't work. But, I do see the improvement in loading, thanks MM!

------------------
The Fusion of Goku & Trunks...GoTorankusuKu
Posted By: zapper Re: Speeding up Thread Loading (Part 2) - 11/10/2000 10:56 PM
I also had to tweak it a bit to get the register link to work.

This is what I changed:
Quote
quote:
To:
Quote
quote:
I'm a novice at this so there's no guarantee on how this will affect your mod.
Always back up your files!!!

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

The Buffalo Bandits Boosters

This message has been edited by zapper on November 10, 2000 at 02:58 PM
Posted By: Ryan Little Re: Speeding up Thread Loading (Part 2) - 11/11/2000 12:07 AM
Absolutely Wonderful! Works like a charm... Sped up the forum considerably. I can't wait for the Postings.cgi and Forumdisplay mod. Keep up the good work Mastermind.

------------------
Founder / CEO / Editor-In-Chief @ WeBreezes.com

Hacker- A person who enjoys exploring the details of programmable systems and how to stretch their capabilities
Posted By: NBAustin Re: Speeding up Thread Loading (Part 2) - 11/11/2000 8:34 PM
I think we have a bug here, or it's in the GetUserNumber speed up.

The daily topics doesn't display anything now.
Posted By: NBAustin Re: Speeding up Thread Loading (Part 2) - 11/11/2000 10:05 PM
OK....

The bug is definitely in the threadload speed up and NOT in the getusernumber speed-up.

I took out the new additional "tweak" code,
(everything BELOW "my ($UN, $PW) = @_;" EXCEPT: "my ($RowColor, $FieldName, $Notes, $InputField, $Cols, $Rows) = @_;")put back the old code, and reupped and updated threads. The Daily Topics are now showing up as they are being posted or replied to.

I noticed this code isn't in the latest version:
*********************************
find:

sub ConvertForums2HTML {
my($ForumNumber) = shift;
my($ForumTotal) = shift;
my($StartWith) = shift;

replace that with:

sub ConvertForums2HTML {
my ($ForumNumber, $ForumTotal, $StartWith) = @_;
**************************

Why has that been removed?

This message has been edited by NBAustin on November 11, 2000 at 02:27 PM
Posted By: Ghoste Re: Speeding up Thread Loading (Part 2) - 11/12/2000 12:24 AM
My daily topics work fine...

-Ghoste

------------------
Liquid FX Design.com
-------------------
Posted By: BetaBoy Re: Speeding up Thread Loading (Part 2) - 11/12/2000 11:54 PM
I was having similar problem with "Latest Posts SSI" as it removed all the topics.
I have reverted back to the pre-code.


------------------
The MyDivX ;-) Forums
http://www.mydivx.com/cgi-bin/Ultimate.cgi
Posted By: Parker Clack Re: Speeding up Thread Loading (Part 2) - 11/13/2000 6:38 PM
MM:

Would it be advisible to change:

my($ForumNumber) = shift;
my($ForumTotal) = shift;
my($StartWith) = shift;

to

my ($ForumNumber, $ForumTotal, $StartWith)= @_;

this occurs at the top of the ubblibrary_2 file.

Thanks,
Parker
Posted By: Greg Hard Re: Speeding up Thread Loading (Part 2) - 11/13/2000 9:26 PM
Yes. Thats not in their already?

------------------
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 (Part 2) - 11/14/2000 12:27 AM
Quote
quote:
No it isn't MM. It was before you changed some stuff.

It's also missing this code to fix some links:

my $RegLinkHere = ($DisplayRegistration eq 'NO') ? '' : qq( profile | register | );
Posted By: Parker Clack Re: Speeding up Thread Loading (Part 2) - 11/14/2000 2:52 AM
MM:

Like NB said it is not but I was wondering if the code that I used is what I want to use in this case.

Thanks,
Parker
Posted By: Greg Hard Re: Speeding up Thread Loading (Part 2) - 11/14/2000 3:20 AM
You can use that 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: Ghoste Re: Speeding up Thread Loading (Part 2) - 11/14/2000 3:44 AM
I still havent found any problems in this mod. Thanks MM for your work.

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

Liquid FX Design.com | Ghoste.com | AuctionVilleUSA.com
GamingRC.com | ThrillKillClan.com
Posted By: GoTorankusuKu Re: Speeding up Thread Loading (Part 2) - 11/14/2000 6:58 AM
Yeah there were some left out that could've been changed. I changed them and saw a slight boost in loading. Hey, better than nothing. I'm using 5.44 so it might have been different.

------------------
The Fusion of Goku & Trunks...GoTorankusuKu
Posted By: BetaBoy Re: Speeding up Thread Loading (Part 2) - 11/14/2000 9:49 AM
I tried again to install this... Just to double check myself and it is a problem with "Latest Posts SSI" as it removes all the topics or I should say effect it from inserting via SSI.

------------------
The MyDivX ;-) Forums
http://www.mydivx.com/cgi-bin/Ultimate.cgi
Posted By: errol Re: Speeding up Thread Loading (Part 2) - 11/14/2000 5:02 PM
This mod including Parker's work fine on my board.

Thanks guys for all the hard work and for sharing it with us.

v/r,
Errol
Posted By: Parker Clack Re: Speeding up Thread Loading (Part 2) - 11/15/2000 7:08 PM
Nevermind.

Parker

This message has been edited by Parker Clack on November 15, 2000 at 11:25 AM
Posted By: Sparky Re: Speeding up Thread Loading (Part 2) - 11/17/2000 11:10 PM
This mod made the "Today's Active Posts" function screw up. You get a page that says "Displaying Topics 1 - 40 (69 total)" but nothing is actually displayed.
Posted By: Parker Clack Re: Speeding up Thread Loading (Part 2) - 11/17/2000 11:55 PM
Sparky:

Read up a few lines for a post about a fix for this by NBAustin.

Parker
Posted By: ASC Re: Speeding up Thread Loading (Part 2) - 11/22/2000 4:08 PM
Ok, I added this mod and one other speed-up mod. Now, My "New Topics Posted Today" displays nothing. These are the only two mods I have installed recently and everything was fine until now.

I have read above but do not seem to see any fix for this even though someone referenced one.
Posted By: Greg Hard Re: Speeding up Thread Loading (Part 2) - 11/22/2000 5:47 PM
This mod is at fault for your problem. Please bare with us.

------------------
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: GoTorankusuKu Re: Speeding up Thread Loading (Part 2) - 11/22/2000 7:54 PM
Yeah I'm having the same problem with the Today's Active Topics not showing any at all. Good thing my members don't use this function.

Update: UBBDev seems to have their active topics working.
------------------
The Fusion of Goku & Trunks...GoTorankusuKu

This message has been edited by GoTorankusuKu on November 22, 2000 at 11:56 AM
Posted By: Greg Hard Re: Speeding up Thread Loading (Part 2) - 11/22/2000 9:02 PM
Error was fixed by NBAustin.

------------------
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: GoTorankusuKu Re: Speeding up Thread Loading (Part 2) - 11/23/2000 12:53 AM
Where's the fix? I can't seem to find it.

------------------
The Fusion of Goku & Trunks...GoTorankusuKu
Posted By: ASC Re: Speeding up Thread Loading (Part 2) - 11/23/2000 4:38 PM
NBAustion...

Can you please post specifically what you changed back to get the "Today's Threads" to display.

Thank you.
Posted By: errol Re: Speeding up Thread Loading (Part 2) - 11/23/2000 4:46 PM
Hi NBAAustin,

I hope I understand your fix.

You suggest to take out "the new additional "tweak" code,(everything BELOW "my ($UN, $PW) = @_;" EXCEPT: "my ($RowColor, $FieldName, $Notes, $InputField, $Cols, $Rows) = @_;") and put back the old code.

Looking at the MM's instructions,

************
my ($UN, $PW) = @_;

find:

my $UpdateTitle = shift;
my $UpdateWording = shift;

replace with:

my ($UpdateTitle, $UpdateWording) = @_;

find:

my $FieldName = shift;

my $Notes = shift;
my $VarName = shift;
my $RowColor = shift;
my $colspan = shift;

replace with:

my ($FieldName, $Notes, $VarName, $RowColor, $colspan) = @_;

find:

my $RowColor = shift;
my $FieldName = shift;
my $Notes = shift;
my $InputField = shift;
my $Cols = shift;
my $Rows = shift;

replace with:

my ($RowColor, $FieldName, $Notes, $InputField, $Cols, $Rows) = @_;

****************

Does your fix mean below?

*** put back:

my $UpdateTitle = shift;
my $UpdateWording = shift;

*** for:

my ($UpdateTitle, $UpdateWording) = @_;


*** Put back:

my $RowColor = shift;
my $FieldName = shift;
my $Notes = shift;
my $InputField = shift;
my $Cols = shift;
my $Rows = shift;

*** for:

my ($RowColor, $FieldName, $Notes, $InputField, $Cols, $Rows) = @_;

Thanks,
Errol

This message has been edited by errol on November 23, 2000 at 09:01 AM
Posted By: kev2me Re: Speeding up Thread Loading (Part 2) - 11/27/2000 4:32 AM
This may be the problem:
Quote
quote:
Instead of $forumnumr it should be $forumnum

Same with:

Quote
quote:
Again $forumnumr has that 'r' at the end that shouldn't be there.
Posted By: GoTorankusuKu Re: Speeding up Thread Loading (Part 2) - 11/27/2000 5:04 AM
How could I have missed this? Thanks kev2me, just solved another problem on my board. MM, you'd better update that document to fix this.

------------------
The Fusion of Goku & Trunks...GoTorankusuKu
Posted By: errol Re: Speeding up Thread Loading (Part 2) - 11/29/2000 2:54 AM
Yep! It was the mispell that was killing the daily topics.

Removed the "r" and the daily topics work just fine.

Thanks,
Errol
Posted By: NBAustin Re: Speeding up Thread Loading (Part 2) - 11/29/2000 6:27 AM
LOL!

I missed it too!

Thanks for the fix!

Thread loading really flies now!


MM,
Making any headway on some postings.cgi speedups? [Linked Image]



This message has been edited by NBAustin on November 28, 2000 at 10:28 PM
Ok, since MM seems to be a busy person (who else speeds things up for us [Linked Image] ) i went ahead and re-doc'd the file.. and fixed the misspelling mistake and added NB's reglinks here. I dont know where to put some of the others so ill leave those for MM when he gets the time to update the txt file...

Also, i did what i could to make it easier to read for newbies and those who arent very programming savvy.

http://209.15.32.41/download/thread.zip (2kb) 1 file (txt, 6kb unzipped)
Before i forget.. how much will this affect the speed of loading a cgi private forum over an html forum??

Well, got this installed no problems so far. Great hack MM [Linked Image]
Posted By: kev2me Re: Speeding up Thread Loading (Part 2) - 12/07/2000 3:02 AM
I'm wondering if this hack would cause random 500 errors to appear. It seemed to work on my UBB on one unix server, but then I switched to an Apache unix server and things went haywire.

The error appeared when you tried to access the forumdisplay.cgi file
Posted By: GoTorankusuKu Re: Speeding up Thread Loading (Part 2) - 12/07/2000 3:06 AM
Did you forget to chmod forumdisplay.cgi to 755?

------------------
The Fusion of Goku & Trunks...GoTorankusuKu

Posted By: kev2me Re: Speeding up Thread Loading (Part 2) - 12/07/2000 11:13 PM
No... It was working fine, but every once in awhile a 500 error would appear, all you had to do was presh refresh and it'd work again. That is until it eventually just always gave 500 errors, chmoded itself 0, and then made a 1 megabyte core file or something. I have no idea how it did that.
oooook. Havent run across that problem myself... Im running my board on a linux apache setup, probably a shared cobalt machine *shrug* and havnet had any problems yet. Does it give any info in the error logs?

------------------
Ideas in motion remain in motion

Vertigo, it just wont stop

LA out
Posted By: kev2me Re: Speeding up Thread Loading (Part 2) - 12/09/2000 10:00 AM
"Premature end of script headers" was all it gave me. I've figured that the problem was probably just my virtual server limiting my account on cpu usage. That's the only explination I can think of.

Well, no matter now. They made me buy a dedicated server since my UBB was taking up all the resources shocked
Posted By: AllenAyres Re: Speeding up Thread Loading (Part 2) - 12/27/2000 8:27 AM
testing here... converted quite a few more of the * = shift; codes found in there as well... we'll see...

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

- http://www.stand318.com
Posted By: Turbanator Re: Speeding up Thread Loading (Part 2) - 12/27/2000 8:45 AM
Quote
quote:
Someone mention cobalt?
Posted By: beezoo Re: Speeding up Thread Loading (Part 2) - 01/14/2001 3:22 AM
Do the Infopop/UBB folks plan on including this hack into 6.0? Or maybe it's in 5.47b already?
Posted By: GoTorankusuKu Re: Speeding up Thread Loading (Part 2) - 01/14/2001 4:04 AM
UBB 6.0 is a complete rewrite, so I doubt they are.

------------------
sorry wrong forum

This message has been edited by Hawaiibullrider on January 24, 2001 at 11:19 AM
Looks liek none of the H realms links are working wanted both this and the news fader [Linked Image]

------------------
http://gmncomputers.dyndns.org/ubbcgi/Ultimate.cgi?
Posted By: KEH Re: Speeding up Thread Loading (Part 2) - 02/22/2001 5:52 AM
ok i got this going and everything was great until i went to general settings and at the bottom when i click submit i get this error-
Sorry! Your General Settings were not accepted

Here is what UBB found:

Did you upload all the NonCGI files to /www/katiehaugland/ubb ?

Be sure your FTP software did not convert the .html extensions to .htm

Try this: Upload all the files again with the correct .html extension.

Really werid huh- well I went through and uninstalled this hack step by step and im still getting it- what could be causing this? Its either from a different hack or i didnt uninstall this one right- Any ideas?
Posted By: BlckDeath Re: Speeding up Thread Loading (Part 2) - 08/07/2001 5:49 AM
I am also looking for this hack as well..can you post a valid addy for it...
SomeBody pleese post this zip again for me
Posted By: Lord Dexter Re: Speeding up Thread Loading (Part 2) - 09/03/2001 9:42 AM
PM MasterMind, he is probably the only one who has the hacks or try finding it at SpAwN's database.
Posted By: BassTeQ Re: Speeding up Thread Loading (Part 2) - 09/04/2001 6:39 AM
Back on page 2 I think there is a link to a file called thread.zip, I just downloaded that, link is fine.
Posted By: CT Re: Speeding up Thread Loading (Part 2) - 09/05/2001 6:10 PM
Lord Dexter,

Is Spawn's site back up yet? Could not find it at the old link...
Posted By: Lord Dexter Re: Speeding up Thread Loading (Part 2) - 09/06/2001 8:51 AM
Yes it is back up, but only the mods section.

URL: Here
Posted By: CT Re: Speeding up Thread Loading (Part 2) - 09/10/2001 12:12 PM
Oh man! That's great!

I hope he keeps it up and running again...
Posted By: fluffy Re: Speeding up Thread Loading (Part 2) - 10/28/2001 4:34 PM
Couple questions.

Is Lord Apocalypse's rewrite now correct?

Also, will this help speed up version 5.47e?

Lastly, some people were mentioning other mods (posting.cgi, forum.cgi) to files that will help speed boards. Are any of them finished? If so where?
© UBB.Developers