front end user edit

  • mr_sarge
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #6699 by mr_sarge
front end user edit was created by mr_sarge
Hi,

First of all, thank you for this great component. This is really awesome !

I've installed and configured this extension and it work really well!

I only have an issue with the user front end management. I'm trying to let my user create and edit placemarks. For now, they can create placemarks and edit their own placemarks.

Is there a way to let users edit ALL placemarks, even those that are not theirs?

Whit my own admin account (and one other moderator user) I would like to be able to edit placemarks from normal user from the frontend. even with the SuperAdmin rights, I can't do it.

Thank you,

mr_sarge

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #6701 by Dima
Replied by Dima on topic front end user edit
Hi

Thanks. But now I restrict user to change others placemarks.
And you can't change it from front end, because I allow to change only belonging to logged in user.

You can try to use ACL settings and allow moderator users to get access to admin panel with restricted view and they will be able change placemarks. Component supports ACL for placemark list (edit)

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: mr_sarge

Please Log in or Create an account to join the conversation.

  • mr_sarge
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #6702 by mr_sarge
Replied by mr_sarge on topic front end user edit
Haaaa :(

Do you think it would be possible to implement it? The site i'm working on is for a non profit organisation that will be driven by it's members in the future.

I don't need an fancy option in the control pannel to activate/manage it.

If I could only disable the check that look for the marker owner in the PHP file it would be great :)

Could you just guide me for which file and where I should probably look?

Thank you,

mr_sarge

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #6703 by Dima
Replied by Dima on topic front end user edit
In current last version
com_zhgooglemap\site\views\zhgooglemap\tmpl

File display_map_data.php

Search string
Code:
$currentmarker->createdbyuser != $currentUserID
and change the code
Code:
|| (isset($currentmarker->createdbyuser) && (((int)$currentmarker->createdbyuser != $currentUserID ) || ((int)$currentmarker->createdbyuser == 0)))
to get into else thread, for example remove this three lines at all

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 9 years 5 months ago by Dima.
The following user(s) said Thank You: mr_sarge

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #6704 by Dima
Replied by Dima on topic front end user edit
It appears about 6 times

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: mr_sarge

Please Log in or Create an account to join the conversation.

  • mr_sarge
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #6705 by mr_sarge
Replied by mr_sarge on topic front end user edit
Wow ! you are really awesome ! Thanks for this quick fix. It works !

Please Log in or Create an account to join the conversation.

Time to create page: 0.217 seconds
Powered by Kunena Forum