Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
It would be somthing like this:
SELECT * FROM 'wp_geodir_gd_place_detail' pd LEFT JOIN 'wp_posts' p ON pd.post_id=p.ID WHERE 1=1Stiofan
Yeah i narrowed it down to either the theme or WPML main plugin. Without switching themes for a few seconds i can’t really narrow it down much further.
Stiofan
February 26, 2018 at 11:14 am in reply to: Selecting a feature image from media library not uploading a new one #419249Please check now, you still had the “GeoDirectory – Multinews Theme Compatibility” plugin active.
Stiofan
This is not possible, we have changed the way listings are added in GDv2 which will make it easier to implement this sort of WIKI feature if requested by users in future.
Stiofan
Everything in that file is filterable, what exactly are u trying to change?
Stiofan
That is not a default option for the editor, i don’t even know what it is?
We load the default basic editor for security reasons.Stiofan
You are welcome! 🙂
Thanks for the info.
It seems to be failing just before this line is output
<input type="hidden" name="avia-loader-nonce" id="avia-loader-nonce" value="d80ee71de4" />I am not sure if the problem lies in the theme or in WPML.
If you can try stitching theme quickly and then re-checking the problem is fixed or not that will help.Otherwise you might need to contact WPML.
Stiofan
We only load the default editor, i’m not sure it would be possible to make it add the 3rd party extension without editing core files.
What does the extension do?
Stiofan
Thanks Alex,
It seems to be related to the business hours plugin, it is throwing a PHP fatal error.
Please contact the developer direct for support or you can try disabling the plugin to confirm that the problem.Thanks,
Stiofan
February 24, 2018 at 2:47 pm in reply to: Selecting a feature image from media library not uploading a new one #419086Hmm, i’m confused as to where our class wrappers have gone :/
If you can also provide FTP details i will check whats going on.
Thanks,
Stiofan
The function you use should get it, this is how i woudl do it:
global $post; //echo "the default cat id is:".$post->default_category; // uncomment for testing. $term = get_term_by('id', $post->default_category, $post->post_type.'category'); //print_r($term); // uncomment for testing. echo $term->name;Stiofan
Hello again Piotrek 🙂
The below snippet will change the author to whatever u want AFTER the confirmation email has been sent to the user.
add_action('geodir_after_save_listing','_my_change_author'); function _my_change_author($post_id){ wp_update_post( array('ID' => $post_id,'post_author' => '1') ); }change the ‘1’ with the user id u want to assign it to.
Thanks,
Stiofan
There seems to be an error on the page, can you provide FTP details and i’ll check the error logs.
Thanks,
Stiofan
Can someone link me to a page where the error is, i don’t see it?
Stiofan
-
AuthorPosts