728x90 AdSpace

Latest News
Thursday 18 August 2011

How to Rename BuddyPress Widgets and BuddyPress Menu Items

how-to-rename-buddypress-widgets

Recently I was developing some BuddyPress Sites for my clients. BuddyPress is fun, it is free and much better and easyer than most of these Social networking website scripts. But here is one of the biggest problem than I had to face with BuddyPress. This is very much annoying and frustating that There is no decent plugins to rename BuddyPress Widgets or you cant even rename BuddyPress Sticky menu with Members, Activity, Groups and Forums.

Here is the Solution that I have found for Renaming BuddyPress Widgets and Sticky Menu.

Login to your BuddyPress Dashboard.
Click on Appearance Tab to expand it. Than click on Editor Tab. It will open Default Style.css file. From The Right hand side of the panel click on Header.php

On BuddyPress BuddyPress Default: Header (header.php)

Find and replace following lines of the header.php. you can hit Ctrl+F to search in firefox or Chrome.

( ‘Activity’, ‘buddypress’ ) There you will find Two lines like these. Rename The Word ‘Activity’ with Anything you want such as Motions. If you find More than one (I think there are two. Rename Two of them.

( ‘Members’, ‘buddypress’ ) Rename ‘Members with Something else like ‘Petrons’

( ‘Groups’, ‘buddypress’ ) you can Rename the word ‘Groups’ With something like My Byddy’s or Something else.

( ‘Forums’, ‘buddypress’ ) here You only need to Rename The Word Forum (Only if you Wanted to. You may rename the word ‘Forums’ With Something like Parties.

So you have got the solution for Renaming Menu. The Next part is to Rename the Widgets of the BuddyPress.

From The Plugins Tab Click on Editor Tab. It is after Add New and Before Users Tab of the Left hand side of the dashboard.

On the top right side of the dashboard from Select plugin to edit:
Select BuddyPress
it will be

buddyPress/bp-core/bp-core-widgets.php

Find and Replace Following Codes :-
Find ( ‘Newest’, ‘buddypress’ ) Replace the word ‘Newest’ with Whatever you like such as Latest
Find( ‘Active’, ‘buddypress’ ) Replace the word ‘Active’
Find( ‘Popular’, ‘buddypress’ ) Replace the word ‘Popular’
Find( “Who’s Online Avatars”, ‘buddypress’ ) Replace the word ‘Who’s Online Avatars’
Find( ‘Members’, ‘buddypress’ ) Replace the word ‘Members’
Find( ‘Recently Active Member Avatars’, ‘buddypress’ ) Replace the word ‘Recently Active Member Avatars’
Thats it. Have fun !


View the original article here

  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: How to Rename BuddyPress Widgets and BuddyPress Menu Items Rating: 5 Reviewed By: Habib