kintango
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ads view count & sharing@gwin Can I put this code in a snippet instead of add to the theme function ?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] My Ads expire automaticallyI finally fix it. The problem was in the $expiry = strtotime( $publish . ” +$visible DAYS” ); line. Instead of word DAYS, i was using teh french traduction JOURS. I can’t remember if i changed that myself or if it comes with the plugin’s traduction. Your last message make me tilt.
I just changed to back at DAYS and IT’S WORKING FINE !!!
Thanks for your assistance @gwinForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] My Ads expire automaticallyMe again @gwin
I modified the function [echo date( “Y-m-d H:i:s”, $expiry )] to [echo date( “Y-m-d H:i:s”, $visible )] to see if the $visible variable take the value i set on my pricing (test with default 20 days for free), and it’s no problem. The function return 1970-01-01 00:00:20.This is the function ($expiry = strtotime($publish + $visible);) on line 208 in wpadverts/addons/payments/payments.php. I modified from this ($expiry = strtotime($publish . ” +$visible DAYS”);).
The expiration date is now set to 2 hours next to the $publish date, like the $visible value take 2hours instead of 20 days.
Help me please !! I’m desperateForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] My Ads expire automaticallyHi @gwin
I done what you advice, adding [echo date( “Y-m-d H:i:s”, $expiry )] above the 209 line.
I tried to post Ad, then the date return 1970-01-01 00:00:00, and the Ad still send to expired automaticallyForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Hide a categoryI use actually Ultimate Member plugin on others side of the site. Can i use that on adverts categories or do you have some others plugin to advice me ?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ads view count & sharingHi. I solve the problem 2 by css, but i still have problem with social icons and views count. I tried AddtoAny plugin or Post view, nada
Thx
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom field in search formThanks @gwin It’s work perfectly now
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom field in search formCan i add more than one condition “Compare” to extend the number of results? @gwin
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom CSS featured AdsThx, it’s work.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] My Ads expire automaticallyHow can i check the function who set expiration date (taking it from pricing) ?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] My Ads expire automaticallyI changed the time zone (Paris to Douala my location) and date format, but i still have this issue @gwin
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] My Ads expire automaticallyHi @gwin
I just post an Ad to test. The post date is 24 janvier 2019 à 14 h 30 min (January 24), but the expiration date is mark as Jan 23, 2019, YESTERDAY.
Is the date format or time zone can cause this issue? I’m confusedForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom field in search formThx so much
1 – My [adverts_add] page was by default ([adverts_add]), no moderate param2 – i used the code and the field is add correctly in the search form, but the search query doesn’t work well i think. When i check a value which doesn’t appear in no Ad, the defaults Add_list is still display, instead of a “No result” mention.
- This reply was modified 7 years, 2 months ago by kintango.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom field in search form@gwin I used this code https://wpadverts.com/documentation/custom-fields/