UBB.Dev
Posted By: Brett [6.7] [beta] Hit Hack - 04/02/2004 2:43 PM
Modification Name: Hit Hack

Author(s): Brett

Description: Shows hits in forum summary/page

Demo: http://www.pavioni.com/ubb/ultimatebb.php

Requirements: UBB 6.7, Mod Wordlets

Download Link: https://www.ubbdev.com/ubb/upload/00006378/HitHack6.7.zip

Credits: LK, e@sy, qasic, cal

IF THE NUMBERS ARE NOT SHOWING UP, PLEASE VERIFY THAT UBB_HITS.CGI IS CHMODed TO 755 - Ian
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 04/02/2004 6:21 PM
thank you smile

I ported it for use on my personal site, but it'll be good to check my results against yours smile
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 04/02/2004 9:44 PM
pretty much all I edited was a use vars(%hits) in ultimatebb and it all worked
Posted By: Brett Re: [6.7] [beta] Hit Hack - 04/02/2004 10:18 PM
there were a couple parts where the find parts were not there, it wasn't that simple. wink
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 04/02/2004 10:29 PM
"pretty much" wink
Posted By: Brett Re: [6.7] [beta] Hit Hack - 04/02/2004 10:31 PM
Ok, havin a little trouble finding the parts in cp_prune.cgi, tipsy
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 04/02/2004 10:37 PM
did you look at Allen's 6.6 version? he posted it in the 6.4 thread
Posted By: Brett Re: [6.7] [beta] Hit Hack - 04/02/2004 11:00 PM
No, didn't see that...
Posted By: d-talk Re: [6.7] [beta] Hit Hack - 04/03/2004 12:43 AM
Hi Brett,

I tested your hit-hack at your test-board and it seems to be that your hack does not work correctly, if I click the same thread 2,3 or 4 times it counts only 1 hit...

A cache problem?

Allens one works fine with cache and ultimatebb.php
Posted By: Gizmo Re: [6.7] [beta] Hit Hack - 04/03/2004 1:42 PM
It's my understanding that it should only see one hit as it's one person viewing the thread... Uniqueness and all...
Posted By: LK Re: [6.7] [beta] Hit Hack - 04/06/2004 6:56 PM
No, I don't think I built any uniqueness system into Hit Hack...
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 04/08/2004 10:44 PM
buglet:

Code
*********************
* Open cp2_content.cgi *
*********************

Find: (~275)
=====

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

Code
*********************
* Open cp2_content.cgi *
*********************

Find: (~1093)
=====

# delete topic file
&Unlink("$vars_config{NonCGIPath}/$exact_path/$topic.cgi");
tho this may only affect 6.7.1 smile
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 04/09/2004 7:27 PM
mhp added here:
https://www.ubbdev.com/db/ultimatebb.php/topic/22/53.html
Posted By: Gizmo Re: [6.7] [beta] Hit Hack - 04/09/2004 7:49 PM
Allen, does the MHP include your little buglet for 6.7.1? If so you may need to update if the error was just in 6.7...
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 04/09/2004 9:33 PM
I haven't checked 6.7 recently, the mhp uploaded was tested against the 6.7.1 you see installed there smile
Posted By: havoq Re: [6.7] [beta] Hit Hack - 05/15/2004 10:14 PM
Anyone know if hit hack will ever support Opera? Not working in the newest ver of opera
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/15/2004 10:18 PM
It should work perfectly. Go to my forums, you don't see the hits?

This is BASIC js, it's more of an Opera supporting the hit hack
Posted By: havoq Re: [6.7] [beta] Hit Hack - 05/15/2004 10:26 PM
No Ian, I dont see the hits, lol. Open up Opera browser if you have it installed. Im tellin ya, it doesnt show hits
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/15/2004 11:27 PM
would you look again? (you might have to refresh)
Posted By: havoq Re: [6.7] [beta] Hit Hack - 05/16/2004 12:25 AM
now it works, what'd u do differntly?
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/16/2004 12:25 AM
changed that appendchild(createTextNode()) thing to innerHTML =
Posted By: havoq Re: [6.7] [beta] Hit Hack - 05/16/2004 12:32 AM
Ok, I'll look into the code later, (leaving for the seinfeld show now) what file is that stored in off hand? Thanks, wink
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/16/2004 12:38 AM
ubb_hits.cgi
Posted By: havoq Re: [6.7] [beta] Hit Hack - 05/16/2004 9:01 AM
so something like ...

Code
document.getElementById('hit$_').innerHTML="$hits{$_}";n~;
?
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/16/2004 12:58 PM
yeah, do that for all the lines that had "createTextNode" in them
Posted By: Painfool Re: [6.7] [beta] Hit Hack - 05/16/2004 4:58 PM
Ian is that a "bug fix" or a one off ?

Should we all do it i guess is the question smile
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/16/2004 5:19 PM
It would make it support the big 4 (Mozilla, IE, Opera, Netscape), however, since it's not my mod, it's up to Brett if he wants to add it
Posted By: havoq Re: [6.7] [beta] Hit Hack - 05/16/2004 5:23 PM
Hmmm, I have 3 lines of total code in ubb_hits.cgi

I've changed all 3 to what you said. For example:

Code
document.getElementById('hitf$forums[$_]').innerHTML="$hits{forum} $vars_wordlets_mods{count_on_click_lowercase}";
Code
document.getElementById('hitt$forums[$_]').innerHTML="$hits{$topics[$_]} $vars_wordlets_mods{count_on_click_lowercase}";n~;
AND

Code
document.getElementById('hit$_').innerHTML="$hits{$_}";n~;
Still cant show up in Opera. Is that correct syntax? I'll keep workin on this one wink
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/16/2004 5:30 PM
Try this also, forgot the other change I made.

In ubb_hits.cgi
FIND:
Code
if (is_ie5up || is_gecko
ADD AFTER:
Code
 || agt.indexOf("opera")
Posted By: havoq Re: [6.7] [beta] Hit Hack - 05/16/2004 5:41 PM
Works Perfect tipsy

Thanks for the hack Ian thumbsup
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/16/2004 6:00 PM
Quote
Originally posted by havoq:

Works Perfect tipsy

Thanks for the hack Ian thumbsup

haha, thank Brett for the hack, thank me for 2 lines of code, one of which Brett taught me tipsy
Posted By: havoq Re: [6.7] [beta] Hit Hack - 05/16/2004 6:12 PM
lol, well then, props to Brett as well! Thanks buddy wink
Posted By: The Finman Re: [6.7] [beta] Hit Hack - 05/21/2004 6:13 AM
I could probably figure this out for myself, but I would like to change the displayed wording of "Hits" to "Views". wink

Thanks for any help. smile
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/21/2004 6:18 AM
change
Code
	q!count_on_click! => q!Hits!,
q!count_on_click_lowercase! => q!hits!,
to

Code
	q!count_on_click! => q!Views!,
q!count_on_click_lowercase! => q!views!,
Posted By: The Finman Re: [6.7] [beta] Hit Hack - 05/21/2004 6:32 AM
Quote
Originally posted by Ian Spence:

change
Code
	q!count_on_click! => q!Hits!,
q!count_on_click_lowercase! => q!hits!,
to

Code
	q!count_on_click! => q!Views!,
q!count_on_click_lowercase! => q!views!,
Thanks Ian, you totally ROCK! thumbsup
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 05/22/2004 11:11 PM
Brett, anyway to get this to update with mass move?
I just combined 2 of my forums, and all the moved posts had their counters reset
Posted By: RoxSeibert Re: [6.7] [beta] Hit Hack - 06/08/2004 6:59 PM
Quote
Originally posted by Brett:

Requirements: UBB 6.7, Mod Wordlets
I'm having trouble finding "Mod Wordlets" up here... is this a 6.4-6.7 Mod?
Posted By: GATOR420 Re: [6.7] [beta] Hit Hack - 06/09/2004 2:01 AM
Interesting error. Example... A thread listed in the last post column under a category and in a forum will display 6 hits from the main board.

When I click on the category to view all forums in that category, it will say that thread that was in the last post column has 66 hits.

When I go to view that post in that forum, and then click back to the category, it will say that the thread has 77 hits. When I go back out to the all category listing, it shows that the last post has 7 hits.

Help please? smile

-Thanks again
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 06/09/2004 2:07 AM
appears to be working for me confused
Posted By: GATOR420 Re: [6.7] [beta] Hit Hack - 06/09/2004 2:15 AM
Ian, I apologize, but that link in the sig is still for the test board, not production. I will PM you the link to that board. This applies to the same board but it got moved and cats and forums added.
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 06/09/2004 2:16 AM
sure, and gimme ftp access to that one so I can fix it then act like it was always working laugh

This is not a bug with this hack. Somehow I managed to upload a test ubb_hits.cgi file that had both innerHTML and appendChild, making everything appear twice
Posted By: Gladius Re: [6.7] [beta] Hit Hack - 07/20/2004 6:54 PM
Has this been updated with the fixes listed in the thread here?
Posted By: GATOR420 Re: [6.7] [beta] Hit Hack - 08/06/2004 3:10 AM
Hmm, it appears as if that hit hack is not working for my under the last post section. All of the posts in Last Posts show 0 hits. When I click it and go back, nothing registers... Any ideas? As always, thanks in advance...
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 08/06/2004 3:20 AM
don't click back, go back to the main page. it works for me
Posted By: GATOR420 Re: [6.7] [beta] Hit Hack - 08/06/2004 6:17 AM
OK.. I take that back. Some are working and some are not. I'm not sure what the common denominator might be. Check some of the posts lower in the forums. An example would be under traveling, and packing tips.
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 08/06/2004 8:23 AM
I'm pretty sure it's cause you don't have at least one post in each forum
Posted By: GATOR420 Re: [6.7] [beta] Hit Hack - 08/08/2004 5:36 AM
I think it's very strange. Check out the polls section, there is only one forum in that category, it has posts in it, and it doesn't show hits.?

Other categories don't have post in every forum and some forums are counting and others are not. I just posted a new topic in a forum that had no posts in it and it isn't counting hits but other existing forums with posts in them are? I don't get it...
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 08/08/2004 6:26 AM
I'm pretty sure it's cause you don't have at least one post in each forum

make a post in every forum
Posted By: Delw Re: [6.7] [beta] Hit Hack - 09/03/2004 12:47 AM
I installed the hithack version, and it doesnt show on my board http://www.huntandlodge.com/cgi-bin/ultimatebb.cgi

We dont show howmany hits are on each topic( I havent enabled that).
do I need to enable that in oder to see the page? I really dont want to if I dont have to.

Thanks
Delw
Posted By: Delw Re: [6.7] [beta] Hit Hack - 09/03/2004 12:51 AM
Oh my bad I got this hack confused with the statistic hack, Sorry


Delw
Posted By: Tiger66 Re: [6.7] [beta] Hit Hack - 10/26/2004 5:40 AM
I added this hack, but on the hits column instead of the cell where it should say "Hits" there's just an empty cell ,other numbers shows fine, any advices?
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 10/26/2004 5:45 AM
you have the Wordlets Mod installed?
Posted By: d-talk Re: [6.7] [beta] Hit Hack - 10/26/2004 12:49 PM
Hello,

I've got this error:

http://www.med-forum.board-world.de/test.jpg

Can someone please help me?

Thanks
d-talk

Edit by Ian Spence:

Changed [img] to [url] to prevent stretching of page
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 10/27/2004 1:23 AM
I can't tell what's wrong, it's all in french or something...
Posted By: Tiger66 Re: [6.7] [beta] Hit Hack - 10/27/2004 2:03 AM
I would guess he gets a similar problem to mine only for him it doesn't even show numbers and for me it does

Anyway I had the Wortlets Mods installed but I removed this hack, it slows my board too much

Great hack tho
Posted By: Gizmo Re: [6.7] [beta] Hit Hack - 10/27/2004 4:42 AM
Loooks more german than french; but i'm a little rusty
Posted By: d-talk Re: [6.7] [beta] Hit Hack - 10/27/2004 10:58 AM
Yes, it don't shows the numbers.... Mods wordlets is installed...
Posted By: Charles Re: [6.7] [beta] Hit Hack - 10/27/2004 12:05 PM
Quote
Originally posted by Gizzy:

Loooks more german than french; but i'm a little rusty
I second that, shame on you allen tipsy

edit: and I would say the problems comes from hit.cgi
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 03/15/2005 7:17 AM
I installed this hack on a 6.7 board. It works when i click directly to a post but when i click on the category heading i get this

Code
 (RequireCodeNoINC) NonCGIPath/Templates/public_forum_page.pl: syntax error at NonCGIPath/Templates/public_forum_page.pl line 476, near "my $last_post_link = ($vars_display{LastPostColOpt} =~ m/LINK|NOTIME/"
Compilation failed in require at CGIPath/ubb_lib.cgi line 928.
Am i missing something?
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 03/15/2005 8:12 AM
rehack public_forum_page.pl
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 03/15/2005 7:24 PM
Thanks!

Will this hack work with 6.7.2?
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 03/15/2005 7:29 PM
yes
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 03/15/2005 7:31 PM
I installed this hack on a 6.7.2 board. I haven't received any errors. I do see the "Hits" column on a topic page, but no hits are listed.
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 03/15/2005 7:40 PM
Please verify that ubb_hits.cgi has been CHMODed to 755.

If it already is, can I have a link to the forum, and info for an account if it's member's only?
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 03/15/2005 7:46 PM
My bad, forgot to set permissions to that file. smile
Posted By: Nycore Re: [6.7] [beta] Hit Hack - 04/08/2005 10:22 PM
Just installed this on 6.7.0. My ultimatebb.php file had different lines but Ian helped me out.

Site seems to be the same speed so far under 5 users but we'll see tomorrow.

Also - I have no word "hits" displayed at the top but the numbers are shown. I do have var_worlets_mods.cgi uploaded. I also see the word "hits" in my admin panel and have the option to change the wording but that had no effect. Im guessing some other file was not correctly edited?
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 04/11/2005 7:45 PM
You might double-check the spelling of the code that calls the word in your template, or just edit it to say "hits"
Posted By: Nycore Re: [6.7] [beta] Hit Hack - 04/11/2005 8:37 PM
Quote
Originally posted by AllenAyres:

You might double-check the spelling of the code that calls the word in your template, or just edit it to say "hits"
I changed the word "hits" to "views" in the control panel/worlets but still its blank. The worlets_mod file was updated with the new info but still theres no change. Its not a big deal though because the hits count is there its just that the column has no name to it.
Posted By: Gizmo Re: [6.7] [beta] Hit Hack - 04/11/2005 10:41 PM
Stupid question, did you install the wordlets mod or did you just upload the wordlets file?
Posted By: Nycore Re: [6.7] [beta] Hit Hack - 04/11/2005 11:18 PM
Quote
Originally posted by Gizzy:

Stupid question, did you install the wordlets mod or did you just upload the wordlets file?
Edit - Um ooops, thats what was missing.

The Worlets Mod should be updated thouigh. It says in the txt file 'FILES MODIFIED: cp.cgi, ultimatebb.cgi'.

But theres also vars_wordlets_cp2.cgi as per the instructions smile

Thanks, it works now by redoing the worlets_mods in the CP
Posted By: Gizmo Re: [6.7] [beta] Hit Hack - 04/12/2005 5:46 AM
Yeh, sometimes even the most small of issues can render something useless wink
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 04/12/2005 9:12 AM
Quote
Originally posted by Nycore:

Originally posted by AllenAyres:
[qb]
You might double-check the spelling of the code that calls the word in your template, or just edit it to say "hits"
[/qb]
I changed the word "hits" to "views" in the control panel/worlets but still its blank. The worlets_mod file was updated with the new info but still theres no change. Its not a big deal though because the hits count is there its just that the column has no name to it.



I meant in the template file itself, but glad you have it working now smile
Posted By: Nycore Re: [6.7] [beta] Hit Hack - 04/12/2005 4:50 PM
Actually I just had errors today. Polls arent working. I got tons of lines about files relating to poles in the error message. I replaced the 3 files from the worlets_mods that I installed and it solved the problem but it removed the "hits" word. lol.

I know I goofed somewhere but figure Id post in the vent that someone lese had issues. I have to go through the install again and see where I sent wrong.

As it stands now my "hits" are working and the site is running normal I just have no word "hits".
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 04/13/2005 3:07 AM
edit your template file where the word should appear to just say "hits" instead of $vars_wordlets_mods{hits} or whatever it says smile
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 04/16/2005 3:33 PM
After a rent server upgrade my ubb with hit hack installed, has been displaying an error message. When i rebuild meta data i see the following.
Code
  Insecure dependency in unlink while running setuid at /System/Library/Perl/File/Path.pm line 220.
and this in the debug info
Code
 StandardHTML stack trace: 
at /Applications/4DWebSTAR/WebServer/forums/Templates//cp2_common.pl line 96

main::StandardHTML called at /Applications/4DWebSTAR/WebServer/forums/Templates//cp2_common.pl line 131

main::StandardHTML2() called at Modules/UBBCGI/Carp.pm line 150

UBBCGI::Carp::fatalsToBrowser() called at Modules/UBBCGI/Carp.pm line 86

UBBCGI::Carp::die() called at /System/Library/Perl/File/Path.pm line 220

File::Path::rmtree() called at /System/Library/Perl/File/Path.pm line 186

File::Path::rmtree() called at /Applications/4DWebSTAR/WebServer/cgi-bin/ubb_lib.cgi line 1623

main::ClearSingleForumPageCache() called at /Applications/4DWebSTAR/WebServer/cgi-bin/cp2_maint.cgi line 744

main::refreshwrapper_forumstats() called at /Applications/4DWebSTAR/WebServer/cgi-bin/cp2_maint.cgi line 279

main::refreshing called at cp.cgi line 526
any ideas of what might have happened.
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 04/16/2005 3:35 PM
Could i uninstall the hit hack? if so, how?
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 04/16/2005 5:06 PM
do the exact opposite of how you installed it. where it told you to add something, remove it, etc
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 04/25/2005 10:13 PM
I reinstalled the hack and all the old hits are still visible in the ubb, however any new hits are not accounted for.

Any suggestions?
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 04/26/2005 5:54 AM
You can view the old ones but you aren't writing any new ones, something in your install is off. You might try the multihack version, works for me smile
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 04/26/2005 5:16 PM
hmmmm. i've checked the install. The hits are counting inside on the topic pages, just not on the forum summary page.

http://www.closingthegap.org/cgi-bin/ultimatebb.cgi
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 04/26/2005 5:17 PM
Where is the multihack version? If my problem cannot be solved, i'll take a look at multihack.
Posted By: jsteinborn Re: [6.7] [beta] Hit Hack - 04/26/2005 6:34 PM
I rehacked the files again and it seems to be working. I'll take it as a small victory.

Thanks.
Posted By: com Re: [6.7] [beta] Hit Hack - 07/17/2005 10:31 AM
Hello,

So if you want try:

http://medforum.meduni.com

Theres another one?

Thanks
com
Posted By: LK Re: [6.7] [beta] Hit Hack - 07/17/2005 2:14 PM
Whachu talkin about com?
Posted By: AshtarRose Re: [6.7] [beta] Hit Hack - 09/24/2005 8:42 PM
can not find cp_prune.cg
Posted By: LK Re: [6.7] [beta] Hit Hack - 09/25/2005 12:13 AM
You don't need it, it's on the "files modified" list but it's not really modified.
Posted By: _Cash Re: [6.7] [beta] Hit Hack - 10/07/2005 4:54 PM
The Hit hack doesn't seem to work in Opera browsers, can anyone confirm that ?
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 10/07/2005 11:06 PM
fixes are posted earlier in this thread, believe page #2 or #3
Posted By: _Cash Re: [6.7] [beta] Hit Hack - 10/07/2005 11:14 PM
D'oh! missed it

Thanks!
Posted By: AshtarRose Re: [6.7] [beta] Hit Hack - 10/27/2005 9:52 AM
I'mnot ready to give up on this yet, can anyone help me out on how to fix this?

[Linked Image]
Posted By: LK Re: [6.7] [beta] Hit Hack - 10/27/2005 4:12 PM
There could be a million possibilities of why won't it increase, re-do the hack from the beginning. Also check the permissions (CHMOD) of /ubb/ForumX/hits.cgi file, it should be set to 777.
Posted By: AshtarRose Re: [6.7] [beta] Hit Hack - 10/28/2005 10:59 PM
Its increasing fine, look at the collums
Posted By: LK Re: [6.7] [beta] Hit Hack - 10/29/2005 4:40 AM
Oh.. re-do public_forum_page.pl, you didn't add the part which adds a column to the topics list correctly.
Posted By: AshtarRose Re: [6.7] [beta] Hit Hack - 11/02/2005 7:19 AM
I got it fixed, but which page can I not edit so this doesn't show up on the board summary?

[Linked Image]

I only wanted the views on the inside of the forums themselves.
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 11/02/2005 11:39 PM
public_forum_summary.pl

Just undo everything you did there
Posted By: AshtarRose Re: [6.7] [beta] Hit Hack - 12/01/2005 4:16 AM
Hit Hack and I have emotional issues.. I know I forgot something again, the Views isn't showing up above the numbers and I know I chmod'd everything on purpose to try to fix it.

[Linked Image]
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 12/01/2005 5:53 AM
that would mean either you haven't installed the mod wordlets modification, or you haven't modfied public_forum_page.pl correctly. If your users use english only on your forum, you can just put the actual word in that template and skip installed mod_wordlets. mod_wordlets are written into our modifications for our international members, but can always be written directly in whatever language you choose.
Posted By: AshtarRose Re: [6.7] [beta] Hit Hack - 12/01/2005 9:55 AM
I could try the forum page again.. I'll glance over the wordlets again as well.. I'll figure it out.. *collapses*
Posted By: warden Re: [6.7] [beta] Hit Hack - 12/10/2005 6:38 AM
i've done all the directions to get this to work and its not working

http://www.writerzblock.net/cgi-bin/ultimatebb.cgi

Am i missing something??
Posted By: LK Re: [6.7] [beta] Hit Hack - 12/10/2005 9:10 AM
You don't have a "vars_wordlets_mods.cgi" file under /cgi-bin.
Create a file called vars_wordlets_mods.cgi. Its content:
Code
%vars_wordlets_mods = (
q!count_on_click! => q!Hits!,
q!count_on_click_lowercase! => q!hits!,
);
1;
Upload it to /cgi-bin.

Now go to public_forum_page.pl.
Find:
Code
<b>$vars_wordlets_mods{count_on_click}</b></font>
Replace with:
Code
<b>Hits</b></font>
Posted By: warden Re: [6.7] [beta] Hit Hack - 12/10/2005 9:38 AM
I did it and now see the hit col.
I dont see any numbers
did I do something wrong again
Posted By: LK Re: [6.7] [beta] Hit Hack - 12/10/2005 11:47 AM
Seems like somebody edited your ubb_hits.cgi to add Opera support for some reason (although it should already support Opera).
Please re-upload a fresh ubb_hits.cgi file from the first message.
Posted By: warden Re: [6.7] [beta] Hit Hack - 12/10/2005 12:15 PM
works now
THANKS ALOT
Posted By: warden Re: [6.7] [beta] Hit Hack - 12/26/2005 9:02 AM
on the post reply
i dont see the date
Is there a way i can add it in??
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 12/26/2005 10:27 AM
the date? Is your question related to the "hit hack"?
Posted By: warden Re: [6.7] [beta] Hit Hack - 12/26/2005 8:05 PM
Quote
Originally posted by AllenAyres:

the date? Is your question related to the "hit hack"?
yes
I installed the hit hack

And I see the hits, but do not see the date of the post
Posted By: AllenAyres Re: [6.7] [beta] Hit Hack - 12/27/2005 1:32 AM
Do you have a link to/example of the issue?
Posted By: warden Re: [6.7] [beta] Hit Hack - 12/27/2005 3:53 AM
http://www.writerzblock.net/cgi-bin/ultimatebb.cgi

main page as you see only has the hit number
no date of the posts, and time
Posted By: LK Re: [6.7] [beta] Hit Hack - 12/27/2005 10:21 PM
Redo public_forum_summary.pl.
Posted By: warden Re: [6.7] [beta] Hit Hack - 12/28/2005 1:56 AM
i got it to work
thanks very much
Posted By: Roopster Re: [6.7] [beta] Hit Hack - 01/15/2006 9:55 PM
Ok this is my 2nd hack I'm trying to install (just found this site yesterday). I installed the "hidden users" hack successfully however, I did not have luck with this one.

I'm on 6.7.3 release.

Here's what I did:

1) Installed Mod Wordlets https://www.ubbdev.com/ubb/ultimatebb.php/topic/33/71.html#000000

2) Downloaded the files in the first post here and followed all directions in the hits.txt file. I added the ubb_hits.cgi (set permissions correctly) and modified all the files per instructions.

3) Cleared Cache

Looks like ..ForumX/hits.cgi files are being updated.

FORUM: http://www.christianityforums.com

Help!

Paul
Posted By: Roopster Re: [6.7] [beta] Hit Hack - 01/16/2006 7:36 AM
Just went back over the entire instructions in the hits.txt file from the first post on this thread checking the files ON the server itself and everything checked out.

Paul
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 01/16/2006 4:12 PM
Verify you did the following step
Code
*****************************
* Open public_forum_page.pl *
*****************************

Find: (~205)
=====

my $page_bottom = qq~

Add below:
==========

<script type="text/javascript" src="$vars_config{CGIURL}/ubb_hits.cgi?forum=$in{f};topics=$topicnums"></script>
Posted By: Roopster Re: [6.7] [beta] Hit Hack - 01/16/2006 7:26 PM
Ian,

Thanks for the reponse. I did verify the above. It appears to be correct.

Paul
Posted By: Roopster Re: [6.7] [beta] Hit Hack - 01/19/2006 6:24 PM
I went over this again and everything seems to check out. I'm willing to give one of the mods temporary ftp access if needed.

Thanks,
Paul
Posted By: Roopster Re: [6.7] [beta] Hit Hack - 01/24/2006 6:07 AM
Any chance that someone can help me out here. I'm willing to pay for service.
Posted By: Ian Spence Re: [6.7] [beta] Hit Hack - 01/24/2006 3:18 PM
I'll do it for free but I can't do it till the weekend. Email ispence {AT} gmail {D0T} com with the information for ftp. (You could also just send a Private message with the info here) I'll be able to do everything with that info.
© UBB.Developers