Search Results for 'code'
-
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
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.When I input the code to include the image in a post, my image is surrounded by the post-form colour. In other words, I have an image with a white background which is surrounded by the post-form colour. The image is the only content in the post.
Posts without images are surrounded by the post content colour. In other words, the text has a white background throughout. No post-form colour as in the outer edge of the image.
How can I change so that the image is surrounded by the post content colour, in this case white, instead of the post-form colour?
Using bbpress .9.0.2, with allow images .7.1
Plugin: _ck_’s Hidden Forum v.0.0.4*
I did this:
//$hidden_forums['label']="[H] ";
$hidden_forums['label']="<span id='shield'> </span>";so that I could use a background image. The ugly thing with this is that you see span blah blah as the browser title…
Is there a better way to do this?
.
.