Search Results for 'buddypress'
-
Search Results
-
Hi guys,
I just installed BuddyPress but i can’t seem to find the option to register as a new user.
At the BuddyPress Test Drive (http://testbp.org/) i see this line:
To start connecting please log in first. You can also create an account.
But my page (http://tuuduu.nl/) only says
To start connecting please log in first.
Did i forgot something?
Greets,
Hi I work at mindblaze technologies,
I was deploying a site for one of our clients opentuition.com and I found this.
In bp-core/bp-core-signup.php
This code has serious problem:
$db_illegal_names = get_site_option( ‘illegal_names’ );
$filtered_illegal_names = apply_filters( ‘bp_core_illegal_usernames’, array( ‘www’, ‘web’, ‘root’, ‘admin’, ‘main’, ‘invite’, ‘administrator’, BP_GROUPS_SLUG, BP_MEMBERS_SLUG, BP_FORUMS_SLUG, BP_BLOGS_SLUG, BP_REGISTER_SLUG, BP_ACTIVATION_SLUG ) );
$illegal_names = array_merge( (array)$db_illegal_names, (array)$filtered_illegal_names );
in it “array_merge” function is embedding “array( ‘www’, ‘web’, ‘root’, ‘admin’, ‘main’, ‘invite’, ‘administrator’, BP_GROUPS_SLUG, BP_MEMBERS_SLUG, BP_FORUMS_SLUG, BP_BLOGS_SLUG, BP_REGISTER_SLUG, BP_ACTIVATION_SLUG )” at the end of “$db_illegal_names” so every time validation function is called it gets appended and the size of this field starts to increase until the point that it breaks the update query which becomes huge after a hundred sign ups or so.
the last line should be like this:
$common_names = array_intersect( (array)$db_illegal_names, (array)$filtered_illegal_names );
$diff_names = array_diff( (array)$db_illegal_names, (array)$filtered_illegal_names );
$illegal_names = array_merge( (array)$diff_names, (array)$common_names );
“array_merge” function merges arrays with numeric keys that is why here we can not use “array_merge”
bp-core/bp-core-signup.php
Please look into the array_merge function you have used /introduced in BP 1.2.3 here.
Apparently it is appending the illegal_name string each time a user signs up or the validation is performed and then updating that in the wp-sitemeta table.
It is a serious error as the query for update keeps on increasing until it reaches a point where the database starts throwing an error.
WPMU 2.9.2, BP 1.2.1
Is there a way to stop BuddyPress search function from returning unwanted search results? Or to teach it “new” letters? Or should I do something about my database settings?
It turns out that my BuddyPress installation cannot tell the difference between the Swedish character “Ö” (& ouml;) and a common O. Example: A search for Gotland will return Östergötland. That is not good, people might think I do not know anything about geography…
BuddyPress 1.2 has another side wide recent posts widget. Now the post-author-avatar doesn’t shows and it shows a long excerpt. I tryed to finde where i can change this, but didn´t finde it. Anybody can help?