Search Results for 'wordpress'
-
Search Results
-
I want to create a custom PHP function to run only on BuddyPress “Following” and “Followers” pages (created with this plugin: https://wordpress.org/plugins/buddypress-followers/).
In WordPress, I would use the is_page function (http://codex.wordpress.org/Function_Reference/is_page). Is there something similar in BuddyPress to check if the visitor is on a certain BP page?
Thanks.
Topic: Setup members and groups
Honestly I am 68 years young and have NO CLUE what I am doing regarding BuddyPress. I just installed it and have latest version of WordPress running. The site is SpyCraftU. As you will see I already have Members and Groups headings. I need to know how people add themselves as Members and how to set up Groups.
Thanks!
Hugh009Topic: Two Themes Integration
I have just updated my BuddyPress theme and migrated my user database to the new theme. I also have a separate WordPress install of ClassiPress, which is another wordpress theme for classifieds. Before I made the buddypress theme change the user database was linked together so when a user logged into buddypress they were automatically logged into the classipress site which is only a section of the site when you click on the menu of the buddypress site.
I have asked a few developers to simply recreate the link again to have all my users linked to the classipress site but they cannot seem to do it or understand how to do it when this was working perfectly fine before the theme change.
Any advice will help and sorry for the horrible explanation as I don’t know much about websites and the language.
I created a plugin that adds a Call button to the profile page. With Buddypress 2.0.1 it worked, but when I updated to 2.1.1 the button disappeared from the profile page.
This is the code that adds the button :
function videocall_get_slug() { global $bp; return $videocall_slug = isset( $bp->videocall->slug ) ? $bp->videocall->slug : ”; } function videocall_is_user_online( $user_id ) { if ( bp_has_members( ‘type=online&include=’. $user_id ) ) { return true; } else { return false; } } function videocall_get_video_chat_link() { return bp_loggedin_user_domain() . videocall_get_slug() . ‘/call?user=’.bp_displayed_user_id().’&id=’ . rand() } function videocall_invite_button() { if ( videocall_is_user_online( bp_displayed_user_id() ) ) { $link_class = ‘start-videocall online'; } else { $link_class = ‘start-videocall'; } bp_button( array( ‘id’ => ‘videocall’, ‘must_be_logged_in’ => true, ‘block_self’ => true, ‘wrapper_id’ => ‘videocall’, ‘link_href’ => videocall_get_video_chat_link(), ‘link_title’ => __( ‘Video call with this user.’, ‘videocall’ ), ‘link_text’ => __( ‘Video call’, ‘videocall’ ), ‘link_class’ => $link_class, ) ); } add_action( ‘bp_member_header_actions’, ‘videocall_invite_button’,99);With WordPress 4.0 and Buddypress 2.0.1 it workes just fine.
Any suggestions?I have very little coding experience but I say a similar script for s2Membership that would show or hide users from the members-loop based on their plugin role. I found a few functions for the plugin i’m using and tried to adapt it but now with the added code my members list is empty. I have 1 user in the named subscription level.
<?php while ( bp_members() ) : bp_the_member(); ?> <!--Only show certain roles in member lising--> <?php $sub_id = 'NeedyNerd';//manually define subscription name for Membership exclusion ?> <?php if (current_user_on_subscription($sub_id)): ?> Standard loop structure here <?php endif; ?> <?php endwhile; ?>I know which databases and such the subscription names and id numbers are stored in but if this requires a DB call I have no idea how to do it.
Since I’m a complete php novice and really just a copy/paste kind of guy I was hoping for a bit of help.
Here are the functions I found for Membership
current_user_is_member()
current_user_on_level($level_id)
current_user_on_subscription($sub_id)WordPress Version 4.0
Buddypress Version 2.1.1
Membership Premium Version 3.5.2.3Hello. I’m currently running WordPress v4.0 on an Apache based server under a subdomain, and have the most recent version of BuddyPress installed (v2.1.1).
How would I go about changing all references to “Friends” on all of the Member Profile pages to “Connections” ? And would it be possible for me to also change the “/activity/friends/” friendly URL to “/activity/connections/” ? If so, how?
Thanks!
– YvanHi there,
I am using the Enfold-theme & I just installed your lovely plug-in: Buddypress. Everything works great! Now, Buddypress uses its own CSS and thats normal.
What I am trying to do is “Make buddypress look like my Enfold-theme”.
Can anyone point me in the right direction? I tried “search” and I read about child-themes etc… but I dont think thats what I am supposed to do?I have good knowledge of CSS & HTML. Im just pretty new to wordpress.
I’d appreciate any help I can get (y)An extra question: I also saw that this website uses buddypress, but the profile-page & other pages are different from the default buddypress. Is this also a theme for buddypress or?
Hi everyone,
we’re currently developing a website that will run WordPress and BuddyPress. There will be tens of thousands of users. We are now wondering if BP and WP are able to handle thousands of new comments per day or if this will cause any performance or database issues on the long run?
As a side note, the comments will also be shown on the respective users personal walls and some other places around the BuddyPress part of the site.
Does somebody have experience with this? Would love some insights 🙂
Harry