Search Results for 'bbpress'
-
AuthorSearch Results
-
October 18, 2006 at 5:12 pm #49847
In reply to: loading wordpress with bbpress
mozeyMemberi’m using
require_once(‘/absalout/path/’)
October 18, 2006 at 4:49 pm #49846In reply to: loading wordpress with bbpress
cmcraftMemberI tried that and it threw back a serious error. I might be a noob, but is there more defining that needs to be done? Inserting the code towards the bottom didn’t work. My installation works ok, but it doesn’t load wordpress at all, and if I uncomment the wp_bb line, it errors up as well.
Help!
October 18, 2006 at 4:47 pm #49923In reply to: Plugins Loaded When?
Michael Adams (mdawaffe)MemberThe plugins are loaded everytime bbPress is loaded.
If you’re don’t want any code from your plugin to execute unless you’re in the admin, you could put something like this hack at the top of your “admin-only” plugins:
if ( false === strpos($_SERVER['REQUEST_URI'], '/bb-admin/') )
return;
But just loading the plugin file shouldn’t add too much overhead. You could do something a little nicer, if you weren’t worried about loading your plugin file:
function my_admin_only() {
if ( false === strpos($_SERVER['REQUEST_URI'], '/bb-admin/') )
return;
else load_my_plugin_stuff();
}
add_action( 'init', 'my_admin_only' );
October 18, 2006 at 4:37 pm #49920In reply to: Setting privs for writing
Michael Adams (mdawaffe)MemberCreate a directory called
my-plugins/
in bbPress’ root directory.Into that add a new file called
mod-write-topics.php
with the following code.<?php
function mod_write_topics() {
global $bb_roles;
$bb_roles->role_objects['member']->remove_cap( 'write_topics' );
}
add_action( 'bb_got_roles', 'mod_write_topics' );
?>
I think that will work, but I haven’t tested it.
October 18, 2006 at 4:31 pm #49904In reply to: err ERRR install probs
Michael Adams (mdawaffe)MemberIf you switched user tables after bbPress was already installed, the accounts in the old user tables won’t work.
You can log in with the accounts in the new user table, but none of those accounts will have administrator rights in bbPress.
You’ll have to manually add something to your database.
In WordPress’ usermeta table, add an entry that looks like:
user_id: #your user id on your blog#
meta_key: bb_capabilities (replace ‘bb_’ with bbPress’ table prefix)
meta_value: a:1:{s:9:”keymaster”;b:1;}
October 18, 2006 at 2:06 pm #49592In reply to: Emoticons For bbPress?
AaronParticipantthanks.
this worked right out of the box.
FYI, when installing this you should, if you havnt already, copy the edit-form.php and post-form.php to “my-templates” before you edit them.
Hopefully we can find someone to help with a bbPress version of “comment quicktags”.
October 18, 2006 at 1:11 pm #49903In reply to: err ERRR install probs
silent1643Membererr now i can’t login with the admin u/p bbpress gave me
October 18, 2006 at 12:53 pm #49830In reply to: Comments in WordPress
lstelieMemberHello,
Great idea !!
It would be great to have a system that allow WP comments to be handled by bbpress in way that would be transparent (for example the number of comment been displayed under the WP post) and even (let’s dream) the x first comments available under the WP post (like it’s the case currently), with a link “read more.. ” directing to the whole number of comments in bbpress.
I don’t know if this is realistic but such a system associating a blog script and a forum script would be really fantastic (currently blog handling of comment is really poor from a user point of view).
Luc
Luc
October 18, 2006 at 12:21 pm #49591In reply to: Emoticons For bbPress?
plasticdreamsMemberbb-emotions plugin
A friend of mine, Japanese bbPress user enjoy hacking plugin WP Grins port to bbPress.
So, he wants to add this bb-emotion here, but he’s not good at english, then I translate he says.
= = = =
ziped code:
http://prdownloads.sourceforge.jp/wppluginsj/22267/bbEmoticons-0.72.zip
- put
bb-emotions.php
to/my-plugins/
; - put
smilies folder
into/bb-images/
; - add
<?php bb_do_action('bb_grins'); ?>
to above the textarea in the each theme (edit-form.php, post-form.php);
That’s all, and does work!
I’m so happy if this will be your help
= = = = =
Thank you.
October 18, 2006 at 11:20 am #49761In reply to: Plugin Requests
ear1greyMemberFor me, the most useful thing would be a little WP plugin that shows the same information that’s in the Latest Discussions section of the bbpress front page.
Nothing too fancy, just ordered by freshness, so I could pop something in my sidebar similar to the “recent comments” section I have on boakes.org.
October 18, 2006 at 9:06 am #49914In reply to: Anybody on PHP5?
Michael Adams (mdawaffe)MemberIf you’re getting that error when WP_BB is set, you’re probably not including wp-config.php correctly.
You do not need to load wp-config.php in order to integrate cookies or most anything else.
See https://bbpress.org/documentation/integration-with-wordpress/
and https://bbpress.org/documentation/faq/#integration-plugins
October 18, 2006 at 5:22 am #49710In reply to: Can’t Login!
championeerMemberThank mdawaffe! I have solved this problem. It looks working fine when I moved BBPress into a sub-directory of my WordPress.
October 17, 2006 at 9:16 pm #49709In reply to: Can’t Login!
Michael Adams (mdawaffe)Membergarymill,
Login problem:
wp_home
andwp_siturl
will only work if the url for your forums is a “subdirectory” of the url for your WordPress blog. If that is not the case, you’ll need the more fine-grained control mentioned in the Cookie integration with WordPress DocumentationInstallation problem:
on Installation, bbPress looks to see if there are any keymasters in the User Tables already. You’ll need to go to your usermeta table and delete the entry:
meta_key = $bb_table_prefix . ‘capabilities’ (example: ‘bb_capablities’)
meta_value = a:1:{s:9:”keymaster”;b:1;}
This part of the installation will have to change in the next version for several reasons. The difficulties you’re seeing is one of them.
October 17, 2006 at 9:05 pm #49845In reply to: loading wordpress with bbpress
Michael Adams (mdawaffe)MemberNo –
WP_BB
only tells bbPress that you will be loading WordPress so that it knows not to try to load thingsn which will conflict with WordPress.If bbPress is installed in a subdirectory of WordPress, put this in bbPress’
config,php
require_once(dirname(dirname(__FILE__)) . '/wp-config.php');
October 17, 2006 at 5:11 pm #692Topic: Comments in WordPress
in forum PluginsOctober 17, 2006 at 4:43 pm #695Topic: loading wordpress with bbpress
in forum ThemesmozeyMemberwhat does that mean?
setting BB_WP equal to true that is. is’nt it suppose to load the header/footer of my wp installationg? if that is the case, it it’nt working.
October 17, 2006 at 4:41 pm #694Topic: main theme is not loading
in forum ThemesmozeyMemberi am under the impression that there is a default theme with bbpress, mine is not loading, everything else is working. (Well, its installed and ic an add forums etc), but it looks like its not finding a .css file of anysort. any ideas?
October 17, 2006 at 4:18 pm #49828In reply to: install sql script
Michael Adams (mdawaffe)Memberevelardiez,
bbPress comes with such a script. Download the software, fill in the details of you database connection in
config.php
, and when you first browse to your forum’s URL, you’ll be taken through the installation procedure.October 17, 2006 at 4:16 pm #49727In reply to: Email subscription
Michael Adams (mdawaffe)MemberbbPress does not have email notification. It sends email for a couple administrative things, but not when new content in posted. It does, however, produce RSS feeds all over the place.
That said, an email notification plugin would be a welcome.
October 17, 2006 at 1:11 pm #49463In reply to: Are there any localization files?
plasticdreamsMemberYea, I agree with lstelie.
WP use subversion to manage each localized file:
https://codex.wordpress.org/WordPress_in_Your_Language
http://svn.automattic.com/wordpress-i18n/
How do bbPress’ developers think about managing localized file?
October 17, 2006 at 4:31 am #49676In reply to: Ultimate BBpress Guide
ngetchellMembergreat job man, just what I was looking for.
October 17, 2006 at 3:17 am #49405In reply to: Importing from phpBB
markyMemberI second this request; bbPress is absolutely perfect, and I’d love to switch, but I have a six-year-old phpBB support forum filled with support topics for users to search through. What a shame it would be to lose all that info!
October 16, 2006 at 11:37 pm #49590In reply to: Emoticons For bbPress?
gnawphMemberWhat exactly did not work?
October 16, 2006 at 11:16 pm #49589In reply to: Emoticons For bbPress?
ttechMemberI tried the same code as above but it did not work for me. I’m not sure if htere is a get_settings in BBpress but, you can use $_SERVER;
October 16, 2006 at 11:13 pm #49726In reply to: Email subscription
ttechMemberIf I remember correctly BBpress has an email notification system built in.
- put
-
AuthorSearch Results
I was wondering if this forum would be capable of housing the comments of my wordpress blog inside the forums. Maybe through some sort of plugin or maybe just an option in bbpress itself.
Anything info would be great.