Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.

3.2 & 3.3 Extensions Database 3.2 / 3.3Pay for download

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

eunaumtenhoid
Users
Users
Posts: 67
Joined: 14 Oct 2016, 05:10
    Windows 10 Chrome

Re: Pay for download

Post by eunaumtenhoid »

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

User avatar

deiux3
Users
Users
Posts: 12
Joined: 06 Aug 2024, 23:34
    Windows 10 Firefox

Re: Pay for download

Post by deiux3 »

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:
before.png

After a while:
after.png
Please help me fix this :beers:


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.

Post Reply Previous topicNext topic