TODO
View Tauvic Ritter's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Thanks.
I've been just wishing for a GDrive integration : )
This can certainly decrease hosting burden ! I hope other developers join and make this the perfect plugin : )
I use this plugin for a church intranet. We can now setup a seperate directory for each working group of volunteers and people can start sharing documents within the context of the Elgg environment. Next steps are to extend the standard Elgg search functionality to include search within Google Drive for documents.
fantastic! any similar interaction with Dropbox is available somewhere?
hmmm... this sounds so familiarrr.. just cannot remember where, who, when.. ;-\ i maybe shud flip thru my emails.. gotta be in there somewhere!;-X
BIIIIIGGGGG "Thank you".
I needed this
Hi guys,
I can't believe I'm asking that, but where can I create my API keys ?
thanks in advance
@tauvic you can store the user authentication keys in the user plugin settings. http://reference.elgg.org/1.8/engine_2lib_2plugins_8php.html#a722d916f06791ea05196d6c5464b4427
Thank you, Jeroen Dalsem.
@odutel,
Here: https://developers.google.com/drive/quickstart-php
Thanx @thouseef19 for the tip on user plugin settings, i will look into it.
Also good info about how to create that API key. I will include it in the documentation.
@Tauvic: You got the wrong person "thanx" for the plugin tip. Jeroen Dalsem gave you the tip : ) Thank him ; )
& thank you again for the amazing plugin: )
Hello @Michele,
Ah, you found something that i have to document. Google requires you to specify a callback url when you configure Google API on the Google side, this is a security requirement. I have to find out what exactly should be specified. I think it includes your webserver url and oauth2callback as i remember. I will come back on that.
Found this solution: there is an Google API Console there you see "API Access" then "Client ID for web applications" then update "Authorized Redirect URIs" and add http://MYSITE/oauth2callback
In the widget you have to specify the correct Google drive folder id. That is the big number you see when you use your webbrowser to access Google Drive. It looks like https://drive.google.com/?tab=mo&authuser=0#folders/0Bz5uaqlHTrydQ1BENkRiZy1KQsQ. Then you copy this funny code 0Bz5uaqlHTrydQ1BENkRiZy1KQsQ in the widget. I think you mistyped somewhere.
When i make an error on purpose i get:
Error calling GET https://www.googleapis.com/drive/v2/files/@0Bz5uaqlHTrydQ1BENkRiZy1KQsQ: (404) File not found: @0Bz5uaqlHTrydQ1BENkRiZy1KQsQ
I added the @ sign here to force an error.
O and maybe it is not having enough access rights to the directory.
Yes, great you solved it. I also sometimes run into the warning message '...token..missing field...'. I don't know where that is comming from. Im not the expert in this field so it is still a mystery to me.
Any help on making this plugin more reliable is appreciated! I think my usage of the Google Oauth2 libray is not 100% correct.
i can not get this working i gave up let me know when a more simple version comes along or is updated would love working drop box plugin
Hi there,
I active the Drive API and put in the plugin the client secret and the other information that it needs. Then I sve the changes and go to the widget area, where it says to me "Log in", but when I click on the link, there appears an error that says "there's a problem with oauth2", or something like this.
I try to resolve it from myself, but I dont know how. I put again the information that the plugin need from me, but no solve the problem. If you need more information to try to give a solution, say to me, thanks.