Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 19 replies - 1 through 19 (of 19 total)

  • katemgilbert
    Participant

    @katemgilbert

    RESOLVED. Just noticed that the widget has default sorting options built-in.


    katemgilbert
    Participant

    @katemgilbert

    I have followed your suggestion to add the Profile link to a second theme location menu. However, now it shows in both menus. How can I specify it just to show in one and not the other? Here is my code:

    add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
    function my_nav_menu_profile_link($menu) { 	
    	if (!is_user_logged_in() && $args->theme_location == 'footer-nav' ) 
    		return $menu;
    	else
    		$profilelink = '<li><a href="' . bp_loggedin_user_domain( '/' ) . '">' . __('My Profile', 'buddypress' ) . '</a></li>';
        		$menu = $profilelink . $menu;
        		return $menu;
    }

    Thanks!


    katemgilbert
    Participant

    @katemgilbert

    RESOLVED. Here’s the updated code if others are looking for a similar solution:

    if ( bp_is_home() ) :
    Welcome,
    endif;
    bp_displayed_user_fullname()


    katemgilbert
    Participant

    @katemgilbert

    @djpaul – here’s the .htaccess. 2 users needed their real URLs right away, so we have 301 redirects for them until this fix is solved. Could that be the issue?

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    redirect 301 /a/kc /members/username1/
    redirect 301 /a/liam /members/username2/
    redirect 301 /kc /members/username1/
    redirect 301 /liam /members/username2


    katemgilbert
    Participant

    @katemgilbert

    @mikey3D – the site is for a workplace, and they want their business cards to read “site.com/realname”, where realname = username. The advantage is totally cosmetic, but desired nonetheless.

    @djpaul – I know it ought to work, that’s what’s so frustrating. Do you think it’s a cache issue, and if I just wait a bit after applying the change they’ll catch up? I saw some other threads that say this fix doesn’t work in WP 3.1+, but other threads that say it does work in all versions, so I’m stumped.

    Thanks!


    katemgilbert
    Participant

    @katemgilbert

    You can also use the Widget Logic plugin with the conditional statements listed here: https://wordpress.org/support/topic/buddypress-and-widget-logic.

    The easiest way to enact this is to exclude all component groups.


    katemgilbert
    Participant

    @katemgilbert

    UPDATE: I used the plugin: here to add a link to my admin bar, and it works.

    2nd question – How do I dynamically include the logged in user’s username in the URL that I’m adding?

    For example, I am adding the link to /members/[USERNAME]/blogs/, where USERNAME is the logged in user’s username. I have tried inserting the php calls for wp_get_current_user(); , echo $current_user; and echo $username; , but none work.


    katemgilbert
    Participant

    @katemgilbert

    Thanks! Worked like a charm


    katemgilbert
    Participant

    @katemgilbert

    @djpaul – Thanks! Inserting the function code at the top of admin.js worked. I now see the fields.

    Where can I find the syntax for calling member and site data in the customized email? For example, username, password, site URL, site name, etc.


    katemgilbert
    Participant

    @katemgilbert

    @djpaul – thanks for your response. Yes, http://domain.com/wp-content/plugins/welcome-pack/includes/js/admin.js exists. I am using Firefox.

    I checked for javascript errors and it looks like it found 3, all relates to the emails in welcome pack. Here’s a screenshot of the error report: http://img203.imageshack.us/img203/1227/jserrors.png.

    Here is a screenshot of the dropdown expanded: http://img299.imageshack.us/img299/9350/dropdown.png. Looks normal to me.

    I am going to try uninstalling and then reinstalling the plug-in. I’ll let you know if that resolves it. Let me know if you have any other tips. Thanks again.

    **follow-up edit: deleting and reinstalling the plug-in via WordPress’s built in plug-in installer did not correct the issue. same js errors occur**


    katemgilbert
    Participant

    @katemgilbert

    @djpaul – I see the Email tab, but when I enable email customization and choose an email to customize from the drop-down, there are no fields to modify the email text itself. I save settings but can’t find any edit fields for the email subj and body. Here’s a screenshot of what I see: http://img825.imageshack.us/img825/6920/welcomepack.png. What am I missing?


    katemgilbert
    Participant

    @katemgilbert

    If you use custom profile filters plugin (https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/) and add a field labeled “Twitter”, user can enter their Twitter handle and the plug-in will automatically convert it to their Twitter URL. No need to enter URL.


    katemgilbert
    Participant

    @katemgilbert

    Any solutions to this problem?


    katemgilbert
    Participant

    @katemgilbert

    I am having this same issue with a page template calling a group member list. The avatars show correctly on the root site (http://website.com/) but default to Mystery Man when the page template is used on a subsite within the network (http://website.com/subsite).

    Eager to hear solutions!


    katemgilbert
    Participant

    @katemgilbert

    Hi Trivikrama – I have had no success yet in finding a solution. Message me yourself if you find something!


    katemgilbert
    Participant

    @katemgilbert

    nit3watch – Where is the groups index file located? It’s not within the /plugins/buddypress/bp-groups folder.


    katemgilbert
    Participant

    @katemgilbert

    Here is the code on line 479 (referenced in error):

    function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt ) {


    katemgilbert
    Participant

    @katemgilbert

    @lightcapturer – Yes, I found where to edit profile fields. Thanks much! I am wondering about pre-built fields now.


    katemgilbert
    Participant

    @katemgilbert

    Waking up this thread to ask, are prebuilt fields available again or not? Is there a plug-in out there that can add this functionality? I am looking for prebuilt fields for country, state, and year, month, date of birthdate.

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