Search Results for 'wordpress'
-
AuthorSearch Results
-
March 30, 2009 at 8:21 pm #41435
Andy Peatling
KeymasterThe WordPress theme controls the home page and all blog pages, the BuddyPress theme controls everything else.
March 30, 2009 at 8:08 pm #41433dainismichel
ParticipantThanks for your reply,
Basically what I’ve done is follow the install procedure exactly, which results in the blue “buddpress-member” theme being the theme for members.
I guess I’m still reeling a bit with the vocabulary. I feel like I am the “blog owner,” and it’s odd to talk about admins of blogs, because I am the admin of the community, and the others could be “member blog admins,” but it feels odd to me to call them “blog admins.”
Anyway, I am allowing people to create their own blogs, because I want them to be able to share articles and videos and I want them to be able to post, etc.
However, the blue default theme for what I’m calling “member blogs” is too far away from the overall site design for me to be able to use it.
I created a test blog by creating a member and a blog. It automatically had the blue default template, which I assume is member-themes/buddypress-member.
I then uploaded member-themes/buddypress-home (which I know is “wrong”), and went to “BuddyPress Settings | Select theme to use for member pages:” and chose “BuddyPress Home Theme.” That did not change the theme of the member blog I had created, so I logged in as the member and changed the theme to buddypress-home.
What then happened, is that when I viewed that “member blog,” it asked me to add widgets, but, before opening up this community to its audience, I would like to have a “member blog theme” set, with all display options pre-selected. I don’t want the members who choose to have blogs to need to mess with blog settings, changing themes, etc.
Also, I want the member blog theme to be cohesive with the site theme, which, if I did the install correctly, and if the blue wordpress default theme is what I’m “supposed” to be seeing, is a different style altogether.
So, I’m trying to set up an automatic theme for member blogs that
1) is cohesive with the main buddypress-home theme
2) doesn’t require member blog admins to do anything regarding configuration (they can just start posting)
Make sense?
Thank you very much for your support!
Sincerely,
Dainis
March 30, 2009 at 6:26 pm #41429In reply to: Limit users to only having one blog?
Aron Jay
Participant<?php
/*
Plugin name:Limit Blogs per User
Plugin Author:Brajesh K. Singh
Author URI:http://ThinkingInWordpress.com
Version:1.0
*/
add_filter(\”wpmu_active_signup\”,\”tiw_check_current_users_blog\”); //send fake/true enable or disabled request
add_action(\”wpmu_options\”,\”tiw_display_options_form\”); //show the form to allow how many number of blogs per user
add_action(\”update_wpmu_options\”,\”tiw_save_num_allowed_blogs\”);//action to save number of allowed blogs per user
/****Check ,whether blog registration is allowed,and how many blogs per logged in user is allowed */
function tiw_check_current_users_blog($active_signup)
{
if( !is_user_logged_in() )
return $active_signup;//if the user is not logged in,do not change the site policies
//otherwise…
global $current_user;
$blogs=get_blogs_of_user($current_user->ID);//get all blogs of user
$number_of_blogs_per_user=tiw_num_allowed_blogs();//find
//if number of allowed blog is greater than 0 and current user owns less number of blogs */
if($number_of_blogs_per_user>0&&count($blogs)<$number_of_blogs_per_user)
return $active_signup;
else
return \”none\”;
}
/****How many blogs are allowed per user *************/
function tiw_num_allowed_blogs()
{
$num_allowed_blog=get_site_option(\”tiw_allowed_blogs_per_user\”);//find how many blogs are allowed
if(!isset($num_allowed_blog))
$num_allowed_blog=0;
return $num_allowed_blog;//return the number of allowed blogs
}
/*****Show the Number of Blogs to restrict per user at the bottom of Site options ****/
function tiw_display_options_form()
{
?>
<h3><?php _e(\’Limit Blog Registrations Per User\’) ?></h3>
<table>
<tbody>
<tr valign=\”top\”>
<th scope=\”row\”>Number of blogs allowed per User</th>
<td>
<input type=\”text\” name=\”num_allowed_blogs\” value=\”<?php echo tiw_num_allowed_blogs()?>\” />
<p>If the Value is Zero, It indicates any number of blog is allowed</p>
</td>
</tr>
</tbody>
</table>
<?php
}
/**************Save the Number of blogs per user when the form is updated **************/
function tiw_save_num_allowed_blogs()
{
$allowed_number_of_blogs=intval($_POST[\”num_allowed_blogs\”]);//how many blogs the user has set
//save to the database
update_site_option(\”tiw_allowed_blogs_per_user\”,$allowed_number_of_blogs);//now update
}
?>
You can set the number of blog you would like to allow.. its not mine, just wanna share it..
– Aron
EDIT: to set the number of blogs, proceed to Site Admin/Options/ then look below..
March 30, 2009 at 6:16 pm #41421In reply to: want only to make only one blog per user
nicolagreco
ParticipantMarch 30, 2009 at 5:57 pm #41412In reply to: Excellent Read at WordPress.org Blog
Aron Jay
ParticipantReally worth reading!
even though i didn’t finish it…
March 30, 2009 at 3:36 pm #41386In reply to: Albums For Users
halfpint
ParticipantOk thanks Burtadsit. Im going to play around with some of the albums currently available for wordpress to see If I can intergrate them into buddypress
March 30, 2009 at 11:37 am #41359In reply to: Community blog plugin link is not working
Burt Adsit
ParticipantThe latest is always available at: https://wordpress.org/extend/plugins/bp-community-blogs/
March 30, 2009 at 6:22 am #41348In reply to: registration fields
Michael Berra
ParticipantIt’s a premium plugin and works fine: http://premium.wpmudev.org/project/set-password-on-wordpress-mu-blog-creation
March 30, 2009 at 5:10 am #41344In reply to: BP-FBConnect Plugin
Wcastillo
ParticipantNot sure if it will help anyone but I’ll post it anyway.
I really wanted to launch my BP site with facebook integration AND Invite facebook Friends as well. And given that Andy said he will probably not be working on the BP Facebook Connect pluggin, well.. I made a rough workaround that did the job.
Hope it helps.
Requirements:
– You need to have BP-Facebook Connect installed.
– You need to have Exec-PHP plugin installed.
– You need to have Exclude Pages plugin installed (optional)
Step 1:
==================================
First, I made a new file called invitefriends.php. I put it the root directory of BP.. but you can place it anywhere you want and take care of the paths. This is the code (not sure if it will get throught the parsing functions of this forum… my apologies in advance if it doesn’t):
<?php
$root = dirname(__FILE__); // repeat dirname( as many times as folders levels you save this file… For instance: if you save it in wp-content, it should be dirname(dirname(__FILE__));
if (file_exists($root.’/wp-load.php’)) {
// WP 2.6
require_once($root.’/wp-load.php’);
} else {
// Before 2.6
require_once($root.’/wp-config.php’);
}
if (function_exists(‘fbc_facebook_client’)) {
// if the current user is a facebook user, show his/her friends…
$fbuid = fbc_facebook_client()->get_loggedin_user();
if ($fbuid) { ?>
<fb:serverfbml style=”width: 100%;”>
<script type=”text/fbml”>
<fb:fbml>
<fb:request-form
action=”<?php echo get_option(‘siteurl’); ?>”
method=”GET”
invite=”true”
type=”<?php echo get_option(‘blogname’); ?>”
content=”<?php echo get_option(‘blogname’).” : “.get_option(‘blogdescription’); ?>
<fb:req-choice url='<?php echo get_option(‘siteurl’); ?>’
label='<?php _e(‘Become a member!’, ‘mt_trans_domain’) ?>’ />”>
<fb:multi-friend-selector
showborder=”false”
actiontext=”<?php _e(‘Select the friends you want to invite.’, ‘mt_trans_domain’) ?>”>
</fb:request-form>
</fb:fbml>
</script>
</fb:serverfbml>
<?php } else {
// If s/he is not a facebook user, tell him/her s/he has to be one in order to invite friends.
echo __( ‘Tienes que haber ingresado como un usuario Facebook para poder invitar amigos.’, ‘mt_trans_domain’ );
$user = wp_get_current_user();
if (!$user->ID) {
// if s/he is not a facebook neighter a site member yet… show the Facebook login button.
echo ‘
<fb:login-button size=”large” background=”dark” length=”long”></fb:login-button>’;
}
}
}
?>
==================================
Step 2:
– Create a new page, named it whatever you want (I name it Invite Facebook Friends, in spanish).
– Exclude this page from the front-page (using the Exclude-Page plugin)
The code of my page looks like this:
<?php
if (function_exists(‘fbc_facebook_client’)) {
// if the current user is a facebook user, load invitefriends.php into an IFRAME.
$fbuid = fbc_facebook_client()->get_loggedin_user();
if ($fbuid) { ?>
<iframe width=”100%” height=”700″ frameborder=”no” src=”invitefriends.php”></iframe>
<?php } else {
// If s/he is not a facebook user, tell s/him he has to be in order to invite friends.
echo ‘<p>Tienes que haber ingresado como un usuario Facebook para poder invitar amigos.’;
$user = wp_get_current_user();
if (!$user->ID) {
// If s/he is not a facebook nor a member… show her/him the facebook button.
echo ‘
<fb:login-button size=”large” background=”dark” length=”long”></fb:login-button>’;
}
echo ‘</p>’;
}
}
?>
==================================
As you can it is a extermelly rough approach… but I’m not a WordPress developer nor a WPMU one… nor a BP one… I’m not familiar with the plugin framework of WordPress so I tried to do my best.
I hope it helps.
March 30, 2009 at 4:25 am #41339In reply to: can a user enter his own password at registration?
takuya
ParticipantMarch 29, 2009 at 5:49 pm #41306In reply to: Conservative “unbreakable” use of buddypress
dainismichel
ParticipantThanks DJ Paul.
Now, if I would like users to be able to share PDF files, images, videos, etc., how would I do that?
For some reason, I am not sure if I’m “really” using WordPress, and I don’t know what the “admin” can do, and what sub-blog owners can and can’t do.
Basically, can I tell them, if you want to share images, documents, etc., just create a blog for yourself and start uploading? So, I think there is something called next gen image gallery, or I can surf around on the buddy press forum and find plugins that do a good job with file sharing/viewing?
If a plugin is available in the “main” blog, and it works there, does that mean that the same plugin is available for all of the blogs?
What kind of user functionality tends to break BuddyPress? What do I need to avoid, so that I have the easiest time with support?
Best,
Dainis
March 29, 2009 at 2:22 pm #41290In reply to: Facebook connect
mekudos
ParticipantHi All,
I was successful in the installation of Facebook plugin, BP-FBConnect with Buddypress installation at http://www.mekudos.com
The following was required for my installation:
1) WordPress MU version 2.7.1
2) Buddypress Trunk 1281 (does not work with RC-1)
3) BP-fbconnect.zip Plugin and activate Facebook Developer API key.
Download:
1) WordPress MU version 2.7.1: https://trac.mu.wordpress.org/browser/branches/2.7
2) Buddypress Trunk 1281: https://svn.buddypress.org/trunk/
3) BP-FBConnect Plugin: http://testbp.org/plugins/bp-fbconnect.zip
Hope this helps for those looking for Facebook Integration.
Brian Katz
March 29, 2009 at 1:31 pm #41286In reply to: [site wide activity] problem with time
Paul Wong-Gibbs
Keymasterhttps://core.trac.wordpress.org/ticket/8662
probably should poke them about it, oh and you could always apply that patch to your local install in the interim.
March 29, 2009 at 1:17 pm #41282In reply to: [site wide activity] problem with time
Paul Wong-Gibbs
KeymasterHi Smdnizam,
BuddyPress is built on WordPress MU which in turn is built on WordPress. The root cause of this bug is in WordPress. Until WordPress and WordPress MU apply a fix, it won’t appear fixed in BuddyPress.
March 29, 2009 at 1:15 pm #41281In reply to: Default Groups on signup
Paul Wong-Gibbs
KeymasterAh, okay – now it’s on https://buddypress.org/extend/plugins/ as “Welcome Pack” (or you can go to https://wordpress.org/extend/plugins/welcome-pack/).
March 29, 2009 at 8:55 am #41271In reply to: Forum Integration: HELPING HINTS
doluongtruong
ParticipantWhen I set up BBPress (go to step 3) – Finish BBPress. Error show
Your installation completed with some minor errors. See the error log below for more specific information.
>>> WordPress “auth” cookie salt not set.
>>>>>> Could not fetch “auth” cookie salt from the WordPress options table.
>>>>>> You will need to manually define the “auth” cookie salt in your database.
>>> WordPress “logged in” cookie salt not set.
>>>>>> Could not fetch “logged in” cookie salt from the WordPress options table.
>>>>>> You will need to manually define the “logged in” cookie salt in your database.
Forum could not be created!
Please help me
March 29, 2009 at 2:55 am #41266In reply to: Project ideas for Google Summer of Code
?
ParticipantI’ve been through the problem of having to configure each new blog in wpmu, and I found this plugin to be a bit helpful.
Interesting ideas. I haven’t thought about the possible educational uses BuddyPress may have and now you mention it, sounds good!
Thanks for sharing your thoughts
March 29, 2009 at 2:07 am #41265In reply to: Main blog shows all posts from different subblogs
sharethought
ParticipantThanks for your reply…Ya for first one after searching forum I have already by using donncha’s sidewide tags..
But FOr the second one..I think you didnt get my point… By using term “member blogs page” I am trying to From buddy press member profile page if you go to Member Profile-> Blogs-> Member’s Recent Posts…. There is no Page Navigation for Buddypress Default Theme… Sorry For my weak english that I could not make you understand in the first time..More over I am very new to wordpress and Buddypress… Please help how I can bring pagination on that page…thanks in advance… for better understanding I am talking about the page
March 29, 2009 at 1:54 am #41263In reply to: Main blog shows all posts from different subblogs
Burt Adsit
ParticipantIf you want all blog posts to show up on the main blog then you are looking for donncha’s sitewide tags plugin: https://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/
Your member’s individual blog pagination depends on the theme they are using. It’s the theme’s responsibility. Am I understanding you correctly about ‘member blogs page’? Maybe not.
March 29, 2009 at 1:54 am #41262In reply to: How to browse older blog post
sharethought
ParticipantI have found the answer of your question in this forum after searching 2 days….below is the answer
You’ll have to install donncha’s sitewide tags plugin. It takes all blog posts from all blogs and puts them either on a ‘community’ blog that gets created for that purpose or you can have all blog posts go to the main blog.
https://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/
I have used that plugin and I could bring all my blog post into the main blog…
March 28, 2009 at 11:25 pm #41259In reply to: Default Groups on signup
Paul Wong-Gibbs
KeymasterWas waiting until I could get this on to the official WordPress plugin directory, but:
svn co http://svn.dangerous-minds.com/djpaul/welcome-pack/trunk/That does Default Friend and Default Group. A later version will have Default Welcome Message (guess what that does..).
March 28, 2009 at 2:52 pm #41239In reply to: User karma & rating
zanzoon
Participantalso, what if you can benefit from this plugin:
https://wordpress.org/extend/plugins/gd-star-rating/
but make it work for MU and for buddypress sso that the rating will add point to the users’ tokens or karma…. and so on..
March 28, 2009 at 12:40 pm #41226In reply to: Project ideas for Google Summer of Code
jalien
ParticipantHow about something for the site admin. A few ideas. A blog clone plugin. Setup one or more clone blogs including plugin settings, then depending on the role, group or whatever of the new user it would clone the blog with all the setting, menu, etc. already setup. This would of course go great with a true role-manager for wpmu that could create site-wide roles, or edit the site-wide rights of any of the roles. Which used with a wpmu specific adminimize plugin that would recognize not just the old roles, but newly created ones too and then set the menus site-wide for each of the roles (or if we can clone blogs, at least would recognize newly created roles). This would be great for educational or setups that want to charge for extras (although I guess these are kind of wpmu ideas, but still very relevant to buddypress too.
Another tack would be to create some educational plugins for quizzes somewhat like Moodle without Moodles rigid structure. (But those are more WordPress specific rather than buddypress) although buddypress with individual eduacational spaces for each student, but sitewide feeds of grades to teachers would be great. And schools need the free stuff with money hard to come by from administration types who think computers are just big calculators for adding up costs.
And yes, I definitely agree about the privacy issue.
Lots of great ideas above all the best in making your choice and best of luck at GSoC.
March 28, 2009 at 5:30 am #41212In reply to: how to make blog section show all blog posts ?
John James Jacoby
KeymasterDownload the ZIP directly do your hard drive, and then use your favorite FTP program to upload its files to your wp-content/mu-plugins directory.
Then follow the instructions:
https://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/other_notes/
March 28, 2009 at 4:35 am #41208In reply to: how to make blog section show all blog posts ?
bbrian017
ParticipantI cannot access the normal plugin link using wordpress mu is there another way to add these plugins?
-
AuthorSearch Results