Search Results for '\"wordpress\'
-
Search Results
-
I’ve started a project to allow people to integrate apps like bbPress into existing Rails applications. From the README:
The Integration API is an Open Source project with the goal of making
it easy to integrate an existing Rails application with any number of
off-the-shelf apps, such as WordPress, Beast, PunBB, or Vanilla. The
focus is on enabling transparent single sign-on between the
applications.
The basic idea
The key idea is to add a web services API into the existing Rails
application, which allows one or more 3rd party apps to get the
information they need, when they need it. The API should be
configurable enough and general enough so that it can be added to any Rails app without modification. The Rails app stays in control of all sign-in and sign-out functions.
…so, the idea is to write a plugin for bbPress that works something like WordPress’s LDAP plugin. But I’m not a big bbPress coder … anybody interested in helping with this?
Project page: http://greenfabric.com/page/integration_api_home_page
It’s like trying to open the wrapper on a new CD you’re dying to listen to…if I can just get it open without using a hammer…
This is a thread. There are many threads like this thread. This thread is my thread.
Follow the cookie path please. Visit with the config file settings. See the pattern and you will bend the spoon. Then let me eat ice-cream with that spoon, please.
Paths:
WP: http://mydomain.org/
bbPress: http://mydomain.org/forum/
Apache version 1.3.41 (Unix)
PHP version 5.2.5
MySQL version 5.0.51a-community
Architecture i686
Operating system Linux
#########################################
bb-config.php:// URI’s
$bb->wp_siteurl = ‘http://mydomain.org’; // No trailing slash
$bb->wp_home = ‘http://mydomain.org’;
// Cookie Scope
$bb->cookiedomain = ”;
$bb->cookiepath = ”;
$bb->sitecookiepath = ”;
$bb->admin_cookie_path = ‘/forum/bb-admin’;
$bb->core_plugins_cookie_path = ‘/forum/bb-plugins’;
$bb->user_plugins_cookie_path = ‘/forum/my-plugins’;
$bb->wp_admin_cookie_path = ‘/wp-admin’;
$bb->wp_plugins_cookie_path = ‘/wp-content/plugins’;
// The name of the cookies
$bb->authcookie = ‘wordpress_blah3_blah5_blah8’;
$bb->secure_auth_cookie = ‘wordpress_sec_blah3_blah5_blah8’;
$bb->logged_in_cookie = ‘wordpress_logged_in_blah3_blah5_blah8’;
define(‘BB_AUTH_KEY’, ‘ahhpushit’);
define(‘BB_SECURE_AUTH_KEY’, ‘pushpushit’);
define(‘BB_LOGGED_IN_KEY’, ‘realgood’);
define(‘BB_AUTH_SALT’, ‘andpepper’);
define(‘BB_LOGGED_IN_SALT’, ‘arehere’);
#########################################
wp-config.php:define(‘AUTH_KEY’, ‘ahhpushit’);
define(‘SECURE_AUTH_KEY’, ‘pushpushit’);
define(‘LOGGED_IN_KEY’, ‘realgood’);
define(‘AUTH_SALT’, ‘andpepper’);
define(‘LOGGED_IN_SALT’, ‘arehere’);
$wp->authcookie = ‘wordpress_blah3_blah5_blah8’;
$wp->secure_auth_cookie = ‘wordpress_sec_blah3_blah5_blah8’;
$wp->logged_in_cookie = ‘wordpress_logged_in_blah3_blah5_blah8’;
// bbPress WP integration
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ”);
#########################################
1)Clear all cookies
#########################################
2) Log into bbPress: (mydomain.org/forum/): role 'member':wordpress_logged_in_URIHASH => /forum/
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_URIHASH => /forum/my-plugins
wordpress_URIHASH => /forum/bb-plugins
wordpress_URIHASH => /forum/bb-admin
#########################################
3) Visit WP site: (not logged in)wordpress_logged_in_URIHASH => /forum/
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_URIHASH => /forum/my-plugins
wordpress_URIHASH => /forum/bb-plugins
wordpress_URIHASH => /forum/bb-admin
PHPSESSID => /
various 3rd party cookies from picasa etc
#########################################
4) Visit wp-login.php: (not logged in)wordpress_logged_in_URIHASH => /forum/
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_URIHASH => /forum/my-plugins
wordpress_URIHASH => /forum/bb-plugins
wordpress_URIHASH => /forum/bb-admin
PHPSESSID => /
wordpress_test_cookie => /
#########################################
5) Log into wp-login.php as 'subscriber' user (same user as bbPress) which puts me /wp-admin/wordpress_logged_in_URIHASH => /
wordpress_logged_in_URIHASH => /forum/
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_URIHASH => /forum/my-plugins
wordpress_URIHASH => /forum/bb-plugins
wordpress_URIHASH => /forum/bb-admin
PHPSESSID => /
wordpress_test_cookie => /
#########################################
6) 'Visit site' from wp-adminwordpress_logged_in_URIHASH => /
wordpress_logged_in_URIHASH => /forum/
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_URIHASH => /forum/my-plugins
wordpress_URIHASH => /forum/bb-plugins
wordpress_URIHASH => /forum/bb-admin
PHPSESSID => /
wordpress_test_cookie => /
#########################################
7) Click on '//mySite.org/forum' link on main site (bbPress install dir)
Forum's first page displays: No extra cookies made. These cookies are from WP in the previous step:wordpress_logged_in_URIHASH => /
wordpress_logged_in_URIHASH => /forum/
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_URIHASH => /forum/my-plugins
wordpress_URIHASH => /forum/bb-plugins
wordpress_URIHASH => /forum/bb-admin
PHPSESSID => /
wordpress_test_cookie => /
#########################################
Log out from bbPress:wordpress_logged_in_URIHASH => /
wordpress_test_cookie => /
PHPSESSID => /
STILL LOGGED INTO bbPress!
#########################################
9) Visit wp sitewordpress_logged_in_URIHASH => /
wordpress_test_cookie => /
PHPSESSID => /
#########################################
10) Logout from WP site: (wp-login.php?loggedout=true)wordpress_test_cookie => /
PHPSESSID => /
#########################################
11) Visit forum site.
logged out.
#########################################
12) Clear all cookies
#########################################
13) Log into bbPress:wordpress_logged_in_URIHASH => /forum/
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_URIHASH => /forum/my-plugins
wordpress_URIHASH => /forum/bb-plugins
wordpress_URIHASH => /forum/bb-admin
#########################################
14)Log out of bbPress:
All cookies cleared.
#########################################
15) Visit WP site + clear cookies.
#########################################
16) Log into WPwordpress_logged_in_URIHASH => /
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_test_cookie => /
PHPSESSID => /
#########################################
17) Visit bbPress site.
Already Logged in as wp user.wordpress_logged_in_URIHASH => /
wordpress_URIHASH => /wp-content/plugins
wordpress_URIHASH => /wp-admin
wordpress_test_cookie => /
PHPSESSID => /
#########################################
18) Logout from bbPress:wordpress_logged_in_URIHASH => /
wordpress_test_cookie => /
PHPSESSID => /
Still logged in to bbPress!
#########################################
19) Logout from main site:wordpress_test_cookie => /
PHPSESSID => /
#########################################
20) Eat stapler.The test profile that I created cannot Reply to a comment or post a new topic. However they can post a comment in WordPress. Under the User tab in the Admin panel the profile is listed as having no role. When I update the users role, click save and return to Admin user tab they still have no role. In the bbpress/wordpress intergration tab All wordpress roles are marked as member (aside from admin). What is going on?
Also while user info is shared between the two you have to log onto wordpress and bbpress seperately. Also if you are logged on to bbpress it won’t let you log on to wordpress. You have to log ouut of bbpress first then you can log in to wordpress. How do I fix this?
Topic: FCK won’t show up
I uplaoded FCK editor and activated it, but nothing’s showing. I did make a mistake in uploading. I had it uploaded and installed when it notified me that there was an upgrade. I deleted the first version without deactivating it and uploaded the new version. Maybe that’s thrown it off?
I’m on 2.6.2 wordpress
Just wonder if it is okay to recreate and share with everyone. It is not exactly alike but it is very close to it.