| User | Post |
|
3:42 pm 6 Jan 2007
| Claire
Guest
| | | |
|
| |
|
|
Hey, I just installed the plugin and everything works fine except for the download count. It shows on the admin page, but not on my site.
I’m using it for my theme download page: http://starburst.weirdncrazy.com/download; here’s the code:
starburst.zip ( downloads)
Am I missing something? Thanks!
|
|
|
|
|
And you’re using the dc_get_count() template tag?
if yes - can you send me the code snippet?
|
|
|
5:00 pm 6 Jan 2007
| Claire
Guest
| | | |
|
| |
|
|
I am — I thought I included it in my first post but I guess it didn’t work. I’ll try again (the spaces around the are intentional):
starburst.zip ( downloads)
|
|
|
|
|
Sorry - it looks like one of the wp filters is screwing up the code tags. I’ll need to take a closer look at that. Can you use the Contact form (from left sidebar) to send me the code snippet? All the template tag is literally doing is lookng up the single field in the database - nothing spooky!
|
|
|
7:45 pm 6 Jan 2007
| okidokz
Guest
| | | |
|
| |
|
|
hi, I really appriciate your plugin, I was looking all over for this one
HOwever, I’m experiencing the same problem here, download counter not showing
Here’s the code I put :
* 1 is the link id.
Where does it went wrong?
PS : If you want to take a look, please visit http://www.indonesiancheerleading.com.
In the left sidebar, you will see a YouTube video. A few lines under that, find this line “
Total Download : kali.
It’s in indonesian language, “kali” means “times”. So it was supposed to shown, for example “10 kali”.
Would really appriciate your help. Thanks.
|
|
|
9:52 pm 6 Jan 2007
| becca
Guest
| | | |
|
| |
|
|
Hey, I’m having the same problem. I put that code in as well next to my counter link and it just shows the link and everything in my admin, but not on my page. Don’t know what the problem is.
|
|
|
|
|
Got it everyone. Call me stupid!
You need to echo it. I missed it on the readme text file.
So this should do the trick:
echo (dc_get_count(id));
I always prefer to do this as it gives you the option to pass the value as well.
Apologies - I’ll correct the readme. Let me know someone just to make sure!
|
|
|
10:57 pm 6 Jan 2007
| Claire
Guest
| | | |
|
| |
|
|
Thanks! It works now
|
|
|
|
|
Great news - and again - apologies for getting the readme wrong
|
|
|
1:09 am 15 Jan 2007
| william
Guest
| | | |
|
| |
|
|
hi,
so if i have an external direct link to the file download, i just add the direct url to the download manager right?
then how do i show the numbers of click on that file download?
i tried using the but it doesn’t seem to show the number of files that is being clicked and download.
|
|
|
|
|
You tried using the what? I think you might have needed to put code tags around that bit!
Plus - did you echo it? As shown above
echo (dc_get_count(id));
|
|
|
10:17 pm 17 Jan 2007
| Flake
Guest
| | | |
|
| |
|
|
I’ve tried echo but it still doesn’t work…
|
|
|
|
|
Strange. OK let’s go through the setup:
In the Download Manager Admin Panel I assume that the link is marked as correct and you are getting a count of the downloads there? Correct?
You could sen d me the link of course and I can check that it’s good as well.
Plus - send me the code fragment you are using (don’t forget to use the code tag or it gets stripped) which is probably the first thing to do so I can take a look at it…
|
|
|
6:04 am 18 Jan 2007
| Flake
Guest
| | | |
|
| |
|
|
Yes, I add download, get a “good link” and after a while in the admin panel I can see the number of downloads. But whenever I insert template into the post I don’t get this number in the post.
Using this tepmlate, taken from the readme file:
XX is replaced with respective ID
|
|
|
|
|
That’s most odd. It is such a simple routine - basically one line of code that looks up the current count field in the database table using the passed id. I have no idea why that should fail. Do you know what version of MySQL you are runnng. I could investigate whether there are any now issues although it such a small, simple and basic query I very much doubt that would be the case.
|
|
|
10:42 am 18 Jan 2007
| Flake
Guest
| | | |
|
| |
|
|
according to panel, I’ve got this
PHP version 4.4.3
MySQL version 4.1.21-standard-log
|
|
|
7:53 pm 23 Feb 2007
| Lisa
Guest
| | | |
|
| |
|
|
I'm having the same issue - the download count is not showing on my site: http://blogdesignsolutions.com. I followed the install process steps.
My download link is:
http://blogdesignsolutions.com/download-manager.php?id=1
The code I have is this:
echo (dc_get_count(1));
My PHP version: 4.4.2
My MYSQL version: 4.0.27-standard
Any assistance at all would be very much appreciated.
|
|
|
|
|
I'm not sure what you have done wrong but if you 'view source' to look at the html that is being generated and go to the point where 'Number of downloads' is, you will see that the whole php statement is actually being echoed to the html file rather than the result of the statement. Have you put the echo outside of the php tags or something? Or is the template NOT a php file? Certainly the php that is being displayted in the source does not inlcude the echo statement so I suspect you just haven't put it in properly.
|
|
|
10:21 pm 23 Feb 2007
| Lisa
Guest
| | | |
|
| |
|
|
This is strange. I had the download counter in there via a text widget (using WP 2.1 with Sidebar Widgets) -and had pasted the code in the text widget box. And you're right, it was being treated 'as text' and not executed php at all.
I took the text widget out and pasted it directly into my sidebar and it works just fine. Strange?
At any rate - thank you for looking it at, I appreciate it
|
|
|
|
|
That's what me here for! When you solve the puzzle I'd love to know the answer
|
|