UBB.Dev
Posted By: LK [6.4] [beta] Hit Hack - 01/13/2003 12:35 PM
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.4, Mod Wordlets .
Number of Downloads: [img]https://ubbdev.com/lk/num.php?s=hit64.zip,hit64.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
Posted By: DanielAc Re: [6.4] [beta] Hit Hack - 01/13/2003 1:56 PM
What did he say?

J/k sorta. I know you are well respected and all. But can we get a plain english interpretation too?
Posted By: LK Re: [6.4] [beta] Hit Hack - 01/13/2003 2:41 PM
You mean Charles Capps? He said Hit Hack 1.07e might cause some preformance problems with the UBB, because it requires modification of servefromcache sub, it has a different file for each hit (just think about it, another 30 files are opened for each forum visit).....
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 01/13/2003 6:04 PM
thanks LK laugh I needed this to fix the lazy port I did a while back laugh
Posted By: Xiphoid_pAOM Re: [6.4] [beta] Hit Hack - 01/13/2003 8:37 PM
Great work, LK! No problems at all with the install.
Posted By: Zarzal Re: [6.4] [beta] Hit Hack - 01/27/2003 2:17 AM
Works well with IE but there is a problem with Opera 6.04. In ths version the hits will not be shown. I guess its a Java problem.

The hack itself is great work. :top:
Posted By: Ellen Re: [6.4] [beta] Hit Hack - 01/27/2003 10:10 PM
This worked perfectly for me on the first forum page. However, in public_forum_summary, there is no number under the hits column. I viewed the source of the page, and it said the following:

<td valign="top" bgcolor="#dedfdf" align="center">
<font size="2" face="Verdana, Helvetica, sans-serif">
<span id="hit000001"></span>
</font<


I assume that the relevant code that generates this is:
$ForumDesc<span id="hitf$x"></span>

Unfortunately, this does not translate to a number of hits on my 6.4 board.
Posted By: LK Re: [6.4] [beta] Hit Hack - 01/27/2003 11:02 PM
I wanted to check your site but then I figured that you hid its URL confused :rolleyes:
Posted By: Ellen Re: [6.4] [beta] Hit Hack - 01/27/2003 11:09 PM
It's a test forum at

http://www.roxydollboard.com/cgi-bin/ultimatebb.cgi

Any help would be appreciated!
Posted By: LK Re: [6.4] [beta] Hit Hack - 01/28/2003 8:25 AM
Quote
quote:
Re: this is a great board (Ellen)
January 26, 2003 06:28 PM (75 hits)
I think "(75 hits)" is the number of hits wink
Posted By: Ellen Re: [6.4] [beta] Hit Hack - 01/28/2003 2:38 PM
No, that's the page that works. If you go to

http://www.roxydollboard.com/cgi-bin/ultimatebb.cgi?ubb=forum;f=1

you will see that there is no number in the hits column
Posted By: LK Re: [6.4] [beta] Hit Hack - 01/28/2003 4:16 PM
Re-"modify" ubb_forum.cgi... smile
Posted By: Zarzal Re: [6.4] [beta] Hit Hack - 01/29/2003 2:06 PM
LK, you ever try to see the Hits with Opera V6.x ? The hack still works and display hits in a forum with IE6.x well but with Opera the hit field is still empty.

Example: http://www.dragonclan-forum.de/cgi-bin/ultimatebb.cgi?ubb=forum;f=23;DaysPrune=45
Posted By: Ellen Re: [6.4] [beta] Hit Hack - 01/29/2003 3:35 PM
Thanks to your help, LK, I found the error of my ways. Much appreciated, and thanks for the great modification!
Posted By: Risperdal Re: [6.4] [beta] Hit Hack - 02/26/2003 4:54 PM
This hack aint working for me. I get a syntax error... could anyone please tell me what I did wrong

http://apoforce.hypermart.net/cgi-bin/ultimatebb.cgi
Posted By: LK Re: [6.4] [beta] Hit Hack - 02/26/2003 5:59 PM
It's because Hypermart adds advertizements shocked use a real host if you want to use this hack frown
Posted By: Risperdal Re: [6.4] [beta] Hit Hack - 02/26/2003 6:23 PM
thanks for your quick reply! Hope i have enough money soon to buy one
Posted By: Bob Ferguson Re: [6.4] [beta] Hit Hack - 02/27/2003 1:46 AM
MySiteSpacePro.Com host for $36.00 annually & accept PayPal. wink
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 03/13/2003 12:43 PM
Hi,

does this hack works with UBB-Classic 6.5.0? At my board, at the forumspage i saw no hits, only the column....

What can I do?

thanks
d-talk
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 03/16/2003 12:40 PM
Is there nobody with an idea, why it does not work with 6.5?

thanks
d-talk
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 03/16/2003 9:54 PM
it works on my 6.5 (see sig) - I can post the mhp later tonight if you need.
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 03/16/2003 10:30 PM
Oh yeahhhhhhh, pleas post it!!! Thank you very much!!!!

Do you have a zip-file for mee?
d-talk
Posted By: Stamoulis Re: [6.4] [beta] Hit Hack - 03/18/2003 2:53 PM
i (still) got a strange error message if I enable the php accelerator on my own root-server:

Quote
quote:
Accelerator Error:
I can't seem to open the existing hits file (
/home/www/web1/html/ubb/Forum1/hits.cgi
)
Check that its parent directory exists. Perhaps the path is incorrect?
any ideas ? confused
Posted By: LK Re: [6.4] [beta] Hit Hack - 03/18/2003 2:56 PM
I think it's a permission problem of ultimatebb.php
Posted By: Stamoulis Re: [6.4] [beta] Hit Hack - 03/18/2003 5:49 PM
yeah I checked the permissions from the hit files and set them to 777 put always they are set back to sth. weird that the accelerator cant access them smash

so now I cant use the acc. frown
Posted By: Stamoulis Re: [6.4] [beta] Hit Hack - 03/18/2003 7:40 PM
just forget about it, i disbled the safe mode on the server and now it works wink
Posted By: hanjo Re: [6.4] [beta] Hit Hack - 05/03/2003 5:42 PM
I've same problem like "Ellen". help

I see the hits in the forum sumary:
http://www.rztpower.de/ubb/ultimatebb.php

but not on next page:
http://www.rztpower.de/ubb/ultimatebb.php?ubb=forum;f=1

I've checked all files 2 times. Don't find the problem.

Can anyone help me, please?

Hanjo

=========================




Posted By: LK Re: [6.4] [beta] Hit Hack - 05/03/2003 6:48 PM
try to rehack ubb_forum.cgi... the part of:[code][/code]make sure you add ABOVE and not below... smile
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 05/03/2003 7:10 PM
hmmm... that maybe part of one reason why the hits didn't work in our /db files smile
Posted By: hanjo Re: [6.4] [beta] Hit Hack - 05/04/2003 11:15 AM
Hi,

it looks like:

[code][/code]UBB 6.5

This isn't the problem.

More ideas?

Hanjo
Posted By: hanjo Re: [6.4] [beta] Hit Hack - 05/04/2003 11:21 AM
Thank you!

[code][/code]is correct and works fine ;-)

German UBB 6.5

Hanjo
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 05/04/2003 11:55 AM
danke smile I'll update the original files tomorrow smile
Posted By: technoforum.de Re: [6.4] [beta] Hit Hack - 05/12/2003 2:05 PM
Quote
quote:
Originally posted by AllenAyres:
danke smile I'll update the original files tomorrow smile
*still waiting* :-)
chris
http://technoforum.de
Posted By: technoforum.de Re: [6.4] [beta] Hit Hack - 05/17/2003 4:23 PM
does anyone else do have problems importing this hack thru multihack2 in a 6.5 system? i do have :-/, an error occurs...
chris
http://technoforum.de
Posted By: technoforum.de Re: [6.4] [beta] Hit Hack - 05/18/2003 11:22 PM
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 05/19/2003 2:59 AM
Quote
quote:
Originally posted by technoforum.de:
*bump*
*looks at your board* *sees the hit hack working*

what was the error? I didn't get an error importing it, I had one error installing it cause of all the hacks I have installed already, but I fixed that
Posted By: technoforum.de Re: [6.4] [beta] Hit Hack - 05/19/2003 9:46 AM
2weirdal,
actually you saw my board running on 6.01 - so, i wanted to upgrade today and started the multihack2.0-utility, imported the multihackfile hit64.mhp, hitted the 'install'-button and following error occurs:
ubb_forum.cgi - Add Before - Applying Mod - ERROR
occured.
all other import-lines do apprear with an 'mod applied successfully'-term, just at line 11 of the installation log the error is mentioned. :-/
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 05/19/2003 10:12 AM
Quote
quote:
Originally posted by technoforum.de:
2weirdal,
actually you saw my board running on 6.01 - so, i wanted to upgrade today and started the multihack2.0-utility, imported the multihackfile hit64.mhp, hitted the 'install'-button and following error occurs:
ubb_forum.cgi - Add Before - Applying Mod - ERROR
occured.
all other import-lines do apprear with an 'mod applied successfully'-term, just at line 11 of the installation log the error is mentioned. :-/
do this...

[code][/code]
Posted By: technoforum.de Re: [6.4] [beta] Hit Hack - 05/19/2003 11:21 AM
*blush* - thanks! :-)
chris
http://technoforum.de
Posted By: technoforum.de Re: [6.4] [beta] Hit Hack - 05/23/2003 12:32 PM
mhn, doesn't work as well the the im-hack: i did upload the additional files from this hack as well as the im-hack using ssh and we figured eben out with all files from the ubb6.5-package that carriagereturn_tags were included, so, maybe both of these hacks do not work because of the same error? both hacks do use additonal files (yeah, i set 'em to 755) and maybe they do not work because of the same problem including the carriagereturn-tags i cannot even see using ultraEdit? weird... any ideas concerning these both hacks?
chris
p.s. i did hack the engine manually using the .txt.manual, figured out too many errors using multihack2
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 05/23/2003 5:05 PM
hmmm... I'll post a 6.5 mhk tonight if LK isn't able to get to it smile
Posted By: technoforum.de Re: [6.4] [beta] Hit Hack - 05/23/2003 5:13 PM
would be very nice, to i just would use your 6.5mhk to check if i patched all things in a correct way... :-)
Posted By: Nycore Re: [6.4] [beta] Hit Hack - 05/30/2003 6:26 PM
Has anyone monitored the cpu usage with this hack? UBB foolishly says they will never add this feature due to server issues. As someone who generates $ based on website hits I can tell you that this feature is extremely important. A topic might be replied to only 1 time but if it gets 3000 views it shows that the website is generating readers.

Im going to try this on version 6.5 on a cobalt server
Posted By: aalhait Re: [6.4] [beta] Hit Hack - 06/04/2003 5:27 AM
what if I do not have ultimate.php?

Has anybody done the hack for ultimate.cgi?
Thanks
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 06/04/2003 5:33 AM
lol, it'll work on both. most use cgi anyway tipsy
Posted By: Paul_K Re: [6.4] [beta] Hit Hack - 06/06/2003 1:37 PM
Hello! (sorry for my english)

You modified file ultimatebb.php
What me do if I do not use this file? My forum used cgi-bin/ultimatebb.cgi only


and where I can download Multihack program?

tnx!
Posted By: LK Re: [6.4] [beta] Hit Hack - 06/06/2003 1:54 PM
welcome to our little community paul smile

if you don't use ultimatebb.php, ignore the steps which this hack asks you to modify...

multihack url - http://nomadsoft.net/multihack.nomadsoft.net/download.shtml
Posted By: Paul_K Re: [6.4] [beta] Hit Hack - 06/06/2003 2:03 PM
Thnx for help me.

This link not working.
http://www.nomadsoft.net/cgi-bin/dlcount/clickmanager.cgi?dl=12

i see: Invalid ID or URL
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 06/06/2003 2:04 PM
https://www.ubbdev.com/mhp/mhack2.msi


LK, I'd think you'd know that didn't work by now tipsy
Posted By: LK Re: [6.4] [beta] Hit Hack - 06/06/2003 2:20 PM
sorry tipsy
Posted By: Paul_K Re: [6.4] [beta] Hit Hack - 06/06/2003 2:22 PM
This program only for Windows?
Posted By: LK Re: [6.4] [beta] Hit Hack - 06/06/2003 2:25 PM
yes
Posted By: schumster Re: [6.4] [beta] Hit Hack - 07/26/2003 2:29 AM
Hmm I just installed the mod. I seee the hit colum but with no numbers.

What did i do wrong??
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 07/26/2003 3:42 AM
Quote
quote:
Originally posted by schumster:
Hmm I just installed the mod. I seee the hit colum but with no numbers.

What did i do wrong??
I see them fine. There is a known bug with Opera, where you can't see them
Posted By: schumster Re: [6.4] [beta] Hit Hack - 07/26/2003 8:43 AM
Ok. Thanks.
Posted By: sventek Re: [6.4] [beta] Hit Hack - 07/29/2003 5:42 AM
This may sound dumb, but I don't have:

vars_wordlets_mods.cgi

It seems like it was something that was in use with 6.1 / 6.3. I'm working on 6.5 at the moment. So far the board still seems to work after I've hand edited in the mods, I'm using a bsd server so multihack is out of the question.

Anyone know what I'm missing here?
Posted By: sventek Re: [6.4] [beta] Hit Hack - 07/29/2003 6:12 AM
Another question, there's a bit a discrepancy with one of the mod's.

$ grep -in "ThisHTML .= " ubb_forum.cgi
399: $ThisHTML .= &page_top; # some HTML
400: $ThisHTML .= &topic_table_header; # table top HTML
539: $ThisHTML .= &topic_row;
543: $ThisHTML .= &page_bottom($had_stickies, $had_polls, $had_hots, $had_moves, $had_locks);
544: $ThisHTML .= $Footer;


Whereas, according to hit2.txt:

Find: (~500)
=====

}
$ThisHTML .= &page_bottom; # some HTML

Any suggestion here?

Thanks,

Brian
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 07/29/2003 6:26 AM
https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=33;t=000018;p=3

look at hanjo's post
Posted By: sventek Re: [6.4] [beta] Hit Hack - 07/29/2003 8:54 AM
Got it.

Got the 'hits' column right now, no other labeling though.. no digits, but it seems to be registering hits within the Forum directory. I've already cleaned up one error but I'm still digging through it.

Do I have to do anything else after I modify everything, ie rebuild anything etc?

Thanks,

Brian
Posted By: wOw Re: [6.4] [beta] Hit Hack - 08/20/2003 9:29 PM
Hi Guys!

I installed this hack but once I had I realised it gives you the number of visits to a forum as well as the number of visits to a topic.

I don't want this.

I just want to know how many times a topic has been visited.

I tried skipping out the part below but it also removed the number of visits to the last post column on the forum summary.

Quote
quote:
********************************
* Open public_forum_summary.pl *
********************************

Find: (~125)
=====

$ForumDesc

Replace with:
=============

$ForumDesc
How can I remove the number of visits to the forum from the forum summary, or even better how can I stop it counting the number of visits to a forum at all?

Thanks in advance.
Posted By: wOw Re: [6.4] [beta] Hit Hack - 08/23/2003 6:30 PM
*Bump*

Can anyone help me with this?
Posted By: Mr. B Re: [6.4] [beta] Hit Hack - 08/25/2003 1:26 PM
Works fine with me [6.5]

But there were some problem in the summary page due to other language encoding or might be from the news fader hack, I'm not sure.

Since I need it only for forum pages, I unhacked public_forum_summary. Now it is working great for me. Thanks.
Posted By: Autocrosser Re: [6.4] [beta] Hit Hack - 10/31/2003 6:40 PM
Anyone try this with 6.6.1 yet?
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 10/31/2003 6:51 PM
will tonight. I had it running on 6.6 Beta Release if I remember correctly
Posted By: Autocrosser Re: [6.4] [beta] Hit Hack - 10/31/2003 8:19 PM
I tried it this morning, no luck, will try to work with it again this weekend.
Posted By: Autocrosser Re: [6.4] [beta] Hit Hack - 11/05/2003 12:24 AM
Hopefully I can work on this again tonight to try to get it working with 6.6, haven't had time since last week.
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 11/26/2003 6:46 PM
Here's the updated install instructions for 6.6:

https://www.ubbdev.com/ubb/upload/00000494/hit66.txt

not much has changed, just a few bits and pieces here and there...
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 11/26/2003 7:21 PM
(RequireVars) NonCGIPath/Forum1/hits.cgi: Can't locate NonCGIPath/Forum1/hits.cgi in @INC (@INC contains: ./Modules . /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at CGIPath/ubb_lib.cgi line 836.

Hi Allen i get this error after hacking...
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 11/26/2003 7:27 PM
Did you upload the ubb_hits.cgi file from the original zip?
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 11/26/2003 7:29 PM
Yes, I upload the ubb_hits.cgi
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 11/26/2003 7:39 PM
your permissions on your forum folders are 777?
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 11/26/2003 7:41 PM
and is the php accelerator turned on?
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 11/26/2003 7:50 PM
Yes it is,

when I go to CP I get at many times now:

RequireCode) /home/www/web19/html/cgi-bin/cp2_content.cgi: Global symbol "%hits" requires explicit package name at /home/www/web19/html/cgi-bin/cp2_content.cgi line 1081. Global symbol "%hits" requires explicit package name at /home/www/web19/html/cgi-bin/cp2_content.cgi line 1082. Compilation failed in require at /home/www/web19/html/cgi-bin/ubb_lib.cgi line 815. Stack trace: (RequireCode) /home/www/web19/html/cgi-bin/cp2_content.cgi: Global symbol "%hits" requires explicit package name at /home/www/web19/html/cgi-bin/cp2_content.cgi line 1081. Global symbol "%hits" requires explicit package name at /home/www/web19/html/cgi-bin/cp2_content.cgi line 1082. Compilation failed in require at /home/www/web19/html/cgi-bin/ubb_lib.cgi line 815. main::LoadCPTemplate() called at /home/www/web19/html/ubb/Templates/cp2_styles.pl line 11 main::cp2_template_styles_init called at /home/www/web19/html/cgi-bin/cp2_lib.cgi line 118 main::LoadCPTemplate() called at /home/www/web19/html/cgi-bin/cp2_lib.cgi line 154 main::CanAutoHandle called at cp.cgi line 476
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 11/26/2003 8:36 PM
in cp2_content.cgi:

find:
use strict;
#use warnings;


add below:
use vars qw(
%hits
);

that should fix the above error.
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 11/26/2003 8:41 PM
(RequireVars) NonCGIPath/Forum1/hits.cgi: Can't locate NonCGIPath/Forum1/hits.cgi in @INC (@INC contains: ./Modules . /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at CGIPath/ubb_lib.cgi line 836.

same error.... :-( but cp works now...
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 11/27/2003 5:50 AM
until I can figure out the problem, the easiest way to fix this is upload a blank text file called hits.cgi into each forum and set its permissions to 777.
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 11/27/2003 6:16 AM
*shrugs* works for me, but I only changed one of your steps which I noticed wasn't updated.

v I used that code v

Quote
quote:
Originally posted by hanjo:
Thank you!

Code
$ThisHTML .= &topic_row;
$topicnums .= "$one|";
}
$ThisHTML .= &page_bottom($had_stickies, $had_polls, $had_hots, $had_moves, $had_locks, $topicnums);
$ThisHTML .= $Footer;
is correct and works fine ;-)

German UBB 6.5

Hanjo
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 11/27/2003 6:50 AM
Hi Allen,

blank hits.cgi did not work too...

RequireVars) NonCGIPath/Forum1/hits.cgi: NonCGIPath/Forum1/hits.cgi did not return a true value at CGIPath/ubb_lib.cgi line 836.
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 11/27/2003 7:07 AM
this may be a stretch... but you did upload ubb_hits.cgi, right?
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 11/27/2003 10:09 AM
Yes, I uploaded it to the cgi-bin folder
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 11/27/2003 1:23 PM
Can somebody have a look at my ftp files? I have rehacked it several times... frown
Posted By: Charles Re: [6.4] [beta] Hit Hack - 11/27/2003 7:11 PM
Quote
quote:
Originally posted by d-talk:
Can somebody have a look at my ftp files? I have rehacked it several times... frown
it seems you are missing the hits files just add them manually
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 11/27/2003 7:13 PM
Hi charles, a blank hit.cgi does also not work... can you have a look at my files... / sorry I know you have no time, but a forum wihtout hits is not possible for me...
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 11/27/2003 7:39 PM
create a hit.cgi with the following in it...

Code
%hits = (
q!forum! => q!>>THE NUMBER OF THE FORUM<<!,
);


1;
where if you were making this Forum1/hits.cgi, the number of the forum is 1.

try that
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 11/27/2003 9:03 PM
after FTPing to d-talks test board, I fixed his problem. for anyone else who experiences the File doesn't exist error, do this...

In ubb_forum.cgi
Code
FIND:
&RequireVars("$vars_config{NonCGIPath}/$exact_path/hits.cgi");

REPLACE WITH:
if (&FileExists("$vars_config{NonCGIPath}/$exact_path/hits.cgi")) {
&RequireVars("$vars_config{NonCGIPath}/$exact_path/hits.cgi");
}
For those of whom don't get an error, but the numbers still won't show...


Code
$ThisHTML .= &topic_row;
$topicnums .= "$one|";
}
$ThisHTML .= &page_bottom($had_stickies, $had_polls, $had_hots, $had_moves, $had_locks, $topicnums);
# $ThisHTML .= $Footer;
that's what lines ~ 548 - ~552 should look like it was an error in the install txt
Posted By: Autocrosser Re: [6.4] [beta] Hit Hack - 12/01/2003 7:31 AM
Thanks Weird Al, I got it working with your code.
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 12/02/2003 6:27 AM
text file updated with all published fixes smile

https://www.ubbdev.com/ubb/upload/00000494/hit66.txt
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 01/02/2004 3:05 PM
Hi Lk,

can you post the modifications for 6.7, you haa changed my files at my testboard...
Posted By: LK Re: [6.4] [beta] Hit Hack - 01/02/2004 9:03 PM
The only changes were in ultimatebb.php, where you hacked incorrectly, and ubb_hits.cgi...
Posted By: d-talk Re: [6.4] [beta] Hit Hack - 01/02/2004 9:29 PM
Thank you LK!!! thumbsup
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 02/05/2004 2:40 AM
What changes were needed for ubb_hits.cgi?

I'm not seeing any errors, but I'm not seeing the hits either smile

http://www.praisecafe.org/thelink/cgi/ultimatebb.cgi?ubb=forum;f=3
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 02/05/2004 4:44 AM
allen, you might need to add the use vars (40 lines of variables); line like in the shoutbox
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 02/05/2004 6:40 AM
that's fixed it. smile Thanks.

When I turn on the php accelerator I get a runtime error... something with the javascript in ubb_hits.cgi is buggin - are there updated instructions maybe? smile
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 02/05/2004 6:46 AM
hmmmm.. ok, seems to be worked out now smile Maybe I should post the new files. I'll get it if LK doesn't have time in the next couple of days smile
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 02/05/2004 6:49 AM
Quote
quote:

Software error:


Undefined subroutine &main::InitImportantStuff called at ubb_hits.cgi line 66.




For help, please send mail to the webmaster ([email protected]), giving this error message
and the time and date of the error.
Allen, that's the error being returned, can you make heads or tails of it?
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 02/05/2004 7:33 AM
where are you seeing that?

I got it, but it cleared up once I moved the initimportantstuff line below the require ubb_lib.cgi line smile
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 02/05/2004 3:46 PM
Mozilla Firebird gives the most amazing js errors, none of that "something went wrong" errors IE gives you
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 02/05/2004 6:12 PM
yeah, this ms script debugger is pretty good too smile
Posted By: paws Re: [6.4] [beta] Hit Hack - 12/07/2004 7:32 PM
Having the same prob that Ellen and Hanjo had. Using 6.5 and hit column remains empty. I can't seem to isolate what they did to get it to work. I am using IE and added the $topicnums .= "$one|"; above and also added , $topicnums at the end of the HTML string.
Any help would be appreciated.
Posted By: AllenAyres Re: [6.4] [beta] Hit Hack - 12/09/2004 7:00 AM
Which version of this mod are you using?
Posted By: paws Re: [6.4] [beta] Hit Hack - 12/09/2004 8:15 PM
The one from the first page of this post. hit64.zip version 2.0
Posted By: LK Re: [6.4] [beta] Hit Hack - 12/09/2004 8:39 PM
What's your board's URL?
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 12/09/2004 8:52 PM
http://www.dssdaily.com/cgi-bin/dss/ultimatebb.cgi

Members Only
Posted By: Felix 10 Re: [6.4] [beta] Hit Hack - 03/06/2005 6:37 AM
Allen, Ian

I have the same problem, it doesn't show any hits

http://romanianational.com/ubb/ultimatebb.php/ubb/forum/f/7

I hacked everything like 4 times, same thing.

in in ubb_forum I have:

Code
 $ThisHTML .= &topic_row;

}
$ThisHTML .= &page_bottom; # some HTML
which I modified to:

Code
 $ThisHTML .= &topic_row;
$topicnums .= "$one|";

}
$ThisHTML .= &page_bottom($topicnums); # some HTML
and still doesnt work. also the color of the background of the last colums is ..something wrong with it. I looked at PraiseCafee and LKworld to see the difference, they look cool.

Can you tell me what is wrong?

Thank you,
Felix
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 03/06/2005 7:32 AM
did you CHMOD ubb_hits.cgi to 755?
Posted By: Felix 10 Re: [6.4] [beta] Hit Hack - 03/06/2005 9:43 PM
Yes I did. Actually I even tried 777, same thing frown
Posted By: Felix 10 Re: [6.4] [beta] Hit Hack - 03/06/2005 10:37 PM
Something strange....today, the hits showed, without doing absolutelly anything! ?? last night didn't work, this morning didn't work. All of a sudden today, the page took longer to load and when it did it showed the Hits. crazy...

Ian, do you know what should I do about that last column? the background color I mean.

Thank you,

Felix
Posted By: Ian Spence Re: [6.4] [beta] Hit Hack - 03/07/2005 12:11 AM
see if you have something like

Code
my $cols = ($vars_display{LastPostColOpt} eq "OFF" ? 5 : 6);
in your ubb_forum.cgi. if so, increase each number by 1
Posted By: Felix 10 Re: [6.4] [beta] Hit Hack - 03/07/2005 2:57 AM
It was actually in in "public_pntf_summary.pl"

Quote
quote:
I chaneged to number 6 to accomodate the new column. Love that stuff!

Thanks Ian,
Felix
Posted By: Felix 10 Re: [6.4] [beta] Hit Hack - 03/07/2005 3:10 AM
Sorry Ian, I must have been editing the post while you were reading it.

I appreciate the you promptitude, you are always on the ball smile

Felix
Posted By: Felix 10 Re: [6.4] [beta] Hit Hack - 03/07/2005 3:25 AM
just in case somebody else needs it.

you have to add "($topicnums);" to the original script:

Code
		$ThisHTML .= &topic_row;
$topicnums .= "$one|";
}
$ThisHTML .= &page_bottom; # some HTML
so it will look like this:

Code
	$ThisHTML .= &topic_row;
$topicnums .= "$one|";

}
$ThisHTML .= &page_bottom($topicnums); # some HTML
Felix
Posted By: _Cash Re: [6.4] [beta] Hit Hack - 03/17/2006 11:23 AM
When I turn on the Accelerator I get this error:

"Accelerator Error:
I can't seem to open the existing hits file (

/home/cash/public_html/ubb/ubb/Forum12/hits.cgi
)
Check that its parent directory exists. Perhaps the path is incorrect?"

Path is correct, the hits.cgi are set at 777 and ultimatebb.php permission is at 646.
Any ideas? this error is also mentioned on page 2 of this thread, but I could not see a solution.
Posted By: LK Re: [6.4] [beta] Hit Hack - 03/19/2006 9:54 PM
Cash, first of all be sure that the path is exact, with "/ubb/ubb". If it is correct, try to change ultimatebb.php's permission to 777, 755, 644, etc.
Posted By: _Cash Re: [6.4] [beta] Hit Hack - 03/24/2006 11:50 PM
Yep, looks like it worked. I changed ultimate.php s permission to 644 ( don't know why it was on 646) and that solved it wink
© UBB.Developers