Skip to:
Content
Pages
Categories
Search
Top
Bottom

change url

  • Avatar of rickgoz
    rickgoz
    Participant

    @rickgoz

    Hello,

    WordPress MU 2.7.1.

    BuddyPress 1.0.2

    Do you know how to manage the url address out of the standard buddypress theme.

    Like for example to transform:www.domaine.com/GROUPS

    into

    http://www.domain-name.com/COMMUNAUTIES

    Thank you

    Have a good day

Viewing 20 replies - 1 through 20 (of 20 total)
  • Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    Thank you but me, in my wp-config.php i have not

    01.define ( ‘BP_ACTIVITY_SLUG’, ‘streams’ );

    02.define ( ‘BP_BLOGS_SLUG’, ‘journals’ );

    03.define ( ‘BP_MEMBERS_SLUG’, ‘users’ );

    04.define ( ‘BP_FRIENDS_SLUG’, ‘peeps’ );

    05.define ( ‘BP_GROUPS_SLUG’, ‘gatherings’ );

    06.define ( ‘BP_MESSAGES_SLUG’, ‘notes’ );

    07.define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );

    08.define ( ‘BP_XPROFILE_SLUG’, ‘info’ );

    09.

    10./* Some other non-component slugs */

    11.define ( ‘BP_REGISTER_SLUG’, ‘signup’ );

    12.define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );

    13.define ( ‘BP_SEARCH_SLUG’, ‘find’ );

    14.define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );

    Do you know where is this?

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    You have to add whichever custom slug definition you want to use into your wp-config.php file.

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    It’s ok

    It’s solved.

    One part is in bp-core.php, the other part is in bp-groups.php

    thank you for helping me.

    Have a good day

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Just remember, when you make changes to the core code, like it appears you have, those changes will be lost the next time you upgrade BuddyPress.

    That is why you should use the wp-config.php file for customizing your slugs.

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    Okay thank you,

    But how can i use the wp-config.php fil because in this file i have not this code:

    01.define ( ‘BP_ACTIVITY_SLUG’, ‘streams’ );

    02.define ( ‘BP_BLOGS_SLUG’, ‘journals’ );

    03.define ( ‘BP_MEMBERS_SLUG’, ‘users’ );

    04.define ( ‘BP_FRIENDS_SLUG’, ‘peeps’ );

    05.define ( ‘BP_GROUPS_SLUG’, ‘gatherings’ );

    06.define ( ‘BP_MESSAGES_SLUG’, ‘notes’ );

    07.define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );

    08.define ( ‘BP_XPROFILE_SLUG’, ‘info’ );

    09.

    10./* Some other non-component slugs */

    11.define ( ‘BP_REGISTER_SLUG’, ‘signup’ );

    12.define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );

    13.define ( ‘BP_SEARCH_SLUG’, ‘find’ );

    14.define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );

    So how can i change?

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    You must have missed my second post in this thread where I answered:

    You have to add whichever custom slug definition you want to use into your wp-config.php file.

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    Sorry!

    And do you know where in wp-config.php?

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    wp-config.php can be found in:

    http://example.com/wp-config.php

    Basically the directory which you installed WPMU in.

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    r-a-y

    I think he means where within the wp-config file should he place new slug definitions.

    @rickgoz2009

    As Andy’s article states:

    paste the lines you need for those slugs … into your wp-config.php file somewhere before the “Stop Editing!” line.

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Ahh you’re right, Jeff (as always!).

    Misread rickgoz2009′s post!

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    Yes I input those slugs in wp-config.php juste before the “Stop Editing!” line.

    BUT input done; my little avatar in the profil menu (Activities, Wire, Message, Friends, Groups..) disappeared

    Have you got an idea?

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    Nobody can help me?

    If I put those slug in the config.php, my little avatar in Groups Page, near friends, messages, wire, disappear ..

    Yep, the CSS matches the default names of the slugs. You need to enter custom CSS to get the icons back. If I get time when I’m back in from work, I’ll post what you need here.

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    Thank you very much!

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    I have not solved my problem..

    I did not find where i have to change CSS data..

    So I waiting for you!

    Thanks!

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    @DJ PAUL

    Can you help me to put my little avatar again?

    I understand that you cannot do this for me BUT can you give some advice?

    Thank you very much

    When you say avatar – if you mean the user’s picture, changing the custom slugs ought to not break this (famous last words). Check you didn’t change that part of the HTML – did you edit any of the template files or the CSS?

    Can you give us the web address of your site so we can maybe look at what is wrong?

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    Hello,

    Thank you for your answers.

    See the picture i talking about this:

    <img src=”http://phigoz.free.fr/slugs.jpg” alt=”problem” />

    When I put this :

    define ( 'BP_ACTIVITY_SLUG', 'activité' );
    define ( 'BP_BLOGS_SLUG', 'journals' );
    define ( 'BP_MEMBERS_SLUG', 'membres' );
    define ( 'BP_FRIENDS_SLUG', 'peeps' );
    define ( 'BP_GROUPS_SLUG', 'leschallenges' );
    define ( 'BP_MESSAGES_SLUG', 'messages' );
    define ( 'BP_WIRE_SLUG', 'pinboard' );
    define ( 'BP_XPROFILE_SLUG', 'profil' );

    in the wp-config.php i have new url adress BUT my little pictures disappear

    Have you got an idea?

    Avatar of rickgoz
    rickgoz
    Participant

    @rickgoz

    Nobody can help me?

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

You must be logged in to reply to this topic.