Where did Matt say he fixed the code/encoding issue?
We are still running r2453 here, not the latest version r2458. The BackPress fix didn’t happen until BackPress r312 on Jul 1 2010 by Westi. When the code is updated here the problem will be fixed. If you check out a new revision, the problem will be fixed in your installation.
Here is an example forum using r2458 with the BackPress fix and you can see that the code is formatted properly.
http://bbpress.chrishajer.com/trunk/topic.php?id=3#post-7
To check out via subversion:
svn co http://svn.automattic.com/bbpress/trunk/ ./testdirectory
I think the best thing to do in your case would be a test installation of the latest trunk release of bbPress (not the packaged 1.0.2 release.) There’s no way to know if all that is going to work on the latest version of bbPress, but I suspect most of it will.
I would copy over your database, then install bbPress with subversion. Then copy over your template and plugins. Then test. If it all works, then go ahead and upgrade your 1.0.1 installation.
Regarding when bbPress becomes a WordPress plugin, it doesn’t really matter. Use what works for you (right now, that’s a standalone installation, as you have here.) That code you have installed is never going away. If a time comes in the future where you can move to bbPress as a WordPress plugin, then go ahead and do it. But use what works for now and don’t wait for any version coming in the future.
I had no answer from mdawaffe, so I began working on the plugin: are there any features you’d like to be included, besides the ones from the original plugin?
Must be an old version I have on the SVN
Edit the view.php template for the plugin and add this before the
</form>
<input type="hidden" name="view" value="leaderboard">
ugh, bbpress.org is messing up the code, make the view template look like this, the one added line in the middle:
http://pastebin.com/raw.php?i=XbSxR6VQ
The Leaderboard plugin is fantastic, but it is broken. I can get it to show a Leaderboard, but whenever a user clicks on any of the other display options aside from “of all time” they get redirected to the forum homepage, as you can see here:
http://oxhorn.com/forum/view.php?view=leaderboard
I’m not the only one with this problem, others on the plugin’s discussion have had it too. how can this be fixed?
Thanks
I’m running bbpress 1.0.1 and I am hesitant to upgrade because I don’t know what it will do to my plugins (most of which have been abandoned by their authors) and I’m not sure why I should upgrade. Plus, with the rumor of a bbpress plugin for wordpress coming out, I’m concerned about the future of this version of bbpress. Maybe you guys can answer some questions for me.
Here is my bbpress so you can see where I’m at:
1) Will my users, plugins, databases and themes all still work find and dandy if I upgrade? Is there an easier way to upgrade aside, like there is with wordpress?
2) These are my current plugins. Does anyone know any incompatability with them and the current version of bbpress?:
adsense for bbpress
after the deadline
ajaxed quote
akimset
allow images
bb-lightbox2
bb-no spam user
bb-scripture links
bbcode buttons toolbar
bbcode light
bb cumulus
bb pm
bbpress signatures
bb topic views
bb video
bozo users
facebook like
leaderboard
members online
mini stats
post count plus
post count pluss for wordpress
project honey pot for bbpress
reputation (karma) for bbpress
social it
subscribe to topic
unread posts
3) When/if this new bbpress plugin comes out, will there be a way to convert my bbpress installation into teh plugin or otherwise make it compatable?
Thanks bunches all!
May I suggest another solution? bb_enqueue_script() is deprecated, you should first check if script is already included using wp_script_is() and then call wp_enqueue_script().
add_action( 'bb_init', 'enqueueJQuery' );
function enqueueJQuery() {
if ( !wp_script_is( 'jquery' ) )
wp_enqueue_script( 'jquery' );
}
I was not checking into the forums for few months and I am SO glad to see you back, _ck_.
1. Is it possible to send an administrative PM to all members? ( Admin’s One PM to all registered members at once)
2. How can restrict the participation more then two members?
I mean I don’t want to provide users to add others users to participate in their private discussion.
I just need two members participation in one private discussion..
3.When a PM is sent by a User it generates an email to the User’s email address notifying them that they have sent an email. The User knows they sent a PM because they just sent it
Can this be turned off? Of course, need to keep having an email sent to the recipient of the PM telling them that they have a PM to go and look at.
4. is it possible to add captcha in bbpm?
any help appreciated
cheers
Hi folks!
I’v just installed bbpress for the first time. No problem with installation or tweaks, but i can’t figure out how to correct the time when posts where written.
I have translated the .po file to Norwegian, and it looks like everything is OK in there when generating the .mo file and upload it to my server..
Take a look at this picture where i show you my “problem”: http://country4you.com/temp/Forum.gif
You see the arrows
How do i change “Hours” to Norwegian?
This is what “Started: %s ago” is translated to in the .po file: “Skrevet: for %s siden”
Thanks for a great forum!
//Roy
Anyone downloaded bbPress 1.0.2 from http://bbpress.org/download/ lately? I just did and when I started installation I got warnings but succeed in installing. But when I installed I couldn’t login.
I belive this problems are related to update to BackPress/pomo library and that new versions of it are not compatible with bbPress 1.0.2 code. Anyone can reproduce this?
Hey
When I was writing plugin last time they dont want run install function after activation. Trouble was in position of plugin file in subfolder in ‘my-plugins’.
When I looked in plugins.php I saw the problem. Script make ‘do_action()’ on overall path to plugin from my-plugins. For example: ‘plugin/plugin.php’. So orginal function have to be ‘bb_activate_plugin_plugin/plugin’ what in incorrect. I wrote few lines and all works fine.
After line 66 in bbpress/bb-admin/plugins.php:
$posSlash = strpos($plugin,'/');
if(intval($posSlash) != 0){
$plugin = substr($plugin,$posSlash+1);
}
After that all works fine
May be included in next bbPress version.
Regards
D.
Now i can upload and display images by “bbPress Attachments (0.2.7)”,Thanks chrishajer
!
Why use “Insert image” can’t upload local images by “BB Wysiwyg Editor” ?
1、http://i3.6.cn/cvbnm/34/d0/78/c48e66ff8327690fec7bf4f656252383.jpg
2、http://i3.6.cn/cvbnm/99/3b/a7/2930018fd485a6aec8e04d39e94f48f3.jpg
Hello Zaerl..
I think there’s still something missing in ur code.I came out with more simple code which is tested and working good. (not sure if its 100 % reliable)
function reply_link() {
global $topic;
$add = topic_pages_add();
$last_page = bb_get_page_number( ( isset( $topic->topic_posts ) ? $topic->topic_posts : 0 ) + $add );
$h2 = esc_attr( get_topic_link( 0, $last_page ) . ‘#postform’ );
echo $h2;
}
Hello kevinjohngallagher..
Actually I was looking for href value of an anchor tag which I want to add below each post.
I tried this code but not working as expected.
Could you tell us what it is and is not doing?
We can not help you if you don’t tell us whats wrong
Hello zaerl..
There’s something wrong.I tried this code but not working as expected.
Here’s a more complete non-core-hacking solution:
<?php
/*
Plugin Name: Customize User Profile
*/
add_filter( 'get_profile_info_keys', 'customize_user_profile', 10, 2 );
function customize_user_profile( $fields, $context ) {
/**
* Remove undesired fields
*
* Commented = left
* Uncommented = removed
*/
// unset( $fields['first_name'] );
// unset( $fields['last_name'] );
unset( $fields['user_url'] );
// unset( $fields['from'] );
unset( $fields['occ'] );
unset( $fields['interest'] );
/**
* Add new fields
*
* Quoting functions.bb-core.php, line 906:
* meta_key => (required?, Label, hCard property). Don't use user_{anything} as the name of your meta_key.
*/
$fields['my_meta_key'] = array(
false,
__( 'My meta key' ),
'text'
);
return $fields;
}
?>
Of course, as usual, replace < and > with angular parentheses.
Curtesy of the ajaxed-quote plugin:
function replay_link() {
if ( !bb_is_topic() ) return false;
global $page, $topic, $bb_post;
if ( !$topic || !topic_is_open( $bb_post->topic_id ) || !bb_is_user_logged_in() || !bb_current_user_can('write_posts') )
return false;
$post_id = get_post_id();
$add = topic_pages_add();
$last_page = get_page_number( $topic->topic_posts + $add );
if ( $page == $last_page ) return '#post_content';
} else return get_topic_link( 0, $last_page ) ) . '#postform";
}
Not tested.
You can use only a-z, A-Z, 0-9 and the - in login names. After registration you can set up the so-called “display name” (name, surname) where you can insert all the fancy unicode characters you want.
I am also trying to change the order of the topics on the front page
I don’t see subscribe to topic here either. It’s supposed to be near the tags according to kevinjohngallagher, but I don’t see it when I am logged in.
What is your question about themes? You upload with FTP or SCP to your bbPress installation, into a folder called my-templates. Be sure the my-templates folder has 755 permissions, then your new theme folder has 755 permissions. And be sure it’s not inside ANOTHER folder. So, it should be like this:
bb-config.php
my-templates/
----bbpressblack/
style.css (with your header)
Should not be like this:
bb-config.php
my-templates/
----bbpressblack/
bbpressblack/
style.css (with your header)
I don’t think that would work