Forum Replies Created

Viewing 40 posts - 1 through 40 (of 86 total)
  • Author
  • in reply to: Best seo plugin #9840
     hughm
    Participant

    Thanks again for your help. I tested out the above directions and it worked well with the All in One SEO Plugin. I was a little overwhelmed with the WordPress SEO code changes so I decided to keep it simple.
    1. I changed the title for the homepage by following wordpress admin > appearance > customize > site title and tag. I put in my domain “uberon.net” in the title and my homepage title in the Tag field. The Title here gets appended to all subsequent pages.
    Note: You were correct, there is a setting in the All in One SEO > General Settings to set the home page title and description etc. So this is also an option.
    2. I then filled in SEO for all of my pages.
    3. I added group pages by creating a group page with the same name as my group (Abide) and making it a child page of Groups. I then added SEO and it worked.

    Unfortunately Google indexed my site this morning for the first time and the testimonial from my home-page showed up in the description. I just allowed search engines to index a few days ago. So I will wait and see if the SEO ends up showing correctly on Google.

    Thanks again for the great SEO help!

    in reply to: Best seo plugin #9785
     hughm
    Participant

    Awesome! Thank you very much for all of this information. I will work on it tonight and tomorrow and post feedback. Just one note, I did try Yoast and found it to slow down my site considerably. This looks like a common problem with Buddypress. There were a few posts on the Yoast support forum to the same effect. The All in One SEO plugin does not slow down the site so I have been trying to use this plugin instead per recommendation from SweetDate admin.

    in reply to: Home Page Not Displaying #9781
     hughm
    Participant

    I figured it out. Somehow the template got changed from “Front Page Template” to “Default Template”. I am not sure if the SEO Plugin somehow did this or what happened. I know that it wasn’t me because I had a backup of the homepage and it happened there too. Strange behavior! The All in One SEO Plugin definately messes up the home page. I posted another thread about this.
    This one is resolved.

    in reply to: Best seo plugin #9774
     hughm
    Participant

    I am using the All in One SEO Pack to add SEO to my site pages. This plugin works well on all pages except my home page. On the home page the title will not show up. Does it have something to do with the fact that the content for this page is:

    [kleo_section bg=”http://uberon.net/wp-content/uploads/2013/06/gray_pattern.gif” centered=1 border=1][/kleo_section]

    Any ideas on a fix for this so I can put SEO on the very important Home page. Thanks a lot.

    Here is the link: http://www.uberon.net

    in reply to: Sidebar Style and Page Style Conflict #9448
     hughm
    Participant

    I am rewording the question:
    Is it best practice to put CSS in
    1. the Style.css document in the Sweetdate-child folder
    2. the Sweetdate>Styling Options> Quick CSS
    3. a widget CSS field when available (Post in Sidebar Plugin for example)

    I am having issues with my post widget content displaying differently in the sidebar vs the main page.

    in reply to: Sidebar Style and Page Style Conflict #9413
     hughm
    Participant

    Any direction on where to find the style sheet for the sidebar would be appreciated.

    in reply to: Global Change "Groups" #9255
     hughm
    Participant

    Hi Abe,
    I decided to go back to using “Groups” because I couldn’t get it to work and it wasn’t worth the bother. So yes the link now is set to Groups. Thanks anyway.

    in reply to: Global Change "Groups" #9158
     hughm
    Participant

    Thanks for the code. Unfortunately I applied the new code to the breadcrumb.php file above and it did not fix the problem. When a user is on an individual groups page (renamed “clubs” and clicks on the breadcrumb for Clubs it still points to the old groups page. See for yourself:

    http://uberon.net/clubs/abide/

    in reply to: Blog Articles Shortcode Extended #9138
     hughm
    Participant

    Thanks!

    in reply to: Tab Shortcode Default Display Problem #9125
     hughm
    Participant

    Great. That works. Thanks!

    in reply to: Global Change "Groups" #9060
     hughm
    Participant

    One problem already with changing the name of Groups is that the breadcrumb link does not work properly and goes to a 404 page. Besides this issue the changes that I believe are required are changing “Group Directory” at the top of the Groups page and changing the profile tab for Groups on member profiles along with the “Groups 1 of 2” at the bottom of that tab.

    in reply to: Homepage slider – good for SEO? #8918
     hughm
    Participant

    I am using the All in One SEO and am having the same problem with the home page. The SEO is not being read. It seems to work for all other pages (About, Members, Help) but doesn’t work for the home page.

    in reply to: Add a Second Photo Album Tab to Profile #8823
     hughm
    Participant

    Thanks for the CSS. It works great!
    I would like to ask if you can point me to the php file in SweetDate where the new profile tabs (About Me, Looking For, My photos etc) and my new uploaded image tab “Verified” is styled.
    I just need to try and center the uploaded image.
    I looked in Sweetdate/members/single/profile but couldn’t find the right file

    in reply to: Add a Second Photo Album Tab to Profile #8777
     hughm
    Participant
    This reply has been set as private.
    in reply to: Add a Second Photo Album Tab to Profile #8776
     hughm
    Participant

    Thanks. This works well. I am able to upload a new image to a tab which I called “Verifed”. A couple of style questions if you happen to know the answer:
    1. I would like to change the color of the “Verified” tab to green. Should I do this with CSS or can I drop something into the functions.php code(below) that defines the tabs?
    2. The tab class I used is ‘regulartab’. I noticed there is a ‘myslider’ and ‘citetab’ class available. When I tried out the other types I didn’t see any difference.
    3. The name of the image field displays beside the verification photo and only allows for about 20 characters. Is it possible to extend this to 30 characters?
    4. Finally, is it possible to limit the size of the image upload or format the image size. Some smaller images appear with blank space to the right.

    Here is the code that I am using in my child theme functions.php:

    add_action(‘after_setup_theme’,’kleo_my_custom_tabs’);
    function kleo_my_custom_tabs()
    {
    global $bp_tabs;
    $bp_tabs = array();

    $bp_tabs[‘about-me’] = array(
    ‘type’ => ‘cite’,
    ‘name’ => __(‘About me’, ‘kleo_framework’),
    ‘group’ => ‘About Me’,
    ‘class’ => ‘citetab’
    );

    $bp_tabs[‘looking-for’] = array(
    ‘type’ => ‘cite’,
    ‘name’ => __(‘Looking for’, ‘kleo_framework’),
    ‘group’ => ‘Looking for’,
    ‘class’ => ‘citetab’
    );

    /* rtMedia tab – only if plugin installed */
    if (class_exists(‘RTMedia’))
    {
    $bp_tabs[‘rtmedia’] = array(
    ‘type’ => ‘rt_media’,
    ‘name’ => __(‘My work’, ‘kleo_framework’),
    ‘class’ => ‘mySlider’
    );
    }

    /* Bp-Album tab – only if plugin installed */
    elseif (function_exists(‘bpa_init’)) {
    $bp_tabs[‘bp-album’] = array(
    ‘type’ => ‘bp_album’,
    ‘name’ => __(‘My photos’, ‘kleo_framework’),
    ‘class’ => ‘mySlider’
    );
    }

    $bp_tabs[‘verify’] = array(
    ‘type’ => ‘regular’,
    ‘name’ => __(‘Verified’, ‘kleo_framework’),
    ‘group’ => ‘Verify’,
    ‘class’ => ‘regulartab’
    );
    }

    in reply to: Reformatting the left-right-sidebar Template Page #8738
     hughm
    Participant

    Thanks a lot. That works. I will just have to remember to make the change when I upgrade the theme.

    in reply to: Best seo plugin #8701
     hughm
    Participant

    I have tried the Yoast SEO plugin and the All In One SEO Pack plugin. I was unable to add SEO to individual groups on my site using either one of these options. I was only able to add SEO to the main Groups page.
    I have 15 different groups on my site and would like to add SEO to each one. Do you know how to achieve this?

    in reply to: Add a Second Photo Album Tab to Profile #8662
     hughm
    Participant

    I would like to revisit this issue and add some more details to what I am trying to do. I am trying to include an extra tab on the member profile next to “About me”, “Looking for”, and “My photos”. The new tab will be called “Verified” and should include one photo of the user making a double-thumbs up which is the symbol my site asks for in order to verify the user’s authenticity and stop people from adding fake profile photos.
    The new tab only needs to have one photo. So I looking for a solution and wondering if it is possible to simply include an upload field on the member profile and somehow display it in this tab? Any ideas on how to accomplish this verification tab would be appreciated. Thanks!

    in reply to: Reformatting the left-right-sidebar Template Page #8656
     hughm
    Participant

    I used a piece of code that you gave me to allow for the left and right sidebar format only on my buddypress activity page. I am now trying to change the column widths to 3 column for the left sidebar, 5 column for the main content, and 4 column for the right sidebar. I am missing the name of the class for the dynamic right sidebar. Could you help me to edit the code below with the missing class name?

    /* Enable 3 column format of Activity page*/
    add_action(‘wp_head’, ‘change_activity_tpl’);
    function change_activity_tpl() {
    if (is_page(‘dashboard’)) {
    add_filter(‘kleo_sidebar_class’, create_function(”, ‘return “three”;’), 11);
    add_filter(‘kleo_buddypress_content_class’, create_function(”, ‘return “five”;’));
    add_filter(‘kleo_????_sidebar_class’, create_function(”, ‘return “four”;’), 11);
    add_action(‘kleo_buddypress_before_content’, ‘kleo_sidebar’);
    add_action(‘kleo_buddypress_after_content’, ‘kleo_extra_sidebar’);
    }
    }

    in reply to: Reformatting the left-right-sidebar Template Page #8530
     hughm
    Participant

    I’d also be fine with just having the two sidebars and the main page equal widths.

    in reply to: Three Column Formatting Issue #8519
     hughm
    Participant

    Great. Thanks, that works!

    in reply to: Redirect After Login #8445
     hughm
    Participant

    I noticed that @road2love was having trouble getting this to work. I never was able to make this code redirect to the change-avatar page. The code above failed and redirects to the home page. I ended up settling on just redirecting to the profile page, but if someone figures out how to get it to work please let me know.

    in reply to: Three Column Formatting Issue #8427
     hughm
    Participant

    The only way I was able to get the left and right sidebar page template to work on the Activity page was by setting it as the default for in the Sweetdate >Buddypress page in the Buddypress Pages Layout section. Is there another way to do this? Because I do not want all of my Buddypress pages to have a right and left sidebar. I would like the Groups page to have just a right sidebar for example.

    in reply to: Three Column Formatting Issue #8375
     hughm
    Participant

    I am now trying the three column format on the Buddypress Activity page and am unable to get any results. The new three column format seems to work on new pages that I generate but doesn’t work on the Activity page for some reason.
    Is it possible to use the new 3 column format on the Activity page?

    in reply to: Age Range Search #8284
     hughm
    Participant

    @adam you are correct. I just tested it and the Buddypress Xprofile Custom Fields plugin does the trick. The date is entered in the MySQL date format in the database. So the Buddypress Xprofile Custom Fields plugin must save to the db with this format.
    One small thing to note, the MySql date format using this plugin does not include the time values so the date displays (mm-dd-yyyy) whereas the Buddypress default registration form db entries contain the time values (mm-dd-yyyy hh:mm:ss)

    I still however cannot get the age search to work. The new Birthday field does not appear on the SweetDate/Buddypress page in the Select Age Range Field drop down. Instead where the drop down used to be it says “There is no date field”. I will keep testing and drop a note if I get it to work.

    in reply to: Age Range Search #8282
     hughm
    Participant

    @adam you are correct. I just tested it and the Buddypress Xprofile Custom Fields plugin does the trick. The date is entered in the MySQL date format in the database. So the Buddypress Xprofile Custom Fields plugin must save to the db with this format.
    One small thing to note, the MySql date format using this plugin does not include the time values so the date displays in the db as yyyy-mm-dd whereas the Buddypress default registration form db entries contain the time values yyyy-mm-dd hh:mm:ss.

    I am going to do a bit more testing and will add to this entry if there are any problems, otherwise looks like you solved it. Thanks a lot!

    in reply to: Age Range Search #8227
     hughm
    Participant

    I posted to the BP Profile Search plugin support and found out that you can use an older version of BP Profile Search (version 2.7) which uses the old Unix timestamp format.
    The best solution however is to have the custom registration form save the MySQL date format to the db which works for Buddypress and the current version of the BP Profile Search.

    in reply to: Age Range Search #8188
     hughm
    Participant

    It turns out Gravity forms is saving the member birthdate to the db in the timestamp format which looks like 480297600. Buddypress default registration saves the birthdate in the MySQL date format which looks like: 2012-02-23 06:12:45.
    Buddypress reads both formats so it is able to display the birthdate correctly in the member profile (ie March 22 1985). However the BP Profile Search plugin is not able to read this format and only reads MySQL date formats. This is why the age range search is not working.
    Unfortunately Gravity Forms does not support compatibility with other plugins, and because their format works with Buddypress their support cannot help to convert their format.
    So to make the SweetDate Age Search compatible work with Gravity Forms either the GF db birth-date entry needs to convert to the MySQL date format or the BP Profile Search plugin needs to be able to convert the timestamp format to MySQL date format. Not sure how to do this. Open to ideas. I do think that many people will want to use Gravity Forms Registration Add On with SweetDate so it will be a benefit to figure it out.

    in reply to: Age Range Search #8133
     hughm
    Participant

    Sure. I did a bit more investigation and submitted multiple new users using different settings. The date format doesn’t seem to be the problem. The correct date displays in the member profile but is incorrect in the db regardless of whether it is dd-mm-yyyy or any other combination. Only after resaving from the profile does it show up correctly in the db. So no forward progress here.

    in reply to: Age Range Search #8118
     hughm
    Participant

    Thanks Abe,
    So on the Sweetdate>Buddypress Admin page I should set both the “Select Age Range Field” to my Birthday XProfile field and I should set the “Age Field” also to the same Birthday Xprofile field? The reason for the confusion is because there is a plugin called Buddypress XProfile Custom Field Types which can generate the member age which I am actually using.

    Regarding the GF issue, you are right. I looked at the database and the GF birthdate is displaying in the member profile but it is not saving correctly to the database. An entry for March 22 1985 ends up displaying as 480297600 for example. I believe that it is a problem with the month being an integer in GF (1-12) and a string (January etc) in BP. Will try to remedy!

    in reply to: turning off linking words in users profile text #8081
     hughm
    Participant

    The links were actually showing up but were in the similar color (grey) to the text so I couldn’t see them. My mistake. Searching now to try and make the links blue.

    in reply to: Age Range Search #8079
     hughm
    Participant

    I noticed that there is an Age field on the SweetDate Administration Form (SweetDate > Buddypress). Is it possible to generate the member’s age from their Birthdate entry? If so how do you do this? I am guessing this is why my age range search isn’t working, because maybe I haven’t set up the age field properly? Thanks!

    in reply to: Registration Activation Page Conflict #8078
     hughm
    Participant

    I believe GF has “varied results” with checkboxes. So if you can switch these to drop down lists you should be ok.
    I have had problems getting the date selector to work with my GF registration form. This according to GF support is mapped correctly but the age search on SweetDate doesn’t work. Does your date selector display birthdate correctly? And does it enable the age range search?

    in reply to: Redirect After Login #8073
     hughm
    Participant

    Hi thanks,
    Yeah, I did insert the piece of code into Adam’s and still couldn’t get it to work. Here is the entire code that I tried:

    /* Filter the redirect url for login*/
    add_filter(“login_redirect”,”kleo_redirect_to_profile”,100,3);

    function kleo_redirect_to_profile($redirect_to_calculated,$redirect_url_specified,$user){
    /*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/
    if(!is_super_admin($user->ID))
    return bp_core_get_user_domain($user->ID ).’/profile/change-avatar/’;
    else
    return $redirect_to_calculated; /*if site admin*/

    This redirects back to the home page.

    in reply to: Redirect After Login #7990
     hughm
    Participant

    Sorry to say I couldn’t get it to work. The below gets me to the new user profile but can’t seem to get the next step to the change-avatar page.

    if(!is_super_admin($user->ID))
    return bp_core_get_user_domain($user->ID );

    in reply to: Redirect After Login #7983
     hughm
    Participant

    I tried this code and played around with it but couldn’t make it work. I am trying to take first time log-ins to the change avatar page. This code takes new users to the login page on first login:

    /*if the user is not site admin,redirect to his/her profile*/
    if(!is_super_admin($user->ID))
    return bp_core_get_user_domain($user->ID ).’/profile/change-avatar/’;

    Any ideas?

    in reply to: turning off linking words in users profile text #7885
     hughm
    Participant

    Strange question: The links that you mention do not show up on my profile. I believe you are talking about the links on a member’s own profile that when you click them you can see all the other members that match your profile criteria. The Buddypress Default theme uses these and I like them. I would actually like to display these links. Any idea why they don’t show for me? I have not put the above code into my functions.php form. Is there a way to turn these on and off from the admin dashboard?

    in reply to: Hide Profile tab #7872
     hughm
    Participant

    I think I figured it out:

    function my_remove_profile_nav() {
    global $bp;
    if (!bp_is_my_profile() && (!is_super_admin($user->ID))) {
    bp_core_remove_nav_item( 'profile' );
    }
    }
    add_action( 'bp_setup_nav', 'my_remove_profile_nav' );

    in reply to: Hide Profile tab #7842
     hughm
    Participant

    Is it possible to hide the Profile tab for everyone but the logged in user and the admin? As an admin I am unable to view new user buddypress profiles.

    in reply to: Redirect After Login #7841
     hughm
    Participant

    This is the code I use in my child theme functions.php to put profile names at the root. Perhaps this is conflicting with above code?

    // put profiles in the root
    define ( ‘BP_ENABLE_ROOT_PROFILES’, true );

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

Log in with your credentials

Forgot your details?