Forum Replies Created

Viewing 40 posts - 1 through 40 (of 265 total)
  • Author
  • in reply to: Member Directory Pagination/Jump #40169
     adam
    Participant

    thank you – i changed this to

    COPY CODE
    
    jq('html, body').animate({
    	scrollTop: 0;

    and that seemed to do the trick.

    in reply to: Member Directory Pagination/Jump #39911
     adam
    Participant

    the only files i see in there are password files:
    password-verify.js
    password-verify.min.js

    in reply to: include username in validation email #39666
     adam
    Participant

    I don’t know if this is what you’re looking for but this is code for function.php to create a welcome email with variables of your choosing. It works great with the WP Better Emails plugin for email theming.
    http://buddydev.com/buddypress/send-welcome-email-to-users-when-they-activate-their-account-on-wordpress-buddypress-based-social-network/

    in reply to: missing avatar img alt attributes #39578
     adam
    Participant

    this is working now. i am not certain, but i believe the problem was caused by creating root profiles in wp-config. when i changed this to false i started seeing the alt attributes.

     adam
    Participant

    to clarify, i don’t want to use it as a menu item but simply a hyperlink within text on a page.

     adam
    Participant

    it also just goes to the homepage for me. how do i get the ##profile_link## short code to change dynamically based on the username? the url is still /##profile_link##/profile/change-avatar/#item-nav for me.

    in reply to: Users Profil Card – Age Field #36379
     adam
    Participant

    Ah I was using Birthdate Selector instead of Date Selector. Thanks!

    in reply to: Members search filters lost via 'Back' button #35969
     adam
    Participant

    hi @adam – you’re an awesome developer/designer. any interest in helping me with my site http://www.couplefriends.com? even if you have just a little time to spare it would be appreciated. i can pay. you can email me at emailadamrose at gmail.com thanks! -adam

    in reply to: Users Profil Card – Age Field #35917
     adam
    Participant

    How come I can’t select Birthdate in the Select Age Range Field? It says “There is no date field”. And there is no Birthdate in the Select Numerical field. I can’t get Age to – Age from to appear in search 🙁

    in reply to: Site break updating PMPro 1.7.10 to 1.7.14.2 #35391
     adam
    Participant

    yes, that worked. thanks!

    in reply to: Site break updating PMPro 1.7.10 to 1.7.14.2 #35368
     adam
    Participant

    I have a bunch of code related to PMPro in my function.php. Here it is:

    COPY CODE
    /*changes membership levels text on plans & pricing page*/
    add_filter('kleo_pmpro_level_restrictions', 'kleo_my_levels_checkmarks');
     
    function kleo_my_levels_checkmarks($settings) {
     
        $settings = array (
            array(
                'title' => __('Restrict members directory','kleo_framework'),
                'front' => __('Search couples directory','kleo_framework'),
                'name' => 'members_dir'
            ),
            array(
                'title' => __('Restrict viewing other profiles','kleo_framework'),
                'front' => __('View profiles of couples','kleo_framework'),
                'name' => 'view_profiles'
            ),
                 array(
                'title' => __('Restrict users from sending private messages','kleo_framework'),
                'front' => __('Message other couples','kleo_framework'),
                'name' => 'pm'
            ),
    
                 array(
                'title' => __('Restrict access to friendship requests','kleo_framework'),
                'front' => __('Add couples as friends','kleo_framework'),
                'name' => 'add_friends'
            ),
            array(
                'title' => __('Restrict access to groups directory','kleo_framework'),
                'front' => __('Access group directory','kleo_framework'),
                'name' => 'groups_dir'
            ),
            array(
                'title' => __('Restrict access to single group page','kleo_framework'),
                'front' => __('Join & participate in groups','kleo_framework'),
                'name' => 'view_groups'
            ),
            array(
                'title' => __('Restrict users from viewing site activity','kleo_framework'),
                'front' => __('View site activity','kleo_framework'),
                'name' => 'show_activity'
            ),
           
            array(
                'title' => __('Restrict users from adding media to their profile using rtMedia or bpAlbum','kleo_framework'),
                'front' => __('Add photos to your profile','kleo_framework'),
                'name' => 'add_media'
            )
        );
        return $settings;
    }
    
    /*initiates PMPro membership restriction messages*/
    add_action('kleo_pmro_extra_restriction_before_my_profile','kleo_my_custom_restrict');
     
    function kleo_my_custom_restrict()
    {
        //full current url
        $actual_link = kleo_full_url();
        //our request uri
        $uri = str_replace(untrailingslashit(home_url()),"",$actual_link);
     
        //restrict messaging page
        if(preg_match("/^\/".bp_get_members_root_slug()."\/". bp_get_loggedin_user_username()."\/messages\/?/", $uri))
        {
            
            $my_restrictions =  array('message' => array(
                    //2 - restrict certain levels. 0 -restrict none; 1 - restrict all
                    'type' => 2,
                    //levels that you apply the restrictions to
                    'levels' => array(0,1,2,3),
                    'not_member' => 1, 
                    'guest' => 1 
                )
            );
             kleo_check_access('message',$my_restrictions);
        }
    }
    
    /* Remove the Add friend button for users that don't have certain membership levels - remove 0 when go live so free memberships can't add friends */
    add_action('after_setup_theme', 'restrict_friend_button');
    function restrict_friend_button()
    {
        $membership_levels = array(0,1,2,3);
        if (!pmpro_hasMembershipLevel($membership_levels) ) {
            remove_action( 'bp_member_header_actions', 'bp_add_friend_button', 5 );
            remove_action('bp_directory_members_item_last','kleo_bp_member_dir_friend_button', 11);
        }
    }
    
    /*Redirects non-logged in users to registration page and logged-in users to membership level page to upgrade*/
    add_filter('kleo_pmpro_url_redirect', 'my_custom_redirect');
     
    function my_custom_redirect() {
        if (is_user_logged_in()) {
            return pmpro_url("levels");
        } else {
            return ('http://couplefriends.com/registration');
        }
    }
    
    add_action( 'gform_user_registered', 'pi_gravity_registration_autologin', 10, 4 );

    I’ve reverted back to the older PMPro for now. Do you see this code causing an issue?

    in reply to: Error updating to Buddypress 2.1.1 #35321
     adam
    Participant

    that worked! thanks!

    in reply to: Site breaks when I update to PMPro 1.7.11 #18926
     adam
    Participant

    FYI I have the latest Sweetdate version 2.6.1 installed

    in reply to: Different colors front page and profile details ? #15918
     adam
    Participant

    hi @boblebad – i’m a little late on this thread, but thought this could be of help to you or anyone else reading this. i had to do something similar. i just wanted my About page to have a certain background color while the other pages do not. I had to find the page id by setting my permalinks temporarily to default and then use this for my code:

    .page-id-1348 #main {
    background-color: #e0f0fc;
    }

    my About page id as you can see is 1348. You can follow this example to change the background of individual pages.

    in reply to: Load time of "theme" is very slow #15388
     adam
    Participant

    yes, i notice this problem as well. hoping there’s a fix?

    in reply to: Location, geo, proximity search, zip code or city #15058
     adam
    Participant

    I’m just confused how the location fields need to be setup on registration in order for the location proximity search to work. Right now, I just have City and State fields and I don’t think that’s enough.

    in reply to: Location, geo, proximity search, zip code or city #14799
     adam
    Participant

    ah thank you so much! yes, that shows the settings now and i can see the fields in my member directory page. have you got the radius search working for you? it doesn’t seem to be working right for me, but i think the issue is how i have members entering their address upon registration and i may need to investigate this further. if you can confirm it works as it’s supposed to for you i’d appreciate it.

    in reply to: Location, geo, proximity search, zip code or city #14781
     adam
    Participant

    hi – i’m confused. the geomywp author is saying sweetdate is now integrated with his plugin here:
    http://geomywp.com/blog/geo-my-wp-2-4/
    and settings here:
    http://geomywp.com/blog/geo-my-wp-2-4/sweet-date-settings/

    but, when I install the latest version of geomywp (with the latest sweetdate version installed) i don’t see these sweetdate specific settings.

    is it ready yet?

    in reply to: add filter to search people near you by distance #11263
     adam
    Participant

    excellent @abe, can’t wait for this!

    in reply to: User registration is currently not allowed. #10898
     adam
    Participant

    in wp-admin go to settings->general settings and make sure “anyone can register” is checked.

    in reply to: How can I get the profile page looking like this? #10326
     adam
    Participant

    Agreed, ha!

    in reply to: Caroussel : Show only members with photos #10212
     adam
    Participant

    I believe the code you’re looking for is here (halfway down the page):
    https://archived.seventhqueen.com/forums/topic/hide-members-without-avatars
    though I haven’t tried it myself.

    in reply to: Change username after registration #10064
     adam
    Participant

    I use this plugin and it works great:
    http://buddydev.com/plugins/bp-username-changer/

    in reply to: Home Page for Members #10013
     adam
    Participant
    in reply to: Remove Search #10000
     adam
    Participant

    this option is in the admin panel. go to wp-admin->sweetdate->layout settings and make sure ajax search in menu is turned off.

    in reply to: Child theme vs. normal theme #9999
     adam
    Participant

    you want to activate and make changes within your child theme so that when a new update comes out all you have to do is upgrade the “normal” theme and you won’t lose all of the changes you’ve already made. the child theme changes will override the “normal” theme.

    in reply to: WordPress Dashboard #9899
     adam
    Participant

    wp-admin->sweetdate->miscellaneous turn admin toolbar off.

    in reply to: Sweetdate WP Showcase #9544
     adam
    Participant

    @frien337 very nice! your site is also very fast. can i ask what type of hosting you’re using?

    in reply to: Sweetdate WP Feature Requests #9523
     adam
    Participant

    great thanks!

    in reply to: Sweetdate WP Feature Requests #9471
     adam
    Participant

    Hi @Robert & @Abe – Do you mind if I ask if you’re planning on adding any new features to January’s (or the next) update and what those might be?

    I really like @Tenshi’s basic vs advanced search suggestion above, as well @dearik’s email matches and I’m still very much hoping for a geolocation feature (i.e. search members by distance from you). Thanks! 🙂

    in reply to: Add menu to the black top bar #9414
     adam
    Participant

    I believe this thread is what you’re looking for:
    https://archived.seventhqueen.com/forums/topic/editing-header-php

    in reply to: Profile Field Titles #9412
     adam
    Participant

    If you’re using Buddypress Xprofile Custom Fields Type use the code on the bottom of this thread on their support page:

    http://wordpress.org/support/topic/show-birthdate-in-registration-page-and-age-in-profile-page

    in reply to: Plugins used by other members #9327
     adam
    Participant

    it does NOT inform you that you’ve been blocked 🙂 they are just invisible to that member.

    in reply to: Plugins used by other members #9057
     adam
    Participant

    I get a fatal error when I try YD Profile Visitor Tracker:
    Plugin could not be activated because it triggered a fatal error.
    Fatal error: Call-time pass-by-reference has been removed in /home6/couplefr/public_html/wp-content/plugins/yd-profile-visitor-tracker/yd-profile-visitor-tracker.php on line 174

    in reply to: Featured Member #8758
     adam
    Participant
    in reply to: Profile Page – Name Surname #8642
     adam
    Participant

    you can also try:

    COPY CODE
    
    <h2><?php bp_member_profile_data( 'field=Name' )?>&nbsp<?php bp_member_profile_data( 'field=Surname' ); ?></h2>
    

    For the name as you want it displayed.

    in reply to: Profile Page – Name Surname #8641
     adam
    Participant

    I have done something similar. That is the right place. Add this:
    <?php bp_member_profile_data( ‘field=Occupation’ )?>

    This is assuming your field name is Occupation. If not, change that to whatever the field name is.

    in reply to: Viewing #8566
     adam
    Participant

    This is sort of what you’re looking for:
    http://buddydev.com/plugins/recent-visitors-for-buddypress-profile/

    I use it and it works great.

    in reply to: Removing profilemenu #8300
     adam
    Participant

    oh i see. you want to keep the information below the navigational menu, but get rid of the menu itself. sorry, not sure how to do that. i will let seventhqueen respond.

    in reply to: Removing profilemenu #8296
     adam
    Participant

    well if you use the code above it will remove all of the menu items, but you won’t get a 404-error. all of the profile information will remain in the blue section. on your own profile, you’ll still see the navigational menu below the blue section.

Viewing 40 posts - 1 through 40 (of 265 total)

Log in with your credentials

Forgot your details?