Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 97 total)
  • @mikey3d

    Participant

    @mercime – I did look at the changeset/5628 of 3 files bp-core-adminbar.php, admin-bar.php and admin-bar.dev.css but I do have the same codes as 3 files. There is nothing I could change. I have the version 1.5.4. Is there a fix?

    @mikey3d

    Participant

    Can I add another groups in my child theme instead of more plugins like import the files from folder in bp-default’s groups into child-theme’s businesses?

    @modemlooper
    Is that possible add more User Groups as for Businesses Group?

    Is there a ways how-to do it?

    @mikey3d

    Participant

    @flynxify – Yes, I want two kinds of groups.

    1. Normal groups
    2. Businesses groups

    @mikey3d

    Participant

    @modemlooper

    I just try your plugin buddypress group fields and I get an error:

    `Warning: extract() [function.extract]: First argument should be an array in /home/user/apps/wordpress/wp-content/plugins/buddypress-group-fields/buddypress-group-fields.php on line 9`

    Yes, it shows a Restaurant Description, Restaurant Price etc. I have the latest WordPress and BuddyPress.

    Thanks, Mikey3D

    @mikey3d

    Participant

    @sbrajesh @boonebgorges @DJPaul

    Could you believe it where do you think I found this problem? I had this code in wp-config.php

    define ( ‘BP_REGISTER_SLUG’, ‘please-sign-up’ );

    That code didn’t works for buddypress 1.5. Why is that it? The URL is supposed to change…

    From http://www.site.com/blog/register/ TO http://www.site.com/blog/please-sign-up/

    When I delete this “define ( ‘BP_REGISTER_SLUG’, ‘please-sign-up’ );” – the Username availability checker for your site plugin is working. :-)

    Whew!!!!!!!, Mikey3D

    @mikey3d

    Participant

    @mikey3d

    Participant

    I mean it doesn’t show anything after add the username.

    @mikey3d

    Participant

    @pinhit

    You should be able to follow this tutorial.

    @mikey3d

    Participant

    @pinhit

    You should be able to follow this tutorial.

    @mikey3d

    Participant

    Why not just use @realname on their business cards instead of site.com/realname?

    @mikey3d

    Participant

    I knew why you would do it but how will you eliminate duplicate content between members and unique items in the search engines? Use robots.txt:

    User-agent: *
    Disallow: /members/

    EDIT: @gregfielding has similar problem “Help with redirect for root profile change” that I didn’t tell him.

    @mikey3d

    Participant

    @katemgilbert

    Is there a reason why you need to change the URL profile member’s link? There is no advantage what you really want.

    @mikey3d

    Participant

    You should let the user decide what they want to go not other way around.

    /plugins/bp-custom.php

    `//=Redirect to User’s Profile Page after Login
    function rt_login_redirect($redirect_to, $set_for, $user){
    $redirect_to = bp_core_get_user_domain($user->id);
    return $redirect_to;
    }
    add_filter(‘login_redirect’, ‘rt_login_redirect’, 20, 3);`

    @mikey3d

    Participant

    @r-a-y haven’t responded my above message. Is he embarrassing that he is wrong? Because either activate.php file is the bp-default theme which is not my problem and I have delete the whole first two lines in my child theme /registration/activate.php and the problem is after clicked activation link in email I get:

    `http://www.domain.com/blog/activate/

    Activate your Account

    Please provide a valid activation key.
    Activation Key:`

    There is no key link in the domain. e.g.

    http://www.domain.com/blog/activate?key=afd7528c3b5664d429f94a2ed59a4c32

    I have single WP. What is the solution?

    Thanks, Mikey3D

    @mikey3d

    Participant

    @stwc

    `As r-a-y suggests, in my experience at least, that kind of error is almost always malformed PHP files — trailing spaces, unclosed brackets, stuff like that. If you’ve pasted functions into your functions.php or bp-custom.php, look there first, then any other template files you’ve edited.`

    There was no error in my functions.php, bp-custom.php and template files. The warning error, above in my first posted, was possible from the core bp-default /registration/activate.php.

    @mikey3d

    Participant

    @r-a-y

    “Is that a general recommendation? ;)

    :-) – No! However I have only been using your two codes that works but after awhile when I found the bugs it’s causing of your codes.

    1. Duplicate Content: Slash and No Slash at the End of URL
    2. The page isn’t redirecting properly

    “I did say it was test code. Looks like you have whitespace issues in your /registration/activate.php. Delete any trailing whitespace from the beginning of that file.”

    I did put back the function bp_core_redirect_canonical in functions.php and deleted redirect trailing slash in .htaccess before process your above posted. It is the same problem I had it before except no warning error show up, only missed a key link in the domain link.

    I haven’t touch activate.php in bp-default therefore when I looked for trailing space, it looks like this:

    `

    `

    If that is what you were talking about I deleted the whole line 1 and I tested it again and result I get when click the activation link in email:

    http://www.domain.com/blog/activate/

    `Activate your Account

    Please provide a valid activation key.
    Activation Key:`

    There is no key link in the domain. e.g.

    http://www.domain.com/blog/activate?key=afd7528c3b5664d429f94a2ed59a4c32

    The line 1 in activate.php said “This template is only used on multisite installations.” I have single WordPress. Does it matter? All those error the user still able get in after clicked the activation link in the email. Huh?

    Is there a fix? What is the solution for Single WP after user completed sign-up?

    “Your htaccess rewrite rules look like it will interfere with querystring variables.
    eg. example.com/my-page/?variable=my-test”

    Ha, thanks for noticed.

    @mikey3d

    Participant

    @psivait What @andrea_r is talking about robots.txt and rel=“nofollow” to noindex the link?

    robots.txt
    `User-agent: *
    Disallow: /register/`

    rel=“nofollow”

    In your child theme: sidebar.php
    `<?php printf( __( ' You can also create an account.’, ‘buddypress’ ), site_url( BP_REGISTER_SLUG . ‘/’ ) ) ?>`

    @mikey3d

    Participant

    To avoid having the duplicate content, you only need one content and not to have the same two content. Ex. the two different URLs that have the same content:

    http://bp-tricks.com/members
    http://bp-tricks.com/members/

    You need to 301s redirect to trailing slash at the end of URLs to one of content.

    @mikey3d

    Participant

    I was just looking for BuddyPress or WordPress sites if they have the end of redirect trailing slash URL without duplicate content:

    Who doesn’t have the redirect to trailing slash?

    http://bp-tricks.com/members
    http://commons.gc.cuny.edu/members
    http://savannahvideocentral.com/members
    http://yoast.com/articles/wordpress-seo

    Only this has working:

    https://wordpress.org/about/philosophy

    Most of them don’t even know the problem.

    @mikey3d

    Participant

    I got it working by add rewrite rules trailing slash to the end of the URL in .htaccess:

    `
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} !(.*)/$
    RewriteRule ^(.*)$ http://domain.com/blog/$1/ [L,R=301]
    `

    Make sure the above codes are before the # BEGIN WordPress rewrite rules.

    Don’t use @r-a-y codes.

    @mikey3d

    Participant

    @timothyjunior You have been mislead by @vegasparty607 that is not his site. It’s @gunju2221

    @mikey3d

    Participant

    "? Do you mean what has been discussed in the posts in this thread?"

    Either, it’s relevant.

    "Have a read of the WP codex, look at functions such as register_style, enqueue_style, enqueue_scripts and associated functions"

    Nah, just found this helpful How to disable scripts and styles.

    Thanks @hnla

    @mikey3d

    Participant

    How do I eliminate CSSs and JavaScripts so I can control what I want only one CSS and JavaScript?

    @mikey3d

    Participant

    @djpaul, are you saying if I changed BP > General Settings or WP > Settings – it will break or corrupt the database because it‘s the fault of the software? Can you be more specific?

    @mikey3d

    Participant

    Can the plugin break the database? I only have gut instinct I’m not sure it maybe BP Unread Posts that I have try one day then deactivate then delete it was a few months ago.

Viewing 25 replies - 26 through 50 (of 97 total)
Skip to toolbar