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

   [6.3.x] [beta] Hit Hack 2.0 to Del.icio.us Add to del.icio.us
  Digg [6.3.x] [beta] Hit Hack 2.0 Digg it
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 >


Top Posters Last 30 Days
AllenAyres 20
Gizmo 10
blaaskaak 2
S7ARBVCK 2
Iann128 1
Claus1 1
M4D 1
Who's Online
0 Registered (), 33 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Security Patch released for all 7.x versions
by AllenAyres
Yesterday at 08:00 PM
What do you use to edit the files
by AllenAyres
Yesterday at 07:54 PM
Team UBBDev Rides Again!
by AllenAyres
Yesterday at 07:32 PM
Here I am! Rock me like a Hurricane!
by AllenAyres
Yesterday at 07:20 PM
BeyondCompare v3.00
by AllenAyres
Yesterday at 07:16 PM
[7.3.1] add search to showmembers page
by AllenAyres
Yesterday at 07:13 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Yesterday at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks