Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#37 2004-11-18 00:40:59
- Remillard
- Plugin Author
- From: Lenexa, KS
- Registered: 2004-05-16
- Posts: 169
Re: bbclone plugin
Well true, it doesn’t exactly break it out for you anywhere so you can actually use it :). I don’t think you have to do the calculation yourself. Like I said, the number under “Total Browsers” does seem to be the “Total Unique” minus “Total Robots”. So at the very least visually looking at the BBClone page, you can see it pretty easily.
However it might be nice to be able to fetch that back into the page content somewhere. I have no idea if BBClone publishes these numbers anywhere easily accessible.
Offline
Re: bbclone plugin
I have upgraded to the latest version of BBClone (0.4.6).
Now, I’m having this warning in all pages managed by TXP.
<code>Warning: strtr(): The second argument is not an array. in /home/midimidi/public_html/bbclone/lib/io.php on line 25</code>
I have disabled (just deactived) the plugin and the warning has desapperad.
well, i’m not php developer, but I will investigate the line 25 and look for something…
Edit: this is PHP code in io.php file.
<code> // only look for separator if really needed $input = (!empty($sep) && ($sp !== false)) ? substr($input, 0, $sp) : $input; $input = strip_tags(str_replace(“\\”, “/”, stripslashes($input))); $input = trim(strtr($input, $BBC_ENT_REV)); $input = str_replace(“$”, “$”, htmlspecialchars($input, ENT_QUOTES));</code>
And line 25 is:
<code> $input = trim(strtr($input, $BBC_ENT_REV));</code>
The “weird” thing is that, in PHP Coder Pro! (editor), the two first “$input” are in red color.
But the two last “$input” are in “light blue” color.
¿Maybe a typo error?
If anyone find the solution, I will appreciate it very much.
Thanks
Last edited by maniqui (2004-12-11 17:27:16)
Offline
Re: bbclone plugin
hey… has anyone had success with the poe_bbclone version 0.3 plugin and the new version 0.4.6 of bbclone?
i’m nervous to try it if others have not met with success… i believe the last time i tried upgrading to a newer version of bbclone (i’m on 0.4.4a..but i’d tried one after that at one point, for a very short time), it thoroughly failed for me (dunno if it was incompatible with the plugin… i may have just done something wrong…).
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
#40 2005-02-02 19:16:53
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: bbclone plugin
working ok for me with those versions.
Offline
Re: bbclone plugin
It works quite fine for me with BBClone 0.4.6c-utf8 ;-)
Just two things :
- if I turn on “$BBC_KILL_STATS” … to kill the stats … then I have the following message when I reload my page and the stats are not killed :
Warning: fopen() expects at least 2 parameters, 1 given in /home/mysite/www/bbclone/lib/io.php on line 131
Warning: fclose(): supplied argument is not a valid stream resource in /home/mysite/www/bbclone/lib/io.php on line 131
- My web site is in french with “accent” and they display in bbclone like that : “<code>pièce1</code>” instated of “pièce”
Some idea ?
Last edited by fpradignac (2005-02-22 22:37:45)
françois
Offline
Re: bbclone plugin
- it’s OK for the
françois
Offline
Re: bbclone plugin
I’m trying to use BBClone 0.4.6e-utf8 with the 0.4 version of the plugin on RC3. Every page visit is being double counted. One hit is recorded for the correct page but the home page has a hit recorded for it each time I view a page.
Anyone seeing anything like this or gotten the above combo to work?
Offline
Re: bbclone plugin
Still waiting with the RC1 and it works very fine with some hack to store in BBClone accentueted page title (see this post )
Though/hope Gernot will update is plugin when 1.0 final will came out.
françois
Offline
Re: bbclone plugin
> wilshire wrote:
> I’m trying to use BBClone 0.4.6e-utf8 with the 0.4 version of the plugin on RC3. Every page visit is being double counted. One hit is recorded for the correct page but the home page has a hit recorded for it each time I view a page.
>Anyone seeing anything like this or gotten the above combo to work?
I think this may be an issue with RC3 itself. I was testing RC3 and got double hits in TxP’s own logs too.
Offline
Re: bbclone plugin
I found a fix for this. Posted Here
Having no problems now with BBClone 0.4.6e-utf8 and the latest REV from SVN.
Offline
Re: bbclone plugin
2 questions:
- where I include the activation code of bbclone, in index.php or default page template?
- it is necessary to add some line htaccess?
Thanks!
Offline
Re: bbclone plugin
I’ve just noticed that with TXP 4.0.2 in “debugg” mode, I have this message at the top of my pages :
<code>tag_error <txp:poe_bbclone /> -> Notice: Only variables should be assigned by reference</code>
Any idea ?
Last edited by fpradignac (2005-11-22 07:01:02)
françois
Offline