Search Results for 'forum'
-
AuthorSearch Results
-
November 26, 2016 at 11:33 pm #261358
Venutius
ModeratorActually I’ve opened an enhancement ticket about this: https://bbpress.trac.wordpress.org/ticket/3025#ticket
I’d still post your question in the bbPress forum, maybe I’m missing something.
November 26, 2016 at 11:03 pm #261354Venutius
ModeratorThis is similar to what I’ve been looking for, so far I’ve not found an easy way to do this. It’s not actually a BuddyPress issue, it’s bbPress that creates the Forum list. So this is a question for the bbPress support forum.
Venutius
ModeratorFor points 1 and 2 you need to ask at the BuddyDev forums as they are not BP issues.
For point 3 you can edit BuddyPress emails in Dashboard>>Emails.
For point 4 there’s some plugins that will hide the admin bar for certain user types, I’ve not tried them but try searching the WordPress plugin repository one I saw that might do the trick is https://wordpress.org/plugins/better-admin-bar/
November 25, 2016 at 11:53 pm #261336In reply to: General Usage Question
shanebp
ModeratorEach group has the option to have an associated forum.
Groups can be public, private or hidden.
There can also be site-wide or ‘general’ forums.Forums require the use of an additional plugin: bbPress.
I also want people who are workshop leaders to be able to see and post to any forum.
You make them members of all groups.
If you’d rather not, then you’ll need to write some custom code.November 25, 2016 at 7:15 pm #261330shanebp
ModeratorAnd then collect all group member ids and then purchases made by those ids.
It’s not difficult to do, but you will need coding skills and an understanding of BP groups and WooCommerce.
If you don’t have those skills, you can post a job here.
November 18, 2016 at 8:29 pm #261168In reply to: Group header file problems
jaumearagay
ParticipantAnd this is what we get at the groups’ listing page before the first group:
I’ve tried to paste it directly here but the forum does not allow me to do it. Sorry for the long-line format! 😉
November 18, 2016 at 6:48 pm #261161In reply to: Profile header image size
kellyok
ParticipantThanks,
But unfortunately this does not give me an answer to any questions I have with regards to the above it just sends me to a bunch of custom code that i can add. That’s not what I am asking.
can anyone break this down so i can understand it a little better.
1. cover photo –
a.where can I change the file sizes and where will i find this folder ( the link just had code for the avatar and not the cover photo)
b.I would like to add some text prompting the user to use to add the correct image sizes for the Alternate Forum template photo and profile image from the get go.
c. is there a crop feature for the cover photo, like there is for the over photo.
I don;t have a deal of coding knowledge and asking for some help on where and how i should do this.
Regards
kelly
November 17, 2016 at 11:25 pm #261141In reply to: BP groups only have option for status update. what?
Venutius
ModeratorI’ve written a few pages that may be of help:
Forums are mentioned here:
http://buddyuser.com/adding-forums-to-your-buddypress-site-with-bbpress
Other add ons here:
http://buddyuser.com/extending-the-basic-buddypress-install
MediaPress for images:
http://buddyuser.com/using-mediapress-to-add-media-galleries-to-your-site
November 17, 2016 at 10:59 pm #261139In reply to: BP groups only have option for status update. what?
zoldos
ParticipantI checked a least two dozen BP related plugins and couldn’t find anything to enhance groups except one that adds “pages”.
I’m looking for something to add photo sharing and basic forum type posting ability to groups. Can you offer any suggestions? Thanks!
November 17, 2016 at 9:37 pm #261133In reply to: BP groups only have option for status update. what?
Venutius
ModeratorI think of BuddyPress as an enabling platform, as such the groups features handles the basics and you get to add the features you need by loading plugins such as bbPress for Forums, maybe a media plugin for photo sharing etc. As such whilst the basic features are limited in reality you get to create a custom set of features.
November 17, 2016 at 5:42 am #261108In reply to: Group header file problems
JeffWillia.ms
ParticipantHi @dcavins
Following up after my last reply. I added your code to the specified directory. I receive this error in all my Buddypress interfaces (i.e. members, forums, etc.)
Parse error: syntax error, unexpected ‘<‘ in /home/swiftbus/public_html/5firemen.com/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 1314
I just get a white screen with that error in it.
After deleting your code from the file directory above, the problem went away.
However, the original Groups Header issue still persists.
Hope that helps! 🙂
November 16, 2016 at 7:29 pm #261089In reply to: Group header file problems
JeffWillia.ms
ParticipantDetails:
Theme: Kleo (Parent and Child) Latest version
WP: Latest Version
BP: Latest VersionHaving the same issue and have reported it in Buddypress Trac, Buddypress Support forums (here) and discussed it at length with Seventh Queen (theme developer).
Tried it with all themes…parent, child, and default 2016. Problems exist in all themes
Turned off all plugins. Problem persists regardless.
Cleaned all caches, including host, and Cloudflare.
Can’t seem to find a solution. Any ideas?
Thanks.
November 16, 2016 at 6:11 pm #261083In reply to: How can I display topics under specific category?
danbp
ParticipantYou’re on the BuddyPress forum.
To get answers, try better bbPress support.November 16, 2016 at 8:26 am #261072In reply to: when create group slug, add action is better?
danbp
ParticipantHi @ruoge2007,
use code button to insert code into topic, thx.
Code suggestion or BP improvement cant be made on Trac. Devs don’t frequent the forum in depth.
November 16, 2016 at 6:30 am #261061In reply to: Resctrict private messages
empressdianna
ParticipantFound this on another forum and after some tweaking finally got this to work. This will only work if you force all new and existing non-paying users into one group however without some further tweaking. If a non-paying user tries to click on the “messaging” tab in wordpress it will redirect them to any page you choose. I chose the memberships level page. =D
function bp_disable_messaging() { global $bp; if ( pmpro_hasMembershipLevel('NonPayingLevel') && bp_is_current_component('messages') ) { wp_redirect( site_url("/PAGE URL/") ); exit(); } } add_action('wp','bp_disable_messaging');November 16, 2016 at 4:30 am #261058In reply to: Custom msg in own profile
Ron Ashman
ParticipantHello,
Thank you for answering shanebp.
I did it with translation files, so simple and dumb for someone like me who knows very very little about PHP.
Anyway, thank you! Your suggestion lead me to the right track and I did it.
For anyone wondering how to do it:
Overload (search in forum) a template for profile.php and add wherever you need the following:<?php if ( bp_is_my_profile() ) echo "Your custom text with HTML code or whatever" ?>Thanks again! 😀
November 15, 2016 at 9:35 pm #261049In reply to: Hiding a forum from the forum list
shanebp
ModeratorHave you tried setting the forum to Private? Or Hidden?
Go to wp-admin > Forums > Forum Name > Edit > Visibilitybtw – these are the BuddyPress forums.
For support for bbPress you should use their forums.November 15, 2016 at 8:50 pm #261042In reply to: Images for activity for front page
shanebp
Moderator…you are losing people and ultimately future profits and benefits
BP is free open source code. There are no direct profits.
These forums are moderated by volunteers.
There is no promise, explicit or otherwise, that you will get an answer.How does someone who does not constantly do coding for a living really get BuddyPress to function?
The primary intended audience for users of the BuddyPress codebase: Site Builders and WordPress Developers.
The widgets and shortcodes you tried ( BuddyPress Sitewide Activity ? ) probably do not include the images because widgets generally output a compressed view and images can take a lot of screen area. It would be relatively simple to tweak such a widget to include activity images.
If you don’t know how to code, you can post a job here.November 15, 2016 at 5:34 am #261009In reply to: How To Activate Existing Members
danbp
ParticipantHi,
wherever your members registered from (wp, bbp or bp), they are all in the same table: wp_users. To be counted on BP’s member directory, these members must have been loggedin at least once.
Did you synchronized WP and BP members (see BP settings) ?
Once done, go to Tools > BuddyPress and run all options one by one. Do also the same for Forums.November 15, 2016 at 5:25 am #261008In reply to: Error 404 for non logged in users
danbp
Participantif you’ve found a bug, please refer it on Trac.
Login with same credential as on this forum, describe the issue and give any details to reproduce it.November 14, 2016 at 7:50 am #260980In reply to: Remove Login & Register Links From Toolbar
danbp
ParticipantHi,
the toolbar belongs to WordPress. How to remove items is explained here:
https://codex.wordpress.org/Function_Reference/remove_node
Searching the forum will certainly bring you some more hints too.November 13, 2016 at 1:50 pm #260970In reply to: Display user country flag
davehakkens
ParticipantOK, we got it to work in a different way. Special thanks to @coffeywebdev for the help.
For those interested:This snippet is used in the functions.php to get the locations from the profile fields and show the flag image.
function dh_get_flag_by_location($country){ if($country <> '' && !empty($country)){ $country_filename = get_stylesheet_directory_uri() . '/img/flags/' . sanitize_file_name($country) . '.png'; $country_path = get_stylesheet_directory() . '/img/flags/' . sanitize_file_name($country). '.png'; if(file_exists($country_path)){ $html = '<img src="' . $country_filename . '"/>'; } else { $html = $country; echo '<!--' . get_stylesheet_directory_uri() . '/img/flags/' . sanitize_file_name($country) . '-->'; } echo $html; } }Then we needed to change 2 templates to show this flag image in
the Bbpress forum replies and on the buddypress members page. So we added the code necessary to show the flag
bbpress/loop-single-reply.php
<div id="country" style="float:left;margin-right:.5em;"> <?php $user = get_userdata( bbp_get_reply_author_id() ); $country = xprofile_get_field_data( 42, $user->ID ); dh_get_flag_by_location($country); ?></div>buddypress/members/members-loop.php
<div class="member-location"> <?php $country = bp_get_member_profile_data('field=Location'); dh_get_flag_by_location($country); ?></div>November 13, 2016 at 1:47 pm #260968In reply to: help with default activity stream tab
danbp
ParticipantYou’re talking about 2 different things: profile and groups. Let me explain you a little…
On the buddy nav bar, navigation looks similar but doesn’t work the same way on profile and on group page. While profile navigation use nav and sub-nav, the group navigation use only sub-nav.
Also, as documented on codex,
define('BP_DEFAULT_COMPONENT', '...' );is a constant related to a component, not a sub-nav tab. It let you define the default landing component, but not the one or other sub-nav tab. For example on profiles, the component Activity has 4 sub-nav attached to it: personnal, mentions, favorites, friends, groupsTo get one of them, you need to specify a new default tab, not another component. 🙂
Buddybar main nav items on profile page
Activity Profile Friends Groups Forums (if you use group forums)Default tab is Activity/personnal. To change it for “Friends” you use the constant:
define('BP_DEFAULT_COMPONENT', 'friends' );To change the default landing tab from (Component/sub-tab). For example Activity/personnal to Activity/mentions, you define a new nav default tab with a function like this one:
function bpex_set_member_default_nav() { bp_core_new_nav_default ( array( 'parent_slug' => buddypress()->activity->id, // other "activity" sub_nav slugs : personal favorites friends groups 'subnav_slug' => 'mentions', 'screen_function' => 'bp_activity_screen_mentions' ) ); } add_action( 'bp_setup_nav', 'bpex_set_member_default_nav', 20 );For groups, it’s a similar technique, but a different syntax. The following example is a bit sophisticated, as it let you change the landing tab differently for each defined group.
Depending each group activity or target, you can choose a different default tab.
In this example, the kill bill group has Forum as landing tab, while Leon’s group use the group member directory.function bpex_custom_group_default_tab( $default_tab ){ /** * class_exists() is recommanded to avoid problems during updates * or when Groups Component is deactivated */ if ( class_exists( 'BP_Group_Extension' ) ) : $group = groups_get_current_group();//get the current group if( empty( $group ) ) { return $default_tab; } switch($group->slug){ case 'kill-bill': // group name (use slug format) $default_tab='forum'; break; case 'leon': $default_tab='members'; break; default: $default_tab='home';// the default landing tab break; } return $default_tab; endif; // end if ( class_exists( 'BP_Group_Extension' ) ) } add_filter('bp_groups_default_extension','bpex_custom_group_default_tab');All this tested and working with BP 2.7.2 / Twenty Sixteen
November 10, 2016 at 7:23 pm #260916In reply to: Getting latest reply
Venutius
ModeratorYou would be better off asking this on the bbPress support forum
November 10, 2016 at 4:37 pm #260909Topic: Resctrict private messages
in forum How-to & Troubleshootingtalvasconcelos
ParticipantHi guys, need a little help with some custom action. I need to restrict private messages to paying members only, or if the message (thread) comes first from a paying user.
I use Paid Membership Pro to manage the membership. I tried including this function in the theme’s function file:
function message_from_non_premium($message_info) { $user = get_current_user_id(); $premium = pmpro_hasMembershipLevel('1', $user); if(!$premium) { if(!thread_id) { unset( $message_info->recipients ); return false; } } } add_action('messages_message_before_save', 'message_from_non_premium');but when testing, users can still send private messages, even without the required membership to do so. I used info from the forum and the pmp website: https://www.paidmembershipspro.com/documentation/content-controls/require-membership-function/
-
AuthorSearch Results