GetSimple Support Forum
'Multi User 1.4' Plugin - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: 'Multi User 1.4' Plugin (/showthread.php?tid=1549)

Pages: 1 2 3 4 5 6 7 8 9 10 11


'Multi User 1.4' Plugin - Angryboy - 2012-06-02

I think you uploaded your latest GS Blog zip file instead of Multi-User 1.7...


'Multi User 1.4' Plugin - mikeh - 2012-06-03

Angryboy Wrote:I think you uploaded your latest GS Blog zip file instead of Multi-User 1.7...
I was working on way to many things yesterday. Fixed.


'Multi User 1.4' Plugin - Angryboy - 2012-06-04

Thanks for updating that quickly :-) It's about time that the 'users' page of GetSimple got some more fields. Are you thinking of adding any extra ones, or allowing for custom ones to be defined by the main admin?

By the way, when I first saved the user bio, the 'user's name' and 'bio' labels changed to:

{user-managment/USERS_NAME}
{user-managment/USER_BIO}

I don't know if it is a first time thing, but that's just something I noticed. I look forward to seeing this integrated with other plugins, as it is an underappreciated feature but one that helps to personalise one's use of the CMS considerably.


'Multi User 1.4' Plugin - islander - 2012-06-08

I would love to see the possibility to block access to other plugins installed, any possibility of adding that?


'Multi User 1.4' Plugin - Ed at ISI - 2012-06-20

I ran into an odd problem with the plug-in.

Yesterday, I started a new site with a fresh install of GS 3.1 and Multi User 1.6. When I created a 2nd user, the user didn't work at login. There was no error message, the login page merely refreshed when the user's password was submitted. Logging in with the original default user, the settings for the 2nd user were there, so they had been saved by the system. I confirmed the password, logged out and got the same strange result when trying to log back in as the 2nd user.

Optimistically, I updated GS & Multi User to the latest versions (3.1.1 and 1.7) but got the same result. After some probing for things like bad server permissions, I gave up for the day.

This morning, it all magically works as if nothing was ever wrong.

I've used GS & the plugin for half-dozen sites and never seen this behaviour before. Do you (or anyone else) have any clues as to what the cause was?

Thanks!

--> e


'Multi User 1.4' Plugin - shawn_a - 2012-06-21

Ed at ISI Wrote:I ran into an odd problem with the plug-in.

Yesterday, I started a new site with a fresh install of GS 3.1 and Multi User 1.6. When I created a 2nd user, the user didn't work at login. There was no error message, the login page merely refreshed when the user's password was submitted. Logging in with the original default user, the settings for the 2nd user were there, so they had been saved by the system. I confirmed the password, logged out and got the same strange result when trying to log back in as the 2nd user.

Optimistically, I updated GS & Multi User to the latest versions (3.1.1 and 1.7) but got the same result. After some probing for things like bad server permissions, I gave up for the day.

This morning, it all magically works as if nothing was ever wrong.

I've used GS & the plugin for half-dozen sites and never seen this behaviour before. Do you (or anyone else) have any clues as to what the cause was?

Thanks!

--> e

This issue keeps coming up, there is obviously some issue here, I believe it is cookie related, cause if you clear the cookie, it works.


'Multi User 1.4' Plugin - Ed at ISI - 2012-06-22

shawn_a Wrote:I believe it is cookie related, cause if you clear the cookie, it works.

Ah, that makes sense and would explain why it worked the next day.

Thanks!


'Multi User 1.4' Plugin - alienee2 - 2012-07-16

Hi Mike,

i think have found a small bug with the multi user but i'm not completely sure....

i had a user who used a % sign in their username, when the system wrote the XML file, it left that % sign out of the XML filename, but the username field was still with the % sign;

so when i tried to install the multi-user plugin, i kept getting the fail/ Unable to Load XML file because the plugin is referencing the XML filename on line 63 of the user-management.php, instead of the username that is within the field in the file;

So i guess this should either be fixed, or GS shouldn't allow usernames to be created with characters that can't be represented in the title of the XML file..

-marc


'Multi User 1.4' Plugin - abazinchik - 2012-07-25

Hello. First of all, sorry for my English.

I want to ask: can I attach user to new page and only him and admin can edit it?


'Multi User 1.4' Plugin - Duulicious - 2012-08-08

If it is too much trouble I understand, but could you possibly add a feature that hooks into http://get-simple.info/extend/plugin/news-manager/43/ and adds a signature to the bottom of the post? Additionally maybe make it so you can make it so the person can only access the News Manager, not the Pages tab


'Multi User 1.4' Plugin - mikeh - 2012-09-18

Version 1.7.1 on GitHub. Introduces hooks for custom permissions for other plugins
View On Github
I have added the ability for other plugins to add custom permissions checkboxes into the manage users area. I am looking for some feedback on the implantation as I am not sure my method is best.

What I have done is created a function, which other plugins can use, that will add a permissions checkbox onto the manage users page. Example below:
Code:
<?php add_mu_permission('blogsettings', 'Blog Settings'); ?>
The above code (placed in my GS Blog plugin) will add a checkbox on the manage users page with the label of Blog Settings. It will save it to the users xml file in the node "blogsettings".

Below is a screenshot of the effect of adding that function and a few other permissions:
[Image: custom_permissions.jpg?psid=1]

Now that the data is stored in the users xml file, the plugin author can access that by manually loading the xml file or by using a function the multi user plugin provides. Example Below:
Code:
<?php check_user_permission($username, $permission_node); ?>
The above will return false if the page is blocked or true if the page is not blocked or the node is missing from the users xml file.

In other regards, I am aware this plugin is in need of a rewrite and you can look forward to that in the coming months. Please let me know your thoughts on this functionality.


'Multi User 1.4' Plugin - islander - 2012-09-19

This is what was missing from this plugin. I cant wait to try it out.
It would be great to see snippets from other users to see how they are implementing this too.


'Multi User 1.4' Plugin - mikeh - 2012-09-20

alienee2 Wrote:Hi Mike,

i think have found a small bug with the multi user but i'm not completely sure....

i had a user who used a % sign in their username, when the system wrote the XML file, it left that % sign out of the XML filename, but the username field was still with the % sign;

so when i tried to install the multi-user plugin, i kept getting the fail/ Unable to Load XML file because the plugin is referencing the XML filename on line 63 of the user-management.php, instead of the username that is within the field in the file;

So i guess this should either be fixed, or GS shouldn't allow usernames to be created with characters that can't be represented in the title of the XML file..

-marc
I will add some protection against this in the new version. I think this needs to be a feature of the core, as usernames should not have special characters in them imo.


'Multi User 1.4' Plugin - mikeh - 2012-09-22

Version 1.8.2 Added To Extend
  • Added check_user_permissions() function - This function returns all
    permissions in an array for the provided user
  • Fixed issue with custom permissions being reset if admin settings form
    is submitted

I have added the ability for other plugins to add custom permissions checkboxes into the manage users area.

I created a function, which other plugins can use, that will add a permissions checkbox onto the manage users page. Example below:
Code:
<?php add_mu_permission('blogsettings', 'Blog Settings'); ?>
The above code (placed in my GS Blog plugin) will add a checkbox on the manage users page with the label of Blog Settings. It will save it to the users xml file in the node "blogsettings".

Below is a screenshot of the effect of adding that function and a few other permissions:
[Image: custom_permissions.jpg?psid=1]

Now that the data is stored in the users xml file, the plugin author can access that by manually loading the xml file or by using a function the multi user plugin provides. Example Below:
Code:
<?php check_user_permission($username, $permission_node); ?>
<?php check_user_permissions($username); ?>
The above (check_user_permission()) will return false if the page is blocked or true if the page is not blocked or the node is missing from the users xml file.
The above (check_user_permissions()) function will return an array of all permissions in the following format: 'permissionname' => bool


'Multi User 1.4' Plugin - shawn_a - 2012-09-22

mikeh Wrote:I will add some protection against this in the new version. I think this needs to be a feature of the core, as usernames should not have special characters in them imo.

Noted
I think this was discussed somewhere but we keep forgetting to create issues on it or discuss it and fix it.


'Multi User 1.4' Plugin - mikeh - 2012-09-22

shawn_a Wrote:
mikeh Wrote:I will add some protection against this in the new version. I think this needs to be a feature of the core, as usernames should not have special characters in them imo.

Noted
I think this was discussed somewhere but we keep forgetting to create issues on it or discuss it and fix it.
I did not keep true to my word. This has not been updated in the just-released version. I will put it in the next version.


'Multi User 1.4' Plugin - shawn_a - 2012-09-22

I think your permissions system is a neat addition without trying to completely control all privs and let plugins do it themselves.

I find something about the whole checkboxes thing annoying though. Perhaps you could use table rows instead, just don't like how its scatters horizontally aligned.

Have you used the username from SVN yet to incorporate ?


'Multi User 1.4' Plugin - islander - 2012-09-29

If I attempt to change the admin language, I end up with a white screen, and can go no further.
If I remove the plugin, everything functions correctly again.


'Multi User 1.4' Plugin - JoZ3 - 2012-10-09

Thank you for this wonderful plugin, but I'm a bit lost and I would like a tutorial or a practical example if possible how to create custom permissions, for example in the image below I would like to hide the user to create new options page (edit option enabled ) or modify the menu as well as hide the items marked in the screenshot below. How do I create permissions for the plugin? for example for special pages. A practical example with a puglin to know where put the code... Thanks again

[Image: PGCTV.jpg]


'Multi User 1.4' Plugin - michaellindahl - 2012-10-11

Can you add the feature that allows for one user to be able to edit only certain pages? (I would like to have one admin user and then several users that can only edit one page.) Thanks!


'Multi User 1.4' Plugin - hempelr - 2012-10-15

I've added and changed something. The adjustment of the language is more complete (some terms added), because till now this has been quite rudimentary.
A few minor problems where corrected, so the fieldname for the login name in the edit form. Now after add a new user that name can not be changed, so that the field should also be inactive set, all changings are running into the empty.
Next, the height of the editor box ad the field Users Bio has been reduced, for users are not so much necessary.

Question:
How could it be done, that changings in the field landing-page are ben taken?
In the actual situation the user will be never redirected to the therefore pointed default page.

Second Question:
How can I upload the changed files for the extension and who does check it, that it can uses from other users?

Greetings from the Ore Mountains in Germany.


RE: 'Multi User 1.4' Plugin - vasitellapahki - 2012-11-08

(2012-10-11, 00:57:00)michaellindahl Wrote: Can you add the feature that allows for one user to be able to edit only certain pages? (I would like to have one admin user and then several users that can only edit one page.) Thanks!


Yes, option to select what pages user/users can edit would be appreciated...

Does anyone know a way to do this in latest version of multi user plugin? I'm no good in php.


RE: 'Multi User 1.4' Plugin - waltmayo - 2012-11-16

I have problem. Upon copying the latest version of the plug-in into the proper folder, I call up SETTINGS and instead of buttons and appropriate links, I get tags inserted as labels and the user editor doesn't work:

Take a look:

http://www.mediafire.com/view/?zz739ds49kvkk9i

3.1.2 or 3.1, neither worked properly with the latest version of the plug-in. Is is something I'm doing?

Walt


RE: 'Multi User 1.4' Plugin - MarkeH - 2012-11-21

Thanks for the great plugin. It works great for me apart from when I check all boxes apart from the 'pages' I get "You Do Not Have Permissions To Access This Page". When I uncheck the 'edit' and 'pages' box it works. I don't really want the user to add new pages.

Custom Landing Page set to 'pages' and using the latest plugin version with gs 3.1.2.

Thanks in advance.


RE: 'Multi User 1.4' Plugin - MarkeH - 2012-11-21

(2012-11-21, 10:48:06)MarkeH Wrote: Thanks for the great plugin. It works great for me apart from when I check all boxes apart from the 'pages' I get "You Do Not Have Permissions To Access This Page". When I uncheck the 'edit' and 'pages' box it works. I don't really want the user to add new pages.

Custom Landing Page set to 'pages' and using the latest plugin version with gs 3.1.2.

Thanks in advance.

Sorry, I'm being dumb! You need the edit to be on to view the page. I guess my main request would be the ability to turn off the "Create New Page"

Something like:
<PAGES></PAGES>
<NEWPAGE>no</NEWPAGE>
<FILES>no</FILES>
<THEME>no</THEME>