Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
August 20, 2015 at 1:54 pm in reply to: Disable Physical Location breaks subdirectory link structure #50086
Hello,
Can you first update all your GD addons and Core and see if the problem still persists, i can’t replicate this on my test site.
Let us know either way.
Thanks,
Stiofan
Hello,
Please also update review rating manager to resolve, we had to change the priority of the hook for compatibility.
Thanks,
Stiofan
Hello Garry,
After some investigation i have found that the PHP function “getimagesize” is not returning the height and width of the image from this line:
@list($width, $height) = getimagesize(trim($image));where $image is the URL of the uploaded image.
Please ask your host to investigate.
Thanks,
Stiofan
Hi Jeff,
We use the wordpress function dbDelta to insert and update the tables, this function has many filters, you can see theme here: http://wpseek.com/function/dbdelta/
But i would be hesitant about modifying our core tables like that, maybe a better solution is our function ” geodir_add_column_if_not_exist” https://github.com/GeoDirectory/geodirectory/blob/6100414acd5d0aec16100764faefe3a292ce9952/geodirectory-functions/custom_fields_functions.php#L49
All our tables have actions after they are inserted you could hook into that action to add new columns with that function.
Let me know if you would like me to make an example code or if you have any questions.
Thanks,
Stiofan
It’s about 30-40% done, but has not been worked on in a while, we have been working on more pressing matters, it will restart once we catch up with things.
Thanks,
Stiofan
🙂
Sorry they just don’t return this info in the API, it is restricted alot, i think basically they dont want people scrapping all info from the api and the description is one of the more unique things they keep.
Marking this as resolved as there is nothing more that can be done.
Thanks,
Stiofan
If u can give me a link to a business that has a desc i will tell it to use that first and fall back to the review if not present.
As for the “…” that’s all the API provides.
Stiofan
I can’t even find a listing that has a “from the From the Business” section, can u point one out?
Stiofan
Hello,
All i did was save your multilocations settings and it now working ok.
Thanks,
Stiofan
Hi Martin,
It should just be a cse of adding one line but their code looks for paticualr div ID’s so we have to use their code from the settings page such as below, use the code given in the plugins settings page and replace it with my one below.
Add this code to your theme functions.php file
add_action('social_connect_form','my_social_connect_code'); function my_social_connect_code(){ ?> <a href="http://site.com/wp-login.php?loginFacebook=1&redirect=http://site.com" onclick="window.location = 'http://site.com/wp-login.php?loginFacebook=1&redirect='+window.location.href; return false;">Click here to login or register with Facebook</a> <?php }Thanks 🙂
fixed and will be in next version.
Thanks,
Stiofan
August 18, 2015 at 1:57 pm in reply to: Crontrol auto post to FB "Published by GDimporter2' on FB #49866#1 Posting to facebook can’t be disabled once set – FIXED
Thanks,
Stiofan
August 18, 2015 at 1:47 pm in reply to: Crontrol auto post to FB "Published by GDimporter2' on FB #49864#2 The published by is the name of the facebook app u created to publish it and it is only visible to admins of the page not users.
#1 Working on it now.
Stiofan
-
AuthorPosts