Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 65 total)
  • @aronjay

    Participant

    ask Trent.

    @aronjay

    Participant

    might be a conflict with other plugins, not sure but could you please list ’em here.

    Everything under mu-plugins and plugins. just to sort things out.

    @aronjay

    Participant

    That would totally create a bunch of tables.

    Why going to that solution if there are group and site wide forum that anyone could use.

    You know its not a good idea, specially if you would like to grow and have more members/blogs.

    Just my 2cs’

    @aronjay

    Participant

    ah, another privacy settings..

    @aronjay

    Participant

    I noticed that there are so many inquiries about member-themes that their member themes are not loading or doesn’t show up.

    To solve this you have to upload the default member theme then under Site Admin-BuddyPress in ‘Select theme to use for member pages:’ chose FaceBuddy.

    After that you can now delete the default buddypress theme.

    That would hopefully solve your problems.

    @aronjay

    Participant

    @DJPaul,

    I removed BP but the warning is still there. Maybe i’ll just try to reinstall WPMU and not to mess around in the database again.

    Anyway, its worth a try and now i know what could happen if play with tables. :)

    @aronjay

    Participant

    Actually i tried to remove some tables in the database that are empty, I only removed those that has an id number of a specific user/blog that i want to be remove.

    I will try your suggestion, be back and report what happened.

    Thanks.

    @aronjay

    Participant

    @Stev35555

    here\’s the plugin url.. http://wpmudev.org/project/New-Blog-Defaults

    just place it under wp-content/mu-plugins

    I think you should also consider Burtadsit recommendation.

    Good Luck.

    @aronjay

    Participant

    this might be a problem if the user have not selected any themes..this can also happen if you only upload few themes..

    >based on my experience.. i suggest you use new blog defaults plugin to set the default theme for each new blogs..

    @aronjay

    Participant

    IE is really broken.

    @aronjay

    Participant

    nice find.

    @aronjay

    Participant

    CSS?

    @aronjay

    Participant

    this is what i\’m looking for a solution..

    EDIT: do you mean that if u upload a theme on wp-content\themes all bp themes should not show on sub blogs back end menu if they would like to chose a theme?

    am i right?

    @aronjay

    Participant

    much better solution here.. with an option to set the number of blogs you want the user to have..

    https://buddypress.org/forums/topic.php?id=1900

    EDIT: i didn’t notice that this topic was 3 weeks ago..

    @aronjay

    Participant

    wow, ur project is cool,

    can you share a little info on what plugins you used..?

    thanks..

    – Aron

    @aronjay

    Participant

    do not try the first code.. look here..

    https://buddypress.org/forums/topic.php?id=1900

    that function of that code above is to restrict non-logged in users from accessing the profile and group pages.. :D so, wrong post.. sorry if i confused you..

    – Aron

    @aronjay

    Participant

    <?php

    /*

    Plugin name:Limit Blogs per User

    Plugin Author:Brajesh K. Singh

    Plugin URI:http://www.thinkinginwordpress.com/2009/03/limit-number-of-blogs-per-user-for-wordpress-mu-and-buddypress-websiteblog-network/

    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.. :D

    – Aron

    EDIT: to set the number of blogs, proceed to Site Admin/Options/ then look below..

    @aronjay

    Participant

    I’m sorry.. huhu.. :)

    @aronjay

    Participant

    I have no idea.

    @aronjay

    Participant

    RSS feed….

    @aronjay

    Participant

    yah.. that is great!

    @aronjay

    Participant

    Great! pls.. share it.. :D

    @aronjay

    Participant

    just back to previous trunk.. then.. send a ticket.. w8t until its solved..

    we can\’t rush them..

    just my opinion.. you don\’t really need to upgrade to the latest trunk when there is available just stay put on the latest stable build to save you from that kind of situation..

    Good Luck..

    EDIT: I’ve seen ur site, well its totally wack, my recommendation is to follow ‘above’ anyway, its up to you.. my friend.. :)

    @aronjay

    Participant

    whoah.. thanks for your reply.. I\’m looking for a plugin solution.. I don\’t want to hard code.. my installation..

    anyway sorry for bumping.. :)

    Thank you so much.

    EDIT: I’m just too excited.

    @aronjay

    Participant

    elaborate… <D>

Viewing 25 replies - 26 through 50 (of 65 total)
Skip to toolbar