T

Report bug xenvn - all in one

thienlong095Verified member

Well-Known Member
Vip Member
Reputation: 8%
https://xenvn.com/threads/advanced-redirect-page-for-xenforo-2.2209/
When the link is shared to facebook. When users click and access with facebook's browser, when they click download attachment, facebook browser will push through chrome (or any other default browser), the attachment page will report an error. but if you use a browser other than facebook (no switch browsers) it won't fail, in previous versions it still works fine, but later versions have this error.

https://xenvn.com/threads/attachment-download-limit-for-xenforo-2.2210/
Limit download under upgrade account fails when there are 2 upgrade packages working at the same time (with 2 different times). for example: package A is 1 day, package B is 1 week, then package A will run according to the time of package B => will run according to the package with a larger number.
 
Last edited:
https://xenvn.com/threads/advanced-redirect-page-for-xenforo-2.2209/
When the link is shared to facebook. When users click and access with facebook's browser, when they click download attachment, facebook browser will push through chrome (or any other default browser), the attachment page will report an error. but if you use a browser other than facebook (no switch browsers) it won't fail, in previous versions it still works fine, but later versions have this error.

https://xenvn.com/threads/attachment-download-limit-for-xenforo-2.2210/
Limit download under upgrade account fails when there are 2 upgrade packages working at the same time (with 2 different times). for example: package A is 1 day, package B is 1 week, then package A will run according to the time of package B => will run according to the package with a larger number.
1. Open file src\addons\XV\Pub\Controller\Attachment.php
Remove:
$this->assertValidCsrfToken(); (2 line)
will remove security issue messages when switching between web browsers on android (Only some devices have this error.)

2. Limit Thread Download, Cycle Time Mode: upgrade-time only works with forum using 1 user upgrade group. If you have multiple user upgrade groups, use count-time mode instead.
=> Adjust Cycle time for limit (User group permissions) = Expiration time of the upgrade package.
 
1. Open file src\addons\XV\Pub\Controller\Attachment.php
Remove:
$this->assertValidCsrfToken(); (2 line)
will remove security issue messages when switching between web browsers on android (Only some devices have this error.)

Will this be fixed in the next update?

2. Limit Thread Download, Cycle Time Mode: upgrade-time only works with forum using 1 user upgrade group. If you have multiple user upgrade groups, use count-time mode instead.
=> Adjust Cycle time for limit (User group permissions) = Expiration time of the upgrade package.

I think the problem occurs when the package lasts 1 month and 1 day, so if the solution is better than I suggest
1. It's better to add more packages for the user upgrade part
2. is if the upgrade package and independent time
however, if your way of recommending then there will be bugs, eg. if I set the package to 24h and the package is purchased on the 9th, it will expire on the 10th, and it will lead to a time difference between upgrades if they use the renew function to upgrade the account (that's the difference small when I leave 1 day) but if it is greater than 1 day, it will create a large deviation leading to the problem that the package has not expired, the count has renewed
 
Top