Welcome, Guest. Please login or register.
Did you miss your activation email?
Oct. 13, 2015, 10:02:23 PM
56819 Posts in 12813 Topics by 24848 Members
Latest Member: dualf
The PRADO Community » Prado v3.x » Component Repository » PRADO/Wordpress/BBPress integration v1.0... « previous next »
Pages: [1] Print
Author Topic: PRADO/Wordpress/BBPress integration v1.0...  (Read 21643 times)
PRADO v3.x Developer
Junior Member

Karma: 10
Offline Offline

Posts: 37

"Love your code, unconditionally" -Be

View Profile
« on: Sep. 07, 2007, 08:38:14 PM »

Hello everyone,

I've been wanting to share with all you something new and special.  I've needed to use Wordpress Multiuser as blogging software (it's supported and has new releases once in a while and people know how to use it) with PRADO.  Auxiliary is the integration of BBPress too.  Basically, it's a single login system for prado, blogs, and forums.

Here's what it integrates:
  • Users management in PRADO uses Wordpress
  • User roles in PRADO uses Wordpress
  • Permissions and user capabilities in PRADO uses wordpress (more an extension of PRADO)
  • User authentication in prado uses itself (sessions) and wordpress (cookies)
  • initializes most of the Wordpress code libraries (so you get actions and filters!!)
  • includes all the Wordpress plugins
  • (and it's relatively easy to integrate!)

It's a neat little system.  Once it's all set up you can log in and manipulate permissions, roles, capabilities, and users then go over and blog about it and finally check in to what people are talking about in you forum.

The instructions are not for the taint of heart but if you're using PRADO then you should know enough to do this:
0) download and unzip this package
1) download and unzip Wordpress MU into the root of the package
2) create a symolic link to wordpress called 'blogs', like this:
   ln -s wordpress-mu-1.2.4 blogs
3) install Wordpress by going to the blogs directory in your web browser
4) add/change the Wordpress wp-config.php file so that the COOKIEPATH, SITECOOKIEPATH, and
   COOKIE_DOMAIN are these values respectively '/', '/', '.mysite.com'
   (be sure to have a leading period on the domain or the cookies won't work correctly between
      http://www.mysite.com and http://mysite.com)
5) install 2 Wordpress fixes (necessary up to and including version 1.2.4):
   http://wordpress.org/support/topic/131509 -- removing user roles doesn't work
   http://wordpress.org/support/topic/132841 -- having multiple roles doesn't work
6) make sure assets and protected/runtime are writable by the php/webserver process
7) change the path to prado in the index.php file
Cool change the application.xml database connection in three places (wordpress, prado, globalization)
9) (optional) install bbpress with the wordpress extension, change the config file for the three cookie variables above to those same values
10) install the Wordpress plugin (and bbpress plugin) so when the user logs out of
   either of those two packages then the prado session will be destroyed as well
11) go to the site in your browser, fix any bugs and report them back to me on this prado forum thread
12) Log in and add these permissions to the system:

All the best,

P.S.  I almost feel dirty putting these two popular packages together!

* wordpress-prado.zip (53.76 KB - downloaded 223 times.)
« Last Edit: Sep. 10, 2007, 12:29:09 PM by javalizard » Logged
Senior Member

Karma: 13
Offline Offline

Posts: 245

Sam Hennessy

View Profile WWW
« Reply #1 on: Sep. 07, 2007, 09:20:35 PM »

Wow, great work javalizard!!!!!

I can't wait to try it.

PRADO Supporter
Senior Member

Karma: 11
Offline Offline

Posts: 197

View Profile WWW
« Reply #2 on: Sep. 08, 2007, 01:59:17 PM »

nice! karma++ =)
Platinum Member

Karma: 44
Offline Offline

Posts: 802

PRADO aint no voodoo ...

View Profile WWW
« Reply #3 on: Sep. 10, 2007, 12:11:21 PM »

Nice indeed Smiley

A mathematician is a device for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970)
PRADO v3.x Developer
Platinum Member

Karma: 30
Offline Offline

Posts: 845

View Profile WWW
« Reply #4 on: Sep. 10, 2007, 12:44:57 PM »

Great! Thanks for sharing this with us!



Karma: 0
Offline Offline

Posts: 1

View Profile
« Reply #5 on: Jun. 25, 2008, 04:03:27 AM »

This is amazing, thanks for sharing.
software review
Pages: [1] Print 
« previous next »
Jump to: