Support » Plugins » BBclone on 1.5 ?

Viewing 15 replies - 1 through 15 (of 25 total)
  • *bump*

    having the same problem.
    Besides, does anybody know whats up with delmyth’s dstats? stattraq isn’t being developed anymore either. Where have all the statistic-plugins gone? We definately need one for 1.5!

    I’ve had a problem also, and have been working on this for a few days and no luck. Have tried placing the BBClone code in the header, footer and index file. I’ve even placed it in a ‘bbclone.php’ file within the current theme and used a PHP include with no luck.

    Was there a change in how Permalinks work, and could that have ‘broken’ BBClone/WP integration?

    May try using the RunPHP plugin and include BBClone that way.

    I have a working BBclone om my blog add this code in the header.php right before <html xmlns=”http://www.w3.org/1999/xhtml”>:
    <?php
    define(“_BBC_PAGE_NAME”, get_bloginfo(‘index’) . wp_title(‘/’, false));
    define(“_BBCLONE_DIR”, “(serverpath to the domain/bbclone/”);
    define(“_NEW_COUNTER”, _BBCLONE_DIR . “mark_page.php”);
    if (file_exists(_NEW_COUNTER))
    { include(_NEW_COUNTER); }
    ?>

    dimenster, that didn’t work 🙁
    Wonder if the method used for BBClone and any changes to WP for v1.5+ is affected by the host? I use Dreamhost.

    Not working for me either. If I use a “hard coded” page name, it works fine. Thus:

    <?php
    define("_BBC_PAGE_NAME", "Hard-Coded Name Here");
    define("_BBCLONE_DIR", "bbclone/");
    define("COUNTER", _BBCLONE_DIR."mark_page.php");
    if (is_readable(COUNTER)) include_once(COUNTER);
    ?>

    will work. It seems that it’s the get_bloginfo() and wp_title() calls that aren’t working.

    I finally got mine working…I put this:

    <?php
    define("_BBC_PAGE_NAME", get_bloginfo("name") . wp_title("/", false));
    define("_BBCLONE_DIR", "/server/path/tofolder/bbclone/");
    define("COUNTER", _BBCLONE_DIR."mark_page.php");
    if (is_readable(COUNTER)) include_once(COUNTER);
    ?>

    …just after get_header and before div id=content in each whole page template type I wanted to track. Putting it in the header template didn’t work, nor the footer, nor the sidebar, nor anywhere in the head sections…had to stick it here in main, post, and archives pages. And thus it worked for me in 1.5.

    This is very strange… the above works in _some_ locations but not in others. If I use the full server path from root in some of my blogs (several blogs on the same site, at various levels), it works fine. If I use the full path for tracking the top level blog, no joy. If I use the partial path that used to work before the the WP1.5 release, no joy.

    And this was all working just fine with the Feb 6th release of the 1.5 gamma…

    Newbie question…

    What does *bump* mean? I see it posted every now and then around the forum?

    I use BBClone on my weblog but I haven’t updated yet (I will hopefully do it tomorrow or in the wekend).

    But some tips that I can give you are:

    – Use absolute Paths (not relative)
    – Make a flush of the outputh of php before calling BBClone (this will make your site a little faster for the user)

    If still doesn’t work, change your setting of PHP to show all errors and maybe you can see what the problem is. (Actually you could do this before… if you don’t have access to php.ini try turning the messages on using the php function).

    Sorry for not mentioning the exact name of each php function (I don’t remember their name) but with a search at php.net you should be able to find them.

    Good Luck.

    PS. I know this is all technical stuff but I assumed that if you are trying to add a counter such as bbclone you understand a little about php.

    I wanted to edit in a comment on my post above, but edit isn’t available once others post I guess.

    Anyway, my code worked on the 1.5g of 2/7 and also 1.5 strayhorn of 2/16.

    dherren: *bump* is simply a token post to make the thread show up at the top of the new posts list on the main support page (or within sections). Since so many posts occur here, they can roll out of sight pretty fast. But *bumps* without more comments/extra info are viewed by some as slightly rude. Adding a *bump* and saying something like “I tried this x, y, z thing but it’s still not working” is considered far better than just a lonely *bump* in the post! 😉

    I put this…

    <?php
    define(“_BBC_PAGE_NAM”, “index.php”);
    define(“_BBCLONE_DIR”, “bbclone/”);
    define(“COUNTER”, _BBCLONE_DIR.”mark_page.php”);
    if (is_readable(COUNTER)) include_once(COUNTER);
    ?>

    …after “get_header()” and before “div id=”content” in index.php of the default template and it seems to work fine. I had it in the root index.php and didn’t even notice it wasn’t working until I saw this thread and checked it out.

    datter

    I tried this:

    <?php
    define(“_BBC_PAGE_NAME”, get_bloginfo(“name”) . wp_title(“/”, false));
    define(“_BBCLONE_DIR”, “/server/path/tofolder/bbclone/”);
    define(“COUNTER”, _BBCLONE_DIR.”mark_page.php”);
    if (is_readable(COUNTER)) include_once(COUNTER);
    ?>

    and this:

    <?php
    define(“_BBC_PAGE_NAM”, “index.php”);
    define(“_BBCLONE_DIR”, “bbclone/”);
    define(“COUNTER”, _BBCLONE_DIR.”mark_page.php”);
    if (is_readable(COUNTER)) include_once(COUNTER);
    ?>

    but nothing works! Any ideas?

    jon
    http://www.ohjon.com
    http://www.ohjon.com/bbclone

    It’s working fine for me, if I add the code (as datter mentioned above) to wp-content/themes/{theme-name}/index.php but what a drag to have to edit the index.php of each individual theme…

    Looks like it might be time for some enterprising plugin author to step in and save the day 🙂

    Scott

    This code worked for me where the path to server is only ./

    <?php
    define(“_BBC_PAGE_NAME”, get_bloginfo(“name”) . wp_title(“/”, false));
    define(“_BBCLONE_DIR”, “./bbclone/”);
    define(“COUNTER”, _BBCLONE_DIR.”mark_page.php”);
    if (is_readable(COUNTER)) include_once(COUNTER);
    ?>

    I am not exactly sure if it tracks my static pages though off of 1.5
    I hope this helps

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘BBclone on 1.5 ?’ is closed to new replies.