Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: bbclone plugin
> Remillard wrote:
> UPDATE: The statistics page does report hits based on pages, however the link to them is
> malformed For example a link like:
> http://site.name.here/section/id/the-title-of-the-post
> gets marked in BBClone as:
> http:///
> I haven’t started to dig into this yet but maybe I will over the next week.
Did anyone ever find a solution to this problem?
Thanks!
Offline
Re: bbclone plugin
Hi,
I recently installed BBClone 0.4.4a and BBClone 0.3 plug-in for TXP in a TXP 1.0-RC1
The BBClone 0.4.4a seems to work fine, but the plugin doesnt seem to work very well for me. or maybe.. am i doing things in the wrong way?
1)
For TXP-based pages, I only get statics to the default (“home”) page.
So, hits on section pages arent being listed in the static report.
Question: I have just one page template (“default”) and I put the <code><txp:poe_bbclone /></code> just above <code></body></code>.
Is it right there? I mean, is it right there to get static for all pages that uses default template?
2)
The link generated in the “Txp: Home” link on BBClone’s 10 first pages, is “http://public_html/”, so it´s wrong.
I have defined:
<code>$bbcdirectory = “/home/midimidi/public_html/bbclone/”;</code>
that is the absolut path to BBCLone dir.
Is it the same to put
<code>$bbcdirectory = “http://www.mysite.com/bbclone/”;</code>
???
I didnt do it. Just asking.
Finally, I have entered in the /bbclone/ report page of other TXP users, and I saw that this plugin seems to work fine for them.
(but just dont know if their TXP and BBClone versions are the same as mine)
<hr />
I hope someone can help me to get this plugin get working.
pd: excuse my poor english.
Offline
Re: bbclone plugin
mmmmmmmmm
I think I understand, now I re-read Remillard’s post.
Have I to put the plug-in tag in… each article?
or in a form?
Well, I will try…
Offline
Re: bbclone plugin
yes maniqui… the tag has to be on every page…
the way i solve tihs is to make a form called ‘ *every ‘, and then i have that bbclone tag and anything else that will ever have to be on every page can just go in that form in the future. i actually keep one for the top (some tags have to go before anything else on the page) and one for the bottom (like bbclone tag).
then you never have to go through the blahness of adding one little tag to every single page you have. :)
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: bbclone plugin
Thanks, Alison, for answering.
But I already know the way to use forms for chunks of the page that must appear in every page. (And I also use the if_section plugin to manage content in only one page template.)
I think I didnt explain myself very well.
My problem is: I tried putting the bbclone tag in the only one page template (the “default” template) I use (not inside an if_section tag) so BBClone must get hits for every page. I manage with TXP.
But it doesnt seems to work. I only get hits for the Start Section (a.k.a. default page, home, etc)…
Oooh, now i think I get your idea.
I have got to put the bbclone tag in a form used in the page template (in my case, just one template for all pages), and not directly in the page template…
I dont know why I said to pug in an article. That’s impossible to use TXP tags in articles. (¿isn’t? ¿am i right?))
So, well, I will try using it in a form.
thanks.
Offline
Re: bbclone plugin
mm.. it doesn’t have to be in a form. it just has to be in the template somewhere. for me, it’s at the very end of the template. don’t put it in the articles, and don’t put it in an article form.
i personally just have mine in a ‘misc’ form that is called at the very bottom of the pagetemplate, after ‘/html’ ..
and it does recognize hits for invidual article pages/permalinks.
:) good luck with yours
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: bbclone plugin
I use this plugin and I’ve had similar problems. I modified it a little to get what I wanted for the page names. The links still don’t work but I’ll get over that.
First, I moved the global line up to the top and added the global section:
<code>
GLOBAL $sitename, $s;
</code>
Then I get the section name and make it look a little nicer if its the default.
<code>
$sect = ($s == “default”) ? “wilshire | one Home” : $s;
</code>
Then I prepend the page title with the section name:
<code>
$bbcprefix = $sect.”: “;
</code>
I also use the ob1_title plugin for my page titles although I don’t know that it matters. This is an example of what I get:
article: QuikPik TXP Menu Hack
article: TXP Plugin | rss_suparchive
Hope that helps.
-Rob
Offline
#20 2004-11-12 17:42:35
- Remillard
- Plugin Author
- From: Lenexa, KS
- Registered: 2004-05-16
- Posts: 169
Re: bbclone plugin
As far as I know, it will not display section names off the main page. You will only get “Txp: Home” (in my particular case). You DO get individual articles (at least I do). I believe I’ll implement wilshire’s mods and reset the statistics to see what I start to get.
The link address is set somewhere in ./bbclone/constants.php and I looked into it to see if there was something well commented that said “URL is obtained here” and I could figure out what variable out of $_GET or whatever was getting used for the link. I didn’t find this, and from what I did see, I don’t think I have the willpower to delve any deeper into bbclone :).
Remillard
Offline
Re: bbclone plugin
this is true… i don’t see section pages..
do let us know how things go with wilshire’s mod :)
and thanks, wilshire, for sharing
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
#22 2004-11-12 18:06:47
- Remillard
- Plugin Author
- From: Lenexa, KS
- Registered: 2004-05-16
- Posts: 169
Re: bbclone plugin
Works like a charm. I now have in poe_bbclone:
/*—— Configuration parameters ——*/
GLOBAL $sitename, $s;
$sect = ($s == “default”) ? “MOAE home” : “MOAE “.$s;
and:
// This is the Prefix to the Page’s name:
$bbcprefix = $sect.”: “;
And after a bbclone statistics reset I see:
MOAE txp: Textpattern 121 Part One
MOAE sitenews: The Pictures Are Back
MOAE article:
MOAE txp: Textpattern Plugins
MOAE sitenews:
MOAE txp:
The section shows up and if it’s an individual article it shows up after the colon.
Beauty.
Offline
Re: bbclone plugin
awesome. i’m going in. wish me luck..
*edit: nicenicenice… it took me a little while, because i was nonsensible and i had certain key things out of order..and order really kind of matters when you’re assigning values to tags and then having them parse or whatever the terminology is…
but it works, and you are both wonderful people, and i much appreciate the information.
Last edited by alicson (2004-11-12 18:48:23)
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: bbclone plugin
I have done the modifications suggested in Remillard’s post.
It doesnt work for me. I get a parse error in the home page.
My question is:
anyone is using the v0.3 of this plugin with TXP 1.0 RC 1 and BBClone 0.4.4.a ?
(and of course, did it work?)
any suggestion?
Offline