Search Results for 'buddypress'
-
AuthorSearch Results
-
June 18, 2011 at 8:36 pm #114785
Stigmartyr
MemberLike everyone else I’ve tried most of the suggestions posted on this site, even just tried installing bbPress as a seperate plugin and overwriting my wp-content/plugins/buddypress/bp-forums/bbpress files with the latest from bbpress.org
The crazy part is that I think I solved this before a month ago when sandboxing on the very same server I’m using now. I’ve tried the cilck/unclick tricks, etc. Are there any special CHMOD requirements perhaps? It’s such a PITB.. This problem is suffocating.
June 18, 2011 at 7:13 pm #114782In reply to: Removing BP and installing bbpress
Paul Wong-Gibbs
KeymasterGo to /wp-admin/, into the BuddyPress -> Components menu, and disable the “Discussion Forums” component.
June 18, 2011 at 6:25 pm #114779In reply to: Activity Post/Reply To Not Working
d71
MemberOk, so in the working default BuddyPress theme the Ajax handler works great:
bp_dtheme_post_update traceback:
#0 bp_dtheme_post_update() called at [:]
#1 call_user_func_array() called at
[wp-includes/plugin.php:395]#2 do_action() called at
[wp-content/plugins/buddypress/bp-core.php:2026]#3 bp_core_add_ajax_hook() called at [:]
#4 call_user_func_array() called at
[wp-includes/plugin.php:395]#5 do_action() called at
[wp-settings.php:298]#6 require_once(/home2/capacoac/public_html/artsbeta/wp-settings.php) called at
[wp-config.php:91]#7 require_once(/home2/capacoac/public_html/artsbeta/wp-config.php) called at
[wp-load.php:30]When doing a normal status update it seems to flow normally:
top of bp_dtheme_post_update in bp-theme-default…
. content=james
. object=
. calling bp_activity_post_update (no object)…
. calling user func tag=wp_default_stylesMy status update was “james”. So all working well for the default BuddyPress theme.
Now with BuddyBase activated none of that entire call chain happens and neither does it happen from the default buddy base theme. its like ajax.php is no longer being loaded.
To verify I put an error_log call at the top of the BuddyBase copy of _inc/ajax.php, just to indicate that _its_ version of ajax.php was being loaded…and its not. For some reason the BuddyBase theme is not having its version of ajax.php loaded.
I’m not really sure hwo to verify how the theme tells WordPress/BuddyPress to load that file, but I guess I have another lead to track down….
June 18, 2011 at 6:16 pm #114778In reply to: Difference between Buddypress v.1.2.8 and v.1.3 ?
Paul Wong-Gibbs
KeymasterWe’re soon going to be writing a series of blog posts about 1.3 for users and developers. Hopefully we’ll get one or two up next week sometime.
June 18, 2011 at 5:15 pm #114774In reply to: Activity Post/Reply To Not Working
d71
Memberfind . | xargs fgrep
./_inc/global.js
./_inc/ajax.php(basically the Ajax related code)
From the ajax code in BuddyBase theme, no hits not being invoked. So I went back to the BuddyPress plugin, and added some erro_log calls to bp-activity.php…that got his, so the Ajax frame work is working, just not connecting to the theme.
From the stack trace of bp-activity, it looks like wp-load.php leads to wp-settings.php, which loads up bp-loader.php…I imagine bp-loader.php is what brings in any necessary BuddyPress stuff.
Anyways, I confirmed that bp-activity.php (in the BuddyPress plugin, not the BuddyBase theme) is calling:
add_action( ‘wp’, ‘bp_activity_action_post_update’, 3 );
So the activity handler should be getting called…but it doesn’t. I put some logging in that function (bp_activity_action_post_update), and its not getting called.

The ‘wp’ hook seems like the place I would expect this to run; its Ajax so the theme/template isn’t actually needed, it just neesd th POST data. So the logic seems right.
At least the API reference says wp is used for POST processing:
https://codex.wordpress.org/Plugin_API/Action_Reference
I guess I need to dig around find where WordPress is invoking any wp hooks, and then try to see why its not invoking this POST handler.
June 18, 2011 at 2:44 pm #114767In reply to: How to display profile field within post loop
DoctorDR
Member@jpfaraco the following method worked fine for me.
“
But the methods discussed in other posts did not, namely;
“ and “
Perhaps somebody more knowledgeable than I could explain why, since the first method was recommended several times in the past by @hnla – https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-show-custom-profile-fields-in-a-template-file/
June 18, 2011 at 2:21 pm #114766In reply to: How to move BuddyPress installation?
duramatters
ParticipantFollow up: Were you able to move it? I am in a similar boat.
June 18, 2011 at 1:43 pm #114764In reply to: custom set of avatar pics
DoctorDR
MemberThat’s excellent news @sidjags, I think I might try this out for myself. So you’re essentially building an array of 9 image urls and then cycling through them and returning the latest value each time the function is called.
Simple and Cute!
June 18, 2011 at 1:11 pm #114763naved
Memberi included define (‘WP_MEMORY_LIMIT’, ’64M’); it under wp-config under languages section
June 18, 2011 at 12:53 pm #114762sidjags
Member@nicholmikey… thanks for the help on cubepoints implementation…
June 18, 2011 at 2:47 am #114752ramprakav
Memberthere is a problem in that avatar so i cant upload my avatar
June 18, 2011 at 1:52 am #114748In reply to: [Resolved] Content won’t line up properly?
aces
ParticipantJune 18, 2011 at 1:07 am #114747In reply to: Where/how to download the latest bleeding edge beta?
Donald McIntyre
ParticipantI am not developer and I am sufficiently silly to touch code, files, and similar. I have burnt myself several times, but a few times I have resolved things! But I can´t change so my question is: shall I copy the files of the last trunk to the buddypress 1.2.8 folder replacing the old ones and put it live?
June 17, 2011 at 11:48 pm #114744In reply to: BBpress Forums Installation
sidjags
Member@LPH2005 in a post of yours, you seemed to suggest that it is possible to create a universal forum by making changes to a couple of files: loop and forums/index… could you please put out the code once again what needs to be done… would be very very much appreicated.
June 17, 2011 at 11:41 pm #114742@mercime
ParticipantOk, correcting my previous assumption – it’s been a long day sorry. So you have a single WP installation with BP activated. Prior to installing BP, you had this PHP signup form which worked in your WP installation. You’ve deleted the PHP signup form and the BP registration form does not show up when you go to http://yoursite.com/register
To troubleshoot whether it’s a BP issue, given above conditions, deactivate all plugins except BuddyPress and change to bp-default theme. I assume that you haven’t changed any internal BP configuration like renaming register to something else, go to http://yoursite.com/register. If that works, then ..
Are you using a WP theme with BP Template Pack plugin for compatibility? Activate both and check registration. If that works, then ..
Activate other plugins one by one to identify which one is messing up with registration page.
June 17, 2011 at 11:26 pm #114741In reply to: Sub-groups under the main group
sidjags
Memberbeen there since some time: https://buddypress.org/community/groups/bp-group-hierarchy/
June 17, 2011 at 11:10 pm #114739In reply to: Removing BP and installing bbpress
sidjags
Member@DJPAUL you said in a post “I suggest you disable group forums until the bridge has been built”… could u please let us know how to disable group forums… cause i cant seem to find it?
sidjags
June 17, 2011 at 11:07 pm #114737@mercime
ParticipantAll this should be posted over at plugin’s forums which devs check out regularly
https://buddypress.org/community/groups/bp-album/forum/June 17, 2011 at 11:00 pm #114736In reply to: Buddypress and WordPress??
@mercime
ParticipantIf you want it totally separate, then install first WP at domain root – http://yoursite.com. Create a second WP install at say, a physical subdomain – http://community.yoursite.com/ – using same database but different prefix for tables and install BuddyPress there.
June 17, 2011 at 10:54 pm #114735In reply to: Blog option in component setup
@mercime
Participant== why I do not have the option of Blogs in my component setup ==
Because you need to make it multisite first i.e. create a network https://codex.wordpress.org/Create_A_Network
1. Deactivate all plugins including BuddyPress
2. Create the network – if you hit some snags, support forum is at https://wordpress.org/support/forum/multisite
3. Before installing BP – https://codex.buddypress.org/getting-started/before-installing/
June 17, 2011 at 9:46 pm #114732sidjags
Memberhello everyone.. found a solution to this.. so thought i’d share it here too.. (i’m posting this in all the different threads out there about the same topic)
If you want a custom set of pics to replace the default buddypress avatars and be assigned by random to members… here goes:
sid
June 17, 2011 at 9:42 pm #114731In reply to: How to Override the BuddyPress Avatar Override
sidjags
Member@enderandrew…. hey guys.. i think i found something that should work. If you want a custom set of pics to replace the default buddypress avatars and be assigned by random to members… here goes:
June 17, 2011 at 9:40 pm #114730In reply to: custom set of avatar pics
sidjags
Member@DoctorDR looks like i’ve found the solution… and i hope everyone out there will find this helpful too.
Problem Statement: I wanted to have a custom set of 10-15 avatars uploaded into a folder, and buddypress would have to pick from any one of these to assign to members(on random) everytime then login if they havent uploaded their pwn profile pic.
Why: Lets say am on the members page, and everyone is displayed over there.. we can get different custom pics rather than just one custom pic.
Solution:
Step#1: Change the settings to “mystery man” in your buddypress backend.
Step#2: Upload pics into a folder in your child theme (i uploaded them into wp-content/themes/default/images/avatars/ ).. my theme name is : default, and in it i made a folder for images, and once again another folder called avatars. now… within avatars i put in 10 pics named the following “1avatar.png”, “2avatar.png”, “3avatar.png”… and so on… till “9avatar.png”
and lastly…
Step #3: Paste the following code in your functions.php child theme (taken from a combination of other sources)`function myavatar_add_default_avatar( $url )
{
$length=1;
$characters=’123456789′;
$string=”;
for ($p = 0; $p < $length; $p++) {
$string .= $characters[mt_rand(0, strlen($characters))];
}return get_stylesheet_directory_uri() .’/images/avatars/’.$string.’avatar.png’;
}
add_filter( ‘bp_core_mysteryman_src’, ‘myavatar_add_default_avatar’ );`and thats it… give it a shot… worked great for me! i hope this helps others too cause i saw a lot of people asking for this to no avail…
June 17, 2011 at 8:45 pm #114728In reply to: forum setup
Clare Parkinson
MemberHi Joanquingrech.
You can change any of the labels and messages in BuddyPress to whatever you want by making a customized language file. This article explains what to do: http://wpmu.org/basic-guide-to-creating-a-buddypress-language-file-for-sitewide-label-and-message-editing/
I like thinking of groups as “categories” myself. If you change them to “categories” or “topics” in the language file, then they can be geographical areas, or guilds, or whatever you want.
You can remove “groups” from the menu by creating a custom menu in WordPress that doesn’t have a ‘Groups’ tab.
Normally, users would join the groups themselves by clicking on the “join group” button, but as an admin you can move users around as you want between groups.
I can’t advise you on the theme for the forum appearance. I’m just going to edit the stylesheet myself to set mine up how I want.
cheers,
Clare
June 17, 2011 at 7:47 pm #114725In reply to: How to Override the BuddyPress Avatar Override
sidjags
Memberi too have been searchin for this since some time now… why is this so hard… cannot believe this has not been addressed by anyone thus far.
-
AuthorSearch Results