Monica
Forum Replies Created
-
Forum: Plugins
In reply to: [CiviCRM Member Sync] Association rules wont saveHi Christian,
That’s great thanks. I just updated and it works perfectly.
Also yes you assume correctly that I’m not using any built in membership types in any existing rule. Looks like I thought the membership types should always display even if being used in another rule, but I understand now, thanks.
Monica.
Forum: Themes and Templates
In reply to: [Storefront] Remove the “item title text” on hoverJust wanted to say that this works perfectly – many thanks!
Forum: Themes and Templates
In reply to: [Storefront] Remove the “item title text” on hoverAh understood, thanks @riaanknoetze ?? Actually, I realised I must have been half asleep while creating this post as I actually wanted to Add some title text not remove it! I noticed in the Storefront theme that there is no “Remove this item” title text so I wanted to add it for a client who is using storefront.
Many thanks for the code @taisho ! I’m not a php coder so how would I amend your code to add some title text?
Thanks,
Monica.Have been struggling with this for a while too especially as I’m not a PHP coder.
Eventually I managed to find out that using the above method by @caspicasoft, but instead using code to get the client IP, it worked perfectly and I was able to submit the client IP to a CRM (CF7 to Zoho Integration plugin).
I managed to find the following code online to fetch IP address (not sure if the whole code is needed):
function getRealIpAddr() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet { $ip=$_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy { $ip=$_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip=$_SERVER['REMOTE_ADDR']; } return $ip; }
Then I created the shortcode like this:
add_shortcode( 'getRealIpAddr', 'getRealIpAddr' );