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
Buddypress Member Area
Avatar
xanderr
Member
Free Members
sp_UserOfflineSmall Offline
Feb 14, 2012 - 9:27 am

Hello,

I have a question about the Buddypress member page.  I use buddypress for my site and the simple press forum works great with buddypress. But i changed my buddypress member area in http://www.example.com/leden (it's dutch) with the

Wp htaccess Control plugin. So it's not members but leden.

 

When i go to the profile settings (very nice) i changed the Display Profile Mode to buddypress, but members doesn't  change in leden in the link, so i have got an error page http://www.gasamenopreis.nl/me.....in/profile, it must be http://www.gasamenopreis.nl/le.....in/profile

 

Is it possible to change it?

 

Xander

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 14, 2012 - 8:14 pm

sorry, not following... the two links you posted (one wrong and one correct) are the same??

Avatar
xanderr
Member
Free Members
sp_UserOfflineSmall Offline
Feb 15, 2012 - 4:20 am

Hi,

 

The link in the forum is now http://www.gasamenopreis.nl/me.....in/profile, but it should be http://www.gasamenopreis.nl/le.....in/profile

 

http://www.gasamenopreis.nl/forum

 

Xander

Avatar
xanderr
Member
Free Members
sp_UserOfflineSmall Offline
Feb 15, 2012 - 4:22 am
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 15, 2012 - 4:36 am

I think the only thing we could do to help here would be to put a filter on the url which would allow it to be safely massaged and changed. I will discuss that this end to see if we can slip one in quickly and easily.

it;s not a bad idea to do so in any case.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 15, 2012 - 7:01 pm

will add a filter as Andy says, but a little curious as to why buddypress operates differently than all the others we have run across?

Avatar
xanderr
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2012 - 4:37 am

Hi, thanks for the reply. How to add a filter?

 

Xander

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2012 - 8:03 am

start by reading and understanding how hooks, filters and actions work in wp...  http://codex.wordpress.org/Plu.....nd_Filters

then in this case, the hook you want is:  sph_buddypress_profile

with two args:  $url and $user

and you can change the url the way you want...

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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620