php forum
php mysql forum
php mysql smarty
 
Page 5 of 6 < 1 2 3 4 5 6 >
Topic Options
#198526 - 11/27/03 05:23 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Can somebody have a look at my ftp files? I have rehacked it several times... frown
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198527 - 11/27/03 11:11 AM Re: [6.4] [beta] Hit Hack
Charles Offline

Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
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?

Top
#198528 - 11/27/03 11:13 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
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

Top
#198529 - 11/27/03 11:39 AM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
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

Top
#198530 - 11/27/03 01:03 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
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

Top
#198531 - 11/30/03 11:31 PM Re: [6.4] [beta] Hit Hack
Autocrosser Offline
Junior Member

Registered: 11/12/01
Posts: 27
Loc: St. Louis | Car: 350Z
Thanks Weird Al, I got it working with your code.
_________________________
http://www.solo2.org/

Top
#198532 - 12/01/03 10:27 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
text file updated with all published fixes smile

http://www.ubbdev.com/ubb/upload/00000494/hit66.txt
_________________________
- Allen wavey
- What Drives You?

Top
#198533 - 01/02/04 07:05 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
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

Top
#198534 - 01/02/04 01:03 PM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
The only changes were in ultimatebb.php, where you hacked incorrectly, and ubb_hits.cgi...
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198535 - 01/02/04 01:29 PM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Thank you LK!!! thumbsup
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198536 - 02/04/04 06:40 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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?

Top
#198537 - 02/04/04 08:44 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
allen, you might need to add the use vars (40 lines of variables); line like in the shoutbox

Top
#198538 - 02/04/04 10:40 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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?

Top
#198539 - 02/04/04 10:46 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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?

Top
#198540 - 02/04/04 10:49 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
quote:
<h1>Software error:</h1>
<code>Undefined subroutine &main::InitImportantStuff called at ubb_hits.cgi line 66.
</code>



For help, please send mail to the webmaster (<a href="mailto:webmaster@praisecafe.org">webmaster@praisecafe.org</a>), 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?

Top
#198541 - 02/04/04 11:33 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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?

Top
#198542 - 02/05/04 07:46 AM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Mozilla Firebird gives the most amazing js errors, none of that "something went wrong" errors IE gives you

Top
#198543 - 02/05/04 10:12 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
yeah, this ms script debugger is pretty good too smile
_________________________
- Allen wavey
- What Drives You?

Top
#198544 - 12/07/04 11:32 AM Re: [6.4] [beta] Hit Hack
paws Offline
Junior Member

Registered: 04/22/03
Posts: 7
Loc: Montreal
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.

Top
#198545 - 12/08/04 11:00 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Which version of this mod are you using?
_________________________
- Allen wavey
- What Drives You?

Top
Page 5 of 6 < 1 2 3 4 5 6 >



Moderator:  Charles, Gizmo 
Latest Posts
Shout Box

(Views)Popular Topics
Known public proxy servers 1636135
Integrated Index Page (IIP) 5.3.1 528187
Finished-[6.5.2] Games Arcade Deluxe v1.9 486016
Integrated Index Page (IIP) 5.1.1 401388
TLD Bv2.1 Released - Threads Links Directory 382774
[6.0x] Who's Online 4.0.0 [Finished] 374847
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 318709
Q & A 264276
[6.3.x] [beta] Hit Hack 2.0 225221
[7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) 202973
Forum Stats
13620 Members
59 Forums
37189 Topics
295701 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks