Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 4,551 through 4,575 (of 32,678 total)
  • Author
    Search Results
  • #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.

    #267233
    shanebp
    Moderator

    You can turn off registration.
    Head over to Settings » General page in your WordPress admin area. Scroll down to the ‘Membership’ section and uncheck the box next to ‘Anyone can register’ option.

    #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

    #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;
    }
    #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.

    #267208
    r-a-y
    Keymaster
    #267206
    Shmoo
    Participant

    Wouldn’t it be more WordPress hierarchy -like if we did something like this to the activity items?

    Maybe instead of the solo entry.php template.

    
    bp_get_template_part( 'activity/types/content', bp_get_activity_type() );
    

    The bp_activity_action() function is probably the most disliked function/action in BuddyPress for myself. This really annoys me like crazy. When creating custom themes for BuddyPress you can easily delete the nav system function and replace them with your own code or create custom menu’s and buttons wherever you want them to show up but the activity stream is by far my least favourite part of the plugin all because of the above function and everything is so glued together, barely customisable.

    Activity items are essentially the same thing as WordPress post formats inside a blog index. I believe they should have their own post-format style of templating just like WordPress does with one pre-build example. An update about a new member or a member writing something on his own are basically the same things as an update + default post format -post to WordPress.

    We could create a single content.php file instead of the entry.php with all the HTML + solo php template functions inside them so they are easily to move around and alter if you like.
    Wen you want your date at the bottom of the activity item, just grab the HTML container + PHP from the top of the document and move it below the content. If you want to go any deeper, just duplicate content.php and rename it to the activity post type you would like to customise and give an unique ‘snippet’ in the stream.

    I’ve been testing this for a few minutes now and it just works. It’s kinda pretty to be honest. The only thing I have to do now is strip apart that bp_activity_action hook function and add all the solo or separate functions to the content.php template.

    Sources:
    Template 1
    Template 2

    #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

    <form action=”” name=”signup_form” id=”signup_form” class=”standard-form”
    when I remove the class standard-form in the inspect element/console/DOM Explorer of IE

    I can then add text to the fields.
    I was also able to submit the FORM successfully.

    Im not sure how to solve though as I am not a PHP developer and I don’t know how to navigate wordpress files since I am new to wordpress.

    Please help THanks.

    #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,

    #267144
    Henry Wright
    Moderator

    Is https://www.example.com/example/ a WordPress page? If it is you can target it with

    if ( is_page( 'example' ) ) {
        // Do something.
    }

    Also, I just added the code below and I can still access the members directory when not logged in

    Where did you add the snippet? The code should work.

    #267132
    Henry Wright
    Moderator

    Or you can try to access to some page in WordPress admin area (e.g.: with an ajax call) ?

    BuddyPress doesn’t do this by default. Considering you can’t reproduce, I expect the client is using custom code that’s causing the problem (either in their functions.php file, bp-custom.php file or in an activated plugin). Check those 3 locations on your client’s site for anything strange.

    #267129
    magland
    Participant

    Just to add something further I think this is specifically an issue with Safari. Just tried chrome on my iphone and it works ok. Several other people reporting the problem on the iphone and they are also using Safari.

    However, the default WordPress media uploader does work in Safari.

    magland
    Participant

    Hi,

    Profile covers and avatar uploads don’t appear to be working on ios devices.

    I’ve tested an old ipad and iphone 7.

    Clicking the ‘Select a file’ button simply does nothing.

    It works find on a desktop with chrome. Also works fine on my android phone.

    I’ve added this to my bp-custom.php

    if ( wp_is_mobile() ) {
    add_filter( ‘bp_avatar_is_front_edit’, ‘__return_false’ );
    }

    This gets it working using the old fallback interface for iphone with the added benefit of keeping the avatar UI in place for desktops.

    The above fix doesn’t help with cover images though.

    Is there another equivalent filter to disable the avatar UI but for cover images?

    Alternatively is there a better solution?

    The html for the button seems to be:

    <input id=”bp-browse-button” type=”button” value=”Select your File” class=”button” style=”position: relative; z-index: 1;”>

    Would it help to simply change this to type=”file”? Something like:

    <input type=”file” accept=”image/*” capture=”camera” />

    I’ve seen this article referenced:
    A good way to shape the future of BuddyPress Attachments is to take care of Avatars

    In that article it mentions camera enabled devices and I can see a screenshot where there is a camera tab. I don’t get this option on my mac with a webcam in either chrome or safari. Do I need to enable this or should it work?

    #267127
    Andrea Grillo
    Participant

    Hi,

    no I’m not. I think….I have an option to prevent Shop Manager view WordPress backend, probably you use some backend action ? Or you can try to access to some page in WordPress admin area (e.g.: with an ajax call) ?

    Let me know.
    thanks for your help.

    Have a nice day
    Andrea

    Hugo64
    Participant

    Hi @johnriggs78,

    Thank you for your answer.

    Let me precise my message: If I install the 2.8. version and above, the install will be done, and the main site will run, but not the subsites with Error 500.
    This is also the case with only buddypress activated in my wordpress, which shows it is a problem of Buddypress plugin.
    Best,

    Hugo

    #267093
    kleobud
    Participant

    Does anyone know if it is possible to integrate mailchimp with bp so that mailchimp, rather than wordpress, sends out bp emails such as notifications for private messaging,etc.?

    zustudios
    Participant

    Wordpress 4.8
    Buddypress 2.8.2
    Theme Themify Ultra

    Is there a buddypress customization plugin?
    How do I customize buddypress templates with themify ultra? (profile,groups,etc)
    How do I hide certain users from the members list?
    How do I allow users to control privacy? (profile,albums,post)
    What are the most popular(most used) buddypress? (wordpress doesn’t work well with too many plugins.)
    Any step by step tutorials in english?(youtube) It’s easier to learn when I can see it.
    Why doesn’t Buddypress.org have an official youtube channel?

    prinxe.gupta
    Participant

    Hey guys,

    I need urgent help.
    So I installed buddyPress on a completely fresh install of wordpress on twenty sixteen theme.
    There are no other plugins present except buddypress.
    I have done a completely fresh install of wordpress just to make buddypress work but it didn’t.
    When I visit BP pages, I just get a blank page inside the theme.
    I am running locally on wamp and not able to figure out anything.
    Please help

    TIA

    #267083
    brucelewis55
    Participant

    HI, we have worked on some add ons in buddypress.

    https://profiles.wordpress.org/wbcomdesigns#content-plugins

    ruchika88
    Participant

    Hi, I am struggling to get a profile page as it shows 404 error. Also notification and other profile related pages show 404 error. Have deactivated all plugins to test if any code conflict but that also didn’t resolve the issue.

    Links to pages:Profile page
    Activity:profile activity
    Notification:notification

    All other pages related to profile that showup on right corner when the member is signed in show 404 error.

    wordpress version:4.8
    Buddypress version:2.8.2
    Also have installed bbpress:2.5.12
    Wordpress Theme: customizr child theme

    Please help and thanks in advance.

    Hugo64
    Participant

    Sorry I post this here because I had no answer in the section Installing BuddyPress

    Hello,

    I cannot upgrade my website to buddypress 2.8.0 or above versions because of code error 500 in the subsites. I had to downgrade it to 2.7.4…

    Wordpress 4.7.2.

    Buddypress 2.7.4.

    Main site is http://www.jugaralsquashenmadrid.com and subdirectories /madrid and /madridsur

    Thanks in advance for taking a look at it!

    Cheers

    Hugo

Viewing 25 results - 4,551 through 4,575 (of 32,678 total)
Skip to toolbar