Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Help! Disable User problem

Quote Reply
Help! Disable User problem
In the members list there is an option to "Disable user".

When I click on this the list refreshes but it still shows "Disable user" so there's no way of identifying banned users other than going into the control panel. Surely this should change to "Enable user" when they are banned with a link to reinstate them?

I could manually create a link to enable the user but what would the command be? To disable it is:

Code:
gforum.cgi?do=disable_user;redo=<%this_do%>;user_id=<%user_id%>;<%hidden_query%>

I have tried enable_user and user_enabled but this doesn't work.
Quote Reply
Re: [MJB] Help! Disable User problem In reply to
If you just change the url to enable_user instead of disable_user, it should work. The enable_user action does exist. I'll have to fix the templates so that it shows the correct action for v2.

Adrian
Quote Reply
Re: [brewt] Help! Disable User problem In reply to
I tried that and it returned:

Quote:
An error occurred

No such action 'enable_user'
Quote Reply
Re: [MJB] Help! Disable User problem In reply to
I guess that was added in v2 :). You can still enable the user from the admin panel.

Adrian