Map Me conflicting with comments (access denied)
Discussion in "Map Me Support" started by enoctis Oct 1, 2010.
Fri Oct 01 2010, 04:12 am
@Ajay Bhargav
Okay, SecretR (e107 developer) was working with me trying to figure out why attempting to leave comments on my site was returning "Access Denied". As it turns out, the Map Me plugin is causing the error. The newer versions of e107 are using an e-token for security purposes.
e107 staff are currently creating a document for plugin developers that explains how to implement the e-token feature. I am sure they would be willing to give you some assistance with the matter. Unfortunately, my site relies on your plugin and I can't use it until the e-token issue is fixed within the mapjs.php file.
Basically, you have to freeze the e-token feature, so that it doesn't try to generate a new token when the Google map is rendered. I don't know exactly how to accomplish this, but they will be able to help you.
In the event that you get them to work directly with you on this subject (which is very likely), you might want to go ahead and ask about making the map a required part of registration
Best Regards,
Enoctis
Okay, SecretR (e107 developer) was working with me trying to figure out why attempting to leave comments on my site was returning "Access Denied". As it turns out, the Map Me plugin is causing the error. The newer versions of e107 are using an e-token for security purposes.
e107 staff are currently creating a document for plugin developers that explains how to implement the e-token feature. I am sure they would be willing to give you some assistance with the matter. Unfortunately, my site relies on your plugin and I can't use it until the e-token issue is fixed within the mapjs.php file.
Basically, you have to freeze the e-token feature, so that it doesn't try to generate a new token when the Google map is rendered. I don't know exactly how to accomplish this, but they will be able to help you.
In the event that you get them to work directly with you on this subject (which is very likely), you might want to go ahead and ask about making the map a required part of registration
Best Regards,
Enoctis
Fri Oct 01 2010, 04:32 am
Fixed! Here's what you have to do:
Open both mapjs.php & mapmejs.php. In both:
Replace This:
With This:
Open both mapjs.php & mapmejs.php. In both:
Replace This:
require_once("../../class2.php");
With This:
define("e_TOKEN_FREEZE", true); require_once("../../class2.php");
Sat Oct 02 2010, 12:54 am
Hi enoctis,
Thank you so much for the update i will surely make the required changes.
and regarding making map as a part of registration process, i dont think they will agree at this stage.
Also, for you its important to know that MapMe works on GMAP2 APIs and they are already depreciated by google now, its important to think about moving to GMAP3 as sooner or later old version will be discarded by google.
I have no time to work on this plugin as such for now. if you know a bit of coding stuff then you can try your hands and start migrating. and update me too..
Thank you so much for the update i will surely make the required changes.
and regarding making map as a part of registration process, i dont think they will agree at this stage.
Also, for you its important to know that MapMe works on GMAP2 APIs and they are already depreciated by google now, its important to think about moving to GMAP3 as sooner or later old version will be discarded by google.
I have no time to work on this plugin as such for now. if you know a bit of coding stuff then you can try your hands and start migrating. and update me too..
Powered by e107 Forum System