Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,026 through 6,050 (of 32,690 total)
  • Author
    Search Results
  • #257180
    r-a-y
    Keymaster

    I don’t believe this is a BuddyPress issue. When you change your permalinks, are you able to visit a regular WP post permalink? If not, it’s a WordPress issue.

    I would say make sure your server is able to write to the .htaccess file.

    Also, you might have to alter your .htaccess file to add the following to the top of the file:

    Options +FollowSymlinks

    #257171
    Paul Wong-Gibbs
    Keymaster

    Yes. There’s some sort of bug in the W3 Total Cache’s object cache file. Last time a few of us looked into it, we didn’t figure out what the problem was. However, we tested several other object cache loaders (I think https://github.com/tollmanz/wordpress-pecl-memcached-object-cache and https://wordpress.org/plugins/wp-redis/) and the problem did not exist. i.e. it’s a problem with W3TC.

    I don’t have any advice other than the unhelpful “don’t use W3TC for object caching”. 🙁

    #257170
    Paul Wong-Gibbs
    Keymaster

    If you set permalinks to something not-default, and then visit a wordpress blog post on your site, does it work?

    delfindelfin
    Participant

    In my WordPress Dashboard, I get a message that says:

    BuddyPress is almost ready. You must update your permalink structure to something other than the default for it to work.

    But if I change the permalink structure to something other than the default, when I visit the pages that I have, I get a 404 not found error. How can I fix this problem?. I am running WordPress in my own server.

    I also uploaded an image of my root directory

    Files

    #257159
    maxlinux2000
    Participant

    Hi all,

    I’m new here. a big hello to the community!!

    I’m tring to hacking an external WP plugin in order to works with buddypress.
    The Plugin is WP Mobile Menu

    My idea is to add some buttons in the header to this plugin, in order to make easy for the user open some useful page, like Activity, Profile an so on.

    Actually Is working just fine, with this code:

    $current_user = wp_get_current_user();
    // Profile
    $output .= '<div id="toolbar-profile" onclick="location.reload();location.href=\'http://example.org/members/';
    $output .= $current_user->user_login;
    $output .=   '\'"></div>';

    …but…but… if the username contain a dot character, buddypress transform the dot in ‘-‘ so pressing the button above, the user obtain a 404 page… and some users of mine, are using a email address as username.

    So I’m trying to modify my code so, but it doesn’t work at all.

    global $bp;
    $userlink = get_bp_loggedinuser_link();
    // Profile
    $output .= '<div id="toolbar-profile" onclick="location.reload();location.href=\'http://example.org/members/';
    $output .= $userlink->user_login;
    $output .=   '\'"></div>';
    

    Someone know ho to import the bp_loggedinuser_link() variable in a external WP plugin?
    (it’s not a 3th part buddypress plugin)

    regards
    MaX

    #257158
    djdog123
    Participant

    Hello,

    I am fairly new to the BuddyPress/WordPress software and am trying to create a website that is focused on groups. At this point, I am wondering how to create more tabs under each group page (e.g. About Us, Contact Us, etc.)

    Any sort of help is greatly appreciated.

    Thank you,
    Matt

    #257147
    buddycore
    Participant

    I’m going to design & develop a theme for BuddyPress to help pay the bills around here.

    The theme will be made open-source until I have an audience then I may put a price on the theme to maintain it and help pay my bills.

    This is my research before embarking on the project. I’d really appreciate the help.

    Should I make a light or dark theme?

    What components are most important, I will build in this order and release for testing once each component is functional. Please order accordingly.

    1. Activity Stream
    2. Member Profiles
    3. Member Directory
    4. Group Pages
    5. Group Directory
    6. Network
    7. BBPress Forums

    Are you interested in being a beta tester? You will get access to the theme files to use in your own projects in return.

    What customisations would you like built in? Things like custom logos, and colours? That type of thing.

    How many custom navs are required?

    Do you want full WordPress support for posts and pages? Things like post format, post thumnbails and HTML5 when and where possible.

    What about templates, would you like an optional custom front-page?

    Anything else you feel like discussing please do so.

    After the theme gets off the ground I may decide to release it as a premium theme to help pay the bills, but for now I’m looking for an audience to get started with.

    Lastly, I was going to blog about the progress in my site buddycore.com to keep anyone who is interested up to date.

    Thanks for your help.

    #257144
    buddycore
    Participant

    First you are creating a custom function called automatic_group_membership() this takes one parameter $user_id.

    This function terminates if there is no $user_id provided, meaning you don’t run rogue code and your site is more optimised.

    When a $user_id is present the groups_accept_invite() function is run. This function is a BuddyPress core function you can find it in wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php on line 1400.

    It accepts two parameters a $user_id and a $group_id. You need both in order to create the relationship.

    This function is “hooked” with add_action() which is a WordPress core function. This function add_action() has many hooks available for various situations. You can read more about hooks here https://codex.wordpress.org/Plugin_API/Hooks.

    Essentially it’s an opportunity to run your own code against WordPress core, or in this case BuddyPress core. BuddyPress provides the hook and we use them to achieve cool things.

    So the hook in this case is bp_core_activated_user and the code we want to run when this hook is available would be the customer function automatic_group_membership which is passed as a second parameter.

    I’m not sure where the $user_id gets populated along the way here, nor the $group_id maybe someone can help?

    Otherwise, I would do this not on activation but when a user has logged in for the first time.

    Then we have access to global $bp which contains a loggedin_user->id which can be used with this function and you could manually set the $group_id in bp-custom.php

    #257138
    pandafoxxxx
    Participant

    Hello,

    Im busy with a theme and have an notification menu in the nav. I tried to find a code so when I press a button under the current notifications, they all get marked as read without going to the notification page and marking them as read or ticking boxes and using bulk select. Im relative new to php and I hope somebody can help me here 🙂

    Buddypress: 2.6.1.1
    Wordpress: 4.5.3

    #257109
    andyeuph
    Participant

    Wordpress version – 4.5.3 running suffusion theme
    Buddypress version – 2.6.1.1
    Web address http://www.theeuphonium.com

    On the groups page the ‘groups’ button does not allow the creation of groups, even when logged in as admin. The only way I can create a group as an admin is to go to the dashboard and do this from there. I would like users to be able to create their own groups. Even when logged in as a contributor who has that role allowed, this is not possible as the add group function does not appear in their dashboard, and the add group button does not work on the groups page. Also on both the groups and member pages the search bar is cut off at the top so is not useable.
    Thanks
    Andy

    kennedyfc
    Participant

    When I enable allow customizable avatar for groups it messes up any line in the activity feed of when a ser joins a group.

    It displays like this

    Robin Wright joined the group Volunteer Pack</Group logo of Volunteer Packa> 6 days, 13 hours ago.

    In the place above where the “logo of volunteer pack” is, it actually shows the group avatar not the words. I installed wordpress from a folder to install a Multisite network. Using a wildcard to create other subdomains. Please help, I am new to wordpress and it’s driving me insane

    #257105

    In reply to: Login Redirect

    coffeywebdev
    Participant

    You could try using the WordPress API, there is a function called login_redirect()

    /**
     * Redirect user after successful login.
     *
     * @param string $redirect_to URL to redirect to.
     * @param string $request URL the user is coming from.
     * @param object $user Logged user's data.
     * @return string
     */
    function my_login_redirect( $redirect_to, $request, $user ) {
    	//is there a user to check?
    	if ( isset( $user->roles ) && is_array( $user->roles ) ) {
    		//check for admins
    		if ( in_array( 'administrator', $user->roles ) ) {
    			// redirect them to the default place
    			return $redirect_to;
    		} else {
    			return home_url();
    		}
    	} else {
    		return $redirect_to;
    	}
    }
    
    add_filter( 'login_redirect', 'my_login_redirect', 10, 3 );

    You need to add something like the code above your child theme functions.php file, or you can create a plugin and add this code to it.

    https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect

    Henry Wright
    Moderator

    I haven’t read that article but I mean using a complete WordPress install as a testing environment. It’s important to have something separate from your live website.

    SophieVerlinden
    Participant

    Thanks for your quick reply.
    Is this what you mean? https://codex.wordpress.org/Test_Driving_WordPress

    Could there also be another solution, something I didn’t mention already?

    #257088

    Topic: Groups creation

    in forum Showcase
    andyeuph
    Participant

    Wordpress version – 4.5.3 running suffusion theme
    Buddypress version – 2.6.1.1
    Web address http://www.theeuphonium.com

    On the groups page the ‘groups’ button does not allow the creation of groups, even when logged in as admin. The only way I can create a group as an admin is to go to the dashboard and do this from there. I would like users to be able to create their own groups. Even when logged in as a contributor who has that role allowed, this is not possible as the add group function does not appear in their dashboard, and the add group button does not work on the groups page. Also on both the groups and member pages the search bar is cut off at the top so is not useable.
    Thanks
    Andy

    #257084
    thilina82
    Participant

    Hi,

    I am new to wordpress and launced a buddypress site recently.

    I want to customize the registration confirmation text and the text on the top of registration page “Registering for this site is easy. Just fill in the fields below, and we’ll get a new account set up for you in no time.”.

    I changed and saved both text in the register.php file but no effect. Register page still shows the old Text. I tried deactivating BuddyPress and re-activating again. even that did not help.

    I am using BuddyPress 2.5.3 with BuddyBoss theme version 2.1.3

    Appreciate your help to solve this. Thanks in Advance.

    Thilina.

    buddycore
    Participant

    I use a shared hosting environment and performance is sluggish at best and I’ve taken a lot of time to develop a theme that is barebones with regard to what WordPress and BuddyPress both give you.

    So, you may want to setup in an environment where you can be provisioned for more hardware resources or better hardware.

    Like Paul says though, there are many successful sites out there. I’d do your research and speak with the host.

    I’m not savvy in this area, only speaking from experience,

    tajanator
    Participant
    I have wordpress version: 4.5.3
    All plugins / themes are currently up to date.

    Not sure why, but none of my profiles will load. I don’t seem to be having any other issues, that I can see. But when you click on anyone’s “profile” including your own, it just loads and eventually gives up loading followed by this error message:

    The tajanator.com page isn’t working
    tajanator.com redirected you too many times.

    I am not sure what to do with this. I have tried disabling plugins to see if something was distrupting the buddypress plugin, but that didn’t change anything.

    The members page loads just fine if you want to test my issue out:
    http://tajanator.com/members

    Anyone have any idea what is going on here?

    #257067
    Henry Wright
    Moderator

    The bp_activity_add action fires at the end of adding a new activity item. So you can hook a custom function to that and add your custom post within that. Here’s an example:

    add_action( 'bp_activity_add', function( $r ) {
    
        // Insert a new post.
        wp_insert_post(
            array(
                'post_type' => 'activitfeed',
                'post_title' => __( 'Hello world', 'text-domain' ),
                'post_content' => $r['content'],
                'post_status' => 'publish'
            )
        );
    } );

    Ref: https://developer.wordpress.org/reference/functions/wp_insert_post/

    Paul Wong-Gibbs
    Keymaster

    > Whats the maximum visitors you can have on a site using your plugin and wordpress

    There is no easy answer for this. WordPress runs well on a variety of small to extremely large sites. Scalability comes down to the exact code being run on the site, the amount of traffic and user interaction, and the infrastructure supporting the site.

    Using a metric such as “number of visitors” isn’t particularly useful when it comes to community or e-commerce sites, because those require lots of user interaction, and that impacts performance differently to “read-only” sites. By that, I mean like newspapers, where visitors just read articles.

    #257060
    Paul Wong-Gibbs
    Keymaster

    The member filtering isn’t going to work like that by default. You’d need to write some code, though I think it’d work.

    The bigger question for you is to decide how you want the BuddyPress/social data to behave across all these sites. You either want to activate BuddyPress network-wide in WordPress, or consider enabling multiblog mode: https://codex.buddypress.org/getting-started/customizing/bp_enable_multiblog/

    sharmavishal
    Participant

    “heavy traffic sites WordPress and plugins will struggle with a bottle neck being caused”

    Kindly explain the above in detail as to how your external php developer reached to this conclusion? If he can specify the bottlenecks would help

    PS: i do run couple of BP+WC enabled sites and it does have tangible traffic and i dont find it slow or sluggish

    black6f7574
    Participant

    How can I restrict access (to a role or an user) to Buddypress’ private messaging system? I was trying to use the current_user_can WordPress function, but it requires the capability as the argument. The problem is that buddypress doesn’t make use of any sort of role. So, what would be the right way to do it?

    biginternational
    Participant

    I work for a UK organisation and we are building a new computer games marketplace for a our retail devision and they predict large volumes of traffic from the offset. We have a dedicated server ready for hosting and we are planning to use your BuddyPress plugin along with WooCommerce. On speaking with an external PHP developer we use today he noted that on heavy traffic sites WordPress and plugins will struggle with a bottle neck being caused. Whats the maximum visitors you can have on a site using your plugin and wordpress before the system becomes slow and slugish and potentially damaging our brand with a poor experience. Any advice with potential limitations would be greatly appreciated we want to provide our loyal gaming community customers with a great social hangout space for communicating. cheers Paul

Viewing 25 results - 6,026 through 6,050 (of 32,690 total)
Skip to toolbar