Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 119 total)

  • peter-hamilton
    Participant

    @peter-hamilton

    Lol, back again, still working hard with the Buddypress, all going very good and have a “facebook killer” of a site that I am very happy with.

    seedclub.org

    But is “adult” content if Cannabis falls under that warning…lol


    peter-hamilton
    Participant

    @peter-hamilton

    same here @mcpeanut very busy but loving life


    peter-hamilton
    Participant

    @peter-hamilton

    Too many plugins running and some conflicts happening?


    peter-hamilton
    Participant

    @peter-hamilton

    Ofcourse you could also go to…

    dashboard > settings > menus

    And select “profile” from the “buddypress” menu options on the left, if you do not see any buddypress links you should click the “screen options” on right top of page and select buddypress.


    peter-hamilton
    Participant

    @peter-hamilton

    So you want a link to logged in users profiles, clarify where this link should be…in the header?
    You should make a child-theme and add some code to a new header.php.

    <li><a href="<?php echo bp_loggedin_user_domain(); ?>" class="profilelink" title="My Profile">Profile</a></li>

    You must place this code just before the </nav> code, or at any spot in the header you wish.

    Thisprobably means you need to learn how to make a child-theme in wordpress first, very important.


    peter-hamilton
    Participant

    @peter-hamilton

    You could make a child-theme for nikkon and add a css file there with the changes.


    peter-hamilton
    Participant

    @peter-hamilton

    I think you need a child-theme and change the header.php to include your custom navigation, I have created a similar menu but did require a lot of work in the header.

    Full profile functionalities added to the main navigation

    When new messages the number of messages shows in the message-icon, links to profile page, also woocommerce integrated and a dashboard link for admin only.

    The following is in my custom header.php

    First code links to profile.
    <li><a href="<?php echo bp_loggedin_user_domain(); ?>" class="activitylink" title="My Account"><span class="dashicons dashicons-admin-users"></span></a></li>

    This code deals with messages.

    <li><a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/messages/'; ?>"><span class="dashicons dashicons-admin-comments"></span><span class="commentcount"><?php if (bp_get_total_unread_messages_count( bp_loggedin_user_id() ) > 0 ) { ?> <?php bp_total_unread_messages_count( bp_loggedin_user_id() ) ?><?php } ?></span></a>
    </li>

    Since I did not want too much in my nav I only used these buddypress features, more would clog up my website too much.

    But where it comes down to is with a child-theme you can make it exactly as you like.

    Good luck
    P.H.


    peter-hamilton
    Participant

    @peter-hamilton

    I guess the only way to achieve this is to create a child-theme and override the buddypress templates there, then your theme stays ok unless they make a major change with hooks etc.


    peter-hamilton
    Participant

    @peter-hamilton

    there is a plugin called “BuddyPress Activity Stream Bump to Top”.
    I use it and does exactly that.


    peter-hamilton
    Participant

    @peter-hamilton

    Not done it, can not help, but applaud your choice to change vbulletin for buddypress.


    peter-hamilton
    Participant

    @peter-hamilton

    lol, did not mean to break your head.

    Do you have a child-theme?

    If you add the following code to your functions.php your members should return to the page they logged-in from.

    if ( (isset($_GET['action']) && $_GET['action'] != 'logout') || (isset($_POST['login_location']) && !empty($_POST['login_location'])) ) {
            add_filter('login_redirect', 'my_login_redirect', 10, 3);
            function my_login_redirect() {
                    $location = $_SERVER['HTTP_REFERER'];
                    wp_safe_redirect($location);
                    exit();
            }
    }

    peter-hamilton
    Participant

    @peter-hamilton

    In your child-themes function.php paste the following code:

    add_action( 'init', 'blockusers_init' );
    function blockusers_init() {
    if ( is_admin() && ! current_user_can( 'administrator' ) &&
    ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
    wp_redirect( home_url() );
    exit;
    }
    }

    peter-hamilton
    Participant

    @peter-hamilton

    I think you can create a category for groups and set the visibility to hidden, if I am correct.


    peter-hamilton
    Participant

    @peter-hamilton

    Srry do not know, I am googling to see if I can help.


    peter-hamilton
    Participant

    @peter-hamilton

    Thanks again, I do work better when sometimes tapped on the back, and there is such a need to improve on the available themes for BBPress/Buddypress, I feel they should not even be a separate thing… think they come from the same group of people!?.

    I aim to produce a usable skeleton theme in the next few months, to be honest now trying to learn how to create a customization page in the dashoard.


    peter-hamilton
    Participant

    @peter-hamilton

    I am aiming to make this a modern fully functional forum website that does offer the same if not more functions then most commercially available alternatives and prove that BBpress is capable of providing everything we need to create a full-fledged forum.

    As I am not a programmer I have been cutting and pasting for so long that I now start to get a basic understanding of php, but still only cutting pasting and making minor adjustments.

    I am almost ready incorporating all features I need, as soon as that is done I will once again rewrite all code to tidy it up and try to make it into a theme for others to use.

    I hope my effort shows those looking for software to make a forum that BBPress is capable and with wordpress in the background potentially better then anything you can buy.

    Peter Hamilton
    i-am-peter.com


    peter-hamilton
    Participant

    @peter-hamilton

    And almost finished making the forums accessible on mobile devices.

    Organic-Square: mobile forums


    peter-hamilton
    Participant

    @peter-hamilton

    few shots of current state of this theme.

    Organic-Square: profile page

    Organic-Square: activity wall

    Organic-Square: forums

    Organic-Square: topics


    peter-hamilton
    Participant

    @peter-hamilton

    Hi @johnagreene, I am aiming to make it so that it can be used by others, still working on the theme at the moment.


    peter-hamilton
    Participant

    @peter-hamilton

    you could make a custom login page in your child-theme.


    peter-hamilton
    Participant

    @peter-hamilton

    No WP is still the default until you redirect visitors through some code in your functions.php

    To make your activity page the default after login add following code to your child themes functions.php:

    define( 'BP_DEFAULT_COMPONENT', 'activity' );
    
    function login_redirect( $redirect_to, $request, $user ){
    
        return home_url('activity');
    
    }
    
    add_filter( 'login_redirect', 'login_redirect', 10, 3 );

    If you want to direct to profile page then change activity to profile.


    peter-hamilton
    Participant

    @peter-hamilton

    You can contact me and tell me what you need, not sure if I can but willing to have a look and make a quote.


    peter-hamilton
    Participant

    @peter-hamilton

    That could help, but if your “developer” left template folders in your child-theme you need to remove them manually from your server.

    You might need to completely change theme if he made it as his child-theme might be…just very bad.


    peter-hamilton
    Participant

    @peter-hamilton

    Btw, I never learned Php and get along cuting and pasting my way through child-themes and even I can make it look good, so do not pretend to com plain about something you do not know how to use.
    CSS and a bit of rearranging of code can achieve miracles, you just need vision, the main ingredient that makes a well designed internet pie.


    peter-hamilton
    Participant

    @peter-hamilton

    I absolutely love Buddypress and have no issues with layout as that is what I am responsible for as a designer/developer.

    Personally I would have all the crew who build Buddypress over for coffee and a curry, some salsa dancing and a Chuck Norris movie.

    Yes we would discuss layout and UI, but then we would end the long night with hugs and an understanding that we all need to learn to make our websites unique in our own time so the Buddycrew can keep the machine running as smooth as possible from the inside.

    Thanks guys for Buddypress
    XXXO

Viewing 25 replies - 1 through 25 (of 119 total)
Skip to toolbar