Search Results for 'buddypress'
-
Search Results
-
Topic: bp-custom code not working
The development is running the following versions of software:
WordPress v3.7.1
BuddyPress v1.8.1
Custom BuddyPress theme based on Genesis Framwework v2.0.1I have the following code in my bp-custom.php file which I placed in the mu-plugins folder
add_action( ‘bp_setup_nav’, ‘vm_setup_nav’ );function vm_setup_nav() { global $bp; // Remove a menu item //$bp->bp_nav['activity'] = false; // Change name of menu item $bp->bp_nav['settings']['name'] = "Password & Cart Settings"; // Change name of menu item $bp->bp_nav['groups']['name'] = "Circles"; }It wasn’t working. I changed the plugin location from wp-content/mu-plugins to wp-content/plugins and it didn’t work there either. When I put this same code in the theme’s functions file, it works.
What am I doing wrong?
Topic: Custom Tab for members page
Hi,
I had installed buddypresss in a site and I want to create a custom tab called ‘friends of friends’ only for the page ‘Members’. How can I add my custom tab and functionality .
Can anyone help ?Topic: Username Validation
Hi, I am not entirely sure if this should be posted on the wordpress forums or here. I think that since this PHP script is using data in the buddypress registration page, that here is the place.
Anyway, I am trying to set up a website for my Minecraft Server that I have been hosting for the past few months. I am using the code below to only allow players with a premium Minecraft account to register on the website, in order to block spammers. The link in the code (http://www.minecraft.net/haspaid.jsp?user=) will print a boolean changing if the account name is valid or not. The name is put after the “=” and if it is valid, “true” will be printed, and if it isn’t valid “false” will be printed.
I am trying to make it that the name is checked before the account is made. What should happen is that the username is taken and checked on the Minecraft database, and allow the user to register if “true” is echoed, and if “false” is echoed, the registration will not be allowed to continue.
The issue is, that I am really not skilled in PHP at all, and I can’t find out why this code isn’t working. It makes no visible change to anything, and registration continues as if it wasn’t there. If anyone could give me a hand here, that would be great. Here is my Code.
<?php /* Plugin Name: Minecraft Username Validator Description: Minecraft username Validation Version: 0.1 Author: JeremyPark123999 */ /* Register actions */ add_action('registration_errors', 'verify_mc_account', 10, 3); add_action('admin_menu', 'add_mcval_options'); /* Check account on minecraft.net */ function verify_mc_account( $errors, $login, $email ) { //$user_info = get_userdata(1); $user_info = get_user_by('login', $login ); $options = array( 'timeout' => 5, ); $mcacct = wp_remote_get('http://www.minecraft.net/haspaid.jsp?user='.$user_info->user_login); if ( $mcacct == 'false' ) { if ( $mcacct == 'false' ) { $errors->add('mc_error',__('<strong>ERROR:</strong> Minecraft account is invalid.')); } else { $errors->add('mc_error',__('<strong>ERROR:</strong> Unable to contact minecraft.net.')); } } return $errors; } /* Activation/Deactivation */ function set_mcval_options() { add_option('hide_me', 'false'); } function unset_mcval_options() { delete_option('hide_me'); } register_activation_hook(__FILE__, 'set_mcval_options'); register_deactivation_hook(__FILE__, 'unset_mcval_options'); /* Add admin menu */ function add_mcval_options() { if ( get_option('hide_me') != "true" ) { add_options_page('Minecraft Validator Options', 'Minecraft Validator', 8, 'mcval-options', 'mcval_options'); } } /* Display options page */ function mcval_options() { ?> <?php }My website is at tumbleweed-mc.net
Let’s say I have a BP multisite installation with 10 sites in the network. Each site is part of a larger BP network, and each site points to the main network site for pages like activity, profile, etc. Is it possible to do something like Stack Exchange, in which each site within the network gets its own branded user activity page?
Is there an easy way to remove the “Public Messaging” capabilities in Buddypress? I found some answers to this in the Forum but did not understand exactly how to do it. Hence, I’m somewhat of a Newbee in respect to changing coding, etc.
Topic: Extended Profiles deleted

Hi,
The pic above shows what the extended profile field should look like. I had a plugin called Buddypress Real Names which allowed me to delete that field above. Silly me, now my extended profiles are not working. It shows blank under profile fields on my registration page and does not send a confirmation email to new users. However, if extended profiles are turned off, all works fine.
1. Which version of WordPress are you running?
3.7.12. Did you install WordPress as a directory or subdomain install?
Directory3. If a directory install, is it in root or in a subdirectory?
root4. Did you upgrade from a previous version of WordPress? If so, from which version?
No5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
Wordpress seems to be working fine6. Which version of BP are you running?
1.87. Did you upgraded from a previous version of BP? If so, from which version?
No8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Yes.
Admin Toolbar Remover
All In One WP Security
AVH First Defense Against Spam Plugin
BP Profile as Homepage
BuddyPress
BuddyPress Activity Plus
BuddyPress Activity Privacy
BuddyPress Wall
Contact Form
Custom Meta Widget
Disable RSS
Dynamic Widgets
Email Login
EU Cookie Law Compliance
Facebook Friends Inviter
Google Analytics for WordPress
Google XML Sitemaps
Restrict Usernames
Velvet Blues Update URLs
W3 Total Cache
WordPress SEO
WP-SpamFree
WP Block Admin
WP Content Filter
WP FLogin9. Are you using the standard BuddyPress themes or customized themes?
Standard10. Have you modified the core files in any way?
No11. Do you have any custom functions in bp-custom.php?
No12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
Not running bbPress13. Please provide a list of any errors in your server’s log files.
14. Which company provides your hosting?
Mweb15. Is your server running Windows, or if Linux; Apache, nginx or something else?
UnixHello,
The company has developed a module CleanTalk spam protection for formidable form.
I suggest considering a plug-in for automatic site moderation and spam protection. The service employs ways of spam protection, invisible for the visitors and there is no CAPTCHA!
How it works: the plug-in redirects a message (registration in the site) from the site visitor to CleanTalk moderation server, then the service checks the message and the sender according to many aspects and gives a response whether to post the message or to mark it as spam, in case of doubt the comment will be redirected to manual moderation.
Topic: Themeing best practice now?
I am new to BuddyPress so i would like some clarification please.
Usually i try to avoid modifying template files except where absolutely necessary, but after having read that BP-Lageacy will not exist in future versions, i am not sure what best-practice will be…Should i put the entire contents of BP-Legacy into a folder named buddypress in my theme?
This is probably an issue caused by my site originally having just bbpress and than adding Buddypress, with bbpress forums.
Issue is that it added Buddypress and allocated the corresponding forum to the Buddypress group. I still have a few orphaned forums without groups but that’s ok.
Problem is, when an original forum poster now goes to reply to that topic, they can’t and get a bland message that they can’t post. Because they haven’t joined the group assigned to the forum.
The error message needs to give more information and I’m wondering how to go about modifying the error to do just that. Such as a bit of logic to determine whether they are a member first and then display a different message.
Any clues and/or code snippet to solve this? Any help would be great.
My Info:
WordPress 3.7.1
BuddyPress 1.8.1
Site Link : http://duffitness.com/coachportalMy Question:
I am editing the display of profile information on individual profiles. Some files that I have edited are edit.php and profileloop.php… I have the file structure as plugins > buddypress > bp-templates > bp-legacy > buddypress > members > single > profile > “filename.php”
How do i insert this into my child theme so that it isn’t overwritten each time I complete an update…I did try using the complete structure listed above directly inside my child theme, but this did not produce any results. I am assuming this has to do with the fact that plugins are not in a theme orginally…?
Thanks so much for your help!!
I have been searching for this for a while and can’t seem to locate the answer. When a blog with a featured image is posted on my site an excerpt of this post appears on the Buddypress activity stream. I would like to increase the size of this thumbnail on the activity stream only (without it becoming blurry). I don’t want to increase the size of avatars but just this thumbnail. Any ideas?
Topic: Help with Buddy & bbpress
First, my site is Inspiration Point – http://inspiration-point.org Yesterday, I spent the bulk of my time in figuring out the best way to set up a forum for my WordPress blog. I’m using WordPress 3.7.1 and I downloaded buddypress 1.8.1 and bbpress 2.5.
I was admittedly confused by the LabSecret videos; as it didn’t have some of the stuff seen there. Sorry, I’m overtired and settled for Simple:press.
My blog is for showing off stories that I’ve written. I am not looking to major in running a forum and I don’t really want to get technical. My main like for Simple:press is the user interface used when configuring the groups, forums, usergroups and permissions.
Is there something similar for buddypress? Here’s a secondary question. Is it my imagination or are the two forum apps merging to become one? It’s almost like I need to have both bbpress and buddypress.
Topic: BuddyPress REST API
Has anyone looked at creating a BuddyPress REST API modelled after WP-API?
Is there interest in this kind of functionality (or plugin) in the BuddyPress community?
Charles
Hi everyone. I run a few WP websites, and this is my first attempt at BuddyPress. This is a new install, created just a couple of days ago.
WP: 3.7.1
BP: 1.81 (Standard Buddypress theme)
Site: http://www.ebcalumni.net (closed to the public using BP-Registration-Options)Problem: Whenever I try to upload a file to change avatars, I get “Upload Failed! Error was: No editor could be selected.” The problem exists in FF, Chrome & IE.
I can upload images from the Dashboard Media page, and they upload wither I drag/drop them onto the WP window, or whether I upload them using the traditional browser upload feature. But I can’t upload them from the “Change Avatar” section.
I believe GDLibrary is installed (ran apt-get just to make sure).
I looked around here and saw a couple other people had the same problem. Any solution they found did not work for me.
Any other suggestions?
**EDIT**
– I’ve disabled all plugins except BuddyPress, and still have the problem.
– No errors show up in the Apache error_log
****LC