Search Results for 'code'
-
Search Results
-
Hello, i try this in front-page.php:
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?>"><?php forum_name(); ?><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
<td class="num"><?php topic_last_poster(); ?>, il y a "><?php topic_time(); ?></td>
</tr>
but the “><?php topic_time(); ?> show me all time the date of the first post, in all the forum themes … Why?
bye
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_id
int(10) NOT NULL auto_increment,forum_name
varchar(150) NOT NULL default ”,forum_slug
varchar(255) NOT NULL default ”,forum_desc
text NOT NULL,forum_parent
int(10) NOT NULL default 0,forum_order
int(10) NOT NULL default 0,topics
bigint(20) NOT NULL default 0,posts
bigint(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_id
bigint(20) NOT NULL auto_increment,object_type
varchar(16) NOT NULL default ‘bb_option’,object_id
bigint(20) NOT NULL default 0,meta_key
varchar(255) default NULL,meta_value
longtext 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.