Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.
3.2 & 3.3 Extensions Database 3.2 / 3.3 ⇒ Pay for download
-
eunaumtenhoid
- Users

- Posts: 67
- Joined: 14 Oct 2016, 05:10
Re: Pay for download
This extension could be compatible with ultimate points, thus using the points to pay for downloads, in the same way the donation extension could be compatible with ultimate points, so with each donation the user would earn x points
-
deiux3
- Users

- Posts: 12
- Joined: 06 Aug 2024, 23:34
Re: Pay for download
After a while, the Download button iframe breaks..
For some time it works ok! The button shows, the system works as described.
After a while.. the iframe gets broken, and instad of the Download Button it shows an iframe with the index page.
Why is that?
Initially:
After a while: Please help me fix this
Edit: Fixed! The problem is because bbcode_tpl has a relative path. (./app.php). I have a SEO Extension that has virtual folder structure (Example: domain.com/my-forum/my-topic-t1.html)
Because the path is relative, it redirects to https://mydomain.com/my-forum/app.php if the download button is in /my-forum/.
To fix that go to extension -> migration -> payfordownload_install.php > bbcode_tpl > and remove the dot "." in front of /app.php.
For some time it works ok! The button shows, the system works as described.
After a while.. the iframe gets broken, and instad of the Download Button it shows an iframe with the index page.
Why is that?
Initially:
After a while: Please help me fix this
Edit: Fixed! The problem is because bbcode_tpl has a relative path. (./app.php). I have a SEO Extension that has virtual folder structure (Example: domain.com/my-forum/my-topic-t1.html)
Because the path is relative, it redirects to https://mydomain.com/my-forum/app.php if the download button is in /my-forum/.
To fix that go to extension -> migration -> payfordownload_install.php > bbcode_tpl > and remove the dot "." in front of /app.php.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.