Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
#198446 01/13/2003 5:35 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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

Sponsored Links
#198447 01/13/2003 6:56 AM
Joined: Jan 2002
Posts: 19
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 19
What did he say?

J/k sorta. I know you are well respected and all. But can we get a plain english interpretation too?

#198448 01/13/2003 7:41 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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).....

#198449 01/13/2003 11:04 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
thanks LK laugh I needed this to fix the lazy port I did a while back laugh


- Allen wavey
- What Drives You?
#198450 01/13/2003 1:37 PM
Joined: Jan 2002
Posts: 39
Member
Member
Offline
Joined: Jan 2002
Posts: 39
Great work, LK! No problems at all with the install.

Sponsored Links
#198451 01/26/2003 7:17 PM
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
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:

#198452 01/27/2003 3:10 PM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
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.

#198453 01/27/2003 4:02 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I wanted to check your site but then I figured that you hid its URL confused :rolleyes:

#198454 01/27/2003 4:09 PM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
It's a test forum at

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

Any help would be appreciated!

#198455 01/28/2003 1:25 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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

Sponsored Links
#198456 01/28/2003 7:38 AM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
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

#198457 01/28/2003 9:16 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Re-"modify" ubb_forum.cgi... smile

#198458 01/29/2003 7:06 AM
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
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

#198459 01/29/2003 8:35 AM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
Thanks to your help, LK, I found the error of my ways. Much appreciated, and thanks for the great modification!

#198460 02/26/2003 9:54 AM
Joined: Aug 2002
Posts: 19
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 19
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


Man what a rush...
#198461 02/26/2003 10:59 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It's because Hypermart adds advertizements shocked use a real host if you want to use this hack frown

#198462 02/26/2003 11:23 AM
Joined: Aug 2002
Posts: 19
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 19
thanks for your quick reply! Hope i have enough money soon to buy one


Man what a rush...
#198463 02/26/2003 6:46 PM
Joined: Jan 2003
Posts: 87
Member
Member
Offline
Joined: Jan 2003
Posts: 87
MySiteSpacePro.Com host for $36.00 annually & accept PayPal. wink

#198464 03/13/2003 5:43 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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


Webmaster of d-talk & Kabel-Forum.com
#198465 03/16/2003 5:40 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Is there nobody with an idea, why it does not work with 6.5?

thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
#198466 03/16/2003 2: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
it works on my 6.5 (see sig) - I can post the mhp later tonight if you need.


- Allen wavey
- What Drives You?
#198467 03/16/2003 3:30 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Oh yeahhhhhhh, pleas post it!!! Thank you very much!!!!

Do you have a zip-file for mee?
d-talk


Webmaster of d-talk & Kabel-Forum.com
#198468 03/18/2003 7:53 AM
Joined: Sep 2001
Posts: 93
Member
Member
Offline
Joined: Sep 2001
Posts: 93
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

#198469 03/18/2003 7:56 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I think it's a permission problem of ultimatebb.php

#198470 03/18/2003 10:49 AM
Joined: Sep 2001
Posts: 93
Member
Member
Offline
Joined: Sep 2001
Posts: 93
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

#198471 03/18/2003 12:40 PM
Joined: Sep 2001
Posts: 93
Member
Member
Offline
Joined: Sep 2001
Posts: 93
just forget about it, i disbled the safe mode on the server and now it works wink


#198472 05/03/2003 10:42 AM
Joined: May 2003
Posts: 3
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 3
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

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




#198473 05/03/2003 11:48 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
try to rehack ubb_forum.cgi... the part of:[code][/code]make sure you add ABOVE and not below... smile

#198474 05/03/2003 12:10 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
hmmm... that maybe part of one reason why the hits didn't work in our /db files smile


- Allen wavey
- What Drives You?
#198475 05/04/2003 4:15 AM
Joined: May 2003
Posts: 3
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 3
Hi,

it looks like:

[code][/code]UBB 6.5

This isn't the problem.

More ideas?

Hanjo

#198476 05/04/2003 4:21 AM
Joined: May 2003
Posts: 3
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 3
Thank you!

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

German UBB 6.5

Hanjo

#198477 05/04/2003 4:55 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
danke smile I'll update the original files tomorrow smile


- Allen wavey
- What Drives You?
#198478 05/12/2003 7:05 AM
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
Quote
quote:
Originally posted by AllenAyres:
danke smile I'll update the original files tomorrow smile
*still waiting* :-)
chris
http://technoforum.de

#198479 05/17/2003 9:23 AM
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
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

#198480 05/18/2003 4:22 PM
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441

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

#198482 05/19/2003 2:46 AM
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
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. :-/

#198483 05/19/2003 3:12 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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]

#198484 05/19/2003 4:21 AM
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
*blush* - thanks! :-)
chris
http://technoforum.de

#198485 05/23/2003 5:32 AM
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
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

#198486 05/23/2003 10:05 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
hmmm... I'll post a 6.5 mhk tonight if LK isn't able to get to it smile


- Allen wavey
- What Drives You?
#198487 05/23/2003 10:13 AM
Joined: Sep 2000
Posts: 441
Member
Member
Offline
Joined: Sep 2000
Posts: 441
would be very nice, to i just would use your 6.5mhk to check if i patched all things in a correct way... :-)

#198488 05/30/2003 11:26 AM
Joined: May 2003
Posts: 20
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 20
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

#198489 06/03/2003 10:27 PM
Joined: Feb 2001
Posts: 16
Newbie
Newbie
Offline
Joined: Feb 2001
Posts: 16
what if I do not have ultimate.php?

Has anybody done the hack for ultimate.cgi?
Thanks

#198490 06/03/2003 10:33 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
lol, it'll work on both. most use cgi anyway tipsy

#198491 06/06/2003 6:37 AM
Joined: Jun 2003
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 3
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!

#198492 06/06/2003 6:54 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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

#198493 06/06/2003 7:03 AM
Joined: Jun 2003
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 3
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

#198494 06/06/2003 7:04 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
https://www.ubbdev.com/mhp/mhack2.msi


LK, I'd think you'd know that didn't work by now tipsy

#198495 06/06/2003 7:20 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
sorry tipsy

#198496 06/06/2003 7:22 AM
Joined: Jun 2003
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 3
This program only for Windows?

#198497 06/06/2003 7:25 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
yes

#198498 07/25/2003 7:29 PM
Joined: Jul 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 6
Hmm I just installed the mod. I seee the hit colum but with no numbers.

What did i do wrong??

#198499 07/25/2003 8:42 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#198500 07/26/2003 1:43 AM
Joined: Jul 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 6
Ok. Thanks.

#198501 07/28/2003 10:42 PM
Joined: Jul 2003
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 4
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?

#198502 07/28/2003 11:12 PM
Joined: Jul 2003
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 4
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

#198503 07/28/2003 11:26 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=33;t=000018;p=3

look at hanjo's post

#198504 07/29/2003 1:54 AM
Joined: Jul 2003
Posts: 4
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 4
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

#198505 08/20/2003 2:29 PM
Joined: Jun 2002
Posts: 66
wOw Offline
Member
Member
Offline
Joined: Jun 2002
Posts: 66
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.

#198506 08/23/2003 11:30 AM
Joined: Jun 2002
Posts: 66
wOw Offline
Member
Member
Offline
Joined: Jun 2002
Posts: 66
*Bump*

Can anyone help me with this?

#198507 08/25/2003 6:26 AM
Joined: Apr 2003
Posts: 57
Member
Member
Offline
Joined: Apr 2003
Posts: 57
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.

#198508 10/31/2003 11:40 AM
Joined: Nov 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 28
Anyone try this with 6.6.1 yet?

#198509 10/31/2003 11:51 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
will tonight. I had it running on 6.6 Beta Release if I remember correctly

#198510 10/31/2003 1:19 PM
Joined: Nov 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 28
I tried it this morning, no luck, will try to work with it again this weekend.

#198511 11/04/2003 5:24 PM
Joined: Nov 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 28
Hopefully I can work on this again tonight to try to get it working with 6.6, haven't had time since last week.

#198512 11/26/2003 11:46 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
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...


- Allen wavey
- What Drives You?
#198513 11/26/2003 12:21 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
(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...


Webmaster of d-talk & Kabel-Forum.com
#198514 11/26/2003 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
Did you upload the ubb_hits.cgi file from the original zip?


- Allen wavey
- What Drives You?
#198515 11/26/2003 12:29 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Yes, I upload the ubb_hits.cgi


Webmaster of d-talk & Kabel-Forum.com
#198516 11/26/2003 12:39 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
your permissions on your forum folders are 777?


- Allen wavey
- What Drives You?
#198517 11/26/2003 12:41 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
and is the php accelerator turned on?


- Allen wavey
- What Drives You?
#198518 11/26/2003 12:50 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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


Webmaster of d-talk & Kabel-Forum.com
#198519 11/26/2003 1:36 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
in cp2_content.cgi:

find:
use strict;
#use warnings;


add below:
use vars qw(
%hits
);

that should fix the above error.


- Allen wavey
- What Drives You?
#198520 11/26/2003 1:41 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
(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...


Webmaster of d-talk & Kabel-Forum.com
#198521 11/26/2003 10:50 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
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.


- Allen wavey
- What Drives You?
#198522 11/26/2003 11:16 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
*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

#198523 11/26/2003 11:50 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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.


Webmaster of d-talk & Kabel-Forum.com
#198524 11/27/2003 12:07 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
this may be a stretch... but you did upload ubb_hits.cgi, right?

#198525 11/27/2003 3:09 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Yes, I uploaded it to the cgi-bin folder


Webmaster of d-talk & Kabel-Forum.com
#198526 11/27/2003 6:23 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Can somebody have a look at my ftp files? I have rehacked it several times... frown


Webmaster of d-talk & Kabel-Forum.com
#198527 11/27/2003 12:11 PM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
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


Do you believe in love at first sight,
or should I walk by again?
#198528 11/27/2003 12:13 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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...


Webmaster of d-talk & Kabel-Forum.com
#198529 11/27/2003 12:39 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#198530 11/27/2003 2:03 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#198531 12/01/2003 12:31 AM
Joined: Nov 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 28
Thanks Weird Al, I got it working with your code.

#198532 12/01/2003 11: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
text file updated with all published fixes smile

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


- Allen wavey
- What Drives You?
#198533 01/02/2004 8:05 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Lk,

can you post the modifications for 6.7, you haa changed my files at my testboard...


Webmaster of d-talk & Kabel-Forum.com
#198534 01/02/2004 2:03 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
The only changes were in ultimatebb.php, where you hacked incorrectly, and ubb_hits.cgi...

#198535 01/02/2004 2:29 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Thank you LK!!! thumbsup


Webmaster of d-talk & Kabel-Forum.com
#198536 02/04/2004 7:40 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
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


- Allen wavey
- What Drives You?
#198537 02/04/2004 9:44 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
allen, you might need to add the use vars (40 lines of variables); line like in the shoutbox

#198538 02/04/2004 11:40 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'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


- Allen wavey
- What Drives You?
#198539 02/04/2004 11:46 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
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


- Allen wavey
- What Drives You?
#198540 02/04/2004 11:49 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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?

#198541 02/05/2004 12:33 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
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


- Allen wavey
- What Drives You?
#198542 02/05/2004 8:46 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Mozilla Firebird gives the most amazing js errors, none of that "something went wrong" errors IE gives you

#198543 02/05/2004 11: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
yeah, this ms script debugger is pretty good too smile


- Allen wavey
- What Drives You?
#198544 12/07/2004 12:32 PM
Joined: Apr 2003
Posts: 9
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 9
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.

#198545 12/09/2004 12:00 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
Which version of this mod are you using?


- Allen wavey
- What Drives You?
#198546 12/09/2004 1:15 PM
Joined: Apr 2003
Posts: 9
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 9
The one from the first page of this post. hit64.zip version 2.0

#198547 12/09/2004 1:39 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
What's your board's URL?

#198548 12/09/2004 1:52 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2

#198549 03/05/2005 11:37 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
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

#198550 03/06/2005 12:32 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
did you CHMOD ubb_hits.cgi to 755?

#198551 03/06/2005 2:43 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Yes I did. Actually I even tried 777, same thing frown

#198552 03/06/2005 3:37 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
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

#198553 03/06/2005 5:11 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

#198554 03/06/2005 7:57 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
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
#198555 03/06/2005 8:10 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
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

#198556 03/06/2005 8:25 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
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

#198557 03/17/2006 4:23 AM
Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
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.

#198558 03/19/2006 2:54 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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.

#198559 03/24/2006 4:50 PM
Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
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

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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)