#42875
11/08/2000 10:45 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Thank you Mark Badalato for providing this nice coding! Download it here. www.h-realms.com/getusernumber.txt Test it and report bugs. Mark didnt test it, but I tested it, and works fine. Bugs fixed by cal. Thanks, Cal! [ 12-09-2001 09:09 AM: Message edited by: MasterMind ]
|
|
|
#42876
11/08/2000 11:09 PM
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
Provided that it's working the way it is supposed to, the benchmarks i'm running are showing about an average of 25% less CPU time usage: Benchmark: timing 100 iterations of Original, Rewrite... Original: 3 wallclock secs ( 0.24 usr + 2.44 sys = 2.68 CPU) @ 37.27/s (n=100) Rewrite: 2 wallclock secs ( 0.33 usr + 1.71 sys = 2.04 CPU) @ 48.95/s (n=100) So, if Greg says it's working the way it's supposed to...enjoy --mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
#42877
11/09/2000 1:58 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Appears to be working well here... muchas gracias both of you... ------------------ Allen - http://www.stand318.com
|
|
|
#42878
11/09/2000 2:08 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
rats, spoke too soon.. it appears to be erasing the # of posts, the "from" and "registered" info under the author's names in the preceding posts in a thread... any idea what might be causing that? I haven't made any other changes except this one since I added it... ------------------ Allen - http://www.stand318.com
|
|
|
#42879
11/09/2000 2:10 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
uploaded the back up... MM, have you seen the error I reported? ------------------ Allen - http://www.stand318.com
|
|
|
#42880
11/09/2000 1:25 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Allen, No, i didn't see any of those errors.
Mark?
------------------ 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
|
|
|
#42881
11/09/2000 2:10 PM
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
Unfortunately i'm not familiar with the original, so the changes i made were what appeared to be quick translations of the previous code.
As I said, I very well could have overlooked something and removed an essential piece.
MM, if you find what it is, let me know and i'll add it in.
--mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
#42882
11/09/2000 2:37 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Dont know..
------------------ 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
|
|
|
#42883
11/09/2000 7:36 PM
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
Ok, based on the possibilty of bugs, and the fact that i don't like having code of mine out there unless i've really gone over it, i recommend NOT using the routine up there. Basically i was showing MM some things that i do to speed code up, and how i would write it. But, it was a quickie (like 5 to 10 miunutes), and no testing was done. Since im not familar with the real version, i may have overlooked key things. Chalk it up to an exericse to see how i like to structure things (if you care ) and other than that, assume it is not worth using --mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
#42884
11/09/2000 7:42 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Bug fixed by cal.
------------------ 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
|
|
|
#42885
11/09/2000 8:10 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 |
beta testing here again... we need and icon for crossing fingers... ------------------ Allen - http://www.stand318.com
|
|
|
#42886
11/09/2000 8:12 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 |
the previous bug was squashed... nice work MM, Mark, and cal... let me know if you see any other problems... ------------------ Allen - http://www.stand318.com
|
|
|
#42887
11/09/2000 8:17 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Yes, if anyone has a bug DO NOT E-MAIL MARK. HE OFFERS NO SUPPORT FOR HACKS. You can post it here.
Thanks.
------------------ 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
|
|
|
#42888
11/09/2000 8:45 PM
|
Joined: Oct 2000
Posts: 76
Member
|
Member
Joined: Oct 2000
Posts: 76 |
Is the problem fixed? Is the link the same as the first post? -Ghoste ------------------ Liquid FX Design.com -------------------
|
|
|
#42889
11/09/2000 8:47 PM
|
Joined: Oct 2000
Posts: 76
Member
|
Member
Joined: Oct 2000
Posts: 76 |
Nevermind , I see the "Fixed by Cal" at the top of the .txt I replyed too soon -Ghoste ------------------ Liquid FX Design.com -------------------
|
|
|
#42890
11/10/2000 2:38 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
Does this speedup effect the postings.cgi, because it is slow when I click on Post New Topic or Post Reply
------------------ The Fusion of Goku & Trunks...GoTorankusuKu
|
|
|
#42891
11/10/2000 2:58 PM
|
Joined: Oct 2000
Posts: 49
Member
|
Member
Joined: Oct 2000
Posts: 49 |
I was wondering if anybody had any idea about the scale of optimization obtained for boards with differing numbers of members. I know that huge boards will get a significant increase in speed, but my board only has about 100 members. Will it matter?
|
|
|
#42892
11/10/2000 5:22 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
This will speed up posting and update threads.
No, it will speed up all boards.
------------------ 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
|
|
|
#42893
11/10/2000 7:04 PM
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
NM, the postings.cgi was just being a jack*ss for a few minutes ------------------ The Fusion of Goku & Trunks...GoTorankusuKu
|
|
|
#42894
11/11/2000 1:48 AM
|
Joined: Mar 2000
Posts: 143
Member
|
Member
Joined: Mar 2000
Posts: 143 |
Cool! I just added this one.. Thanks guys!
|
|
|
#42895
11/14/2000 10:03 AM
|
Joined: Sep 2000
Posts: 19
Member
|
Member
Joined: Sep 2000
Posts: 19 |
Work fine on my board.
Thanks, Errol
|
|
|
#42896
08/06/2001 10:44 PM
|
Joined: Aug 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 2 |
Still Looking for this thread the link in both the database and this link is dead does anyone have a copy of this?
|
|
|
#42897
12/05/2001 2:18 PM
|
Joined: Dec 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 1 |
hey the link doesnt work... this is old, but I want a member number hack...
In fact, I want to REMOVE post #'s, and replace them with member number...
|
|
|
#42898
12/06/2001 1:39 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Try the link for this hack in the Database.
|
|
|
#42899
12/09/2001 10:12 AM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|