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
#151717 - 05/19/02 11:24 AM Re: [6.3.x] [beta] Hit Hack 2.0
Mark Spivey Offline
Junior Member

Registered: 04/02/02
Posts: 10
I know you know it - but this is what I put in there - man did the counters shoot up laugh (For the people out there who dont know wink )

if ($this_forum[6] =~ m/private/)

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

Registered: 03/24/01
Posts: 7396
Yes, I know that tipsy

Text/MHK files updated, rehack ultimatebb.php and ubb_lib.cgi
_________________________

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

Top
#151719 - 06/04/02 03:57 PM Re: [6.3.x] [beta] Hit Hack 2.0
Dragon Motorsports Offline
Junior Member

Registered: 12/01/01
Posts: 14
Loc: Kingsville, Tx
I installed this with no errors with the Multi Hack file. Also updated the ubb.lib file just in case the MHP file wasnt updated. And it works just fine when I clear the cache. But when you return to the forum summary page the numbers for the amount of hits does not show up. Just the "hits" in my case, "views". Was wondering what might be up with this. Thanks in advance. My board can be viewed here: http://snow.prohosting.com/dms78363/cgi-bin/ultimatebb.cgi

Top
#151720 - 06/05/02 05:20 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Rehack ubb_forum_summary.cgi and ubb_lib.cgi.
_________________________

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

Top
#151721 - 06/05/02 11:29 AM Re: [6.3.x] [beta] Hit Hack 2.0
Ibane Serna Offline
Junior Member

Registered: 03/01/02
Posts: 4
I have instaleld Hit Hack over UBB 6.3 and it's working but counts the hits very strange, each hit is counted as two and the summary page reveal son strange number. For example if the total hits on one forum is 30 the summary page shows 56.

The forum is here:

http://www.todopocketpc.com/cgi-bin/foro/ultimatebb.cgi

Thank you.
_________________________
Ibane Serna
ibane.serna@todopocketpc.com
http://www.todopocketpc.com

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

Registered: 03/24/01
Posts: 7396
Seems like you hacked ultimatebb.php twice.
_________________________

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

Top
#151723 - 06/05/02 11:43 PM Re: [6.3.x] [beta] Hit Hack 2.0
Dragon Motorsports Offline
Junior Member

Registered: 12/01/01
Posts: 14
Loc: Kingsville, Tx
Code:
[/code]Instead of this:  
[code]
I kept that in and replaced the rest of it.

Hope we can figure this out. smile

Thanks.

Top
#151724 - 06/25/02 12:13 PM Re: [6.3.x] [beta] Hit Hack 2.0
the_wiz Offline
Junior Member

Registered: 12/18/01
Posts: 24
just wondering how can I get this to work with Jc Templates.. I am really like new and this is how it looks after going into the JC templates and adding this..

Click here to see the screen shot

thanks in advance

Top
#151725 - 06/27/02 04:54 AM Re: [6.3.x] [beta] Hit Hack 2.0
the_wiz Offline
Junior Member

Registered: 12/18/01
Posts: 24
hi was wondering if anyone would help me with this

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

Registered: 03/24/01
Posts: 7396
If nobody helped yet, I don't know how much any bump can help. If you use JCTemplates, you have to know how to do it, otherwise it might be very difficult to install hacks.
_________________________

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

Top
#151727 - 06/27/02 06:17 AM Re: [6.3.x] [beta] Hit Hack 2.0
the_wiz Offline
Junior Member

Registered: 12/18/01
Posts: 24
well thanks anyhow.. guess I wil forget this hack then..

Top
#151728 - 07/03/02 07:30 AM Re: [6.3.x] [beta] Hit Hack 2.0
ryan11 Offline
Junior Member

Registered: 05/19/01
Posts: 17
Loc: Hong Kong SAR
exercuse me,the "Hit" is counted by every click or by "IP"?
_________________________
My Photo:


I LOVE Ultimate Bulletin Board ~

Top
#151729 - 07/03/02 07:38 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Every click.
_________________________

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

Top
#151730 - 07/03/02 07:45 AM Re: [6.3.x] [beta] Hit Hack 2.0
DGMayor Offline
Member

Registered: 05/08/01
Posts: 46
Loc: Orlando, FL
Quick question for ya LK..

After reading the second post in this thread and your reply:

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">
How does it work with non-UBB PHP Accel based forums? In other words, does it screw up the cache or?
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif"> </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">
Before printing, it replaces ?php .... with the hit numbers. Makes reading cache slower, but really a little bit.
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">I was under the impression that the hack worked if the accelerator was turned off. I had it on for a while but it seemed to actually be slowing my test board down, so I switched it off. Now the hithack doesn't seem to function properly. I've noticed if I go to the board, it will update the hit the first viewing of the thread, but any subsequent viewings doesn't seem to effect the count.

Any ideas?

http://www.lmalla.com/swg/ubbcgi/ultimatebb.cgi

Link to my test board if you want to check it out for yourself.

Top
#151731 - 07/03/02 07:48 AM Re: [6.3.x] [beta] Hit Hack 2.0
ryan11 Offline
Junior Member

Registered: 05/19/01
Posts: 17
Loc: Hong Kong SAR
thank you for your answering

i have a question, after i installed this hack,
it can not count correctly,it just count the first time i click, and it will not count anymore after ""1 hit""

How to solve this problem?

can you help me???

thanks a lot

i am come from Hong Kong
_________________________
My Photo:


I LOVE Ultimate Bulletin Board ~

Top
#151732 - 07/03/02 07:59 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
DG, rehack ubb_get_topic?

ryan, rehack.. hmm.. everything and check permissions.
_________________________

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

Top
#151733 - 07/03/02 08:11 AM Re: [6.3.x] [beta] Hit Hack 2.0
ryan11 Offline
Junior Member

Registered: 05/19/01
Posts: 17
Loc: Hong Kong SAR
sorry, LK

i don't know how to do this two steps to hack the
cp_prune.cgi

wt is the meaning of ""find : !prune by Date """ and """search again !prune by user!"""????

Can u help me?

####################
#cp_prune.cgi open #
####################

#########################
#find : !prune by Date #
#########################

# delete topic file
&Unlink("$vars_config{NonCGIPath}/$exact_path/$_.cgi");

###################
#BELOW that ADD:: #
###################

&Unlink("$vars_config{NonCGIPath}/$exact_path/$_.hit");

##############################
#search again !prune by user!#
##############################

#if this is the first post, blow away the thread
&Unlink("$vars_config{NonCGIPath}/$exact_path/$thread.cgi") or die "$! deleting $thread!";

###################
#BELOW that ADD:: #
###################

&Unlink("$vars_config{NonCGIPath}/$exact_path/$thread.hit");
_________________________
My Photo:


I LOVE Ultimate Bulletin Board ~

Top
#151734 - 07/03/02 08:12 AM Re: [6.3.x] [beta] Hit Hack 2.0
DGMayor Offline
Member

Registered: 05/08/01
Posts: 46
Loc: Orlando, FL
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by LK:
DG, rehack ubb_get_topic?

ryan, rehack.. hmm.. everything and check permissions.
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">no effect confused

Top
#151735 - 07/03/02 08:38 AM Re: [6.3.x] [beta] Hit Hack 2.0
ryan11 Offline
Junior Member

Registered: 05/19/01
Posts: 17
Loc: Hong Kong SAR
it is urgent
_________________________
My Photo:


I LOVE Ultimate Bulletin Board ~

Top
#151736 - 07/03/02 08:50 AM Re: [6.3.x] [beta] Hit Hack 2.0
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
ryan, just ignore the notes tipsy

DG, check permissions.
_________________________

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

Top
#151737 - 07/03/02 08:52 AM Re: [6.3.x] [beta] Hit Hack 2.0
ryan11 Offline
Junior Member

Registered: 05/19/01
Posts: 17
Loc: Hong Kong SAR
still can't......

wt happen.......

upset....
_________________________
My Photo:


I LOVE Ultimate Bulletin Board ~

Top
#151738 - 07/03/02 09:18 AM Re: [6.3.x] [beta] Hit Hack 2.0