Search Results for 'wordpress'
-
AuthorSearch Results
-
July 23, 2009 at 11:11 am #5937
Jeremy Winter
ParticipantHere is the error:
Fatal error: Cannot redeclare class BP_Messages_Thread in /home/jjwinter/public_html/ebodia.com/wp-content/plugins/buddypress/bp-messages/bp-messages-classes.php on line 3
Line 3 of messages-classes-php is:
Class BP_Messages_Thread {
I upgraded automatically to 2.8.2 and then automaticly to 1.0.3 (after disabling) Does anyone have any ideas or seen this before? thanks in advance!
July 23, 2009 at 8:24 am #5932Topic: Username and Name
in forum How-to & Troubleshootingrickgoz
ParticipantHello,
WordPress µ 2.7.1
BuddyPress 1.0.2
Is there any possibility to enter only one time the Username and Name as in the standard Buddypress theme (http://testbp.org/register)
Thank you
July 23, 2009 at 8:21 am #5931Topic: change url
in forum How-to & Troubleshootingrickgoz
ParticipantHello,
WordPress MU 2.7.1.
BuddyPress 1.0.2
Do you know how to manage the url address out of the standard buddypress theme.
Like for example to transform:www.domaine.com/GROUPS
into
http://www.domain-name.com/COMMUNAUTIES
Thank you
Have a good day
July 23, 2009 at 5:05 am #49861Jason Giedymin
ParticipantBefore I chime in, when we run our unit tests with users; we:
- When testing an upgrade, I always delete a test user of mine: qauser
- sql delete, and php register the user again after the upgrade.
- I leave one user, qaeditor around. This user stays with the upgrade.
- Allows me to know if perms were set across apps, if new users are good to go, and if old users are ok.
- We flip roles too, but thats another test.

Anyways, Camel Case not supported for login.
Lowercase was put in back in 05.09 https://trac.mu.wordpress.org/changeset/1770
In trunk here is the snipit:
571 function _fill_user( &$user ) {
572 global $wpdb;
573
574 // WPMU uses lowercase logins
575 $user->user_login = strtolower( $user->user_login );July 23, 2009 at 3:06 am #49853In reply to: Adding a like/unlike button?
r-a-y
KeymasterBy “post”, what do you mean exactly?
A BuddyPress forum post, or just a regular blog post?
If it’s a blog post, I’m quite certain a WordPress plugin can handle that.
July 22, 2009 at 11:41 pm #5923Topic: How Do I move The Admin Bar?
in forum How-to & Troubleshootingjtp199
ParticipantHey,
This is my first post and this is actually my first day with wordpress-mu, buddypress, and ive worked a little bit with bbpress. So I bought the church theme from studiopress.com and the admin bar is stuck inside the wrapper div right where there is a block showing an rss icon and comments and the date. I was a little confused because on every other theme i have seen it outside of the wrapper div so that its completely epxpeaded at the very top of the page. I have searched on google and in the forums and i haven’t found a fix or one i could at least understand. I’ve looked through all of my pages to try and see where it would be located to be able to move it but i couldn’t either. I wanted to see if i could at least change it in firebug and that worked but i just couldn’t find the right stuff to change the position so does anyone know how i could do this?
July 22, 2009 at 9:27 pm #49834In reply to: RSS wiget can’t get MU blogs feeds
Murphygonzalez
ParticipantWhat do you mean by “get the RSS feed from a ‘regular’ WP blog”?
Well if I get the RSS feed from a regular installation of wordpress then it works. Perhaps there is some setting that is locking out the RSS feed from the widget.
However, if you click on the link for the feed, it does show something. Take a peek at:
July 22, 2009 at 7:52 pm #5922Topic: RSS wiget can’t get MU blogs feeds
in group forum Third Party PluginsMurphygonzalez
ParticipantI have looked all over for posts that cover this…but I can’t find anything. So if this was answered previously, I apologize…just point me in the right direction.
That being said.
I can’t get the RSS wiget to grab the feeds from any of the member blogs. It can get the feed from a regular wordpress blog but that is it.
What I am trying to do is create a news and events blog and then get a RSS feed to list the entries in a sidebar.
July 22, 2009 at 6:48 pm #49806peterverkooijen
ParticipantIs the hook to use this?:
Runs when a user’s profile is first created. Action function argument: user ID.
So something like this?:
<?php
/*
Plugin Name: Real Name Synchro
Plugin URI: http://
Version: v0.001
Author: peterverkooijen
Description: A plugin to store firstname and lastname from the fullname field in Buddypress registration in WPMU usermeta tables, based on examples in the <a href="http://www.devlounge.net">Devlounge</a> series.
*/
if (!class_exists("RealNameSynchro")) {
class RealNameSynchro {
function RealNameSynchro() { //constructor
}
function xprofile_sync_wp_profile() {
global $bp, $wpdb;
if ( (int)get_site_option( 'bp-disable-profile-sync' ) )
return true;
$fullname = xprofile_get_field_data( BP_XPROFILE_FULLNAME_FIELD_NAME, $bp->loggedin_user->id );
$space = strpos( $fullname, ' ' );
if ( false === $space ) {
$firstname = $fullname;
$lastname = '';
} else {
$firstname = substr( $fullname, 0, $space );
$lastname = trim( substr( $fullname, $space, strlen($fullname) ) );
}
update_usermeta( $bp->loggedin_user->id, 'nickname', $fullname );
update_usermeta( $bp->loggedin_user->id, 'first_name', $firstname );
update_usermeta( $bp->loggedin_user->id, 'last_name', $lastname );
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET display_name = %s WHERE ID = %d", $fullname, $bp->loggedin_user->id ) );
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_url = %s WHERE ID = %d", bp_core_get_user_domain( $bp->loggedin_user->id ), $bp->loggedin_user->id ) );
}
add_action( 'xprofile_updated_profile', 'xprofile_sync_wp_profile' );
}
} //End Class RealNameSynchro
if (class_exists("RealNameSynchro")) {
$dl_pluginSeries = new RealNameSynchro();
}
//Actions and Filters
if (isset($dl_pluginSeries)) {
//Actions
add_action('user_register', array(&$dl_pluginSeries, 'xprofile_sync_wp_profile'), 1);
//Filters
}
?>Testing it now…
Edit: Activating this plugin produces a white screen. Not a good start…

Where did I go wrong?
July 22, 2009 at 2:58 pm #49793In reply to: FEATURES REQUEST Classifieds (Plugin)
grosbouff
ParticipantI added a “share this” feature using the Add-to-any plugin which seems to be a quite good plugin.
So if that plugin is enabled, you’ll be able to check an option in the admin to show or not the share button.
July 22, 2009 at 2:36 pm #5912Topic: add_submenu_page & __FILE__ problem
in forum Creating & Extendinggrosbouff
ParticipantHi, I’m trying to add a page in the wp-admin for my component.
add_submenu_page( 'bp-core.php', __( 'Classifieds Setup', 'classifieds' ), __( 'Classifieds Setup', 'classifieds' ), 2, __FILE__, "bp_classifieds_siteadmin_screen" );Once in the admin, I have the following problem :
The url of the link is
.../wordpress-mu/wp-admin/bp-classifieds/bp-classifieds-admin.phpand should be (like for the other bp components I guess)
.../wordpress-mu/wp-admin/admin.php?page=bp-classifieds/bp-classifieds-admin.phpIs that a bug of buddypress ??
Thanks
July 22, 2009 at 9:46 am #49780In reply to: ehm.. notification not going anywhere :P
Ünsal Korkmaz
Participantow.. this is really annoying..
if the problem is wordpress cache system.. isnt it a compatible problem? because only default caching was open

btw.. that notification is still there..
no one got a similar problem or am i alone?
July 22, 2009 at 8:31 am #49776In reply to: Dashboard ?
Mariusooms
ParticipantCheck out the skeleton component plugin. I teaches you how to make a bp component. It has examples where it sets up two custom pages with according links, etc. That’s how I re-created the dashboard, but r-a-y’s would also work.
The skeleton component takes some time studying as it will go over much more than just setting up page templates, but it is a good learn if you are developing with bp and creating a dashboard component would be a good entry level start.
July 22, 2009 at 7:39 am #49774In reply to: Dashboard ?
r-a-y
KeymasterAhh… well I actually created my version of the dashboard using a WordPress page (specificaly a WordPress page template), and not BP’s components, which is what Andy is doing.
To tell you the truth, I haven’t studied how new, component slugs work, so I just stuck to my tried-and-true WP skills

What I did was enter the BP loops in my WP page template, but before I entered the BP loops, I do a conditional so only logged in users can view the dashboard content.
Hope the logic makes sense.
July 22, 2009 at 6:09 am #49770Greg
ParticipantAt this point I am questioning everything. Following Burt’s updated integration instructions there is only one point where I have the slightest doubt. In the bbPress admin page for WP integration, it says the following about the SALTs:
This must match the value of the WordPress setting named “auth_salt” in your WordPress site. Look for the option labeled “auth_salt” in this WordPress admin page.
There are no SALT values in “/wp-admin/options.php”. So I put values like the following in wp-config.php:
define(‘AUTH_SALT’, ‘XXX’);
define(‘LOGGED_IN_SALT’, ‘XXX’);
define(‘SECURE_AUTH_SALT’, ‘XXX’);
…where the XXX values came from “https://api.wordpress.org/secret-key/1.1/”. I have corresponding “BB_” entries in “bb-config.php”.
July 22, 2009 at 5:11 am #49767r-a-y
KeymasterNeed more info, Reboot Now.
Can the user log into WordPress? But not into bbPress?
Okay, here’s another check:
Double-check that your uploaded bbPress files are actually the same as the files from the distribution package! This one killed me a couple of days ago.
July 22, 2009 at 4:48 am #49765r-a-y
KeymasterHave you used the bbPress Integration plugin?
https://wordpress.org/extend/plugins/bbpress-integration/
And copied the config lines verbatim?
You probably have just double-checking!
July 22, 2009 at 3:09 am #49758In reply to: Install/run BuddyPress in Subdirectory
Stupidism
ParticipantI still don’t get why when I go to domain.tld/home the members link lights up (in the BuddyPress Home Theme). And how do I make the community WordPress Page appear instead of a page listing the folders inside the community folder (forums).
July 22, 2009 at 1:24 am #49746In reply to: Updated to 2.8.1 and now have a fatal error
r-a-y
KeymasterWPMU 2.8.2 is out!
July 22, 2009 at 1:19 am #49744In reply to: Should we use WP/BP or another platform?
John James Jacoby
KeymasterAs enthusiastic as you are about WordPress, most of us are about BuddyPress, so without speaking for anyone else, my opinion is biased towards using BuddyPress for every website. My moms knitting website will use BuddyPress.

If you want users to be able to blog about their own stuff without moderation, then you want WordPressMU, because each user gets their own blog to talk about whatever they want; WHATEVER they want. That means even though your site is about fashion, that doesn’t stop them from talking about puppies.
If you want these users to be able to interact with each other, and have personalities, then you want BuddyPress.BP will allow your users to talk to each other privately, form groups to talk about things with each other, and comment on each others profiles.
The reasons NOT to use BuddyPress? At the moment there’s very little restrictive control over what people do. You can’t stop someone from putting profanity in their profile. You can’t block a user from messaging you or others. Also, the platform is still evolving as much as WordPress and bbPress are. That means that if you like to keep your website on the cutting edge, you’ll find it hard to install everything and leave it alone, as enhancements and improvements are coming through at least monthly, and so far upgrading isn’t a one click thing yet (almost though)
Those is my opinionses… Not sure how helpful they is, but if you like WordPress, you will probably see the potential of BuddyPress for what you want your website to be.
July 22, 2009 at 1:06 am #49741In reply to: Install/run BuddyPress in Subdirectory
John James Jacoby
KeymasterI’ve used this website before as an example and I hope he doesn’t mind, but check out leadpress.com as an example.
You’re not running BuddyPress in a sub directory, but actually just stopping it from taking over the root and /blog URLs, and instead using the normal WordPress way of assigning pages.
Rename home.php to community.php.
Use the Page Template method to name that page template “Community.”
In the blog admin, Make a page for your home, a page for your blog, and a page for your community, all with similar slugs.
The community page will use the “Community” page template.
Goto your blog settings and assign the front page to be the page you made for home, and make the index/blog page the one you made for your blog.
Then, you will want to install bbPress in a folder called “/community/forums/” and be sure to create a page with the slug “forums” as a sub page of “community”
That should do it?
July 21, 2009 at 9:19 pm #49740In reply to: Should we use WP/BP or another platform?
Paul Wong-Gibbs
KeymasterTake a look at https://wordpress.org/showcase/ for examples of some of the best sites built on WordPress. WordPress itself is a stable and exciting for building sites and CMSs on, and the showcase which I’ve linked you to will let you browse the highlighted best.
The ‘biggest’ BuddyPress installation – other than this site – that I am aware of, is GigaOM Pro.
I’m not going to sell the idea of using BuddyPress to you
but perhaps if you make a short list of the key features and ideas that are essential, and things you would like to have, we can all comment the feasibility.
July 21, 2009 at 8:18 pm #49736In reply to: Remove Image Upload Option from SIGNUP only.
r-a-y
KeymasterActually that CSS code should go in your bphome theme’s CSS file.
Or whatever you are using for your WordPress home theme.
Let’s say you’re using the “bphome” theme.
The CSS snippet should go at the very end of:
/wp-content/themes/bphome/style.css
July 21, 2009 at 8:07 pm #49731In reply to: custom button in buddy-bar
Paul Wong-Gibbs
KeymasterWell, if you’ve already read this https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/ and maybe this https://buddypress.org/forums/topic.php?id=2283, and do not understand, unless you are prepared to further your understanding of PHP and WordPress’ API, you need to find a developer to write the code for you.
July 21, 2009 at 7:59 pm #49727In reply to: Auto activate plugin for Member Blogs only.
Paul Wong-Gibbs
KeymasterI can see that you have cross-posted this over on the WPMU forums. You have a response from andrea_r, about an hour ago (as of time of posting), which you have replied to about 40 minutes ago.
This is definitely a WPMU question as this doesn’t involve BuddyPress, so you were right posting it there, but there was no need to post it here.
-
AuthorSearch Results