UBB.Dev
Posted By: LK [6.2x] Hit Hack 1.07e - 04/27/2002 5:36 PM
Easy has released 1.07e a looooong time ago, and I kept updating it for my version instead of using his newer versions. Then 6.1 had UBBAccel, and I got mine to work with it, while e@sy's structure makes it more difficult.

Download: Text File or MultiHack File
Demo: http://www.lkubb.dns2go.com
Requirements: UBB(.classic)™ 6.2 or 6.3, Mod Wordlets .

Good luck! smile
Posted By: Brad.loo Re: [6.2x] Hit Hack 1.07e - 04/27/2002 5:58 PM
w00tness
Posted By: deathdealer Re: [6.2x] Hit Hack 1.07e - 04/27/2002 7:09 PM
i don't use the ubb accel function will this affect this mod at all or do i just ignore the ultimatebb.php part of the mod.
Posted By: LK Re: [6.2x] Hit Hack 1.07e - 04/27/2002 7:29 PM
You don't have to ignore any part - it works with and without UBBAccel just fine.
Posted By: deathdealer Re: [6.2x] Hit Hack 1.07e - 04/27/2002 7:34 PM
another hack being added (Deatheater)
April 25, 2002 01:58 AM {FontFace}" color="#FFFFFF" size="1"> (0 {count_on_click_lowercase})

just installed it and this is what came out smile not the exact effect i would want heh.
im assuming this is the offending part that i meesed up most likely.
[code][/code]oh and i did not put in the ultimateebb.php part should i even though this function is not enabled on my board.
Posted By: LK Re: [6.2x] Hit Hack 1.07e - 04/27/2002 7:42 PM
I wouldn't mind a URL tipsy
Posted By: TorN Re: [6.2x] Hit Hack 1.07e - 05/04/2002 4:20 AM
Thanks LK...
All of your hacks thus far work perfectly, including this one.. Thank god for the MultiHack program that makes for effortless and errorless installations of these modifications..22 hacks installed on my board thus far with no problems at all..No conflicts either..Great job.. laugh
Posted By: AllenAyres Re: [6.2x] Hit Hack 1.07e - 05/08/2002 3:14 AM
Needs a little tweaking for 6.3 wink
Posted By: LK Re: [6.2x] Hit Hack 1.07e - 05/08/2002 1:24 PM
Only -e to FileExists?
Posted By: AllenAyres Re: [6.2x] Hit Hack 1.07e - 05/08/2002 6:02 PM
Idda know, in running the mhx there were several files that needed some work. I'll look again smile
Posted By: AllenAyres Re: [6.2x] Hit Hack 1.07e - 05/08/2002 6:07 PM
Basically, it looks like cc did some work in cp_prune and topic_maintentance and new_topic. There's one for search looking for the file in the variables dir. tipsy
Posted By: Stamoulis Re: [6.2x] Hit Hack 1.07e - 05/15/2002 9:24 AM
e@sy had released version 3.01 I think, is this hack compatible to it ? I mean can I just hack the php file or do I have to rehack all ?
Posted By: LK Re: [6.2x] Hit Hack 1.07e - 05/15/2002 3:55 PM
Nope, it's only compatible with his 1.0x version.
Posted By: freeTV Re: [6.2x] Hit Hack 1.07e - 05/25/2002 7:45 PM
All is well. Thanks to LK for the great hack.
The only problem I encountered is that the hit counter doesn't show in the private forums. All counts are zeros. I logged in the server to check. I do see the *.hit with numbers greater than zero. I think either ubb_forum.cgi or ubb_forum_summary.cgi is not directed to the correct private path where the files *.cgi are.

Please help.
Posted By: LK Re: [6.2x] Hit Hack 1.07e - 05/25/2002 7:49 PM
http://none gives me an error, URL? tipsy
Posted By: freeTV Re: [6.2x] Hit Hack 1.07e - 05/25/2002 8:14 PM
YGPM
Posted By: KeemDog37 Re: [6.2x] Hit Hack 1.07e - 05/29/2002 12:30 PM
Nice Job one Problem though this doesn't seem to work on any of my private forums!
Posted By: freeTV Re: [6.2x] Hit Hack 1.07e - 05/29/2002 6:28 PM
### In ubb_lib.cgi, FIND

if ($this_forum[6] eq 'private') {

### REPLACE that with

if ($this_forum[6] =~ m/private/) {
Posted By: jweltydotcom Re: [6.2x] Hit Hack 1.07e - 10/10/2002 6:10 PM
does this hit counter only count members views?? it seems that guests are not counted
Posted By: jordo Re: [6.2x] Hit Hack 1.07e - 10/11/2002 1:51 AM
Small bug if used on a board with no other modifications to the ubb_get_topic.cgi routines.

in ubb_get_topic.cgi

Quote
code:
Code
#########
#find : #
#########

# is the page available?

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

$userlastaddr = &OpenFileAsString("$vars_config{NonCGIPath}/$exact_path/$_[1].wer");

if ($userlastaddr ne $ENV{'REMOTE_ADDR'}) {
$hit = &OpenFileAsString("$vars_config{NonCGIPath}/$exact_path/$_[1].hit");
$hit=$hit+1;
&WriteFileAsString("$vars_config{NonCGIPath}/$exact_path/$_[1].hit", $hit);
&ClearSingleForumPageCache($exact_path, $in{f});
} else {
unlink("$vars_config{NonCGIPath}/$exact_path/$_[1].wer");
}

Should be moved up to, say, after this:

code:
[qb]
Code
	# does topic exist?
unless (-e "$vars_config{NonCGIPath}/$exact_path/$_[1].cgi") {
&StandardHTML("$vars_wordlets_err{topic_doesnt_exist}");
}
[/qb]
Where it is now, if the page is still being served from cache normally (and no php accell) it's not counting all the hits.
Posted By: jweltydotcom Re: [6.2x] Hit Hack 1.07e - 10/13/2002 7:01 AM
Thank you soooo much, you are a GENIOUS (sp??) obviously i am not!!
Posted By: UltimateDBZ Re: [6.2x] Hit Hack 1.07e - 11/11/2002 10:36 PM
I'm using this hack on my 6.2.1.1 and it seems to work alright, except for this issue:

(first of all, yeh I know both my UBB and this hack are old, I'll upgrade one of these days when I get a good free 50 hours wink )

Anyway, in my private forums that use this hack, after awhile (the specific time seems random) the recent visitors display will disappear, and will not reappear until I clear the forum page cache. This just started when I added this hack, so there must be a direct relation.

Any ideas?

TIA!
Posted By: UltimateDBZ Re: [6.2x] Hit Hack 1.07e - 11/18/2002 6:13 AM
^bump^
Posted By: [UCE]iCEMAN Re: [6.2x] Hit Hack 1.07e - 12/10/2002 4:58 PM
Hi, I am looking for the HIT Hack for version 6.1.0.3 ubb cgi classiv

Is this one also working with that?
© UBB.Developers