Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Professional Download System

Asked Modified Viewed 40,651 times
W
wibix
W
wibix 10
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
asked
Member

[mp]84[/mp]
0 replies

50 posts

M
marko_99971
M
  • Member, joined since
  • Contributed 66 posts on the community forums.
  • Started 23 threads in the forums
answered
Member

How can the download button be used to open in a blank/new window?
0 replies
J
jikaka
J
jikaka 10
www.rusfusion.ru - russian nss
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 82 threads in the forums
answered
Veteran Member

If I understand you correctly, then the correct link for the button you want to add target = '_blank'
0 replies
— 1 month later —
A
Arda
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

Hey wibix,

There is an issue within 7.02 with the infusion, maybe you can manage a workaround:

pro_download_panel/pro_download_panel.php
Non-static method pdpCore::get_downloads() should not be called statically Line: 55

pro_download_panel/pro_download_panel.php
Non-static method pdpCore::get_downloads() should not be called statically Line: 80   

pro_download_panel/pro_download_panel.php
Non-static method pdpCore::format_number() should not be called statically Line: 95
0 replies
W
wibix
W
wibix 10
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
answered
Member

try the following. open file include/core.php, search for "function get_downloads" and prepand a "static".
0 replies
A
Arda
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

Quote

wibix wrote:
try the following. open file include/core.php, search for "function get_downloads" and prepand a "static".


This worked nice, thanks!

Also I get this error now:

pro_download_panel/pro_download_panel.php
Non-static method pdpCore::format_number() should not be called statically Line: 95


But altering this method:
function format_number($number) {


to this:
static function format_number($number) {


Will solve it I guess.

By the way, how can I add screenshot to main download view ? I mean I want to show last screenshot of the download (like this addonDB), not the screenshot's URL.

Thanks again,
0 replies
W
wibix
W
wibix 10
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
answered
Member

Quote

Arda wrote:
...

By the way, how can I add screenshot to main download view ? I mean I want to show last screenshot of the download (like this addonDB), not the screenshot's URL.

...


this is not possible, accept using bb-codes
0 replies
S
smokeman
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
answered
Veteran Member

@Arda: Will you post the solution of the modifying of the 'static' here ? (I mean the solution of post #5)

Besides that - I don't know exactly what you mean by screenshot - but try to take a look at our site:

http://www.phpfusion-tips.dk/forside.php

Left Panel named "Downloads" have mopuse-over screenshots - and I've moddet to show screenshots inside the downloads too/download-list. Take a look and tell if it's something similiar to that you want ?
0 replies
A
Arda
A
Arda 10
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

@smokeman -

find this:

function get_downloads


alter as:

static function get_downloads


as wibix says.

Well, that should also work for me (as in your website like shown here).

@wibix - I do that, thanks!
0 replies
— 2 months later —
C
ConsoleFreak
C
  • Newbie, joined since
  • Contributed 1 post on the community forums.
answered
Newbie

Can i add to links to the same download? i want to have to downloads buttons for same download is it possible?
Or how can i midify the plugin insted of Archive to have Mirrors or download alternative or something like that?
Edited by ConsoleFreak on 04-07-2011 18:59,
0 replies
— 1 month later —
S
StoyaN
S
StoyaN 10
  • Member, joined since
  • Contributed 162 posts on the community forums.
  • Started 37 threads in the forums
answered
Member

Hi guys! At the moment i'm using fusion 7.01.02 and php 1.8.5 and everything is working ok.

I want to ask you are there any compatiblity problems between Fusion 7.02.xx and Pro Download System 1.8.5?
0 replies
— 2 months later —
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

No problems! PDS working ok with v7.02.03.

Just add static before the function as described above.
0 replies
— 2 months later —
D
DawciuPotter
D
Do you have a problem?
Solve it on my site! °° English-speaking forum
DawciuPotter.pl - the whole world in one place
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

I have v7.02.04 and downloading dont work: when I click "Download" and accept the licence, my ff says that the file dont exists, but when I check it via ftp it exists.
Second problem - when reporting bad file, the secure image is not visible, and when you click "raport" you get:
Fatal error: require_once() [function.require]: Failed opening required '../../includes/securimage/securimage.php' (include_path='.') in /home/dpotter2/public_html/dawciupotter/infusions/pro_download_panel/include/core.php on line 434
0 replies
D
DawciuPotter
D
Do you have a problem?
Solve it on my site! °° English-speaking forum
DawciuPotter.pl - the whole world in one place
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

Noone knows how to repair it?

http://dawciupotter.pl/infusions/pro_....php?did=4 check it
0 replies
M
miskith
M
My projects:
PHP-Fusion Czech | miskith portfolio | theConnex (In preparation) | Online game (Future project)
  • Member, joined since
  • Contributed 117 posts on the community forums.
  • Started 2 threads in the forums
answered
Member

First Problem - I think, you have UNIX hosting and all UNIX systems are case-sensitive. So, check file name if it's correct. "File.ext" != "file.ext".
Second problem - Reuplod "/includes/securimage/".
0 replies
W
wibix
W
wibix 10
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
answered
Member

you can also check for files as moderator: pro_download_panel/mod.php - click on "check files" to see if there are any problems.
0 replies
D
DawciuPotter
D
Do you have a problem?
Solve it on my site! °° English-speaking forum
DawciuPotter.pl - the whole world in one place
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

Quote

miskith wrote:

First Problem - I think, you have UNIX hosting and all UNIX systems are case-sensitive. So, check file name if it's correct. "File.ext" != "file.ext".
Second problem - Reuplod "/includes/securimage/".


First: It already was "file.php"

Second: The secureimage folder is not in the package of php-fusion v.7.02.04, should I try download an older version?

Wibix: that shoved no problems.
0 replies
M
miskith
M
My projects:
PHP-Fusion Czech | miskith portfolio | theConnex (In preparation) | Online game (Future project)
  • Member, joined since
  • Contributed 117 posts on the community forums.
  • Started 2 threads in the forums
answered
Member

http://www.php-fusion.co.uk/infusions...ddon_id=84 - Here you can see, it's infusion for PF 7.01.xx. In PHPFusion 7.02.xx was securimage replaced. So, you can try to download older version (PF 7.01.xx)...

And first problem: Filename is "file.php"? I don't know this infusion, but there are often problems with downloading PHP files. Even some share-servers have problem with it. If it's PHP file, you can try to rename, something like "File.php.rename" and inform your guests, that they have to rename file...
0 replies
D
DawciuPotter
D
Do you have a problem?
Solve it on my site! °° English-speaking forum
DawciuPotter.pl - the whole world in one place
  • Junior Member, joined since
  • Contributed 23 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

Okey, thank you, maybe the problem is because I have the pf v.7.02.04

"And first problem: Filename is "file.php"? I don't know this infusion, but there are often problems with downloading PHP files."

My fault, I though, that I have to rename the file.php file of the core of PDS. All files have names of small letters, but I cant download anything
0 replies
W
wibix
W
wibix 10
  • Member, joined since
  • Contributed 73 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
answered
Member

just installed 7.02.04:
+ downloadst works here (linux)
+ reporting broken downloads results in an error
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 50 posts
  • Votes 0 votes
  • Topic users 23 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet