Search Results for 'code'
-
Search Results
-
Topic: Integrate PM by default
What do you think about integrate the private message by default?

Hello,
i want to add at bbPress the 100% width in admin, like this plugin for wordpress:
So, the code is:
add_filter('tiny_mce_before_init', 'rmw_tinymce');
function rmw_tinymce($init){
$init = true;
return $init;
}
add_action(‘admin_head’,’rmw_head’,99); //Hook late after all css has been done
function rmw_head(){
global $is_IE; ?>
<style type=”text/css” media=”all”>
.wrap,
.updated,
.error,
.widefat,
#the-comment-list td.comment {
max-width: none !important;
}
<?php if( $is_IE ){ ?>
* html #wpbody {
_width: 99.9% !important;
}
<?php } ?>
</style>
<?php } ?>
but not works for bbPress… what can i do for the plugin works?
bye
Hello,
with the last installation of bbpress revision 1595, i have sql errors:
SQL ERROR!
>>> Database: forum_bbpress (localhost)
>>>>>> CREATE TABLE IF NOT EXISTS
bb_forums(forum_idint(10) NOT NULL auto_increment,forum_namevarchar(150) NOT NULL default ”,forum_slugvarchar(255) NOT NULL default ”,forum_desctext NOT NULL,forum_parentint(10) NOT NULL default 0,forum_orderint(10) NOT NULL default 0,topicsbigint(20) NOT NULL default 0,postsbigint(20) NOT NULL default 0,PRIMARY KEY (
forum_id),KEY
forum_slug(forum_slug)) DEFAULT CHARACTER SET ‘utf8’ COLLATE ”;
>>>>>> Unknown collation: ”
SQL ERROR!
>>> Database: forum_bbpress (localhost)
>>>>>> CREATE TABLE IF NOT EXISTS
bb_meta(meta_idbigint(20) NOT NULL auto_increment,object_typevarchar(16) NOT NULL default ‘bb_option’,object_idbigint(20) NOT NULL default 0,meta_keyvarchar(255) default NULL,meta_valuelongtext default NULL,PRIMARY KEY (
meta_id),KEY
object_type__meta_key(object_type,meta_key),KEY
object_type__object_id__meta_key(object_type,object_id,meta_key)) DEFAULT CHARACTER SET ‘utf8’ COLLATE ”;
>>>>>> Unknown collation: ”
SQL ERROR!
etc, etc…
why?
bye
Topic: blocking a user does nothing
Right under the place roles are changed is the text:
Inactive users can login and look around but not do anything. Blocked users just see a simple error message when they visit the site.However, when I made a test account and marked it as blocked, I could still log in with the account and there was no error message.
Why is this a problem and how can I fix this?
P.S. I tried this on a test install of trunk and a test install of 0.9.0.2, both gave the same result.
Edit: I just found out that blocking breaks passwords reversably, and only gives an error message if the user is already logged in.
Hello,
I have a problem with links like this:
http://www.forestry.gov.uk/PDF/fcpn9.pdf/$FILE/fcpn9.pdf
In case it’s been stripped out here as well, there ought to be a dollar sign before FILE. It’s in the db, so it’s being taken out on output.
I’m probably being a bit simple, but I couldn’t find the code that was doing this – I’d guess it’s something on the post_text filter.
I’m using WordPress 0.8.3.1 with the bbPress integration and WordPress Integration plugins. I would upgrade, but I don’t want to use WordPress 2.5 yet.
Thanks, Mike.

