.weblog engine
FAQ :: Search ::  Memberlist ::  Register :: Profile ::  Usergroups ::  Log in
Log in to check your private messages ::  Download Pivot :: Support Pivot | Info
Ads help support Pivot! Click on one that interests you today!
Show BBClone entry hits

 
Post new topic   Reply to topic   printer-friendly view    Pivot Support Forum Index -> Extension Releases
View previous topic :: View next topic  
Author Message
djm
Über Pivot Groupie
Über Pivot Groupie


Joined: 27 Nov 2005
Posts: 142
Location: Stuttgart, Germany

PostPosted: Mon Feb 13, 2006 7:12 am    Post subject: Show BBClone entry hits Reply with quote

This extension is/will be part of Pivot 1.40

Extension Name: Show BBClone entry hits v0.3
Extension Author: Daniel Munzinger
Download Location: see Attachment

Extension Description:
Everyone who uses bbclone for statistics can show the hit count of the given entry. Nothing spectacular but maybe useful for some people.
This usage of this snippet only makes sense if you're using both bbclone and hardened bbclone (either the snippet or the "built in" version of 1.3).


Usage:
[[show_bbclone_hits_entry:formatString]]

Where formatString is e.g.
%n visits so far.
%n Mal aufgerufen.

%n is the count returned by bbclone for the entry.


Note: In another thread Hans stated that this funcionality might become a part of Pivot's "native" bbclone support but until the day of all days I'm keeping this snippet uptodate.



snippet_show_bbclone_hits_entry.zip
 Description:

Download
 Filename:  snippet_show_bbclone_hits_entry.zip
 Filesize:  986 Bytes
 Downloaded:  747 Time(s)



Last edited by djm on Thu Feb 16, 2006 10:47 am; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
DavroN
Respected Pivot Enthusiast
Respected Pivot Enthusiast


Joined: 02 Sep 2005
Posts: 456
Location: NY, USA

PostPosted: Tue Feb 14, 2006 10:07 am    Post subject: Re: Show BBClone entry hits Reply with quote

does it have to include "snippet_"??

bbclone_c4entry

_________________
www.akil.me
Back to top
View user's profile Send private message Send e-mail AIM Address
madjo
Pivot Team
<b>Pivot Team</b> <!-- Moderator -->


Joined: 11 Sep 2002
Posts: 10450
Location: Netherlands

PostPosted: Tue Feb 14, 2006 2:55 pm    Post subject: Re: Show BBClone entry hits Reply with quote

what do you mean? DavroN?
_________________
Forum search / Pivot Manual / Also visit MyPivot.net
Firefox pivot search
How to sponsor us
Click here for Dutch support
Back to top
View user's profile Send private message Send e-mail MSN Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Tue Feb 14, 2006 3:36 pm    Post subject: Re: Show BBClone entry hits Reply with quote

Quote:
does it have to include "snippet_"??

Yes, in the filename so Pivot detects the file and in the function name so pivot detects the function Smile

I guess djm thought "show_bbclone_hits_entry" was a bit long - I think it's just fine...

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
djm
Über Pivot Groupie
Über Pivot Groupie


Joined: 27 Nov 2005
Posts: 142
Location: Stuttgart, Germany

PostPosted: Tue Feb 14, 2006 4:22 pm    Post subject: Re: Show BBClone entry hits Reply with quote

v0.2 contains a bugfix and a bug for special characters like ' & $ etc...
Back to top
View user's profile Send private message Visit poster's website
djm
Über Pivot Groupie
Über Pivot Groupie


Joined: 27 Nov 2005
Posts: 142
Location: Stuttgart, Germany

PostPosted: Wed Feb 15, 2006 1:58 pm    Post subject: Re: Show BBClone entry hits Reply with quote

djm wrote:
v0.2 contains a bugfix and a bug for special characters like ' & $ etc...


so, problem is solved. Since it works for German it should work for Nordic languages, English and the other Latin languages.

I don't know about Cyrillic...
Back to top
View user's profile Send private message Visit poster's website
Niwla
Platinum Sponsor
<b>Platinum Sponsor</b>


Joined: 02 Jul 2004
Posts: 532
Location: Groningen, The Netherlands

PostPosted: Thu Feb 16, 2006 8:56 am    Post subject: Re: Show BBClone entry hits Reply with quote

Isn't Wzup an easier way of getting (more or less) the same result (or even better) ?
_________________
Download Free Pivot Ported Templates here!
Back to top
View user's profile Send private message
djm
Über Pivot Groupie
Über Pivot Groupie


Joined: 27 Nov 2005
Posts: 142
Location: Stuttgart, Germany

PostPosted: Thu Feb 16, 2006 10:46 am    Post subject: Re: Show BBClone entry hits Reply with quote

Niwla wrote:
Isn't Wzup an easier way of getting (more or less) the same result (or even better) ?


If you're not running bbclone of course. But this snippet is intented for people who do use bbclone and want to expand the functionality given in Hans' bbclone snippets.

Basically wzup and bbclone are two different solutions for counters.

But thanks for the comment. It made me realize, that I have to add some things in the first post.
Back to top
View user's profile Send private message Visit poster's website
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Thu Feb 16, 2006 2:35 pm    Post subject: Re: Show BBClone entry hits Reply with quote

As djm says, show_bbclone_hits_entry is easier of you already have installed bbclone. If not, wzup is probably easier to get going.

However, there is one issue to consider. Referer spam which makes statistics useless. Some, a lot, referer spam hits are stopped by the integrated "first defense" in Pivot - assuming you have 1.30 installed. However, hardened bbclone has additional (very good) protection against referer spam and hence the stats from show_bbclone_hits_entry will in general be much more relevant than wzup. (I'll leave out the technical details.)

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
hansfn
Pivot Team
<b>Pivot Team</b><!-- Developer -->


Joined: 15 May 2004
Posts: 5289
Location: Molde, Norway

PostPosted: Thu Sep 28, 2006 3:56 am    Post subject: Re: Show BBClone entry hits Reply with quote

I have included this extension in the core - ref http://svn.sourceforge.net/viewvc/pivot-weblog?view=rev&revision=128
It will be part of the next 1.40 release (beta2 or final). Added info to the docs - ref http://pivotlog.net/docs/doku.php?id=template_tags#show_bbclone_hits_entry

PS! I made some needed changes to the code.

_________________
My Pivot bookmarks, snippets and scripts| Pivot Documentation Project: Template tags
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
djm
Über Pivot Groupie
Über Pivot Groupie


Joined: 27 Nov 2005
Posts: 142
Location: Stuttgart, Germany

PostPosted: Tue Oct 17, 2006 7:45 am    Post subject: Re: Show BBClone entry hits Reply with quote

hansfn wrote:
I have included this extension in the core - ref http://svn.sourceforge.net/viewvc/pivot-weblog?view=rev&revision=128
It will be part of the next 1.40 release (beta2 or final). Added info to the docs - ref http://pivotlog.net/docs/doku.php?id=template_tags#show_bbclone_hits_entry


Good to hear that!

hansfn wrote:
PS! I made some needed changes to the code.


Yeah, I think that was necassary because I only hacked it so that it worked Wink
Back to top
View user's profile Send private message Visit poster's website
Kay
Pivot Groupie In Training
Pivot Groupie In Training


Joined: 22 Oct 2008
Posts: 4

PostPosted: Sun Dec 28, 2008 3:36 pm    Post subject: Re: Show BBClone entry hits Reply with quote

Hi,

I recently installed bbclone for my pivot blog and am using the integrated extension show_bbclone_hits_entry. Both bbclone and my blog use utf-8 encoding but I have problems reading the hit count for certain pages that use special characters, in this case the macron.

The page/blog entry is called Kyūyaku Megami Tensei and it's here. The macron heading looks like this and the number of hits is given as 0 in the category Zugriffe:



It says: "Zugriffe auf diesen Eintrag: 0".

But in bbclone the page title is scrambled like this:



Which is probably the reason why it fails to connect the hit count with the page title.

Any idea how to fix this?

Thanks!
Back to top
View user's profile Send private message
djm
Über Pivot Groupie
Über Pivot Groupie


Joined: 27 Nov 2005
Posts: 142
Location: Stuttgart, Germany

PostPosted: Tue Jan 27, 2009 5:00 am    Post subject: Re: Show BBClone entry hits Reply with quote

I just visited your blog and it seems to work properly now!?
Back to top
View user's profile Send private message Visit poster's website
Kay
Pivot Groupie In Training
Pivot Groupie In Training


Joined: 22 Oct 2008
Posts: 4

PostPosted: Tue Jan 27, 2009 6:56 am    Post subject: Re: Show BBClone entry hits Reply with quote

Yes, I'm using PivotX now, which passes the correct title unscrambled.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    Pivot Support Forum Index -> Extension Releases All times are GMT - 4 Hours
Page 1 of 1
|
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Your generosity is appreciated!
Gambling News was the last to make a donation
:: go here for sponsorship information ::
Special thanks to our platinum sponsors: Gambling News  
DreamHost

powered by phpBB | RSS Feed