I was wondering if you guys can help me out.
We are developing a new forum component on our website.
The forum is being created with PHP and MySQL and we want to integrate it with Wordpress.
The Problem is, that we don't want to create a whole new Register Forum because this will force the user to create TWO accounts (one for the site and one for the forum) and this is not user friendly.
So if you know a way to use the wordpress website user database with an outside database it will be great.
Another option is to create a whole new data base but then we force the users out of the commenting section on the Wordpress website. So if is there away to create a new Database that will allow them to use the same account for the website and for the forum that will be fantastic.
I hope someone here know how to merge the two data bases please help me out.
Thanks!
The Wordpress database schema is documented here.
http://codex.wordpress.org/Database_Description
In particular, the user table is here.
http://codex.wordpress.org/Database_Description#Table:_wp_users
Wordpress is open source, so you can look at its code to see how it authenticates itself to its database. Your application will need to do the same thing.
If you'll have your application on the same domain as the Wordpress system you're sharing users with, you may be able to figure out how to use the Wordpress user-authentication browser cookies to implement a single signon scheme.
http://codex.wordpress.org/WordPress_Cookies
The Wordpress developers have created a forum system called bbpress. You could consider using it or forking it. It has user-level integration.
http://bbpress.org/
Wordpress has its own stackExchange site at http://wordpress.stackexchange.com
Related
I am new to backend coding but I am getting the hang of codeigniter. I have deployed the simple task board application hosted on github and everything is fine. As it stands this application uses sessions to create a single dashboard that can be shared by multiple users. I would like to be able to set this up so that a user could register and start their own dashboard. For simplicity it would be good if this new instance or session (not quite sure if I have the terminology right) could share the same database.
So my question is can someone tell me what I need to research in order to develop this? I dont think I have the right terminology to ask google or manuals for what I need.
I prefer you to use codeigniter session library and for dashboard, you may be stored much data in session, so use "Saving Session Data to a Database"
check this link : http://ellislab.com/codeigniter/user-guide/libraries/sessions.html
I have a website which i created from scratch. I want to now add a forum to this but with the users using their excising username and password from when they registered to my site.
What options do i have of already built forum code, with integrating links and keeping my own design?
Thanks
phpBB have some plugin so you can integrate your own authentication.
phpBB also let you code your own template so you can keep the forum design consistent with your website.
this question also show the same kind of solution for vbulletin.
I am developing a ZF application and I am using wordpress as the CMS. The problem I have is I have two logins right now one for my application and one for wordpress. Is there a way that I can have the user login to my application and pass to wordpress the users authentication so that the user does not have to login to wordpress also?
Here's a blog post that goes over the process exhaustively. Although slightly older, it should point you in the right direction. I came across it while attempting (unsuccessfully) the same thing.
My blog post about creating a single login when integrating wordpress into an admin area may help you out.
http://www.robjstanley.com/zend-framework-wordpress-single-admin-login/
Hope it helps.
I'm building a site with Joomla where a forum should exist amongst other things. But also I plan to develop a custom made functionality (diary-like) with a php inserts (it really works, for example with jumi). The problem is that I suppose nobody will understand if the forum and this sub-site will have separated logins. I'd use an existing forum authentication for my code also, but I don't like the idea that the login will look like forum-only login. I see there are bridges exist (like JFusion), but should I choose one particular forum extension if I plan to use a particular bridge extension? And are bridges easy to access with custom-made php code?
If this is for a Joomla 1.5 website, you will want to create a user plugin that will log the user into your custom site as they log into Joomla. Take a look at plugins/user/example.php for an example user plugin. The onLoginUser function will be called just after someone successfully logs into Joomla. At this point, you'll have all of their data in the $user array that's passed into the function. You should be able to use this information to create a bridge into your external PHP application.
I've read a bunch of different things, none of which seem to be my situation. I have a site which uses a phpbb forum, and we also have multiple wordpress blogs which can use the database of phpbb via a plugin named wp-phpbb (can't post another hyperlink, but its at simplicitypoint dot com) . It works great for something that is on the same domain, like http://www.domaina.com/blog can access a blog at /forum on the same domain . Recently ( we are building a blog community) a new blog joined us that had his own domain name. I can get the plugin to install, and see the forum ucp.php and config.php as they are in teh same virtual directory, but phpbb will not redirect the login back to the server. If anyone can help me I would be SO grateful.
I have a basic understanding of programming and am very good with computers (I Work in IT) so hopefully I can help any follow up questions you may have. I also have a completely seperate testing area to try things out in first.
Thanks in advance!
Usually you can only do those things across one domain. The problem is probably the cookie for remembering the login is trying to be send across two domains, which the browser won't allow (following the cookie RFC). If that's not the problem, I would try a different wordpress plugin like http://wordpress.org/extend/plugins/phpbbauth/