Search Results for 'buddypress'
-
Search Results
-
Topic: Customization question
Hello.
I installed the BP Theme Pack, but I would like to customize it further to my needs.1.) Is it possible to install the theme pack directly to my theme, so it remains within my theme folder?
2.) Is it possible (I’m not sure if this is a wordpress or buddypress question itself) to have an external process that runs and inputs data directly into the users database? I want the profile icon and some of the custom fields I created to be syncronized with a site. I know I can run a process daily to do this, but which table fields should I take a look at in order to do this?
Thanks a lot!
I am using the most up to date version of WordPress and 1.7 for buddypress. I was curious if there was a way via a plugin or setting to relate a group to a tag or category? I am running a video game site and it would be cool if I created a group for game x that if an article was posted about game x and tagged with the name that it would link the article in the groups activity stream. Or if for example that if there was a Nintendo group and Nintendo category that it would link every post about Nintendo to it.
I see the group tags plugin but not sure this is quite what I’m looking for.
I’ve created a plugin to detect the user’s language and modify my site’s interface accordingly. The code uses several methods to determine language. The main method is to look at meta data associated with each post. I’d like to expand this functionality to the buddypress interface as well, but I’m having a very hard time of it. Here’s some code to illustrate my problem:
`
add_action( ‘bp_include’, ‘language_plugin_init’ ); # only load the plugin once buddypress is online because it uses a buddypress-specific functionfunction language_plugin_init() {add_action(‘wp’, ‘id_language’);} # if I hook earlier, I have trouble accessing the $post variable
function id_language() {
# get the page language from the post metadata. preferred method.
$GLOBALS[‘CustomInfo’] = get_post_custom();
if ($GLOBALS[‘Lang’] == ”) {$GLOBALS[‘Lang’] = $GLOBALS[‘CustomInfo’][‘Lang’][0];}# if that doesn’t work, try to get language information from buddypress userdata instead
if ($GLOBALS[‘Lang’] == ”) {
global $current_user;
get_currentuserinfo();
$user_id = $current_user->ID;
$alang = xprofile_get_field_data(“Language”, $user_id); # “Language” is a custom buddypress field I createdif ($alang == “English”) {$GLOBALS[‘Lang’] = ‘en-US’;}
else if ($alang == “Português”) {$GLOBALS[‘Lang’] = ‘pt-BR’;}
else if ($alang == “Español”) {$GLOBALS[‘Lang’] = ‘es-ES’;}
}# now look to a cookie if the above failed
if ($GLOBALS[‘Lang’] == ”) {if ($_COOKIE[‘Lang’] != ”) {$GLOBALS[‘Lang’] = $_COOKIE[‘Lang’];}}# now look at browser settings to try to discover the language
if ($GLOBALS[‘Lang’] == ”) {
$langid = substr($_SERVER[“HTTP_ACCEPT_LANGUAGE”],0,2);if ($langid == ‘en’) {$GLOBALS[‘Lang’] = ‘en-US’;}
if ($langid == ‘es’) {$GLOBALS[‘Lang’] = ‘es-ES’;}
if ($langid == ‘pt’) {$GLOBALS[‘Lang’] = ‘pt-BR’;}
}# now update the locale according to the identified language
function wpsx_redefine_locale($locale) {return str_replace(‘-‘,’_’,$GLOBALS[‘Lang’]);}
add_filter(‘locale’,’wpsx_redefine_locale’,10);load_default_textdomain(); # now that the locale has been set, this correctly changes the language for all of wordpress (admin bar)
#### HERE I WANT TO PUT CODE TO CHANGE THE BUDDYPRESS LANGUAGE ACCORDING TO THE VALUE OF $GLOBALS[‘Lang’] AS WELL!!!####
}
`Any help you could offer would be most appreciated. I’ve really bruised my brain trying to figure this out. Thanks.
I’m trying to take advantage of BuddyPress 1.7’s new theme independence to effectively create different pages and instances of the Activity Stream with different themes.
I can use HeadSpace (an options plugin) to change the theme for a specific page and one “Template” under Page Attributes is BuddyPress – Activity Directory.
I use both in conjunction (as shown above), but setting HeadSpace to use a child theme returns the BuddyPress Default Theme (but correctly returning another instance of the Activity Stream, proving that it can be done) and trying to use a normal WordPress theme (i.e. Twenty Twelve) returns an HTTP 500 error.
Is this possible?
Topic: File manager for BuddyPress
Hi
I am looking for a plugin which would be more like a Google Docs. Currently I am using BuddyPress Docs. It is good but default is a Doc file. Couldnt create a spreadsheet. Also if files can be uploaded using the same plugin it would have been great. So I started using BP Group Documents. Its not working with BP 1.7. Also this plugin doesnt support sub-folder creation or multiple file upload.
Thanks
POST UPDATE BUTTON NEVER STOPS LOOPING AND NO UPDATES ARE MADE
HOW TO DEBUG IT? WHAT TO LOOK FOR
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=Hello,
I’m using a new installed WordPress, NO plugins installed, and using the Buddypress theme.
When I’m clicking the “Post update” button to submit any update, the icon stays looping and never submits the update.
I presume it is something to do with my installation/server/NGINX/PHP-FPM settings (or permissions to access certain buddypress sub-folder??)
I’m wondering guys if you could help me understand what to look for or how to debug what it is going on while pressing the update, as the debug.log (define(‘WP_DEBUG’, true); and define(‘WP_DEBUG_LOG’, true); are set) are not showing any errors.
Hello, I installed the latest version of buddypress on my latest version of WP thats running a theme.
Everything is looking good so far but on my Register page the text is black, which is the same color as my transparent and black backgrounds.
In white font, I see, “create an account” “registration is easy…”, “account details”, “profile details”, “this field can be seen by: anyone”
I am unable to see: “Username (required)”, “Email Address (required)”, “Choose a Password (required)”, “Confirm Password (required)”, “Name (required)”
I know this is a newb question! I’m sure it’s somewhere in a .css file and have searched these forums. Thanks!!
How can I change the buddypress tab text to an image instead? For instance settings
Activity
Profile
Sites
Friends
Groups
Forums
SettingsThanks