Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
If it were to go to draft or pending it would mean it would be unpublished from the site which would make it a 404 for links from google and that would not be good.
Stiofan
February 15, 2018 at 11:38 am in reply to: Documentation for Advance Search (Front-end/Custom Template) #417741I am not exactly sure what you are trying to do but it looks like a customization which we can not help with.
Stiofan
GDv2 core beta will be out at the end of the month, it already has posting for non logged in users as an option.
Thanks,
Stiofan
i guess the $post value is being reset at some point, you might need to get the package value independently like:
$package_id = geodir_get_post_meta($post->ID, 'package_id', true);
Stiofan
Hi Fox,
There is no setting to do this but you could do it with a small snippet (not tested, but something like)
add_action('geodir_add_listing_form', '_my_geodir_action_add_listing_form_checks', 1); function _my_geodir_action_add_listing_form_checks(){ $post_type_limit = 3; if(isset($_REQUEST['listing_type']) && $_REQUEST['listing_type']){ $user_post_count = count_user_posts( get_current_user_id(), esc_attr($_REQUEST['listing_type']) ); // check if the user has more or equal to number of posts as the limit. if($user_post_count >= $post_type_limit){ // remove add listing form remove_action('geodir_add_listing_form', 'geodir_action_add_listing_form', 10); // add our own message echo "<h2>Sorry you are only allowed ".$post_type_limit." listings at most</h2>"; } } }
Thanks,
Stiofan
February 14, 2018 at 7:11 pm in reply to: Claiming a listing only allows single payment not subscription #417636Yes i see the problem on mobile, i think it might be related to chosen select which we are phasing out, i’ll flag this for kiran to confirm in the morning.
Thanks,
Stiofan
The wordpress nonce is missing, maybe they copied to child theme, if so u need to add the nonce code
https://github.com/GeoDirectory/geodirectory/blob/6adb05f69d5d1fc1a9867f01ea24e3f9a6c1d1fc/geodirectory-templates/popup-forms.php#L30Stiofan
February 14, 2018 at 6:56 pm in reply to: Claiming a listing only allows single payment not subscription #417630I see for some reason its not catching the errors properly but it seems to be
No such event: evt_1BvQuIGs4AyG0Nu1cmwFIx29; a similar object exists in test mode, but a live mode key was used to make this request.
For the claim listing/recurring i just tested and it seems to all work fine and is recurring?
Stiofan
Did u manually edit the fomrs? We added more security to them which seems to be missing from your forms.
Stiofan
February 14, 2018 at 6:30 pm in reply to: Claiming a listing only allows single payment not subscription #417625if u can give me cpanel details i can do it from there (assuming its not also IP restricted?)
Stiofan
February 14, 2018 at 5:56 pm in reply to: Claiming a listing only allows single payment not subscription #417614We can’t seem to connect with those FTP details, can you double check them.
Thanks,
Stiofan
Thanks for the info.
I have fixed it now and updated the code above/
Stiofan
I see in the code we have removed the top widget sections from Avada, i think there must have been an incompatibility, i tried adding it back with a quick snippet but it did not work.
Stiofan
Please also provide FTP details and let me know where u tried to add the code?
Thanks,
Stiofan
February 14, 2018 at 4:59 pm in reply to: Claiming a listing only allows single payment not subscription #417596Can you also provide FTP, i’ll need to check the server error logs.
Is it still receiving payments ok?
Stiofan
-
AuthorPosts