Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to add a button with js_quicktags.js?

Published on October 3rd, 2007 by intellivision
edButtons.push(
new edButton(
'ed_strike'
,'STRIKE'
,'<strike>'
,'</strike>'
,'s'
)
);

I added that (and allowed strikethru functionality via another plugin) but the strike button does not show. Any ideas?

Theme problem – Integration with WP

Published on October 3rd, 2007 by

Hi everyone,

I’m running wp 2.1.3 and I’ve just installed bbpress. The installation goes fine, and it seems that bbpress is using my admin account for wp so that is ok.

However, I dont’t want to use the “Kakumei” theme. Can I just use the same theme that I have activated for my wp site? That would mean I have to upload the theme files again, to the bbpress theme directory?

My bbpress installation is in a subdirectory to my wp site. According to the installation docs, that should be fine.

Hot Tags Font size

Published on October 2nd, 2007 by

Looking at previous posts, I see a similar question pertaining to changing the font size of the hot tags. The answer however means nothing to me, i.e.

<?php bb_tag_heat_map(); ?>

The default as it looks to me is:

<?php bb_tag_heat_map(9 38 ‘pt’ 80); ?> What do these numbers mean and by changing them I still see no change on the forum.

This looks like:

<div id=”hottags”>

<?php bb_tag_heat_map(9 38 ‘pt’ 80); ?>

</div>

I have made changes to these numbers, but since I do not know what they affect, I can not get the font-size to change.

I have also made changes to the stylesheet with no luck.

.frontpageheatmap {

font-size: 1em;

font-family: “Eras Medium ITC”, sans-serif;

font-weight: 600;

font-style: italic;

line-height: 1.4em;

padding: 10px 0;

}

Can the tags be changed and if so is there a simple approach that is easy to follow and not too difficult to explain?

blueplato.com.

Thanks for any help!

404 Not Found

Published on October 2nd, 2007 by

hi, when clicking on a created forum or topic on my website www.electroindie.com, i get:

“Not Found

The requested URL /forum/do-it-yourself was not found on this server.”

etc for anything i make

help please? yes i’m sure it will be simple.

i’m new to this.

Error: Already installed

Published on October 2nd, 2007 by

Hi!

I am trying out BB for the first time, but upon running install.php I get this:

hide_errors(); $installed = $bbdb->get_results("SELECT * FROM $bbdb->forums LIMIT 1"); if ( $installed ) : if ( !$new_keymaster = bb_get_option( 'new_keymaster' ) ) die(sprintf(__('
Already Installed

You appear to have already installed bbPress. Perhaps you meant to upgrade instead?

To reinstall please clear your old database tables first.
') . '', bb_get_option( 'uri' ) . 'bb-admin/upgrade.php')); $meta_key = $bb_table_prefix . 'capabilities'; $keymaster = false; if ( $keymasters = $bbdb->get_results("SELECT * FROM $bbdb->usermeta WHERE meta_key = '$meta_key' AND meta_value LIKE '%keymaster%'") ) { foreach ( $keymasters as $potential ) { $pot_array = unserialize($potential->meta_value); if ( is_array($pot_array) && array_key_exists('keymaster', $pot_array) && true === $pot_array['keymaster'] ) die(__('
Already Installed

You appear to have already installed bbPress. Perhaps you meant to run the upgrade scripts instead? To reinstall please clear your old database tables first.
') . ''); } } $user = new BB_User( $new_keymaster ); if ( $user->data ) : $user->set_role( 'keymaster' ); ?>

data->user_login); ?>

show_errors(); switch ($step): case 0: ?>

hide_errors(); if ( $users = $bbdb->get_var("SELECT ID FROM $bbdb->users LIMIT 1") ) { $meta_key = $bb_table_prefix . 'capabilities'; if ( $keymasters = $bbdb->get_results("SELECT * FROM $bbdb->usermeta WHERE meta_key = '$meta_key' AND meta_value LIKE '%keymaster%'") ) { foreach ( $keymasters as $potential ) { $pot_array = unserialize($potential->meta_value); if ( array_key_exists('keymaster', $pot_array) && true === $pot_array['keymaster'] ) { $keymaster = (int) $potential->user_id; break; } } if ( $keymaster ) $keymaster = $bbdb->get_row("SELECT * FROM $bbdb->users WHERE ID = '$keymaster'"); } } $bbdb->show_errors(); } ?>

everything (database information, email address, etc.) entered correctly in config.php before running this script.'); ?>
add('domain', __('Your $bb->domain setting must not end in a backslash "/".') ); $domain = parse_url($bbd); if ( !$domain ) $errors->add('domain', __('Your $bb->domain setting cannot be parsed.') ); // Not very helpful, but should essentially never happen. if ( !$domain['scheme'] ) $errors->add('domain', __('Your $bb->domain setting must start with http://.') ); if ( $domain['path'] && '/' != $domain['path'] ) $errors->add('domain', __('Your $bb->domain setting must only include the http:// and the domain name; it may not include any directories or path information.') ); if ( '/' != $bbp{0} ) $errors->add('path', __('Your $bb->path setting must start with a backslash "/".') ); if ( '/' != substr($bbp, -1) ) $errors->add('path', __('Your $bb->path setting must end with a backslash "/".') ); // We don't really do anything with $bb->wp_site_url. if ( $wph = bb_get_option( 'wp_home' ) ) { if ( '/' == $wph{strlen($wph) - 1} ) $errors->add('wp_home', __('Your $bb->wp_home setting must not end in a backslash "/".') ); $home = parse_url($wph); if ( !$home ) $errors->add('wp_home', __('Your $bb->wp_home setting cannot be parsed.') ); if ( !$home['scheme'] ) $errors->add('wp_home', __('Your $bb->wp_home setting must start with http://.') ); if ( preg_match('|(.*.)?([^.]+.[^.]+)|', $domain['host'], $d2 ) && preg_match('|(.*.)?([^.]+.[^.]+)|', $home['host'], $h2 )) if ( $d2[2] != $h2[2] ) $errors->add('cookie', __('Your $bb->domain and $bb->wp_home settings do not have the same domain.
You cannot share login cookies between the two.
Remove the $bb->wp_home setting from your config.php file.') ); if ( !strstr($bbp, $home['path'] . '/') ) $notices->add('cookie', __("Your bbPress URL ({$bbd}$bbp) is not a subdirectory of your WordPress URL ($bb->wp_home).
Sharing login cookies is possible but is more complicated. See the documentation about integrating bbPress and WordPress.
In the meantime, remove the $bb->wp_home setting from your config.php file, or you may not be able to log in.") ); } if ( $cd = bb_get_option( 'cookiedomain' ) ) { if ( '.' == $cd{0} ) $cd = substr($cd, 1); if ( !strstr($bbd, $cd) ) $errors->add('cookie', __('Your $bb->cookiedomain is not in the same domain as your $bb->domain. You will not be able to log in.') ); } $cp = bb_get_option( 'cookiepath' ); if ( $cp != preg_replace('|https?://[^/]+|i', '', bb_get_option( 'wp_home' ) . '/') && !strstr($bbp, $cp) ) $notices->add('cookie', __('Your bbPress URL $bb->path is outside of your $bb->cookiepath. You may not be able to log in.') ); if ( $ecodes = $errors->get_error_codes() ) { echo "

* n"; if ( in_array('domain', $ecodes) ) foreach ( $errors->get_error_messages( 'domain' ) as $message ) echo "t$message
* n"; if ( in_array('path', $ecodes) ) foreach ( $errors->get_error_messages( 'path' ) as $message ) echo "t$message
* n"; if ( in_array('wp_home', $ecodes) ) foreach ( $errors->get_error_messages( 'wp_home' ) as $message ) echo "t$message
* n"; if ( array('cookie') == $ecodes ) { // Only show cookie errors if nothing else is wrong foreach ( $errors->get_error_messages( 'cookie' ) as $message ) echo "t$message
n"; echo "

n"; break; } echo "n"; echo "

It continues from there…

The problem is, I have never installed BBPress. I went to MySQL after I got the error the first time, made a database for BB called “bbpress” but still get the error (even though the database is new, fresh and entirely empty). What’s up?

bbPress error-page, if no content in “post”

Published on October 2nd, 2007 by Daniel Juhl

Why does bbPress go to a standard bbPress error-page, if the users doesn’t write anything in his post?

Wouldn’t it be smarter to show a page from the template, so that you can modify it as you want to?

phpBB3.0-style theme

Published on October 2nd, 2007 by andersson

when re-arranging one of my sites a bit the other day I took the opportunity to change my bbpress-theme to mimic the new phpBB3.0-style.

any feedback is welcome. you find my bbpress installation here:

http://www.purposegames.com/forums

Cannot select DB

Published on October 1st, 2007 by

I have a WP 2.3 blog and a bbpress 0.83 install 0n a LAMP server and everything seems fine.

I’m now creating a staging server on a Vista PC. I have WP 2.3 installed fine. When I install bbpress (i.e. browse to bb-admin/install.php) I get the dreaded “Cannot select DB” message.

I have tried both…

1. creating a new db for bbpress

2. using the existing WP db and username

I’m using mySQL 5.0.37 and PHP 4.

There are other topics that talk about this error, but they don’t seem to be relevant to my case. Please point me in the right direction if I have missed something in the forums.

Can’t add additional tags to post

Published on September 30th, 2007 by tbronson

When I try adding tags to a post, I get a “You don’t have permission to do that” message and the tags don’t appear.

I’m using 8.3 with just the integration plugins to WP 2.3 (no includes). I tried adding tags to a post I’d already saved without tags. The first one worked fine, but I couldn’t add additional tags, I’d get a “You don’t have permission to do that” message. I was logged in as a Key Master and had posted the original item as the same user.

Forums not displaying after an upgrade to WP 2.3 and BBPress 8.3?

Published on September 30th, 2007 by jolaedana

Hello all,

Very odd issue!

I seem to be missing some forums:

http://forums.audreysargent.com/

There should be three additional forums, “The Cafe”, “The Design Divan” and “Written Role Play”.

They’re still there, is the odd thing. You just can’t see them in the forum listing on the index page, and they’re not showing up in my admin control panel either.

To prove it, here are links to each of the forums:

http://forums.audreysargent.com/forum/written-role-play

http://forums.audreysargent.com/forum/the-cafe

http://forums.audreysargent.com/forum/the-design-divan

In addition, this problem seems to happen with or without plugins- so it doesn’t seem to be a plugin issue. Though I could be wrong.

I’m not seeing any PHP errors, so I’m not sure how to diagnose the issue. It’s obvious all the content is still there, and even still accessible.

I upgraded the forum BEFORE I upgraded WordPress. Also, it is a fully integrated installation, they share the same database.

Any thoughts? Big thanks in advance to anyone willing to help me troubleshoot.

Skip to toolbar