Search Results for 'wordpress'
-
AuthorSearch Results
-
December 7, 2009 at 7:34 pm #58179
In reply to: Help out with bbPress / Forum-software
Xevo
ParticipantOnly extra that buddypress needs now is an easier wordpress intergration, bbPress already has all the core functions of a good forum software, if you need more, write a plugin.
I’d rather not have bbPress get bloated like one of the other huge forum softwares out there.
December 7, 2009 at 4:17 pm #58170In reply to: BP could handle a huge number of members?
John James Jacoby
KeymasterYeap! This installation is probably the best example of a site with thousands of active users. You can even see how it works in a sisterly fashion at http;//profiles.wordpress.org. Same user tables but different site/blog so to speak.
Andy Peatling
KeymasterBlog support is just disabled, since there is no support in regular WP.
December 7, 2009 at 12:23 pm #58159In reply to: How to disable Gravatar completely?
Marcus (aka @msykes)
ParticipantYou shouldn’t have to edit the core files at all. I had to whip up something similar today for a client which you may find helpful.
What it does is replace the email that is used to access the gravatar with a different one. I recommend you replace the default email template with your domain, so, the gravatar will remain persistant if it’s an identicon or wavatar:
class DisableUserGravatar {
var $email_template = "member.%USER%@yourwebsite.com";
function DisableUserGravatar(){
add_filter('get_avatar', array(&$this, 'wp_avatar'), 1, 5);
add_filter( 'bp_core_fetch_avatar', array(&$this, 'bp_avatar'), 1, 3);
}
function wp_avatar( $content, $id_or_email){
if( preg_match( "/gravatar.com/", $content ) ){
if ( is_numeric($id_or_email) ) {
$id = (int) $id_or_email;
$user = get_userdata($id);
} elseif ( is_object($id_or_email) ) {
if ( !empty($id_or_email->user_id) ) {
$id = (int) $id_or_email->user_id;
$user = get_userdata($id);
} elseif ( !empty($id_or_email->comment_author_email) ) {
return $content; //Commenters not logged in don't need filtering
}
} else {
$user = get_user_by_email($id_or_email);
}
if(!$user) return $content;
$username = $user->user_login;
$email = md5( str_replace('%USER%', $username, $this->email_template) );
return preg_replace("/gravatar.com\/avatar\/(.+)\?/", "gravatar.com/avatar/{$email}?", $content);
}
return $content;
}
function bp_avatar( $content, $params ){
if( is_array($params) && $params['object'] == 'user' ){
return $this->wp_avatar($content, $params['item_id']);
}
return $content;
}
}
global $DisableUserGravatar;
$DisableUserGravatar = new DisableUserGravatar();Create a file in wp-content/mu-plugins with the content above.
I’ll put this up on wordpress.org as a plugin.
Xevo
ParticipantIsn’t the only big difference between wpmu and wp, the blogs? If you can cramp those in a single table, I wouldn’t see why it’s impossible to run buddypress on a single wp.
December 7, 2009 at 6:27 am #58145In reply to: dutchmall.nl
Xevo
Participant@ Bowe: Normally this is correct, but wordpress makes an exception. Only if you want your theme/plugin in the plugin or theme repository over at wordpress.org, you have to have GPL on it. If you want to place your own copyright or copyleft on it, your allowed to do so. I can’t find a page on wordpress clarifying this in detail, since they don’t like you using any other license.
I do have a statement on the forum that verifies this (second post).
https://wordpress.org/support/topic/260431
Btw, contacted the fellows over at wpmu-dev, they’re 100% GPL, so you could even freely give away their plugins/themes if you wanted to. But I don’t think they’d be giving updates anytime soon if their plugins/themes would be handed out for free.
December 7, 2009 at 5:43 am #58144Xevo
ParticipantThere are no tutorials about this and no one is working on one either, as far as I know. Changing a normal wordpress theme to a buddypress theme isn’t that hard, since after all wordpress is still the core, but you need a lot of extra template tags and styling in order for this to work properly.
December 6, 2009 at 11:34 pm #58137In reply to: dutchmall.nl
Bowe
ParticipantIf I understand correctly it does not matter which licensing type they use because as soon as they use WP code it becomes GPL. At least that’s what a read here:
This means that whenever a theme or a plugin uses just one function from the WordPress code, GPL license automatically ‘kicks in’ and takes over. And since plugins and themes must use WordPress functions they automatically become GPL as well.
Can someone confirm this is correct?
December 6, 2009 at 7:13 pm #58130In reply to: dutchmall.nl
Bowe
ParticipantThen I stand corrected and a mod can delete my post. If this is perfectly fine and accepted in the wordpress community then I am probably seeing this the wrong way..
I personally would find it a bit strange to sell something which isn’t yours.
For example if it took me many hours to create a BuddyPress theme or plugin and decided to sell it, and notice that someone else is selling my plugin for a lower price, I would be VERY unhappy!
Right now everything that’s developed using any WP hooks automatically falls under the GPL so you are not doing anything wrong I think, but I honestly don’t understand why you would do this.. If everyone would start reselling stuff from others the open source community would quickly become a very nasty place to be. This is just my personal opinion and I’m interested in what others think about this.
I am not trying to start a flamewar and I’m sorry for accusing you for stealing, that was uncalled for.
December 6, 2009 at 12:16 am #58086In reply to: Is there a way to make BP a members only site?
Jean-Pierre Michaud
ParticipantDecember 5, 2009 at 9:21 pm #58079In reply to: About BP for WP single user
Xevo
ParticipantIf you really need a social network on wordpress stand alone, try the plugin “mingle”, it isn’t as advanced as buddypress, but it has the basics.
December 5, 2009 at 9:14 pm #58076Xevo
ParticipantLooks like a nice design, and a great way to show what you can do with buddypress by extending it with some other software.

I believe you can make a login form outside of wordpress, just direct the action to the wordpress login page. And make the method post. You can even use this to redirect to the page your on right now.
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>December 5, 2009 at 8:27 pm #58073Paul Wong-Gibbs
Keymaster@ Xevo Can you report BP_ENABLE_ROOT_PROFILES clashing with blog names as a bug on the Trac please if this is happening? We can surely add code to the WordPress ‘create blog’ checks to check usernames against the reserved blog name list if BP_ENABLE_ROOT_PROFILES is set.
December 5, 2009 at 8:14 pm #58068In reply to: About BP for WP single user
Paul Wong-Gibbs
KeymasterHello giast
No, BuddyPress needs WPMU at the moment. It will work in regular WordPress when WordPress and WPMU merge; last I knew, that was probably going to be in WordPress v3.0.
December 5, 2009 at 1:49 pm #58049In reply to: existing wordpress site ot buddy press
Andrea Rennick
ParticipantYou’ll have to move from wordpress to wpmu first.
http://mu.wordpress.org
December 5, 2009 at 12:15 pm #58046Xevo
ParticipantAlready working on two plugin which will enable buddypress/wpmu to take data from the bbpress table’s and vice versa.
I personally like the idea that all automattic software can be used as one (like modules), but at the same time, if you just need bbpress, that you can use it without wordpress.
December 5, 2009 at 12:10 pm #58045Brajesh Singh
ParticipantAgree with you on the option.
Rather than using “forums” slug for group forums directory, I will rather use it for external forums. Instead, I will consider using group-forums slug for that.
Again, why use two copies of bbpress if you want external forums, why not use a single copy but with the tighter integration.
Well, why I said It should not be Integrated.
Currently,Is there anyway for the site admin to manage all the forums on a buddypress at one place.No.
Can You manage all the topics from one place, no , you have to visit individual groups to manage it.
bbpress has been in existence ,before even the conception of buddypress,so how about the people who are already using it as a standalone software,or on their wordpress/wpmu site.We may not force them to install buddypress for using/keep using forum.
I hope ,There are other various reasons why It should not be merged.
But again,I too wish ,there should be more better integration.
December 5, 2009 at 11:54 am #58044Sven Lehnert
ParticipantThere should be a option at the admin site, to select standard forum view,or buddypress groups view.
For many people I think the bbpress integration into wordpress (make bbpress look the same as wp) is just to heave. So they jump to some other forum software.
In the and most of them are missing forum community features.
In the moment you have to rewrite bbpress plugins to use them in the puddypress bbpress installation. Or have two install with two admin sites.
December 5, 2009 at 9:34 am #58035In reply to: Navbar issues
illwill79
ParticipantJust to give anyone that views this an idea of what I’m talking about, please see this site:
http://cfcommunity.net/FOK2009/
Notice that their navbar stops moving completely after the window is shortened (width wise) a certain amount?
Back on my site: http://www.up-your-game.com/wordpress-mu you can see that mine completely moves after a certain width decrease of the browser. Any thoughts on how this can be accomplished on my page?
December 4, 2009 at 11:12 pm #58015In reply to: existing wordpress site ot buddy press
Paul Wong-Gibbs
KeymasterHi Keith
It should be as simple as copying all of the templates from the BuddyPress theme and pasting them into the WordPress theme. Be sure to copy and paste over all of the CSS from the BuddyPress theme also.
I expect you won’t want to overwrite any files that may already be in your thesis theme (index.php, for example).
December 4, 2009 at 5:38 pm #58012In reply to: Profile text data is automatically hyperlinking
Brajesh Singh
ParticipantThis is the default behaviour.
Please try this plugin for putting it off
https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/
December 4, 2009 at 11:11 am #57994In reply to: How to create forums?
fpc1
MemberHi,
For some reason I’m also experiencing the same problem with setting up my forum.
I created a fresh installation of WordPress MU and Buddypress, then I setup the forum as a fresh installation and it shows on my site but I cannot do anything with it.
There doesn’t seem to be anyway to add items to the forum, discussions, topics etc.
My address is http://club.fenpaddle.co.uk
I’m not very technical but I’ve managed to get this far and I’ve also setup another wordpress website at http://www.fenpaddle.co.uk.
Can someone please suggest what I should be doing next?
Many thanks
Roly
December 4, 2009 at 11:04 am #57993In reply to: Using Facebook Connect with BuddyPress
Bowe
Participanthttps://wordpress.org/extend/plugins/bp-fbconnect/
Altough a bit basic it works very well!
December 4, 2009 at 10:59 am #57992In reply to: calling specific profile fields individually
h4x3d
Participantor maybe something with unserialize&stripslashes?
I found this in reference to the code mentioned above:
* xprofile_format_profile_field()<br />
955 *<br />
956 * Formats a profile field according to its type. [ TODO: Should really be moved to filters ]<br />
957 *<br />
958 * @package BuddyPress Core<br />
959 * @param $field_type The type of field: datebox, selectbox, textbox etc<br />
960 * @param $field_value The actual value<br />
961 * @uses bp_format_time() Formats a time value based on the WordPress date format setting<br />
962 * @return $field_value The formatted value<br />
963 */<br />
964 function xprofile_format_profile_field( $field_type, $field_value ) {<br />
965 if ( !isset($field_value) || empty( $field_value ) )<br />
966 return false;<br />
967<br />
968 $field_value = bp_unserialize_profile_field( $field_value );<br />
969<br />
970 if ( 'datebox' == $field_type ) {<br />
971 $field_value = bp_format_time( $field_value, true );<br />
972 } else {<br />
973 $content = $field_value;<br />
974 $content = apply_filters('the_content', $content);<br />
975 $field_value = str_replace(']]>', ']]>', $content);<br />
976 }<br />
977<br />
978 return stripslashes( stripslashes( $field_value ) );<br />
979 }and this
function bp_unserialize_profile_field( $value ) {522 if ( is_serialized($value) ) {
523 $field_value = maybe_unserialize($value);
524 $field_value = implode( ', ', $field_value );
525 return $field_value;
526 }
527
528 return $value;
529 }
December 2, 2009 at 9:35 pm #57918In reply to: Extending Group Creation
Andy Peatling
KeymasterYou should make it a plugin, then add this to the plugin and activate. If you’d like to see a working implementation then check out these plugins:
https://wordpress.org/extend/plugins/buddypress-group-twitter
https://wordpress.org/extend/plugins/bp-groupblog
https://wordpress.org/extend/plugins/external-group-blogs
You should be saving extra group information as groupmeta:
bp_groups_update_groupmeta( $group_id, 'name', $value ); -
AuthorSearch Results