Osclass forums
Support forums => Plugins => Plugin Payments => Topic started by: Sudo on February 24, 2017, 10:09:12 pm
-
Hi, wanted to see if you had some insight on a few things:
1) When I try to move a listing to the 'top', I get - It's too soon to move your listing to the top - when I click move to top. Ad was posted 2 days ago.
2) When a user marks as premium and pays, it sets the expiration date in the osei_t_item table to: 9999-12-31 23:59:59, does this get updated
by the plugin after premium or highlighted expires?
Thanks in advance!
-Robert
-
Think problem is in ajax.php:
if (time()-strtotime($item['dt_pub_date'])<(7*24*3600)) {
echo json_encode(array('error' => 1, 'msg' => __('It\'s too soon to move your listing to the top', 'payment_pro')));
die;
I changed to:
/* if (time()-strtotime($item['dt_pub_date'])<(7*24*3600)) {
echo json_encode(array('error' => 1, 'msg' => __('It\'s too soon to move your listing to the top', 'payment_pro')));
die;
}
*/
it seems to work, but user can move to top whenever they want, not limit set in admin.
-
Any update on this? Would like to un-comment the code that makes a user wait before he can top post.
Thanks!!!
-
Update to latest version of the plugin payments pro (3.3.6) the time to wait is configurable from the admin panel.
Regards
-
I am running 3.3.6. When I config in admin panel for 1-hour, even after 10 hours, when you try to move to top, it says too early to move to top. That's why I commented out the code, to allow users to top post.
-
Then, please contact us through the market to be able to fix your issue here h : ttps://market.osclass.org/plugins/payments/osclass-payments-pro_203
thanks
-
Sent in Ticket, thanks in advance! You guys r are the best!!!