ResourceSpace + Wordpress + Moodle + FengOffice + SMF Forum

514 views
Skip to first unread message

krashnik

unread,
Jun 15, 2013, 2:30:42 PM6/15/13
to resour...@googlegroups.com
Hello Everyone,

I just finished my integration of ResourceSpace with a number of other software platforms.

Initial login is handled by Wordpress with RS in a subdirectory.  However, this is portable and works with RS installed anywhere.  

I essentially edited the include/authenticate.php file to make this happen.

My code is available open-source and available as part of Pedadida.

I have been using a version of this for over 3 years on my commercial business and have just released the code back to the open-source community.  

Please get in touch via the Pedadida contact form as I don't check on Google Groups very often.  

The software is designed as an education platform and makes great use of ResourceSpace as a module pre-installed in the system.

You can follow the project on GitHub as well here: http://hardmagic.github.io/Pedadida

Hope you enjoy!

krashnik

unread,
Jun 18, 2013, 3:10:19 PM6/18/13
to resour...@googlegroups.com
I've made a quick video explaining some of how this works: http://www.youtube.com/watch?v=__vaBGSbwfY&feature=youtu.be

Bill

unread,
Jun 18, 2013, 4:29:56 PM6/18/13
to resour...@googlegroups.com
Do you know or does anyone know if it would be posible to go the other direction with the WordPress integration. To have RS in the root with WP in a subdirectory? If so how to do this?

krashnik

unread,
Jun 18, 2013, 4:56:12 PM6/18/13
to resour...@googlegroups.com
Hello Bill,

This would be possible.  My plugin doesn't matter much which is in a subdirectory or not.  However, it does assume the wordpress installation is the authority on logging in & merges all users from WP > RS.

Essentially, I hijacked the authenticate.php file in RS & then added users into RS database from there.  You can view the include/authenticate.php file in my github project to see how I did this.  It is commented fairly well.


mrpatulski

unread,
Jun 26, 2013, 3:58:04 PM6/26/13
to resour...@googlegroups.com
Krashnik:
An intriguing premise. I am trying to run your application locally on OSX 10.8.4 using MAMP. It will not allow me to select a database--it only shows the information schema of MAMP. It tells me it accepted my credentials but I did not input any to begin with. Ideas?

Matthew Patulski

server-connection-screen.png
pedadida-db-screen.png

krashnik

unread,
Jun 26, 2013, 4:13:11 PM6/26/13
to resour...@googlegroups.com
I believe I have just fixed this in the code for you.  I noticed that, too, and fixed it for version 1.1 which will be released soon.  The encryption technique in the installer causes issues on some systems.  You can change this yourself in line: 178 of the cinfiguration.php file or redownload the new file I uploaded here:


If it wasn't that line, I know for sure it was one of the encrypted techniques found in the config file.  Using the configuration.php file found in the "bridge" branch will definitely fix this for you.  Do let me know if you have other issues.  I'm currently trying to raise money to work more on this program - it's quite a feat!

mrpatulski

unread,
Jun 26, 2013, 11:16:47 PM6/26/13
to resour...@googlegroups.com
OK now it installs but does not launch. It takes me back to the index.html page
So I go to
http://localhost/pedadida/index.php
which redirects me to
http://localhost/pedadida/wp-signup.php?new=localhost

'Firefox has detected that the server is redirecting the request for this address in a way that will never complete.'

What did I miss?

krashnik

unread,
Jun 27, 2013, 10:04:31 AM6/27/13
to resour...@googlegroups.com
Pedadida needs to be installed in the root directory. It utilizes WordPress multisite, which requires the root directory.

Since the integration is so intricate, the only way to remedy this is a full re-installation.

Reply all
Reply to author
Forward
0 new messages