AlEstrada
Forum Replies Created
-
This issue was resolved here:
https://www.ads-software.com/support/topic/hiding-infowindows-on-the-map-solution?replies=2Forum: Plugins
In reply to: [BP Members Avatar map] hiding infowindows on the map – solution@brxx —> Thanks for adding this.
I fixed a couple of bugs in the original script that was added (above). Use this instead:
1. You still need to add this as a global variable:
var openedInfoWindow = null;
2. Find this code:
google.maps.event.addListener(marker, 'click', function() { infowindow.open(map,marker); });
3. Replace it with this code:
google.maps.event.addListener(marker, 'click', function() { if (openedInfoWindow != null) openedInfoWindow.close(); infowindow.open(map,marker); openedInfoWindow = infowindow; google.maps.event.addListener(infowindow, 'closeclick', function() { openedInfoWindow = null; }); google.maps.event.addListener(map, 'click', function() { infowindow.close(); }) ; });
Forum: Plugins
In reply to: [BuddyPress Courseware] WIll Courseware work under BP 1.7?@mlopezcol & @hkcharlie…
The link that you provided did resolve the issue.
https://github.com/Courseware/buddypress-courseware/issues/97However, this is still a “work-around”. Hoping to see an update from Courseware soon.
Go to:
/wp-content/plugins/buddypress-courseware/groups/groups.class.phpThen, go to: line 44
Add the following:
if ( !isset( $bp->courseware ) || !is_object($bp->courseware)) { $bp->courseware = new stdClass; }
Final result:
function activate_component() { global $bp; if ( !isset( $bp->courseware ) || !is_object($bp->courseware)) { $bp->courseware = new stdClass; } $bp->courseware->id = 'courseware'; $bp->courseware->slug = 'courseware'; $bp->active_components[$bp->courseware->slug] = $bp->courseware->id; }
I hope this helps.
Forum: Plugins
In reply to: [BuddyPress Courseware] Doesn't work in BP 1.7The link provided by @mlopezcol did resolve the issue…
https://github.com/Courseware/buddypress-courseware/issues/97However, this is still a “work-around”. Hoping to see an update from Courseware soon.
Go to:
/wp-content/plugins/buddypress-courseware/groups/groups.class.phpThen, go to: line 44
Add the following:
if ( !isset( $bp->courseware ) || !is_object($bp->courseware)) { $bp->courseware = new stdClass; }
Final result:
function activate_component() { global $bp; if ( !isset( $bp->courseware ) || !is_object($bp->courseware)) { $bp->courseware = new stdClass; } $bp->courseware->id = 'courseware'; $bp->courseware->slug = 'courseware'; $bp->active_components[$bp->courseware->slug] = $bp->courseware->id; }
I hope this helps.
Forum: Plugins
In reply to: [BuddyPress Courseware] WIll Courseware work under BP 1.7?Here’s the issue that we are referring to:
https://github.com/Courseware/buddypress-courseware/issues/109Hoping to see a fix soon. Courseware is essentially non-existent on BP 1.7. Should have tested in BP 1.7 before updating =(
Forum: Plugins
In reply to: [BuddyPress Courseware] Doesn't work in BP 1.7Here’s the issue that we are referring to:
https://github.com/Courseware/buddypress-courseware/issues/109Hoping to see a fix soon. Courseware is essentially non-existent on BP 1.7. Should have tested in BP 1.7 before updating =(
Also:
1. https://github.com/Courseware/buddypress-courseware/issues/1162. https://github.com/Courseware/buddypress-courseware/issues/113
Anxiously waiting for a resolution.