Search Results for 'code'
-
Search Results
-
Topic: OpenID support coming soon…
I just wanted to announce I have a primitive prototype of OpenID working with bbPress and should have a more stable version for experimental testing within a few days (likely by the end of the weekend). The only requirement is your PHP needs CURL with https (ssl) support, which many servers have or can easily add ie. via cpanel’s rebuild PHP (check your PHPINFO to be certain).
I finally got an old openid 1.1 framework working with openid 2.0 so this makes it possible to use it with all the newest providers: aol, yahoo, microsoft and now even Google (as a “consumer”, not as a server).
The biggest problem was making it work without extra libraries like the complex math support and even DOMXML which is not available on many shared hosting PHP4 servers. But found a way around that too
I’ll eventually add fsockopen support with ssl so even CURL is not a requirement.ps. OpenID on WordPress.com needs to be fixed to offer a secure login when a cookie is not present like every other provider. This is annoying
I have been getting reports that registrants on my bbpress forum aren’t receiving their auto-generated password emails from my server.
I’ve read a few threads on this forum that suggest workarounds. But I’m more interested in allowing my users to set their own passwords.
There’s a neat WordPress plugin that does exactly what I want:
http://wordpress.org/extend/plugins/wordpress-password-register/
I don’t even need the email confirmation/validation code part. I just want users to be able to specify their own passwords. If bot registrations become a problem, I’d just install a captcha plugin.
Can someone adapt that code into a bbpress plugin that allows for user-defined passwords? I’d be glad to pay $100 to anyone who can deliver a working plugin! Plus I’d be eternally grateful and would have no objections to open sourcing any code that came out of this.
Please let me know!
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
I’ve been wondering how to remove the borders or padding in the stylesheet for Kakumei. I can’t find *anything* that would lead me to changing this. I’ve tried this:
table, th, td, tr { border: 0; padding: 0; }But it doesn’t work unless you’re “adding on” to it.
Here is an example of what I’m trying to do: http://img79.imageshack.us/img79/2452/paddingtp9.png
I’m running BBPress 1 Alpha 2 if that’s of any help.
Can someone please help find out how to remove the border/padding? It would be greatly appreciated.
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.
.