Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 18,426 through 18,450 (of 22,650 total)
  • Author
    Search Results
  • #76104
    Jeff Sayre
    Participant

    Many BuddyPress developers use the WordPress Plugin Repository to host their BP-based plugins. Just make sure that you include the tag “buddypress” as one of the tags in your plugins header section.

    #76097
    stwc
    Participant

    wordpress will load page.php for every page you create so you cant really customize it..

    Not necessarily.

    Echoing modemlooper, you don’t need any of that code above. If you want Pages you create in WP to have different layouts, create a template file (https://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates), upload it to the root of your theme, and when you add the new page in WP, just select the template you wish to use. Arbitrary PHP, HTML, stylesheets, whatever.

    #76091
    modemlooper
    Moderator

    You don’t need any of that code above. You can easily create a page using WP page templates.

    https://codex.wordpress.org/Pages

    #76061

    In reply to: individual/user BLOGS

    Mr. Bigsby
    Participant

    Thanks. I’m really sorry about the bumping, I didn’t know you could edit your posts.
    I don’t really do forums much. Sorry if I’m not using proper etiquette.

    I read throught the FAQs for everything and I installed quickpress but I don’t think it did anything.

    I just want each user to have their own blog with wordpress and buddypress installed is that possible?

    or do i need wordpressmu to do that?

    #76065

    In reply to: individual/user BLOGS

    r-a-y
    Keymaster

    @holgria – Try reading each plugin’s documentation or their corresponding support forum to find out more.
    eg. Posthaste FAQ – https://wordpress.org/extend/plugins/posthaste/faq/

    You might have to change the user role to “Author” in order for those plugins to work.

    “Bumping a post” means replying to your own post in an attempt to get a response.

    #76058
    dre1080
    Member

    add this to your bp-custom.php or functions.php file:

    /*Define slugs*/
    define(‘BP_EXAMPLE_SLUG’, ‘example’); /* this will show up as http://yourdomain.com/example */

    /*Add slug as a root component*/
    function page_setup_root_component()
    {
    bp_core_add_root_component( BP_EXAMPLE_SLUG );
    }
    add_action( ‘plugins_loaded’, ‘page_setup_root_component’, 2 );

    /*Show defined slug*/
    function bp_show_page() {
    global $bp, $current_blog;

    if ( $bp->current_component == BP_EXAMPLE_SLUG && $bp->current_action == ” ) {
    bp_core_load_template( ‘example’, true ); /*replace example with the name that of the template you upload*/
    }
    }
    add_action( ‘wp’, ‘bp_show_page’, 2 );

    /*For extra functionality you can add a title for that page*/
    function page_titles( $title, $b ) {
    global $bp;

    if ( $bp->current_component == BP_Example_SLUG && $bp->current_action == ” ) {
    $title = __( ‘Example’, ‘buddypress’ ); /*change Example with what you want the title of your page to be*/
    }
    return $title;
    }
    add_filter( ‘bp_page_title’, ‘page_titles’, 10, 2 );

    now create an example.php file and add this to it:

    get the header with the get_header() bp function

    Hello im an example page

    testing to see if this works

    get the footer with the get_footer() bp function

    then upload it to the root of the bp-default theme, it should be at the same level as where the header.php, footer.php files etc.. are
    now go to http://yourdomain.com/example and see if it shows..

    remember to replace ‘example’ throughout the code with what you want your slug/page to be, the template (example.php or whatever you will call it) that you upload to the theme should be the same as what you call on this line above>> bp_core_load_template( ‘example’, true );

    if its working, go ahead and customize as ud like
    hope this helps, it works for me, dont know a way to do it through wordpress though as wordpress will load page.php for every page you create so you cant really customize it..

    #76053

    In reply to: individual/user BLOGS

    r-a-y
    Keymaster

    That means you’re using standard WordPress. So you won’t see a link to blogs.

    If you set up your new users with the role of “contributor” or higher, they can post.
    Login to the WP backend and navigate to “Settings > General” and select “Contributor”.

    Then download a plugin like:

    Posthaste:
    https://wordpress.org/extend/plugins/posthaste/

    or Quick Post Widget:
    https://wordpress.org/extend/plugins/quick-post-widget/

    Also please refrain from bumping your own post every hour. Bumping your thread every 24 hours is enough.

    #76032
    Josh
    Participant

    Well how do i get the keys for wordpress so i can integrate? Also is there a guide with links to what i need for it, on how to setup bbpress so it can be used in wp with buddypress?

    Tmort
    Participant

    @r-a-y I need a little bit of help with this. My site is officialmancard.com and I’ve got wordpress running in a folder (officialmancard.com/omc/). Same issue as everyone else, all of my BP related links (My Profile, activity stream, etc) all have the /omc/ folder.

    I’ve put your code into a bp-custom.php as well as my child themes function.php but I’ve had no luck. Can you offer any suggestions?

    #75997

    In reply to: individual/user BLOGS

    r-a-y
    Keymaster

    BP Quickpress is a possibility:
    https://wordpress.org/extend/plugins/buddypress-quickpress/

    If you’re using WPMU, you could also try BP Groupblog:
    https://wordpress.org/extend/plugins/bp-groupblog/

    Though you need to create a group before you can enable a blog.

    #75994
    Marj Wyatt
    Participant

    This thread is quite interesting to me, and I do appreciate everyone’s thoughtful posts.

    I may sound silly asking some of these questions so I would like to beg your forgiveness in advance,

    1) Is WPMU still a base requirement for BuddyPress?
    2) When a membership site is using BuddyPress, WordPress or WPMU (if required), 1ShoppingCart, and Wishlist Member, is the login seamless?

    I guess further questions are relatd to the answers to these. Thanks in advance for your responses!

    #75975

    In reply to: Function Details

    Brajesh Singh
    Participant

    hi try this plugin for redirecting to profile page after login
    https://wordpress.org/extend/plugins/bp-redirect-to-profile/
    It should work with single wp too, if it does not, please let me know, I will update the plugin.

    For clicking on home link, please create a child theme, copy the header.php from bp-default to your child theme and modify it.
    Change the line which says Home in the navigation, It’s anchor url to bp_loggedin_user_domain() from site_url().

    Hope that helps.

    #75973

    In reply to: Function Details

    JPS Bhullar
    Participant

    redirection after login in WOrdpress not wordpresss mu..which function to use

    It took me a while to think about this.

    I mostly like it, but the ‘faded’ quality of the colors is weirding me out.

    • Text in the forums is a little … small. Compare it to wordpress.org and notice how their text is a little darker and larger. That is much easier to read for the majority of people, I’d think.
    • The blue for links should be darker
    • The grey for alternate posts is a great background color. Don’t change.
    • The TEXT in the post-reply form is too light.
    • The text in the Post Reply button is similarly too light.

    The other thought I have is hard to quantify, but I’m going to say it anyway. Something about the GROUPS makes it feel like a hobby site, rather than a serious ‘business’ site (yeah, I said it). I’m not sure if it’s the rounded corners missing, or the general paleness of the site, but something feels off. Casual.

    Yeah, that were crap feedback. Sorry.

    (Oh and the fact that HTML isn’t working? Like I put LI and UL in this post and it’s borked? Is frustrating.)

    #75908
    Andy Peatling
    Keymaster

    I did it with just a template. Copy and paste the members, groups, forums, and activity loops into a new template file. Add the parameter ‘search_terms=’ . esc_html( $_GET ) to each of the loops and then create a new WordPress page called search and assign the template file to it. Then just pass ?f=searchterms to the URL and bob’s your uncle.

    #75891
    Tosh
    Participant

    @vee_bee I’m using the BuddyPress Template Pack Plugin with my Single Install WP. So I updated my:
    wp-content/themes/fusion/members/single/member-header.php file with this and it works great. Shows the points for the member your viewing at the moment. Tried to get the donate link to work as well. But no success just yet.

    These forums don’t allow you to embed code like the wordpress.org forums I guess. In the echo’s I’m just surrounding it with a bold tag

    <?php
    // Cubepoints for current user
    echo ““;
    if(function_exists(‘cp_displayPoints’)){
    global $bp;
    cp_displayPoints($bp->displayed_user->id);
    }
    echo “

    “;
    // END Cubepoints
    ?>

    So how it displays on mine is:

    User @user
    1635 points

    active 6 hours, 32 minutes ago
    Cancel Friendship
    Mention this User
    Send Private Message

    #75859

    In reply to: Extending Groups

    @techguy The philosophy for wide-spread adoption is to not create any additional tables, and use meta whenever possible. This way you can rely on the internal functions of WordPress and BuddyPress to get and set that data, and you don’t have an upset site admin that needs to figure out where to put that table, how to cache it, how to serve it across multiple servers, etc…

    I also think it depends on the scope that you need to achieve. The Groups API works really well for just about anything that you would want to plug into the groups component, but at the same time there can also be a need for totally 100% custom jobs where even the built in functionality doesn’t work for your application, in which case a totally custom theme might be in order.

    All in all, I usually start with a custom plugin, that relies on the Groups API and group meta, and only use wp_sitemeta/wp_options if it’s a blanket default setting for all groups that can be changed by the site administrator.

    #75827
    Brajesh Singh
    Participant

    Either .htaccess or if that is uncomfortable, you can use some code and checkout for referrer at any of the wordpress actions like “wp” or “init” or anything else. Check for the original referrer and then redirect if the origin is not your site.

    #75819
    r-a-y
    Keymaster

    If you don’t mind dabbling with BP code… sitewide search could be implemented like this (I say “could” because I haven’t tried it yet).

    First a form needs to be created with an input field. Then, you’d need to create a new page (in BuddyPress or a page in WordPress with a page template) and add a bunch of BP loops that checks for the same input field variable.

    #75818
    pcwriter
    Participant

    @michael

    Try Modemlooper’s widgetized theme as a child theme of bp-default. It might be just what you’re looking for.

    https://wordpress.org/extend/themes/buddypress-widget-theme

    manitas
    Participant

    Thanks for your reply.

    I have tried with this line
    define(‘COOKIE_DOMAIN’, ‘localhost.localdomain’);

    but unfortunately it doesn’t work.

    By the way, it doesn’t seem to come from buddypress because wp3 has the same behavior without buddypress. That’s why i just post the same topic on wordpress.org

    Thanks again

    #75788

    In reply to: Forums setup is empty

    Mika H
    Participant

    HI again and thanx for supporting,
    I really dont see where u say i can find the ” groups” in my admin panel of wordpress site.
    See picture, where should i go exactly to find this though i cant find anything in the logical place for me to look, as in “Buddypress>>Forums setup”

    see picture:
    http://yfrog.com/jqwpproblj

    Please advice.

    #75774

    In reply to: Hide Admin

    Brajesh Singh
    Participant

    hi @r-a-y is_site_admin() and is_admin() are very different. is_admin() checks whether you are inside wordpress admin or not.
    @scotm
    How about making the activity of admin user private
    `add_filter(“bp_activity_hide_sitewide_before_save”,”make_admin_activity_private”,10,2);
    function make_admin_activity_private($hide_sitewide,$activity){
    //get the current activity
    if(current_user_can(‘manage_options’))//user is admin
    return 1;
    else
    return $hide_sitewide;

    }
    `
    Hopefully the code goes through this forum.

    #75772
    José M. Villar
    Participant

    @Anthony why don’t you check if “allow new registrations” is enabled at “options” under “site admin” in your wordpress backend ? Read the same question today and provided the same answer, let’s hope it is the same problem !

    #75769
    NY Law
    Participant

    I am really a big fan of buddypress.

Viewing 25 results - 18,426 through 18,450 (of 22,650 total)
Skip to toolbar