Important security update, please update to Osclass 3.7.4
At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.
Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.
I accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
We would like to highlight a few updates that may impact your implementation. Beginning June 11th, we are launching our new pricing plan and providing all users access to support. We’ll continue to offer a free tier — all developers will receive $200 of free monthly usage of our core products.In addition, this change will require you to enable billing and associate it with all of your Google Maps Platform projects. Creating a billing account helps us better understand your usage so we can continue developing helpful products. It also allows you to scale easily with less downtime and fewer performance issues if your product grows beyond the $200 of free monthly usage. For additional visibility and control you can set daily quotas or billing alerts..
Developpers have 200 USD of free monthly usage, they calculate that 98% of developpers will still use google map for free
Just got an email that my website, based on Infinity theme does not use an API key and I should get one. The terms have changed as it seems I fit into one-time 300$ bonus, not the monthly 200$ limit. So.. it's time to change to Bing maps or something. Shall we discuss on how to?
<?php $addr = array(); if( ( osc_item_address() != '' ) && ( osc_item_address() != null ) ) { $addr[] = osc_item_address(); } if( ( osc_item_city() != '' ) && ( osc_item_city() != null ) ) { $addr[] = osc_item_city(); } if( ( osc_item_zip() != '' ) && ( osc_item_zip() != null ) ) { $addr[] = osc_item_zip(); } if( ( osc_item_region() != '' ) && ( osc_item_region() != null ) ) { $addr[] = osc_item_region(); } if( ( osc_item_country() != '' ) && ( osc_item_country() != null ) ) { $addr[] = osc_item_country(); } $address = implode(", ", $addr); ?>
<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.it/maps?q=<?php echo $address; ?>&output=embed"></iframe>
I've updated the code above, it works for me.
In Which File, i am insert this code?
osc_current_web_theme_path('header.php'); // for map $addr = array(); if( ( osc_item_address() != '' ) && ( osc_item_address() != null ) ) { $addr[] = osc_item_address(); } if( ( osc_item_city() != '' ) && ( osc_item_city() != null ) ) { $addr[] = osc_item_city(); } if( ( osc_item_zip() != '' ) && ( osc_item_zip() != null ) ) { $addr[] = osc_item_zip(); } if( ( osc_item_region() != '' ) && ( osc_item_region() != null ) ) { $addr[] = osc_item_region(); } if( ( osc_item_country() != '' ) && ( osc_item_country() != null ) ) { $addr[] = osc_item_country(); } $address = implode(", ", $addr);?>
<a class="btn btn-default btn-xs" style="border:#4a80f5solid thin; background:#4a80f5; color:#fff" role="button" href="https://maps.google.it/maps?q=<?php echo $address; ?>" target="_blank"><i class="fa fa-map-marker"></i> See on map</a>