Search Results for 'bbpress'
-
AuthorSearch Results
-
December 30, 2014 at 4:26 pm #231278
In reply to: Participant forum role can no longer post
Ben Hansen
Participantanother thing you can try is re-saving your permalinks if you haven’t tried that one yet. beyond that you are probably beyond my ability to help but maybe someone else who knows more either here or on the bbpress support forum maybe able to help you further.
December 30, 2014 at 5:49 am #231261In reply to: Participant forum role can no longer post
Ben Hansen
ParticipantI’ve had a similar situation in the past this plugin was able to help straiten things out for me it was made by jjj the lead for bbpress:
December 30, 2014 at 2:45 am #231257In reply to: Participant forum role can no longer post
Ben Hansen
Participantdid you try running the repair scripts in the bbpress options?
December 27, 2014 at 1:10 am #231089In reply to: Updated solution to removing @mentions
danbp
ParticipantTo remove @username near the header avatar on profile page, use this (in bp-custom.php)
function bpfr_remove_mention_from_profile() { // hide the hardcoded @ sign and username echo '<style> h2.user-nicename { display:none; } </style>'; if( bp_is_user() && ! bp_get_member_user_id() ) { $user_id = 'displayed: '. bp_displayed_user_id(); } else { $user_id = 'get_member_user: '. bp_get_member_user_id(); } remove_filter( 'bp_get_displayed_user_mentionname', bp_activity_get_user_mentionname( bp_displayed_user_id() ) ); } add_filter( 'bp_get_displayed_user_mentionname', 'bpfr_remove_mention_from_profile' );To remove the mention sub tab from profile page, use this (in bp-custom.php):
function bpfr_hide_mention( $retval = 1 ) { $retval = false; // condition if ( bp_is_user() && ! bp_is_my_profile() ) { $retval = true; } return $retval; } function bpfr_hide_mention_nav() { // stop if condition is not ok if ( ! bpfr_hide_mention() ) { return; } // otherwise we remove the nav item //bp subnav items bp_core_remove_subnav_item( 'activity', 'mentions' ); } add_action( 'bp_ready', 'bpfr_hide_mention_nav' );To unlink @mention (this removes only the link not the mentionned username) AND remove the public message button, use this (in bp-custom.php):
add_filter( 'bp_activity_do_mentions', '__return_false' );To allow the new BP 2.1 @mention tool in bbPress, use this (in bp-custom.php):
function bpfr_bbpress_maybe_load_mentions_scripts( $retval = false ) { if ( function_exists( 'bbpress' ) && is_bbpress() ) { $retval = true; } return $retval; } add_filter( 'bp_activity_maybe_load_mentions_scripts', 'bpfr_bbpress_maybe_load_mentions_scripts' );Tested with WP 4.1 – BP 2.1.1 – bbP 2.5.4
December 27, 2014 at 12:38 am #231087In reply to: Access to BP functions in external code via wp-load
johnmontfx
ParticipantThanks Dan — while they are separate plugins I’m sure you’ll agree that they are very much joined at the hip (as bbPress even includes BuddyPress functions). What was really nice was the ability to bring in extended Vbulletin profile information over to to BuddyPress extended profiles at the same time as importing to bbPress. Took some custom coding, but the code in both plugins made it fairly clear about how to accomplish it. Makes it easy to use in both plugins.
As far as what I’m trying to do with BuddyPress, it’s basically the issue in the first post. I’ve traced the code a bit more and my main issue right now is simply figuring out if I could get access to the xprofile_get_field_data function. wp-load.php doesn’t seem to call the bp-xprofile-loader.php, so $bp->profile->table_name_fields is empty.
In the meantime, I’ve just issued some mysql db calls to grab the info…but I’d love to use the built in functions if I could.
December 26, 2014 at 10:55 pm #231085In reply to: Updated solution to removing @mentions
mmaccou
ParticipantHey @tecca
Here is the bp-custom…
<?php
if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
define( ‘BP_AVATAR_THUMB_WIDTH’, 128 ); //change this with your desired thumb widthif ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
define( ‘BP_AVATAR_THUMB_HEIGHT’, 128 ); //change this with your desired thumb heightif ( !defined( ‘BP_AVATAR_FULL_WIDTH’ ) )
define( ‘BP_AVATAR_FULL_WIDTH’, 256 ); //change this to default width for full avatarif ( !defined( ‘BP_AVATAR_FULL_HEIGHT’ ) )
define( ‘BP_AVATAR_FULL_HEIGHT’, 256 ); //change this to default height for full avatar/* deactivate @mention – BP 2.0+ & bbpress */
add_filter( ‘bp_activity_do_mentions’, ‘__return_false’ );
add_filter( ‘bbp_find_mentions’, ‘__return_false’ ); //bbPress only?>
December 26, 2014 at 6:49 pm #231069In reply to: Access to BP functions in external code via wp-load
danbp
ParticipantYou’re welcome !
bbPress and BuddyPress are TWO separate plugin, and you’re here on the BuddyPress support. 😉If you have questions related to bbP, please visit their support for better chance to get the right answer.
As it is a bit unclear what you’re doing with buddypress for the moment, see here about vbulletin import into bbPress.
December 26, 2014 at 4:00 pm #231065In reply to: Access to BP functions in external code via wp-load
johnmontfx
ParticipantBy the way, so bar bbpress has been a good experience. I’m transitioning over from vbulletin and have done quite a bit of customization to the importer to bring over all our old user data intact.
It seems like a good community…I’m missing some vb features, but so far am pleased with the move…
December 26, 2014 at 3:58 pm #231064In reply to: Access to BP functions in external code via wp-load
johnmontfx
ParticipantThanks so much Dan — I really appreciate the response. Eventually I will be doing things the way you suggest, but I have a custom architecture for a learning site that I’m transitioning to WordPress over the next six months. There are dozens of pages and interdependencies which I’m cleaning up, so I’ve decided to do the integration in stages since it will take time.
I can write some custom db code to grab the information from the appropriate xprofile table, but I was hoping to not fully reinvent the wheel as you suggested. At this point, I’ve probably spent more time trying to use the bbpress functions than it would have take to write my own db function 🙂
I think the issue is that bp-xprofile-loader.php hasn’t been called yet, which is where those values get defined. So it seems that bbpress gets loaded but not fully initialized until somewhere later in the code. Maybe when the templates load or wp() is called.
Thanks again…really appreciate your time and the sensible response.
December 26, 2014 at 12:36 am #231044In reply to: multi communities in one website
valuser
ParticipantTry bp multi network https://wordpress.org/plugins/bp-multi-network/ AND Networks + from http://wpebooks.com/networks/
Networks+ is a “premium” (small) plugin written by one of the authors of bp-multi-network and numerous (about 30) other plugins in the WordPress repository and it is fully supported.
Using buddypress and bbpress together with those two plugins you will be able to have separate communities with separate activity streams, forums, groups and blogs all in one wordpress installation and in one database. Membership is shared.
There may be other combinations of plugins that may work. The combination above does work.
December 25, 2014 at 11:26 pm #231039In reply to: multi communities in one website
DennisBarkerCV
ParticipantThe easiest way is to use the Groups Component along with bbPress.Each group would get its own discussion forum.
December 22, 2014 at 7:55 pm #230914In reply to: How does a member find their profile page?
danbp
ParticipantbbPress is a plugin outside of BuddyPress. You better ask for this on their support forum.
You could also read the bbPress Codex.
December 21, 2014 at 7:02 pm #230879In reply to: How to install the forum?
December 18, 2014 at 8:49 pm #230779In reply to: Beta Testing: WordPress 4.1 & BuddyPress
@mercime
Participant@jgwolfensberger No problem with WP 4.1 and BP 2.1.1 and bbPress. Just watch out for WP 4.1 compatibiity with custom theme or other plugins.
December 17, 2014 at 6:26 pm #230719In reply to: Buddypress and bbPress?
@mercime
Participant@jwchameleoncorp BuddyPress Codex (Documentation link above) is your friend.
You will need to install bbPress forums which integrates well with BuddyPress. There is a step-by-step guide at https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/ You just have to decide on what forums setup you want for your site.
December 15, 2014 at 12:29 pm #230621In reply to: How to replicate friends component to new component
danbp
ParticipantIt’s not recommended to duplicate BP omponents.
Instead, consider this plugin
https://wordpress.org/plugins/buddy-bbpress-support-topic/December 12, 2014 at 1:50 pm #230514Sparkey
ParticipantI have now deactivated ALL plugins except Buddypress BBPress and Askimet.
Reran the repair tools for buddypress and bbpress.
Deleted the Groups page holder and emptied the trash.
Still forums redirect to nonsense permalinks and 404.
December 9, 2014 at 10:44 pm #230348In reply to: How to seperate forums
Henry Wright
ModeratorHi @scrubtek
Try asking over at bbPress https://bbpress.org
The guys over there specialise in the forums.
December 8, 2014 at 8:18 pm #230306In reply to: The big picture
shanebp
ModeratorYou’ll need bbPress for forums and a membership plugin like s2member or WishList Member for paid membership.
December 7, 2014 at 4:38 pm #230266In reply to: extend editor toolbar bbcodes
shanebp
ModeratorThese are the BuddyPress forums.
You might want to try the bbPress forums.December 4, 2014 at 8:54 am #230141In reply to: This is why we can't have nice things
Stephen Edgar
ModeratorIt would also be interesting to get all mods/keymaster reaction around this subject in the next days, or at least a clear reminder on how this support forum should/could be moderated.
Fixing the said bug has thrown us in the deep end… I’ve got quite a few more moderator tools/updates to go in over the next couple of days that should help us out on both BuddyPress.org and bbPress.org 🙂
December 4, 2014 at 7:13 am #230138In reply to: This is why we can't have nice things
danbp
Participant@netweb, thank you for these explanation Stephen ! 😉
Glad to read some good news around this little problem.
It would also be interesting to get all mods/keymaster reaction around this subject in the next days, or at least a clear reminder on how this support forum should/could be moderated.
I’m also wondering if we could use some interesting plugins now, like buddy-bbPress-Support-Topic by @imath, and automated topic closing after 30 days.
@mercime, @hnla, @shanebp, @henrywright, @djpaul, @JohnJamesJacoby
let’s talk together ! 😀December 4, 2014 at 2:38 am #230135In reply to: This is why we can't have nice things
Stephen Edgar
Moderator@danbp wrote…
2 is very appropriate: one for a site url, one for a screen shot… or max. 2 spam link 🙂This is WordPress’ default setting
/wp-admin/options-discussion.phpand I tend to agree, 2 seems quite reasonable.@danbp wrote…
But for mods (only), it could be more depending the user problem, even if 2 seems to be ok in most case.I’ve just added a patch to bypass this altogether for moderators as it is pointless moderating moderators topics/replies that the moderator can self approve!
@danbp wrote…
But the warning msg, what ever the allowed links will be, is important.A bit of background, there was a bug in bbPress that meant ‘maximum number of links’ was never actually being checked, thus we fixed said bug and now we see the results of said fix :/
Included in those same checks is
Comment ModerationandComment Blacklistalso at/wp-admin/options-discussion.phpfor when a topic or reply contains any of the listed words (e.g. name, URL, e-mail, or IP) then the topic or reply will be saved with the post statuspendingand held in the moderation queue.Currently if a match occurs from the “blacklist” a notice is displayed and the post is never created
ERROR: Your topic/reply cannot be created at this time., this behaviour will not change and only keymasters/admins can bypass this.For the actual “warning message”/”notice” that is posted when either the max number of links or a word trigger from the “comment moderation” word list is triggered per @JohnJamesJacoby’s comment here:
https://bbpress.trac.wordpress.org/ticket/1988#comment:3
Having it be nondescript, and leaving it up to the moderation/admin team to review those posts and choose whether or not to publish them, seems the simplest approach for today.
December 3, 2014 at 3:46 pm #230063In reply to: [Resolved] Toolbar and Buttons
danbp
Participantfont sizing is somehow user device dependant, so using extended tinyMCE tools to adjust your output is not a good idea for a public forum. This may be good on a blog where you are the only editor, but that is generally not the case on a forum. 😉
The solution is to modify the CSS !
December 3, 2014 at 3:06 pm #230057In reply to: [Resolved] Toolbar and Buttons
Security
ParticipantHi @scrubtek i think there is a plugin to achieve this functionality
https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/screenshots/ -
AuthorSearch Results