#38864
11/10/2000 12:33 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
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
|
|
|
#38865
11/10/2000 12:55 PM
|
Joined: Mar 2000
Posts: 143
Member
|
Member
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?
|
|
|
#38866
11/10/2000 1:13 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
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
|
|
|
#38867
11/10/2000 2:06 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
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
|
|
|
#38868
11/10/2000 3:56 PM
|
Joined: Oct 2000
Posts: 3
Junior Member
|
Junior Member
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: To: 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
|
|
|
#38869
11/10/2000 5:07 PM
|
Joined: Oct 2000
Posts: 16
Member
|
Member
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
|
|
|
#38870
11/11/2000 1:34 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
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.
|
|
|
#38871
11/11/2000 3:05 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
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
|
|
|
#38872
11/11/2000 5:24 PM
|
Joined: Oct 2000
Posts: 76
Member
|
Member
Joined: Oct 2000
Posts: 76 |
My daily topics work fine... -Ghoste ------------------ Liquid FX Design.com -------------------
|
|
|
#38873
11/12/2000 4:54 PM
|
Joined: Oct 2000
Posts: 31
Member
|
Member
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
|
|
|
#38874
11/13/2000 11:38 AM
|
Joined: Jan 2000
Posts: 56
Member
|
Member
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
|
|
|
#38875
11/13/2000 2:26 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
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
|
|
|
#38876
11/13/2000 5:27 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
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 | );
|
|
|
#38877
11/13/2000 7:52 PM
|
Joined: Jan 2000
Posts: 56
Member
|
Member
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
|
|
|
#38878
11/13/2000 8:20 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
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
|
|
|
#38880
11/13/2000 11:58 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
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
|
|
|
#38881
11/14/2000 2:49 AM
|
Joined: Oct 2000
Posts: 31
Member
|
Member
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
|
|
|
#38882
11/14/2000 10:02 AM
|
Joined: Sep 2000
Posts: 19
Member
|
Member
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
|
|
|
#38883
11/15/2000 12:08 PM
|
Joined: Jan 2000
Posts: 56
Member
|
Member
Joined: Jan 2000
Posts: 56 |
Nevermind.
Parker
This message has been edited by Parker Clack on November 15, 2000 at 11:25 AM
|
|
|
#38884
11/17/2000 4:10 PM
|
Joined: Nov 2000
Posts: 2
Junior Member
|
Junior Member
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.
|
|
|
#38885
11/17/2000 4:55 PM
|
Joined: Jan 2000
Posts: 56
Member
|
Member
Joined: Jan 2000
Posts: 56 |
Sparky:
Read up a few lines for a post about a fix for this by NBAustin.
Parker
|
|
|
#38886
11/22/2000 9:08 AM
|
Joined: Aug 2000
Posts: 29
Member
|
Member
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.
|
|
|
#38887
11/22/2000 10:47 AM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
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
|
|
|
#38888
11/22/2000 12:54 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
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
|
|
|
#38889
11/22/2000 2:02 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
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
|
|
|
#38890
11/22/2000 5:53 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
Where's the fix? I can't seem to find it.
------------------ The Fusion of Goku & Trunks...GoTorankusuKu
|
|
|
#38891
11/23/2000 9:38 AM
|
Joined: Aug 2000
Posts: 29
Member
|
Member
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.
|
|
|
#38892
11/23/2000 9:46 AM
|
Joined: Sep 2000
Posts: 19
Member
|
Member
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
|
|
|
#38893
11/26/2000 9:32 PM
|
Joined: Nov 2000
Posts: 10
Junior Member
|
Junior Member
Joined: Nov 2000
Posts: 10 |
This may be the problem: Instead of $forumnumr it should be $forumnum Same with: Again $forumnumr has that 'r' at the end that shouldn't be there.
~kev2me
|
|
|
#38894
11/26/2000 10:04 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
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
|
|
|
#38895
11/28/2000 7:54 PM
|
Joined: Sep 2000
Posts: 19
Member
|
Member
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
|
|
|
#38896
11/28/2000 11:27 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
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? This message has been edited by NBAustin on November 28, 2000 at 10:28 PM
|
|
|
#38897
12/01/2000 9:03 AM
|
Joined: Nov 2000
Posts: 8
Member
|
Member
Joined: Nov 2000
Posts: 8 |
Ok, since MM seems to be a busy person (who else speeds things up for us ![[Linked Image]](https://ubbdev.com/ubb/smilies/wink.gif) ) 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)
|
|
|
#38898
12/01/2000 9:34 AM
|
Joined: Nov 2000
Posts: 8
Member
|
Member
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]](https://ubbdev.com/ubb/smilies/smile.gif)
|
|
|
#38899
12/06/2000 8:02 PM
|
Joined: Nov 2000
Posts: 10
Junior Member
|
Junior Member
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
|
|
|
#38900
12/06/2000 8:06 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
Did you forget to chmod forumdisplay.cgi to 755? ------------------ The Fusion of Goku & Trunks...GoTorankusuKu ![](http://dbz.star64.com/ubb/sponsor0.jpg)
|
|
|
#38901
12/07/2000 4:13 PM
|
Joined: Nov 2000
Posts: 10
Junior Member
|
Junior Member
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
|
|
|
#38902
12/08/2000 11:08 AM
|
Joined: Nov 2000
Posts: 8
Member
|
Member
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 ![](http://209.15.32.41/wzpbb/ubbhtml/smilies/smokin.gif)
|
|
|
#38903
12/09/2000 3:00 AM
|
Joined: Nov 2000
Posts: 10
Junior Member
|
Junior Member
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 shocked](https://ubbdev.com/forums/images/graemlins/default/shocked.gif)
~kev2me
|
|
|
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.
|
|
Posts: 21,079
Joined: March 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|