|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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. 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. Good luck!
|
|
|
|
Joined: Jan 2002
Posts: 19
Junior Member
|
Junior Member
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?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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).....
|
|
|
|
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 I needed this to fix the lazy port I did a while back
|
|
|
|
Joined: Jan 2002
Posts: 39
Member
|
Member
Joined: Jan 2002
Posts: 39 |
Great work, LK! No problems at all with the install.
|
|
|
|
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:
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I wanted to check your site but then I figured that you hid its URL :rolleyes:
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Re-"modify" ubb_forum.cgi...
|
|
|
|
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
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
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!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It's because Hypermart adds advertizements use a real host if you want to use this hack
|
|
|
|
Joined: Aug 2002
Posts: 19
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 19 |
thanks for your quick reply! Hope i have enough money soon to buy one
Man what a rush...
|
|
|
|
Joined: Jan 2003
Posts: 87
Member
|
Member
Joined: Jan 2003
Posts: 87 |
MySiteSpacePro.Com host for $36.00 annually & accept PayPal.
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
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
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Is there nobody with an idea, why it does not work with 6.5?
thanks d-talk
|
|
|
|
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.
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Oh yeahhhhhhh, pleas post it!!! Thank you very much!!!!
Do you have a zip-file for mee? d-talk
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
i (still) got a strange error message if I enable the php accelerator on my own root-server: 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 ?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I think it's a permission problem of ultimatebb.php
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
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 so now I cant use the acc.
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
just forget about it, i disbled the safe mode on the server and now it works
|
|
|
|
Joined: May 2003
Posts: 3
Junior Member
|
Junior Member
Joined: May 2003
Posts: 3 |
I've same problem like "Ellen". 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 =========================
|
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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...
|
|
|
|
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
|
|
|
|
Joined: May 2003
Posts: 3
Junior Member
|
Junior Member
Joined: May 2003
Posts: 3 |
Hi,
it looks like:
[code][/code]UBB 6.5
This isn't the problem.
More ideas?
Hanjo
|
|
|
|
Joined: May 2003
Posts: 3
Junior Member
|
Junior Member
Joined: May 2003
Posts: 3 |
Thank you!
[code][/code]is correct and works fine ;-)
German UBB 6.5
Hanjo
|
|
|
|
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 I'll update the original files tomorrow
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
quote: Originally posted by AllenAyres: danke I'll update the original files tomorrow *still waiting* :-) chris http://technoforum.de
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
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
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
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. :-/
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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]
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
Joined: Sep 2000
Posts: 441 |
*blush* - thanks! :-) chris http://technoforum.de
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
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
|
|
|
|
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
|
|
|
|
Joined: Sep 2000
Posts: 441
Member
|
Member
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... :-)
|
|
|
|
Joined: May 2003
Posts: 20
Junior Member
|
Junior Member
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
|
|
|
|
Joined: Feb 2001
Posts: 16
Newbie
|
Newbie
Joined: Feb 2001
Posts: 16 |
what if I do not have ultimate.php?
Has anybody done the hack for ultimate.cgi? Thanks
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
lol, it'll work on both. most use cgi anyway
|
|
|
|
Joined: Jun 2003
Posts: 3
Junior Member
|
Junior Member
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!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
welcome to our little community paul 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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
sorry
|
|
|
|
Joined: Jun 2003
Posts: 3
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 3 |
This program only for Windows?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Jul 2003
Posts: 6
Junior Member
|
Junior Member
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??
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jul 2003
Posts: 6
Junior Member
|
Junior Member
Joined: Jul 2003
Posts: 6 |
|
|
|
|
Joined: Jul 2003
Posts: 4
Junior Member
|
Junior Member
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?
|
|
|
|
Joined: Jul 2003
Posts: 4
Junior Member
|
Junior Member
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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
|
|
|
|
Joined: Jul 2003
Posts: 4
Junior Member
|
Junior Member
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
|
|
|
|
Joined: Jun 2002
Posts: 66
Member
|
Member
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: ******************************** * 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.
|
|
|
|
Joined: Jun 2002
Posts: 66
Member
|
Member
Joined: Jun 2002
Posts: 66 |
*Bump*
Can anyone help me with this?
|
|
|
|
Joined: Apr 2003
Posts: 57
Member
|
Member
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.
|
|
|
|
Joined: Nov 2001
Posts: 28
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 28 |
Anyone try this with 6.6.1 yet?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
will tonight. I had it running on 6.6 Beta Release if I remember correctly
|
|
|
|
Joined: Nov 2001
Posts: 28
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 28 |
I tried it this morning, no luck, will try to work with it again this weekend.
|
|
|
|
Joined: Nov 2001
Posts: 28
Junior Member
|
Junior Member
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.
|
|
|
|
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...
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
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...
|
|
|
|
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?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Yes, I upload the ubb_hits.cgi
|
|
|
|
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?
|
|
|
|
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?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
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
|
|
|
|
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.
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
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...
|
|
|
|
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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: Originally posted by hanjo: Thank you!
$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
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
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.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
this may be a stretch... but you did upload ubb_hits.cgi, right?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Yes, I uploaded it to the cgi-bin folder
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Can somebody have a look at my ftp files? I have rehacked it several times...
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
quote: Originally posted by d-talk: Can somebody have a look at my ftp files? I have rehacked it several times... 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?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
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...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
create a hit.cgi with the following in it... %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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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 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... $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
|
|
|
|
Joined: Nov 2001
Posts: 28
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 28 |
Thanks Weird Al, I got it working with your code.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Lk,
can you post the modifications for 6.7, you haa changed my files at my testboard...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The only changes were in ultimatebb.php, where you hacked incorrectly, and ubb_hits.cgi...
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Thank you LK!!!
|
|
|
|
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 http://www.praisecafe.org/thelink/cgi/ultimatebb.cgi?ubb=forum;f=3
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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
|
|
|
|
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. 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?
|
|
|
|
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 Maybe I should post the new files. I'll get it if LK doesn't have time in the next couple of days
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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?
|
|
|
|
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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
|
|
|
|
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
|
|
|
|
Joined: Apr 2003
Posts: 9
Junior Member
|
Junior Member
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.
|
|
|
|
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?
|
|
|
|
Joined: Apr 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Apr 2003
Posts: 9 |
The one from the first page of this post. hit64.zip version 2.0
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
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: $ThisHTML .= &topic_row; } $ThisHTML .= &page_bottom; # some HTML which I modified to: $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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
did you CHMOD ubb_hits.cgi to 755?
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Yes I did. Actually I even tried 777, same thing
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
see if you have something like my $cols = ($vars_display{LastPostColOpt} eq "OFF" ? 5 : 6); in your ubb_forum.cgi. if so, increase each number by 1
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
It was actually in in "public_pntf_summary.pl" quote: I chaneged to number 6 to accomodate the new column. Love that stuff!
Thanks Ian, Felix
| |
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
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 Felix
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
just in case somebody else needs it. you have to add " ($topicnums);" to the original script: $ThisHTML .= &topic_row; $topicnums .= "$one|"; } $ThisHTML .= &page_bottom; # some HTML so it will look like this: $ThisHTML .= &topic_row; $topicnums .= "$one|";
} $ThisHTML .= &page_bottom($topicnums); # some HTML Felix
|
|
|
|
Joined: Nov 2003
Posts: 35
User
|
User
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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.
|
|
|
|
Joined: Nov 2003
Posts: 35
User
|
User
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
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|