Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
#202555 04/02/2004 7:43 AM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
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

Sponsored Links
#202556 04/02/2004 11:21 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thank you smile

I ported it for use on my personal site, but it'll be good to check my results against yours smile


- Allen wavey
- What Drives You?
#202557 04/02/2004 2:44 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
pretty much all I edited was a use vars(%hits) in ultimatebb and it all worked

#202558 04/02/2004 3:18 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
there were a couple parts where the find parts were not there, it wasn't that simple. wink

#202559 04/02/2004 3:29 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
"pretty much" wink

Sponsored Links
#202560 04/02/2004 3:31 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Ok, havin a little trouble finding the parts in cp_prune.cgi, tipsy

#202561 04/02/2004 3:37 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
did you look at Allen's 6.6 version? he posted it in the 6.4 thread

#202562 04/02/2004 4:00 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
No, didn't see that...

#202563 04/02/2004 5:43 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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


Webmaster of d-talk & Kabel-Forum.com
#202564 04/03/2004 6:42 AM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It's my understanding that it should only see one hit as it's one person viewing the thread... Uniqueness and all...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
#202565 04/06/2004 11:56 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
No, I don't think I built any uniqueness system into Hit Hack...

#202566 04/08/2004 3:44 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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


- Allen wavey
- What Drives You?
#202567 04/09/2004 12:27 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
#202568 04/09/2004 12:49 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#202569 04/09/2004 2:33 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I haven't checked 6.7 recently, the mhp uploaded was tested against the 6.7.1 you see installed there smile


- Allen wavey
- What Drives You?
#202570 05/15/2004 3:14 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
Anyone know if hit hack will ever support Opera? Not working in the newest ver of opera

#202571 05/15/2004 3:18 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#202572 05/15/2004 3:26 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
No Ian, I dont see the hits, lol. Open up Opera browser if you have it installed. Im tellin ya, it doesnt show hits

#202573 05/15/2004 4:27 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
would you look again? (you might have to refresh)

#202574 05/15/2004 5:25 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
now it works, what'd u do differntly?

#202575 05/15/2004 5:25 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
changed that appendchild(createTextNode()) thing to innerHTML =

#202576 05/15/2004 5:32 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
Ok, I'll look into the code later, (leaving for the seinfeld show now) what file is that stored in off hand? Thanks, wink

#202577 05/15/2004 5:38 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
ubb_hits.cgi

#202578 05/16/2004 2:01 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
so something like ...

Code
document.getElementById('hit$_').innerHTML="$hits{$_}";n~;
?

#202579 05/16/2004 5:58 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
yeah, do that for all the lines that had "createTextNode" in them

#202580 05/16/2004 9:58 AM
Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
Ian is that a "bug fix" or a one off ?

Should we all do it i guess is the question smile

#202581 05/16/2004 10:19 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#202582 05/16/2004 10:23 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
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

#202583 05/16/2004 10:30 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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")

#202584 05/16/2004 10:41 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
Works Perfect tipsy

Thanks for the hack Ian thumbsup

#202585 05/16/2004 11:00 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#202586 05/16/2004 11:12 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
lol, well then, props to Brett as well! Thanks buddy wink

#202587 05/20/2004 11:13 PM
Joined: Jul 2002
Posts: 42
Member
Member
Offline
Joined: Jul 2002
Posts: 42
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

#202588 05/20/2004 11:18 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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!,

#202589 05/20/2004 11:32 PM
Joined: Jul 2002
Posts: 42
Member
Member
Offline
Joined: Jul 2002
Posts: 42
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

#202590 05/22/2004 4:11 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#202591 06/08/2004 11:59 AM
Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
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?

#202592 06/08/2004 7:01 PM
Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
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


-GATOR

"Pain is temporary, Pride is forever"
#202593 06/08/2004 7:07 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
appears to be working for me confused

#202594 06/08/2004 7:15 PM
Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
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.


-GATOR

"Pain is temporary, Pride is forever"
#202595 06/08/2004 7:16 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#202596 07/20/2004 11:54 AM
Joined: Mar 2001
Posts: 172
Member
Member
Offline
Joined: Mar 2001
Posts: 172
Has this been updated with the fixes listed in the thread here?

#202597 08/05/2004 8:10 PM
Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
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...


-GATOR

"Pain is temporary, Pride is forever"
#202598 08/05/2004 8:20 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
don't click back, go back to the main page. it works for me

#202599 08/05/2004 11:17 PM
Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
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.


-GATOR

"Pain is temporary, Pride is forever"
#202600 08/06/2004 1:23 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I'm pretty sure it's cause you don't have at least one post in each forum

#202601 08/07/2004 10:36 PM
Joined: Jan 2003
Posts: 118
Member
Member
Offline
Joined: Jan 2003
Posts: 118
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...


-GATOR

"Pain is temporary, Pride is forever"
#202602 08/07/2004 11:26 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I'm pretty sure it's cause you don't have at least one post in each forum

make a post in every forum

#202603 09/02/2004 5:47 PM
Joined: Dec 2001
Posts: 112
Member
Member
Offline
Joined: Dec 2001
Posts: 112
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

#202604 09/02/2004 5:51 PM
Joined: Dec 2001
Posts: 112
Member
Member
Offline
Joined: Dec 2001
Posts: 112
Oh my bad I got this hack confused with the statistic hack, Sorry


Delw

#202605 10/25/2004 10:40 PM
Joined: Mar 2004
Posts: 58
Member
Member
Offline
Joined: Mar 2004
Posts: 58
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?

#202606 10/25/2004 10:45 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
you have the Wordlets Mod installed?

#202607 10/26/2004 5:49 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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


Webmaster of d-talk & Kabel-Forum.com
#202608 10/26/2004 6:23 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I can't tell what's wrong, it's all in french or something...


- Allen wavey
- What Drives You?
#202609 10/26/2004 7:03 PM
Joined: Mar 2004
Posts: 58
Member
Member
Offline
Joined: Mar 2004
Posts: 58
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

#202610 10/26/2004 9:42 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Loooks more german than french; but i'm a little rusty


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#202611 10/27/2004 3:58 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Yes, it don't shows the numbers.... Mods wordlets is installed...


Webmaster of d-talk & Kabel-Forum.com
#202612 10/27/2004 5:05 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
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


Do you believe in love at first sight,
or should I walk by again?
#202613 03/15/2005 12:17 AM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
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?

#202614 03/15/2005 1:12 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
rehack public_forum_page.pl

#202615 03/15/2005 12:24 PM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
Thanks!

Will this hack work with 6.7.2?

#202616 03/15/2005 12:29 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
yes

#202617 03/15/2005 12:31 PM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
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.

#202618 03/15/2005 12:40 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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?

#202619 03/15/2005 12:46 PM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
My bad, forgot to set permissions to that file. smile

#202620 04/08/2005 3:22 PM
Joined: May 2003
Posts: 20
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 20
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?

#202621 04/11/2005 12:45 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You might double-check the spelling of the code that calls the word in your template, or just edit it to say "hits"


- Allen wavey
- What Drives You?
#202622 04/11/2005 1:37 PM
Joined: May 2003
Posts: 20
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 20
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.

#202623 04/11/2005 3:41 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Stupid question, did you install the wordlets mod or did you just upload the wordlets file?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#202624 04/11/2005 4:18 PM
Joined: May 2003
Posts: 20
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 20
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

#202625 04/11/2005 10:46 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Yeh, sometimes even the most small of issues can render something useless wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#202626 04/12/2005 2:12 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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


- Allen wavey
- What Drives You?
#202627 04/12/2005 9:50 AM
Joined: May 2003
Posts: 20
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 20
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".

#202628 04/12/2005 8:07 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
edit your template file where the word should appear to just say "hits" instead of $vars_wordlets_mods{hits} or whatever it says smile


- Allen wavey
- What Drives You?
#202629 04/16/2005 8:33 AM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
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.

#202630 04/16/2005 8:35 AM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
Could i uninstall the hit hack? if so, how?

#202631 04/16/2005 10:06 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
do the exact opposite of how you installed it. where it told you to add something, remove it, etc

#202632 04/25/2005 3:13 PM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
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?

#202633 04/25/2005 10:54 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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


- Allen wavey
- What Drives You?
#202634 04/26/2005 10:16 AM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
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

#202635 04/26/2005 10:17 AM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
Where is the multihack version? If my problem cannot be solved, i'll take a look at multihack.

#202636 04/26/2005 11:34 AM
Joined: Dec 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 20
I rehacked the files again and it seems to be working. I'll take it as a small victory.

Thanks.

#202637 07/17/2005 3:31 AM
Joined: Jul 2005
Posts: 1
com Offline
Junior Member
Junior Member
Offline
Joined: Jul 2005
Posts: 1
Hello,

So if you want try:

http://medforum.meduni.com

Theres another one?

Thanks
com

#202638 07/17/2005 7:14 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Whachu talkin about com?

#202639 09/24/2005 1:42 PM
Joined: Sep 2005
Posts: 136
Journeyman
Journeyman
Offline
Joined: Sep 2005
Posts: 136
can not find cp_prune.cg

#202640 09/24/2005 5:13 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You don't need it, it's on the "files modified" list but it's not really modified.

#202641 10/07/2005 9:54 AM
Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
The Hit hack doesn't seem to work in Opera browsers, can anyone confirm that ?

#202642 10/07/2005 4:06 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
fixes are posted earlier in this thread, believe page #2 or #3

#202643 10/07/2005 4:14 PM
Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
D'oh! missed it

Thanks!

#202644 10/27/2005 2:52 AM
Joined: Sep 2005
Posts: 136
Journeyman
Journeyman
Offline
Joined: Sep 2005
Posts: 136
I'mnot ready to give up on this yet, can anyone help me out on how to fix this?

[Linked Image]

#202645 10/27/2005 9:12 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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.

#202646 10/28/2005 3:59 PM
Joined: Sep 2005
Posts: 136
Journeyman
Journeyman
Offline
Joined: Sep 2005
Posts: 136
Its increasing fine, look at the collums

#202647 10/28/2005 9:40 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oh.. re-do public_forum_page.pl, you didn't add the part which adds a column to the topics list correctly.

#202648 11/02/2005 12:19 AM
Joined: Sep 2005
Posts: 136
Journeyman
Journeyman
Offline
Joined: Sep 2005
Posts: 136
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.

#202649 11/02/2005 4:39 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
public_forum_summary.pl

Just undo everything you did there

#202650 11/30/2005 9:16 PM
Joined: Sep 2005
Posts: 136
Journeyman
Journeyman
Offline
Joined: Sep 2005
Posts: 136
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]

#202651 11/30/2005 10:53 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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.


- Allen wavey
- What Drives You?
#202652 12/01/2005 2:55 AM
Joined: Sep 2005
Posts: 136
Journeyman
Journeyman
Offline
Joined: Sep 2005
Posts: 136
I could try the forum page again.. I'll glance over the wordlets again as well.. I'll figure it out.. *collapses*

#202653 12/09/2005 11:38 PM
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
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??

#202654 12/10/2005 2:10 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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>

#202655 12/10/2005 2:38 AM
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
I did it and now see the hit col.
I dont see any numbers
did I do something wrong again

#202656 12/10/2005 4:47 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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.

#202657 12/10/2005 5:15 AM
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
works now
THANKS ALOT

#202658 12/26/2005 2:02 AM
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
on the post reply
i dont see the date
Is there a way i can add it in??

#202659 12/26/2005 3:27 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
the date? Is your question related to the "hit hack"?


- Allen wavey
- What Drives You?
#202660 12/26/2005 1:05 PM
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
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

#202661 12/26/2005 6:32 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Do you have a link to/example of the issue?


- Allen wavey
- What Drives You?
#202662 12/26/2005 8:53 PM
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
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

#202663 12/27/2005 3:21 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Redo public_forum_summary.pl.

#202664 12/27/2005 6:56 PM
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
i got it to work
thanks very much

#202665 01/15/2006 2:55 PM
Joined: Jan 2006
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 5
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

#202666 01/16/2006 12:36 AM
Joined: Jan 2006
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 5
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

#202667 01/16/2006 9:12 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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>

#202668 01/16/2006 12:26 PM
Joined: Jan 2006
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 5
Ian,

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

Paul

#202669 01/19/2006 11:24 AM
Joined: Jan 2006
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 5
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

#202670 01/23/2006 11:07 PM
Joined: Jan 2006
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 5
Any chance that someone can help me out here. I'm willing to pay for service.

#202671 01/24/2006 8:18 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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.

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)