Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,576 through 10,600 (of 73,986 total)
  • Author
    Search Results
  • Eric Thomas Weber
    Participant

    Hi! I did follow the documentation. You’re right that those two pages work. Both of those pages use a certain template within the theme. That template uses a full-width page, without the sidebar and search bar that are on other pages. I’ve a few things to see what can remedy the matter:

    1) Yes, I switched to a different template to test, and yes, on the 2016 template, BP works, so I don’t need to reinstall BP or get it working on its own. That part is working. I didn’t realize I’d have to reset all of my widgets and stuff. Fortunately, they weren’t deleted… Got those set up again.

    2) I tried making all other relevant pages, creating pages for the stuff that BP uses, and setting each of those to use the template that works for Activity, Members, and Chapters. That didn’t work, though.

    3) I tried creating a Custom CSS entry that uses the .buddypress class, telling it to use full-width for #primary. That made the page use full-width, but it didn’t make the functionality of BP work… Like on this page:
    https://www.philosophersinamerica.com/chapters/create/step/group-details/

    Please help! I’ve reached out to my theme’s creator – and there’s no changing to a different theme. We’re super committed and it works really well for everything else, and he’s had no experience using BuddyPress. I need help! This is just the plugin I’ve been looking for to help my people create groups that they need to manage.

    It seems to me that if we’re able to get some of the pages to work there’s GOT to be a way to get other relevant pages to use whatever that same setting is to work also. Any help would be hugely appreciated.
    Best,

    Eric

    #267239
    Henry Wright
    Moderator

    I just don’t know what impact this will have on overal performance when I go wish in other tables for content.

    It depends. WordPress and BuddyPress do a great job when it comes to optimising queries but there are things that will cause a big site to simply fall over (the meta_value column isn’t indexed for example so meta querying could be problematic).

    #267238
    mirakaiser
    Participant

    I’m running WordPress 4.8 on IIS (version 10.0.15063.0), with theme twenty seventeen (version 1.3).

    I am quite new to BuddyPress (and very excited to get into it). I installed BuddyPress (version 2.8.2). A “Members”-page was created, but when viewing this page, it’s just an empty twenty-seventeen-page (it has the header, title, footer, but no members). I made sure permalinks were pretty.

    I tried the exact same steps on a live domain, and I had no problems: my username was mentioned as a member.

    Is this an IIS thing? I couldn’t find any mention that BuddyPress doesn’t work on IIS. Any help would be greatly, greatly appreciated! I’ve been stuck for hours.

    shanebp
    Moderator

    Some BP pages load as expected:

    http://www.philosophersinamerica.com/activity/
    http://www.philosophersinamerica.com/members/

    Did you follow the documentation?

    Configure BuddyPress

    To determine if the issue is related to your theme, try switching momentarily to a WP theme like 2016 and see if the issues persist.

    #267230
    Henry Wright
    Moderator

    get_post() will get a WordPress post from the wp_posts table. This is different to a BuddyPress activity item which is stored in the wp_bp_activity table.

    x3mp
    Participant

    Hey I want to set my own language, so I read that you needed to edit the file in the buddypress folder in languages, but that folder isn’t there. It also says I need to create it. How do I do this? I need 2 files. An .mo and a .po if I’m correct.

    Im using WordPress 4.8
    And BuddyPress 2.8.2

    #267227
    dvpl
    Participant

    I am using buddypress and bbpress, one of my client reported an issue. When he edited any topic title and permalink, on activity page it does not reflects, After looking into same I found that the activity action data with topic title and link is stored in activity table and getting fetched directly.

    This is causing lots of 404 links issue, I think activity table should store only reference of the topic title and link, same for the forum name and link also.

    Kindly help me to find a quick solution for the same.

    Eric Thomas Weber
    Participant

    Hi,

    I’m using the Get Noticed Theme! which I love. I’ve just discovered buddypress and it looks awesome, but I’m struggling to get it to work. I only get blank pages for all the BuddyPress stuff. I’ve discovered that if I make the parent pages (Chapters, for me, rather than “Groups”) the “Media Kit” template in my theme, it’ll show the content of the BuddyPress stuff for that page. Here’s the one page I’ve gotten to show anything more than blank:

    Chapters

    BUT, when you click on “Create a Group,” it wants to open more pages, and they don’t work. I tried making them also the same “template” within the theme, but that doesn’t seem to work. Can you help me figure out what’s going on? What can I do? I’ve downloaded Widget Options, but haven’t had a chance to tinker with that. It seems like it’s more than just a widget issue, as the theme also has a search bar thing that’s relevant, which goes away when you pick the “Media Kit” template. Thoughts? Any help would be most appreciated!!

    Eric

    #267221
    livingflame
    Participant

    Try with this:

    function tubs_sanitize_user($username, $raw_username, $strict) {
        $new_username = strip_tags($raw_username);
        // Kill octets
        $new_username = preg_replace('|%([a-fA-F0-9][a-fA-F0-9])|', '', $new_username);
        $new_username = preg_replace('/&.?;/', '', $new_username); // Kill entities
    
       // If strict, reduce to ASCII for max portability.
       if ( $strict )
            $new_username = preg_replace('|[^a-z0-9 _.\-@+]|i', '', $new_username);
    
        return $new_username;
    }
    add_filter( 'sanitize_user', 'tubs_sanitize_user', 10, 3);

    Source

    Or try with this:

    // Force Strong Username
    function strong_username() {
     global $bp;
    
     if ( !empty( $_POST['signup_username'] ) )
       if ( !valid_username( $_POST['signup_username'] ) ){
        $bp->signup->errors['signup_username'] = __( 'Your username is not strong enough. Use uppercase, lowercase, numbers and special chars like - _', 'bp-strong-username-password', 'buddypress' );
       }
     }
     add_action( 'bp_signup_validate', 'strong_username');
    
     function valid_username($candidate) {
       $r1='/[A-Z]/';  //Uppercase 
       $r2='/[a-z]/';  //lowercase
       $r3='/[0-9]/';  //numbers
       $r4='/[-_]/'; //Special chars, underscore...
    
       if(preg_match_all($r1,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r2,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r3,$candidate, $o)<1) return FALSE;
       if(preg_match_all($r4,$candidate, $o)<1) return FALSE;
       if(strlen($candidate)<6) return FALSE;
    
       return TRUE;
    }
    metaverso
    Participant

    BuddyPress 2.8.2 (Fatal error on php, 7.0.21 and 7.1.7)

    ON PHP 7.0.21
    Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /home/xx/public_html/w/xx.com.br/wp-content/themes/wplms/functions.php:60 Stack trace: #0 /home/xx/public_html/w/xx.com.br/wp-settings.php(424): include() #1 /home/xx/public_html/w/xx.com.br/wp-config.php(89): require_once('/home/xxx73/...') #2 /home/xx/public_html/w/xx.com.br/wp-load.php(37): require_once('/home/xxx73/...') #3 /home/x/public_html/w/xx.com.br/wp-admin/admin.php(31): require_once('/home/xxx73/...') #4 /home/xx/public_html/w/xx.com.br/wp-admin/plugins.php(10): require_once('/home/xxx73/...') #5 {main} thrown in /home/xx/public_html/w/xxx.com.br/wp-content/themes/wplms/functions.php on line 60

    ON PHP 7.1.7 (Sometimes this error occurs for no reason. And the error disappears for no reason as well)
    Fatal error: Uncaught Error: [] operator not supported for strings in /home/xx/public_html/w/xx.com.br/wp-content/plugins/vibe-course-module/includes/bp-course-classes.php:106 Stack trace: #0 /home/xx/public_html/w/xx.com.br/wp-content/plugins/vibe-course-module/includes/bp-course-template.php(625): BP_COURSE->get(Array) #1 /home/xx/public_html/w/xx.com.br/wp-content/themes/wplms/course/my-courses.php(20): bp_course_has_items('user_id=893&per...') #2 /home/xxx73/public_html/w/xxx.com.br/wp-includes/template.php(688): require_once('/home/xxx73/...') #3 /home/xxx73/public_html/w/xxx.com.br/wp-includes/template.php(647): load_template('/home/xxx73/...', true) #4 /home/xxx73/public_html/w/xxx.com.br/wp-content/themes/wplms/members/single/course.php(41): locate_template(Array, true) #5 /home/xxx73/public_html/w/xxx.com.br/wp-includes/template.php(688): require_once('/home/xxx73/...') #6 /home/xxx73/public_html/w/xxx.com.br/wp-includes/template.php(647): load_template in /home/xxx73/public_html/w/xxx.com.br/wp-content/plugins/vibe-course-module/includes/bp-course-classes.php on line 106


    Only working in PHP version 5.x
    πŸ™

    **using theme WPLMS 2.9.2**

    #267211

    In reply to: Help with this code

    Henry Wright
    Moderator

    is_user_logged_in() is a WordPress function. It’ll return true if the user is authenticated and false if not.

    bp_loggedin_user_id() will return the ID of the BuddyPress member currently logged in.

    The two functions are different.

    #267209
    livingflame
    Participant
    #267208
    r-a-y
    Keymaster
    #267199
    vecturn
    Participant

    So ever since buddypress was installed users can only register accounts with lowercase usernames and just alphanumeric but I want to add the ability for users to sign up with capital letters in their usernames as well as an underscore if needed.

    I have already tried the “Network Username Overrides” plugin which doesn’t seem to change anything else I still get the error message no matter what settings I use for that plugin.

    Any ideas how to fix this preferably without modifying the core?

    #267198
    x3mp
    Participant

    Hi, Im running into a problem here. I want to add something in my menu that refers direct towards the users profile. I do not have the profile option when I check buddypress in my Screen Options.
    https://gyazo.com/6a3ee4e14085d9695276129875ac7aea
    This is a screenshot of my menu page

    If you need anymore information please ask and thanks in advance.

    WordPress verion 4.8
    Buddypress version 2.8.2

    notamongsheep
    Participant

    I’m having trouble overriding Buddypress template files following the directions and documentation listed here:
    https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    For example, I have modified member-header.php.

    Here is my website’s file structure: child-theme > buddypress > members > single > member-header.php
    And this is Buddypress’ file structure: bp-templates > bp-legacy > buddypress > members > single > member-header.php

    Now, I’m wondering if my parent theme (VideoPro) might have something to do with this not working.
    Must my child theme be a direct child of Buddypress for this to work?

    I have an NDA contract for who I am working with on this, so I can’t provide a link for the website. I can, however, provide screenshots to some degree.

    Both my WordPress installation and BuddyPress installation are up to date and using the latest versions (as of the date of this post)

    antelam
    Participant

    I can not enter any characters in any of the input fields on the registration page.
    When I inspect the elements they do not appear to be present in the DOM but do show visually on the screen.
    I checked in Chrome, IE, mobile chrome and native android browser.
    VERSIONS:
    buddypress: 2.8.2
    wp: 4.8
    php: 5.4
    Please help
    Thank you

    #267165
    Henry Wright
    Moderator

    What code do you have at line 102 in themes/buddyapp/lib/plugins/buddypress/navigation-icons.php?

    zacharydash2013
    Participant

    Got this error months ago and have never been able to fix it. Can anyone help me with a random act of kindness on how to fix this? =)

    http://www.everkind.life/

    Warning: Illegal string offset ‘slug’ in /home/everkind/public_html/wp-content/themes/buddyapp/lib/plugins/buddypress/navigation-icons.php on line 102

    Shmoo
    Participant

    I don’t have super advanced PHP skills so I made this as a start to show off only 3 profile fields (will be svg icons later) ..when their set of course.

    
    <?php
    	$twitter = bp_get_member_profile_data( 'field=Twitter', bp_get_member_user_id() );
    	$instagram = bp_get_member_profile_data( 'field=Instagram', bp_get_member_user_id() );
    	$website = bp_get_member_profile_data( 'field=Website', bp_get_member_user_id() );
    
    	if ( isset( $twitter, $instagram, $website ) ) {
    
    		echo '<div class="test">';
    
    			if ( isset( $twitter ) ) {
    				echo '<span>'. $twitter .'</span><br>';
    			}
    			if ( isset( $instagram ) ) {
    				echo '<span>'. $instagram .'</span><br>';
    			}
    			if ( isset( $website ) ) {
    				echo '<span>'. $website .'</span><br>';
    			}
    
    		echo '</div>';
    	}
    ?>
    

    I have this feeling, this can be made better or nicer within some sort of loop instead of all those IF statements.

    Usually I use Advanced Custom Fields Pro for those kinda of things because of their detailed Documentation and examples but I thought it would be overkill to use ACF only for 3 simple fields while BuddyPress has this inside the core.

    Thanks.

    #267157
    wzshop
    Participant

    Ok found that you can just create a child template for /buddypress/members/members-loop.php

    #267153
    akram84
    Participant

    Greetings and thanks for the great plugin
    I have a problem creating a group in buddy press from a mobile view

    This is the image : https://ibb.co/eQjp5Q
    This is the website: http://www.overduty.com
    This is the WordPress theme: https://themeforest.net/item/transfers-transport-and-car-hire-wordpress-theme/12481479

    Seeking your help
    Kind regards,

    #267149
    Shmoo
    Participant

    Hi,

    Don’t know if this codex page is still up to date but I’m trying to exclude a bunch of activity stream items from my site.

    Posting Activity from Plugins

    So I made this.

    
    function dont_save_various_activities( $activity_object ) {
    
    	$exclude = array( 'activity_update', 'new_avatar', 'new_member', 'friendship_accepted', 'friendship_created', 'created_group', 'joined_group', 'new_blog' );
    
    	if ( in_array( $activity_object->type, $exclude ) )
    		$activity_object->type = false;
    
    }
    add_action( 'bp_activity_before_save', 'dont_save_various_activities', 1, 1 );
    

    This excludes almost everything from the activity stream but for some reason you can’t target the ‘… profile was updated …’ activity item. That one keeps showing up when some user edits their profile.

    I only want to record, new: blog posts, comments, topics and replies.

Viewing 25 results - 10,576 through 10,600 (of 73,986 total)
Skip to toolbar