Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
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

Sponsored Links
Joined: Mar 2000
Posts: 143
Member
Member
Offline
Joined: Mar 2000
Posts: 143
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?

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
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

Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
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

Joined: Oct 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Oct 2000
Posts: 3
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

Sponsored Links
Joined: Oct 2000
Posts: 16
Member
Member
Offline
Joined: Oct 2000
Posts: 16
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

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
I think we have a bug here, or it's in the GetUserNumber speed up.

The daily topics doesn't display anything now.

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
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

Joined: Oct 2000
Posts: 76
Member
Member
Offline
Joined: Oct 2000
Posts: 76
My daily topics work fine...

-Ghoste

------------------
Liquid FX Design.com
-------------------

Joined: Oct 2000
Posts: 31
Member
Member
Offline
Joined: Oct 2000
Posts: 31
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

Sponsored Links
Joined: Jan 2000
Posts: 56
Member
Member
Offline
Joined: Jan 2000
Posts: 56
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

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
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

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
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 | );

Joined: Jan 2000
Posts: 56
Member
Member
Offline
Joined: Jan 2000
Posts: 56
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

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
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

Joined: Oct 2000
Posts: 76
Member
Member
Offline
Joined: Oct 2000
Posts: 76
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

Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
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

Joined: Oct 2000
Posts: 31
Member
Member
Offline
Joined: Oct 2000
Posts: 31
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

Joined: Sep 2000
Posts: 19
Member
Member
Offline
Joined: Sep 2000
Posts: 19
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

Joined: Jan 2000
Posts: 56
Member
Member
Offline
Joined: Jan 2000
Posts: 56
Nevermind.

Parker

This message has been edited by Parker Clack on November 15, 2000 at 11:25 AM

Joined: Nov 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 2
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.

Joined: Jan 2000
Posts: 56
Member
Member
Offline
Joined: Jan 2000
Posts: 56
Sparky:

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

Parker

Joined: Aug 2000
Posts: 29
ASC Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 29
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.

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
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

Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
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

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
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

Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
Where's the fix? I can't seem to find it.

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

Joined: Aug 2000
Posts: 29
ASC Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 29
NBAustion...

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

Thank you.

Joined: Sep 2000
Posts: 19
Member
Member
Offline
Joined: Sep 2000
Posts: 19
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

Joined: Nov 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 10
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.


~kev2me
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
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

Joined: Sep 2000
Posts: 19
Member
Member
Offline
Joined: Sep 2000
Posts: 19
Yep! It was the mispell that was killing the daily topics.

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

Thanks,
Errol

Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
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

Joined: Nov 2000
Posts: 8
Member
Member
Offline
Joined: Nov 2000
Posts: 8
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)

Joined: Nov 2000
Posts: 8
Member
Member
Offline
Joined: Nov 2000
Posts: 8
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]

Joined: Nov 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 10
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


~kev2me
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
Did you forget to chmod forumdisplay.cgi to 755?

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


Joined: Nov 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 10
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.


~kev2me
Joined: Nov 2000
Posts: 8
Member
Member
Offline
Joined: Nov 2000
Posts: 8
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

Joined: Nov 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 10
"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


~kev2me
Page 1 of 2 1 2

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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 20221218)