2903192Inactive
Hi!
I guess the following problem arises due to my laps in PHP knowledge.
I’m trying to extend the regular validation of registration data by an own function (WPMU2.7,BP1.0).
However already my skeleton, albeit empty,
function myown_xprofile_validate_signup_fields() {}
add_filter( ‘wpmu_validate_user_signup’, ‘myown_xprofile_validate_signup_fields’, 9, 1 );
causes these errors:
Warning: extract() [function.extract]: First argument should be an array in /var/www/web2/html/wordpressmu/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 263
Fatal error: Call to a member function get_error_code() on a non-object in /var/www/web2/html/wordpressmu/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 265
Please excuse me if this is laughable, but I’m grateful 4 any help.
Mike-
You pose a good question. It would be useful to have the ability to re-request friendship, or at least nudge a given person to reconsider.
Of course, as you suggest, there may be other issues like the original email was overlooked or filtered out as spam and never seen. In this case, there’s not much that can been done, especially if a member does not check their profile on a regular basis.
But having a feature to re-request action or an admin-configurable setting that will auto-remind members every week or month to visit their profile would be a nice addition to the platform.
I suggest creating a new enhancement ticket in trac.
I had some luck unpluging some plugins.
Hi Philpeter,
The language files go only in /wp-content/plugins/buddypress/bp-languages (do not create this folder, use the existing one) and should not be copied or placed anywhere else.
Move your “bp-custom.php” file out of /wp-content/plugins/buddypress/ and into /wp-content/plugins/.
If you are still having trouble, make sure the MO version of the file was created correctly.
2744569Inactive
Hi again, I have slightly changed the mu-plugins/wpmu-signup-captcha.php to fit better on signup page’s design, if anyone interested you can change the lines 37-51 to the following.
<style>
.captcha_img {
display: inline!important;
float: left!important;
margin-left:10px!important;
border: 1px solid #888a85;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
}
.captcha_label {
display: inline!important;
float: left!important;
line-height: 50px!important;
}
</style>
<div class='field-box'>
<div class="extra-field">
<div <?php echo($error ? 'class="error"' : '') ?>>
<?php if($error){ echo $error; } ?>
</div>
<div class="signup-label">
<label class="signup-label captcha_label">
<?php _e('Verification:')?>
</label>
<img class="captcha_img" src="wp-captcha.php?rand=<?php echo rand(0,999999)?>" alt="Captcha code" border="0" />
<input maxlength="12" name="captcha" type="text" value="" />
</div>
</div>
</div>
i put the styles in php file which is a bad practice but you can always take them yo your custom.css file.
I’am trying to upgrade my buddypress install from RC1to the 1.0.
In dev, with a few test members and some test blogs, everything is running.
In production, we have 2000 members..and same number of blogs.
>it makes sql crash (on a very powerfull server)
logs shows a lot of queries like SHOW TABLES LIKE “wp_user_xx_activity”
Is it from the upgrade script ?
I don’t know how to make it lighter / is it possible to desactivate the include call of component ‘activity’ in bp-loader.php ?
Isn’t it dangerous if database schema change ?
In general, where are localized bp versions upgrades fonctions ?
thanks.
I also realized why I hated the default member theme so much. For some reason in Firefox 3.5b4 on mac all the font on the member theme is huge. I don’t know if anyone else has had this problem, but it is fine in Safari. It actually looks really nice in Safari.
Thanks for the links.
I have seen the horizontal design as well, and I don’t especially care for that either. I have determined for my purposes that I don’t need that navigation at all.
That is an awesome facebook theme, but I don’t literally mean that I want it to look like facebook, I just want it to function more like facebook. Facebook has a very minimal amount of navigation by putting everything into “apps.” I don’t want to do that, but I also don’t think I need navigation just to see each of my friends’ events, groups etc. I am just interested in seeing who is attending each individual event, or who is a member of each individual group.
My ideal design is this: The front page lists upcoming events, new groups and recent activity including blog entries, which is already possible. The top navigation remains the way it is with links to each component. I can see my own profile and friends’ profiles. I can see a list of all events, all groups, and within those events and groups I can see who is attending. Finally, each group has events and a blog. Each blog is primarily used to talk about and link to the group’s events. I guess that is exactly what we already have, but I feel like the default design is almost too much functionality for my needs.
I think I am going to take apart the default member theme and show you what I mean. Then we can go from there, because I think a lot of people might like a more simple member theme.
Tutsie-
Great! I’m glad you’re back in business.
As you’ve discovered, one of the first places to look when having BuddyPress issues is possible plugin conflicts.
Philpeter-
This clearly looks like a permissions-based issue. A couple of questions:
- What are the permissions for blog.dir?
- What, if any, errors are showing up in your log files?
- Have you tried disabling all plugins except BuddyPress and switching to the default themes?
Read the links in this thread and see if that solves your problem. Let us know either way.
BuddyPress Support Plugin 1.0-RC1
If you are truly using BuddyPress 1.0-RC1, then that is your issue. There have been many bugs fixes and improvements since RC1. It’s time to upgrade to the 1.0 public release and try the process again.
Since RC2, BuddyPress is a single plugin that resides in /wp-content/plugins/. Make sure you follow these revised Installation procedures very carefully.
Does anyone know how to exclude elements from functions?
I would like to use the Members Only plugin with Buddypress, but want to prevent it from applying to the pages on my site. Am wondering how to modify the functions to ensure this.
Also, I don’t want the exclusion code to prevent the other functions of BP from functioning properly.
Sounds really good, can’t wait to see it
Using some cutting edge stuff (currently):
WordPress MU 2.7.1
bbPress version 1.0-rc-1
BuddyPress Support Plugin 1.0-RC1
When I navigate over to http://www.mysite.com/forums/bb-admin/plugins.php and try to enable the buddypress integration plugin (installed in my-plugins) I get a fatal Error:
Fatal error: Cannot redeclare for_buddypress_strip_tags() (previously declared in /home/demo/public_html/uberbrides.com/public/forums/bb-plugins/buddypress-enable.php:11) in /home/demo/public_html/uberbrides.com/public/forums/my-plugins/buddypress-enable.php on line 31
Any ideas or other places to download an older version?
impossible in general, but there might be some solution (BUT reinstall is the BEST). If you want to find out more or get feedback, head over to wpmu forum as this questions is not buddypress related.
Assuming you have followed instructions correctly and moved the two themes to their appropiate folders, you just need to enable and activate the bphome theme on the main blog, just as though you would for any other theme.
This plugin is now integrated better in BuddyPress and it’s included in BPDEV NoSpam http://bp-dev.org/download
Please don’t resurrect 5 month old topics. Start a new one with your questions and provide info on your wpmu/bp versions.
I’m having trouble getting a translation to take effect. I must be missing something but I’ve spent ages trying to figure it out and gotten nowhere.
I’ve created buddypress-xxx.po and .mo files, put them in both /wp-content/plugins/buddypress/languages and /wp-content/mu-plugins/bp-languages
I’ve also added the following code to /wp-content/plugins/buddypress/bp-custom.php:
// Activate the custom terminology for DevelopaDream
define( 'BPLANG', 'developadream' );
if ( file_exists( BP_PLUGIN_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' ) ) {
load_textdomain( 'buddypress', BP_PLUGIN_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' );
}
Despite that, I’m still not getting any change in language on the site at all.
My set up is :
- WPMU 2.7.1
- BuddyPress 1.0
- Plugin: bp-Events 0.58
- Custom BP theme (though only customised colour scheme)
Am I missing something?
I’m having trouble uploading an avatar for the admin user. I get the following message;
<blockquote.Upload Failed! Error was: The uploaded file could not be moved to the upload folder.
My set-up:
- WPMU 2.7.1
- BuddyPress 1.0
- Plugin: bp-Events 0.58
- Custom BP theme (though only customised colour scheme)
I tried all the suggestions in this forum post about an identical issue but none of them solved the problem.
Does anyone have any ideas what else might be causing this and how it can be fixed? Thanks.
I agree with DJPaul, but you could get a developer to create theme you want.
However, check this guy out:Nazieb
http://wp-project.nazieb.com/themes/smells-like-facebook/
Might look into it?
I am running into this same problem on my site, except adjusting the privacy options didn’t really do anything. The blogs are still set to “Public” mode, unless there is something else I’m misisng?
2744569Inactive
@Jfcarter,
Thanks for the answer, In the meantime i found that solution too, and works fine.
But it seems that this is not the re-captcha plugin what i meant. What i meant is the plugin from http://recaptcha.net/.
Now i have in register page wpmu-signup-captcha.php working, and in comments and posts wp-recaptcha…
Anyways if i find a better way i will post it here.