Page 1 of 2

BBCLone

Posted: Sat Jan 10, 2004 10:48 am
by Straterra
I have tried the BBClone forums, but they didn't answer me..

I have put the bbclone folder in the same folder as my PHP scripts and put this at the bottom of my scripts...


<?php
define("_BBC_PAGE_NAME", "Main BIO Page");
define("_BBCLONE_DIR", "bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>

P.S. YAY! Post number 100!!!

Posted: Sat Jan 10, 2004 11:06 am
by m3mn0n
Okay so where is the question?

Posted: Sat Jan 10, 2004 11:08 am
by Straterra
It doesn't work. No stats show up in the BBClone. I was wondering why.
Also, I get this at the bottom of the page

<!-- BBClone v 0.33.3 OK: counter file is working -->

<!-- BBClone v 0.33.3 OK: access file is working -->

Posted: Sun Jan 11, 2004 8:24 am
by Pyrite
Got a URL ?

Posted: Mon Jan 12, 2004 5:46 am
by Straterra
Yeah, http://eckclan.sytes.net/counter/ for the BBClone statistics...

http://eclclan.sytes.net/cgi-bin/pro.php?user=straterra for the code for the statistics.

Posted: Mon Jan 12, 2004 7:52 am
by Pyrite
I can't access either of those URL's.

Posted: Mon Jan 12, 2004 8:28 am
by Straterra
Oops, typo..


Try these links

http://eckclan.sytes.net/bbclone/ for the counter information

http://eckclan.sytes.net/cgi-bin/pro.php?user=straterra for the code

Posted: Mon Jan 12, 2004 8:51 pm
by Pyrite
You need to set $BBC_MAINSITE to the right URL man. Set it to http://jit.zapto.org:88/ or whatever.

Posted: Tue Jan 13, 2004 5:33 am
by Straterra
It is set to the correct URL...

Posted: Tue Jan 13, 2004 9:12 am
by Pyrite
Lets see the code you added to pro.php

Posted: Tue Jan 13, 2004 3:16 pm
by Straterra
This is the code added to pro.php (as instructed by BBClone)

Code: Select all

<?php
define("_BBC_PAGE_NAME", "Main BIO Page");
define("_BBCLONE_DIR", "bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>

Posted: Tue Jan 13, 2004 6:23 pm
by Pyrite
That _BBCLONE_DIR needs to be probably ../bbclone/ or whatever since it does not exist in the same directory as pro.php. Get me?

Posted: Tue Jan 13, 2004 6:24 pm
by Straterra
But...bbclone (folder) DOES exist in the same directory as pro.php...

Posted: Wed Jan 14, 2004 9:25 am
by Pyrite
Dude, according to those URL's you posted, pro.php is in your cgi-bin.

Did you try what I just told you?

Posted: Wed Jan 14, 2004 12:07 pm
by Straterra
Yeah, pro.php IS in my cgi-bin, but both /counter/ and /bbclone/ are Aliases which point to the same place, /cgi-bin/bbclone/.