On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

Current User: Guest
Please consider registering

 
Search Forums:


 




Starting Count

UserPost

8:37 am
31 Mar 2007


Nate

Guest

 
1

Thanks for a great plugin!

The only issue I am having with it is when I add a new link to the download counter and place the following tag: <?php echo (dc_get_count(xx)); ?> in a post I get an automatic 5 hits.  How can I have it so that it the hit count starts at zero?  (I already have it set at zero in the 'Create/Edit Download Counters options)


Thanks in advanced.

nate 

10:48 am
31 Mar 2007


Yellow Swordfish

Admin

Peterborough, England

posts 4481

 
2

Well both the tags and the admin page get the count from the same place - the database. But.. you can't use the php tag in a POST. (Is the (xx) 5 by any chance)? That's a template tag.

In a post you need to use the post tag (downloads in  html  comments) - see the read me file with the plugin.

is this your problem? 



Reply to Topic: Starting Count

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 1 + 5        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

Yellow Swordfish

8 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 15

Topics: 1703

Posts: 11495

Members:

There are 780 members

There are 729 guests


Yellow Swordfish has made 4481 posts

Top Posters:

Mr Papa - 1167

-Radio- - 475

ovizii - 84

jfv - 80

angelic007 - 66

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.3 (Build 356)