Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
Please make sure u have everything backed up and all logins are working, i’ll flag this for Kiran, if has has time he will do it before i come online tomorrow, if not i’ll have a go when i do.
Thanks,
Stiofan
Hello,
Its not actually a new page, its a AJAX message displayed on the same page.
You can use the below code snippet to achive what you want (you can even add in JS, or call Google analytics event)
add_filter('geodir_ajax_save_post_message','_my_post_save_message',10,2); function _my_post_save_message($message, $post_data){ if ( isset( $post_data['post_parent'] ) && $post_data['post_parent'] ) { // update post }else{ // new post $package_id = isset($post_data['package_id']) ? absint($post_data['package_id']) : ''; if($package_id){ $message = sprintf( __('Post received for package %s, your listing may need to be reviewed before going live, you can preview it %shere%s.', 'geodirectory'),$package_id, "<a href='$preview_link' >", "</a>" ); $message .= "<script>alert($package_id)</script>"; } } return $message; }
Hello,
When a youtube URL is inserted it is WordPress that converts this to a video not us, therefore you will find many plugins such as this (not tested) that claim to alter WP embed script to do what you want https://wordpress.org/plugins/wp-youtube-lyte/
Thanks,
Stiofan
Hi Vladimir,
There is no setting for that but it would be achived via snippet.
You can however install Ninja Forms and setup many different contact forms to use in your listings, please see:
https://wpgeodirectory.com/geodirectory-v2-ninja-forms/Thanks,
Stiofan
We will make a video, but it should all be rather simple, just run the GD setup wizard after install, all options can be set on the content section.
Stiofan
We don’t get involved with the development of 3rd party addons, that is the developers responsibility and in this case there is no small snippet that would make it work.
(We do have plans for our own voucher system in the future.)
Stiofan
TDLR; This is the +/- hours of the location of the listing from UTC (excluding any summertime changes)
This value should be set when the location is set and is there to manually adjust if needed.Stiofan
Thanks for letting us know. (my guess is there is another plugin trying to do a similar check and clearing the cache)
Stiofan
May 4, 2019 at 6:22 pm in reply to: Intermittent "Invalid post type" error and 500 internal error #484489Hi Joe,
The “birmingham” search was finding Birmingham (Alabama) not UK.
I added UK to the query options under GD> Settings> General>Search> (advanced) Search near additional.
Which has fixed that issue.I don’t see a 500 error at that url, is it a intermittent issue? If so please check the error logs and let us know if there is anything related there.
Thanks,
Stiofan
Hi Mark,
There are a few ways to do it depending where you are doing things. The quickest/easiest way would be to check the global $post; for $post->package_id
If you need more help please provide more context.
Thanks,
Stiofan
This reply has been marked as private.Hello,
The login appears to be invalid, please check.
Stiofan
#3 should be fixed in next release.
Thanks,
Stiofan
Hi,
There are many things not right, do u have a backup of the DB?
Stiofan
May 1, 2019 at 6:52 pm in reply to: Array( [error] => Sorry, this file type is not permitted for security reasons #484037The WP functions don’t work that way, they are not designed to insert specific IDs they are simply designed to auto increment when adding a new item. This is not something i intend to add to the importer. We are however currently building a converter addon that is specifically designed for what you are doing, but it is still some time off, we are currently focusing on another platform but we intend to make it work with any in the future.
We have a beta version of WP ALL Import addon if you have ever worked with that?
If not just let me know some of the issues you are facing and i will give my best advice.
Thanks,
Stiofan
-
AuthorPosts