Announcement

#1 2017-03-20 15:56:44

Walton
Member
2017-01-08
13

Is there a user registration API for piwigo? or

Hi,

I want to use piwigo to make an gallery app which users can register by themselves, but now I only see API for admin to add user, Is there a user registration API for piwigo? or is it difficult to make such an API?

Thank you!


Piwigo version: Piwigo 2.8.6

Offline

 

#2 2017-03-21 09:42:37

nicolas
Former Piwigo Team
2004-12-30
1232

Re: Is there a user registration API for piwigo? or

You can write a plugin to add the missing methods for the API. There's a dedicated event handler for such situation : ws_add_methods. You can see community plugin for an example.

Offline

 

#3 2017-03-21 16:40:49

Walton
Member
2017-01-08
13

Re: Is there a user registration API for piwigo? or

nicolas wrote:

You can write a plugin to add the missing methods for the API. There's a dedicated event handler for such situation : ws_add_methods. You can see community plugin for an example.

Thank you for your reply! so I know the direction to solve the problem now

How much time do you think it will cost to write such a plugin for a developer if his is new to piwigo?
(I am asking a friend to do this so I hope it will not cost too much time)

thank you

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact