Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-07-23 15:16:38

premek.b
Member
From: Pilsen, CZ
Registered: 2006-05-17
Posts: 18
Website

Re: [archived] jas_popular_articles: List Popular Articles

Hi everyone,

I needed this plugin so I went ahead and corrected the problems mentioned above. Find the result at abilo.net – only .zip with raw PHP at the moment. Install the original plugin, select “Edit” in plugin admin tab, replace code in the textarea with the one taken from the zipped file.

Premek


“So, where is the patch?”
((former nick pbrada))

Offline

#14 2007-07-23 15:25:08

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [archived] jas_popular_articles: List Popular Articles

Good work man. treat yourself to an urquel.

Offline

#15 2008-03-10 14:14:07

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: [archived] jas_popular_articles: List Popular Articles

Hi everyone!

Is there a way to hide the counter-brackets?

Offline

#16 2008-08-05 14:06:34

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: [archived] jas_popular_articles: List Popular Articles

@Skoggy

Edit the plugin …
look for this line

$out[] = '<a href="http://' .$siteurl.'/?id='.$art.'">'.$rs2[0]['Title'].'</a> ('.$data['max'].') ';

and turn her in

$out[] = '<a href="http://' .$siteurl.'/?id='.$art.'">'.$rs2[0]['Title'].'</a>  ';

by removing

 ('.$data['max'].')

Offline

#17 2008-08-05 17:31:20

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: [archived] jas_popular_articles: List Popular Articles

I compiled a version with the new optional parameter “stats” for statistics.
Get it here.

The source for compiling purposes is here.
Works for me in textpattern 4.06 with messy URLs ….

Last edited by whocarez (2008-08-05 19:12:45)

Offline

Board footer

Powered by FluxBB