Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Changed the members page slut so profiles not showing....
Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2013 - 4:54 pm

Hi, first of all thanks for the great forum...

My problem is that i´m buiding a community using simplepress + buddypress, i renamed the members page from "members" to "miembros" ( i´m spanish), and linked the forum links to buddypress... the problem is that once i click on the name user to go to the profie ig goes to 

mysite.com/members/admin/profile and shows a 404 page, because the correct page should be mysite.com/miembros/admin profile

I would be very happy if anyone help me... thanks in advance and sorry for my poor english, i´m spanish.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2013 - 8:22 pm

really? wow, no clue you could change that...  as you can tell, we are not buddypress folks... ;)

you will have to use a filter to change it...

add_filter('sph_buddypress_profile', 'my_bp_profile_name', 10, 2);
function my_bp_profile_name($site, $user) {
    $site = str_replace('members', 'miembros', $site);
    return $site;
}

put that in your spFunctions.php file of your sp theme... if you are not using your own sp theme, we strongly urge you to make your own theme before proceeding...  see:  http://codex.simple-press.com/.....g-a-theme/

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625