Search Results for 'buddypress'
-
AuthorSearch Results
-
June 28, 2013 at 11:00 pm #167155
In reply to: Create Group
mgrmn
ParticipantNot sure which file, however you should look in these directories look for div id subnav, it should be somewhere is my best guess for manual adding what you want.
/bp-templates/bp-legacy/buddypress/groups || /bp-themes/bp-default/groups
If you have it installed locally, I suggest you give that a try before editing online files.
If you are using linux you can use a command like below to see which files have the subnavigation menu.
sudo grep -lir “subnav” /var/www/wp-content/buddypress/
or
sudo grep -ir “subnav” /var/www/wp-content/buddypress/ (this will show you relevant code.If Windows, I suggest you use something simple like EditPlus open up all files, and use search function (If I remember correctly, check search all open files or something like that
June 28, 2013 at 10:07 pm #167153In reply to: Creating New Plugins
bp-help
Participant@hnla @mercime @modemlooper
I agree there needs sorting out and consistency in how to check for BP etc.
I just got an email from Mika E one of the plugin reviewers and she saysBut … why?
BuddyPress has loader actions you can hook into: https://plugins.trac.wordpress.org/browser/buddypress/trunk/bp-core/bp-core-actions.php#L34
(I’m sitting next to JJJ right now and he pointed this out). So you don’t have to call loader.php, which is slower in the long run, and instead you hook into BP at the appropriate point.
The whole thing it looks like you’re doing is adding this action:
add_action( ‘admin_notices’, ‘private_community_for_bp_lite_install_buddypress_notice’ );
And you want to only add that notice IF BuddyPress is loaded, right? So why not the smaller check? If you do that, you won’t have to call bp-loader, because you’re hooking in after it’s loaded.
Why would I want my install buddypress notice to display if they have buddypress installed and the requirement for BP is met? That makes no sense. Right now it is setup to display only if someone using wordpress does not have BP installed and activated which is what it does and should do correct?
I don’t get it! Any of you guys have advice?
Thanks again!June 28, 2013 at 10:06 pm #167152June 28, 2013 at 9:52 pm #167151In reply to: Buddypress conflicts with my theme
@mercime
Participant@nanaimomen The problem is more like the theme is using a proprietary templating system. BuddyPress works in nearly all WordPress themes. Regular WP tags like the_title() and the_content() should be in the theme’s page.php file for the BP Theme Compatibility magic to work, i.e., you no longer need to revise 16 template files manually like before.
To resolve your issue, open up your theme’s page.php file and Save As > buddypress.php and ask the theme author to replace theme’s corresponding tags with the_title() and the_content(). Upload that updated buddypress.php file into your theme’s folder in server and you should be good to go.
June 28, 2013 at 9:18 pm #167146In reply to: Friend request not functioning properly
@mercime
Participant@forallatlantis Have you gone through basic troubleshooting like changing to Twenty Twelve theme and/or deactivating plugins batch by batch except BuddyPress to check what’s causing the issue?
June 28, 2013 at 8:44 pm #167143In reply to: Create Group
mgrmn
Participant@dran2013 What you can do is this.
FILES:
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.phpAdd below <span class=”activity”><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
something like Create GroupEnjoy
June 28, 2013 at 8:35 pm #167141@mercime
Participantall content and users are mirrored/shared across the networks/sites
@mike245 Strange. Only users not the content should be shared across the network for that plugin as far as I know. Have only used the other BP Multinetwork plugin, so don’t quite know why that’s happening in your installation. Recommend that you post at plugin’s support forums https://wordpress.org/support/plugin/bp-multi-networkJune 28, 2013 at 8:28 pm #167140In reply to: Buddypress and S2 member Activity problem
crashy11
ParticipantHey, can you please tell where I should place that code you posted?
I am trying to exclude one username from activity stream since with that account I will make posts that are based on different membership levels. Or as I wrote on beginning just exclude all blog posts from activity stream.
I tried to do it with custom post types, it doesn’t show up in activity stream, which is good, but posts are not showing in category they supposed to show. I read that it is also necessary to post some code somewhere for custom post type.
June 28, 2013 at 7:45 pm #167135mik.e245
Participant@mercime Sorry, I forgot to mention that I’m already using BP Multi Network and Networks for WordPress! Unfortunately, they’re doing the wrong thing: while each network/site now has Buddypress working, all content and users are mirrored/shared across the networks/sites. Instead I need to have Buddypress working on all networks/sites, with *separate* content but *shared* users. Is there any way to do this?
Thank you!
BillJune 28, 2013 at 7:25 pm #167133In reply to: Create Group
dran2013
ParticipantI was wondering this too. The “create group” tab shows up if I directly go to my link: http://durhamregionactionnetwork.com/groups/ (same with Forums with bbpress) but how do users find the link when it isn’t appearing in their profile? I have everything enabled in settings for both plugins.So once a person is logged in they see this on their page:
Activity
Profile
Messages
Friends
Groups
Forums
Events
SettingsBut when you click on Groups from there, there is no link to create a group. Same with Forums. Maybe BuddyPress doesn’t have that option? I wanted to improve usability by adding the links to the user’s dashboard, it seems to make sense it would be there but it’s not. I hope I am explaining this OK 🙂 Thank you for any help you can provide!
June 28, 2013 at 7:12 pm #167130In reply to: Creating New Plugins
modemlooper
ModeratorIt all depends on how the plugin functions. if you have WP options saved and then use bp_include to load plugin your settings won’t load fast enough for BuddyPress to use options.
bp_include is used for code that accesses BuddyPress code. So you know that BuddyPress is loaded before you execute code. It should not be used to detect if BuddyPress is active.
you can use https://codex.wordpress.org/Function_Reference/is_plugin_active
or check if ( class_exists( ‘BuddyPress’ ) )
June 28, 2013 at 7:09 pm #167129In reply to: Create Group
@mercime
Participant@mgrmn There should be a “Create a Group” button beside the page title in the Groups Directory page. https://codex.buddypress.org/user/buddypress-components-and-features/groups/#groups-directory
If the “Create a Group” button doesn’t show up in your theme, that’s because the_title tag of page template is not within the WordPress loop. To resolve this issue, you can create your own link to the Create Groups page, just append /create to the URL of your groups directory page
e.g.
groups page -> http://example.com/groups
groups create page -> http://example.com/groups/createAlternatively, if you prefer, you can instead add the patch to include the groups/create link in BP MyAccount section of the WP Toolbar https://buddypress.trac.wordpress.org/ticket/1838 – coming out in BP 1.8
June 28, 2013 at 7:06 pm #167128In reply to: Buddypress and S2 member Activity problem
mgrmn
ParticipantNot sure, but I believe you need to add
get_currentuserinfo();for the part getting user info.Try something like this to debug and see if you get any reponse at all.
function debug_userinfo() { global $current_user; get_currentuserinfo(); echo 'Username: ' . $current_user->user_login . "\n"; echo 'User email: ' . $current_user->user_email . "\n"; echo 'User first name: ' . $current_user->user_firstname . "\n"; echo 'User last name: ' . $current_user->user_lastname . "\n"; echo 'User display name: ' . $current_user->display_name . "\n"; echo 'User ID: ' . $current_user->ID . "\n"; }See wp codex https://codex.wordpress.org/Function_Reference/get_currentuserinfo
June 28, 2013 at 6:58 pm #167127@mercime
Participant@mike245 by default, there’s only one instance of BuddyPress per WordPress (single or multisite) installation. What you want – multiple BuddyPress installations in one Multisite install – is not possible without a BP multinetwork plugin. There are two plugins available and of those two, since you want a shared userbase, you would need https://wordpress.org/plugins/bp-multi-network/
June 28, 2013 at 6:49 pm #167126In reply to: Create Group
mgrmn
ParticipantYes, they are all checked / enabled
BuddyPress -> Components & BuddyPress -> Settings
Can not add groups, not as Admin , Not as User. Neither can I as Admin via Admin panel Groups.
Only direct insert DBJune 28, 2013 at 5:17 pm #167117In reply to: Buddypress and S2 member Activity problem
crashy11
ParticipantI tried to add this code to bp-custom.php but it seems that doesn’t work, does anyone maybe have new code?
Code is used to exclude one user activity from buddypress activity stream.<?php
add_action(“plugins_loaded”,”bpdev_init_sm_mode”);
function bpdev_init_sm_mode(){
global $current_user;
if(is_user_logged_in()) {
get_currentuserinfo();
if(“username” == $current_user->user_login) {
remove_action(“wp_head”,”bp_core_record_activity”);//id SM is on, remove the record activity hook
}
}
}
?>June 28, 2013 at 2:34 pm #167108In reply to: Buddypress and S2 member Activity problem
crashy11
ParticipantI think I can do it with custom post type, but now I have problem that posts from custom post type are not showing in category.
June 28, 2013 at 2:12 pm #167106In reply to: Tranfering / Moving Domain Name
Ben Hansen
Participantyeah the hostile trick is a good way to “trick” your computer thinking a domain exists somewhere its doesn’t thus allowing you to not need to change the domain in the first place. that being said as Hugo mentions the codex pages tend to try to address the entire learning curve of any particular process meaning that they are giving you a bunch of options on that page you don’t need to be able to follow the entire thing to employ one of the listed techniques.
Another thing you may want to consider (depending on the amount of content your site will have prior to going public) is to simply build out on a dummy domain then reconstruct on a fresh install as soon as you are able to grab the domain. Regular wordpress content can even be exported from the construction site and then imported into the new site. Unfortunately no such process exists for buddypress data (groups, non post creating users and activity) but generally speaking those things shouldn’t take all that long to recreate unless your community section is going to be gigantic.
June 28, 2013 at 1:30 pm #167105In reply to: Buddypress and S2 member Activity problem
shanebp
Moderator>is that hard to make?
Not if you understand S2, mysql and pre-query BP filters
June 28, 2013 at 1:13 pm #167104In reply to: Buddypress and S2 member Activity problem
crashy11
ParticipantHi, is that hard to make? Can I do that by myself maybe?
June 28, 2013 at 1:05 pm #167102David Cavins
KeymasterShuklaamar- Be aware that if you edit core files as that web page suggests, you’ll have to make that same edit every time you update WordPress.
Honestly, my experience with WordPress on IIS hasn’t been that great. The rewrite/redirects are one thing, but the FastCGI implementation is not very robust, which can cause grief.
Polly- Your problem doesn’t appear to be related to the original question. I think you’re right that the problem is the theme, so contacting the theme author would be a good start.
-David
June 28, 2013 at 12:51 pm #167100In reply to: Buddypress and S2 member Activity problem
shanebp
ModeratorJune 28, 2013 at 9:49 am #167095shuklaamar1509
ParticipantI Solved the Issue. Please follow the link : http://webloggerz.com/how-to-remove-index-php-from-wordpress-url/
June 28, 2013 at 9:48 am #167094In reply to: BuddyPress related page have wrong link
shuklaamar1509
ParticipantI Solved the Issue. Please follow the link : http://webloggerz.com/how-to-remove-index-php-from-wordpress-url/
June 28, 2013 at 8:52 am #167092Prolet
ParticipantThis problem is NOT RESOLVED!
Anybody with a solution, please? ( to switch to a BP theme is not a solution!)
Thanks! -
AuthorSearch Results