php forum
php mysql forum
php mysql smarty
 
Page 1 of 8 1 2 3 4 5 6 7 8 >
Topic Options
#151697 - 05/09/02 03:44 PM [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Charles said that Hit Hack 1.07e is a danger to the environment, so I updated it to 2.0 on Jul 5. I really think it's faster now. smile

Download: ZIP File or MultiHack File
Demo: http://www.lkworld.com
Requirements: UBB(.classic)™ 6.3, Mod Wordlets .
Number of Downloads: [img]http://www.ubbdev.com/lk/num.php?s=hit2.zip,hit2.mhp[/img]
Thanks to: cal for JavaScript help, e@sy for Hit Hack 1.07e, Charles for suggesting me to update and qasic for PHP help. smile

Good luck! smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151698 - 05/10/02 04:19 AM Re: [6.3.x] [beta] Hit Hack 2.0
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
How does it work with non-UBB PHP Accel based forums? In other words, does it screw up the cache or?

Top
#151699 - 05/10/02 04:27 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Before printing, it replaces ?php .... with the hit numbers. Makes reading cache slower, but really a little bit.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151700 - 05/10/02 12:09 PM Re: [6.3.x] [beta] Hit Hack 2.0
Variables Offline
Member

Registered: 12/03/00
Posts: 350
In the chat mod. there is a similar line of code for the ubb_forum_summary.cgi:

&ServeFromCache("ubb_files/summary/summary.html");

This line is already comment if you do the chathack, but it put's another:

&ServeFromCache("ubb_files/summary/summary.html");
in it, a few further.

My question is if you must paste the new code over the already commented out line....or a few lines beneath where it isn't?
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#151701 - 05/10/02 12:29 PM Re: [6.3.x] [beta] Hit Hack 2.0
Variables Offline
Member

Registered: 12/03/00
Posts: 350
Problem in the posting above is solved. But the hits don't count properly. They stay at the last number you visit a thread. If i empty the cache, it counts good...etc.
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#151702 - 05/10/02 12:37 PM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
== you didn't solve it correctly wink

It should be: [code][/code]
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151703 - 05/10/02 12:48 PM Re: [6.3.x] [beta] Hit Hack 2.0
Variables Offline
Member

Registered: 12/03/00
Posts: 350
Yep, that was changed already LK. But the hits under the categoryname is updating correct while the hits in the threads stay thesame untill i empty the cache. (???)
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#151704 - 05/10/02 12:53 PM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
So you mean it works in forum summary (category), but doesn't work in forum page? Rehack ubb_forum.cgi. Doesn't work in active topics? Rehack ubb_search.cgi. Still doesn't work? Post your AIM/MSN/ICQ
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151705 - 05/10/02 01:15 PM Re: [6.3.x] [beta] Hit Hack 2.0
Variables Offline
Member

Registered: 12/03/00
Posts: 350
I've rehacked ubb_forum.cgi and no result.

AIM: nuclion
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#151706 - 05/10/02 02:48 PM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
We fixed it by rehacking ultimatebb.php
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151707 - 05/10/02 02:55 PM Re: [6.3.x] [beta] Hit Hack 2.0
Variables Offline
Member

Registered: 12/03/00
Posts: 350
Yes, great job. You rock LK (a lot) laugh
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#151708 - 05/12/02 04:36 PM Re: [6.3.x] [beta] Hit Hack 2.0
Variables Offline
Member

Registered: 12/03/00
Posts: 350
Ow, one question remains. How can i remove the hits counting under the category names?
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#151709 - 05/12/02 07:56 PM Re: [6.3.x] [beta] Hit Hack 2.0
mikeg001 Offline
Junior Member

Registered: 03/22/02
Posts: 9
Ok someone please help iam very new to this hacking stuff but i want this hack but reviewing it i noticed the file ultimatebb.php i dont have it iam using ultimatebb.cgi and the files iam to look for in the ultimatebb.php are not in the ultimatebb.cgi some please help me with this Thanks.

I guess you should know iam using Ultimate Bulletin Board 6.2.0

Top
#151710 - 05/13/02 07:26 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Mike, do you have ICQ, AIM or MSN?

Variables, unhack the public_forum_summary.pl part of after forumdesc or whatever.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151711 - 05/17/02 04:10 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Text/MHK files updated, please everybody rehack ubb_lib.cgi.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151712 - 05/17/02 07:14 PM Re: [6.3.x] [beta] Hit Hack 2.0
caroth Offline
Member

Registered: 05/30/01
Posts: 54
If I hit the same post twice, I get:

Fatal error: Call to undefined function: hits() in C:websiteshack.turboford.orgcache-KEG2NBDTubb_filesforum_pageForum1forum1-1000.cgi on line 418

Forum summary fails as does the main page with this message:

Fatal error: Call to undefined function: hits() in C:websiteshack.turboford.orgcache-KEG2NBDTubb_filessummarysummary.html on line 378

Any ideas?

http://hack.turboford.org

Top
#151713 - 05/19/02 10:27 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Either you have "hits" instead of "Hits" in public_forum_summary.pl and public_forum_page.pl, or (probably) you didn't hack ultimatebb.php correctly.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151714 - 05/19/02 11:12 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Text/MHK files updated AGAIN, please rehack ubb_get_topic.cgi - it cleared cache after every cgi topic read (that's a lot of extra cpu usage tipsy ), fixed
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#151715 - 05/19/02 11:13 AM Re: [6.3.x] [beta] Hit Hack 2.0
Mark Spivey Offline
Junior Member

Registered: 04/02/02
Posts: 10
Hey - in your ubb_lib.cgi - you are doing

"if ($this_forum[6] eq 'private')" to get the exact path - should that be contains private since they have all those new possibilites in there?

Thanks,
Mark

Top
#151716 - 05/19/02 11:14 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
yes, thanks smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
Page 1 of 8 1 2 3 4 5 6 7 8 >



Latest Posts
Shout Box

(Views)Popular Topics
Known public proxy servers 1636135
Integrated Index Page (IIP) 5.3.1 528187
Finished-[6.5.2] Games Arcade Deluxe v1.9 486016
Integrated Index Page (IIP) 5.1.1 401388
TLD Bv2.1 Released - Threads Links Directory 382774
[6.0x] Who's Online 4.0.0 [Finished] 374847
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 318709
Q & A 264276
[6.3.x] [beta] Hit Hack 2.0 225221
[7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) 202973
Forum Stats
13620 Members
59 Forums
37189 Topics
295701 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks