Welcome, Guest
Username: Password: Remember me
JO Facebook Events Pro

TOPIC: plugin browser-error

plugin browser-error 3 years 1 month ago #10704

  • Rene Waldbauer
  • Rene Waldbauer's Avatar
  • OFFLINE
  • Senior Member
  • Posts: 42
  • Thank you received: 1
  • Karma: 0
and ... in BOTH cases (with or without key) ... I got an error when I unfold any event


hf9313e3.jpg
The administrator has disabled public write access.

plugin browser-error 3 years 1 month ago #10708

  • Rene Waldbauer
  • Rene Waldbauer's Avatar
  • OFFLINE
  • Senior Member
  • Posts: 42
  • Thank you received: 1
  • Karma: 0
do you have infos?

thanks!
René
The administrator has disabled public write access.

plugin browser-error 3 years 1 month ago #10709

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello
Please help me find and open file: modules/mod_jo_facebookevents_pro/tmpl/default.php and go to line 32->38 and delete this code
<script type="text/javascript" src="<?php echo $eventon_gen_maps;?>"></script>
<?php if(trim($params->get('googleapikey'))!=''){ ?>
<script async defer src="maps.googleapis.com/maps/api/js?key=<?php echo trim($params->get('googleapikey'))?>&callback=initMap" type="text/javascript"></script>
<?php }else{?>
<script src="maps.googleapis.com/maps/api/js?sensor=false&ver=1.0" type="text/javascript"></script>
<?php }?>
<script type="text/javascript" src="<?php echo $jquery_map;?>"></script>

and find and open file: modules/mod_jo_facebookevents_pro/assets/js/eventon_script.js and go to line 85 and delete this code
obj.evoGenmaps({
'_action':'lightbox',
});

and go to line 112 and delete code
obj.evoGenmaps({'fnt':2});

and go to line 134->138 and delete this code
if(delay!=''){
$(this).evoGenmaps({'fnt':2, 'delay':delay});
}else{
$(this).evoGenmaps({'fnt':2});
}

and go to line 398 and delete code
ev_cal.evoGenmaps({'delay':400});
Best regards
Bach Pham
The administrator has disabled public write access.

plugin browser-error 3 years 1 month ago #10716

  • Rene Waldbauer
  • Rene Waldbauer's Avatar
  • OFFLINE
  • Senior Member
  • Posts: 42
  • Thank you received: 1
  • Karma: 0
Hello Bach Pham!

I deleted the code lines and the error in the browser dev tools is gone.

What was this (deleted) code for?
Is there now any function/feature that no longer works without this code lines?

thanks for your answer!

greetings from Austria, René
The administrator has disabled public write access.

plugin browser-error 3 years 1 month ago #10717

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello
Google maps API have updated and now not need this code and i will update module in my site
Best regards
Bach Pham
The administrator has disabled public write access.

plugin browser-error 3 years 1 month ago #10718

  • Rene Waldbauer
  • Rene Waldbauer's Avatar
  • OFFLINE
  • Senior Member
  • Posts: 42
  • Thank you received: 1
  • Karma: 0
thanks!

great job!

René
The administrator has disabled public write access.
Time to create page: 0.092 seconds