Shane
Forum Replies Created
-
AuthorPosts
-
Update,
My apologies, I found this in the Claim Listings Add-on language file, but when I changed it, it has no effect on the frontend.
#: language.php:70
msgid “Business Owner?”
msgstr “”Thanks Kiran,
That seems to have fixed the issue, most appreciative.
I have no idea how that happened.
Everything was working up until about 2 weeks ago and I didn’t change any settings.
Anyway, its fixed now.
Thanks to you and all the team!
This reply has been marked as private.This reply has been marked as private.Hi Stiofán,
I manually updated using FTP and all seems to be fine now.
Just curious why auto-updating wasn’t working.Will wait til next releases and if problem repeats will get back on to you.
Thanks
ShaneAugust 27, 2016 at 8:53 pm in reply to: GD>CPT Listings widget – change per item background color #254513That’s brilliant Stiofan, thank you.
And a lot simpler than my solution 🙂
Many thanks again to both yourself and Guust!
August 27, 2016 at 12:44 pm in reply to: GD>CPT Listings widget – change per item background color #254291Thanks Guust.
Basically I added the following code just after line 51 where the variables are declared for output.
It is not pretty, but I am not a coder so I am sure there is a better way.
I created an ‘ID’ for each DIV based on the declared cpt_name variable.
Ideally I would like it to be the slug so no need for the string replace but I do not know how to do this.$cpt_listing_id = str_replace(” “,””,$cpt_name);
$cpt_listing_id = str_replace(“/”,””,$cpt_listing_id);Any ideas?
Also, how do I protect from future updates which may overwrite?
Thanks again
Shane
August 26, 2016 at 10:59 pm in reply to: GD>CPT Listings widget – change per item background color #254060Resolved.
Apologies.
August 26, 2016 at 10:58 pm in reply to: GD>CPT Listings widget – change per item background color #254059Leave with me a bit.
You have done loads for me already.
I will figure it out.
Not a full time, or even trained coder, just self taught but I figure stuff out pretty quickly.If really stuck I will get back to you.
Thanks again Paolo.
Apologies,
I am getting mixed up with production site.
I am working on test site.
This is the one I am editing now I am just using the sample data and manually input 2 using PayPal sandbox to process.Thanks again,
Just edited my last comment as still an issue with previous query.
Thanks
Thank you.
As a follow up, using the code you gave me above,
global $post;
$is_owned = geodir_get_post_meta($post_id,’claimed’,true);
if ($is_owned == ‘0’) { // your function here }Basically I set that if owned to allow hyperlink, if not to disable.
When ($is_owned == ‘0’) nothing disabled.
When (!$is_owned == ‘0’) or ($is_owned == ‘1’) everything disabled.
As I uploaded using the import feature and assigned to me, does the system see them all as claimed by me?
Many many thanks yet again Paolo.
How might I check if it belongs to a specific pricing package?
for example
if ($pricing_package_ID = “34”) {…..?
Sorry guys,
The code above works to hide Tabs and display all content in single page view, but I cannot get my head around displaying the ‘More Info’ content in the ‘Profile’ Tab.
I see Tabs defines for
$post, $post_images, $video, $special_offers, $related_listing, $geodir_post_detail_fields;
Which is More Info???Need help, sorry!
-
AuthorPosts