Hi guys,
I wrote a script that lets you see downloads a bit easier than it is now. I uploaded to pastebin. It's two files, the connection.php file is just your code to connect to your server. The userDownloads.php file is where it goes through the three tables to grab the data to display. Most of the time when connecting to your server you need to use 'localhost' as the server name, for some reason I have to use 'db' not sure if it's a joomla thing or what...
If a user registered for your site, downloaded something, and deleted their account, they will appear as 'Old User', if you uploaded a file that was downloaded, then you deleted it, it will appear as 'Old File'.
Anyhow, any questions feel free to ask and I'll try to help if I can.
connection.php:
http://pastebin.com/ecPq50ha
userDownloads.php
http://pastebin.com/kfA6JqvH
Alternative Download Viewer
- Jan
- Phoca Hero
- Posts: 48595
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Alternative Download Viewer
Hi, thank you for this improvement.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 13 Sep 2012, 15:05
Re: Alternative Download Viewer
No problem Jan, any questions feel free to ask.