Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Hide Admin'

Viewing 25 results - 801 through 825 (of 908 total)
  • Author
    Search Results
  • #73962
    annie_sp04
    Participant

    Thanks!

    I tried this and it gives me this error:

    Fatal error: Call to undefined function is_user_logged_in() in /plugins/bp-custom.php on line 2

    Any other suggestions?

    #73945
    Paul Wong-Gibbs
    Keymaster

    Try putting something like this in /plugins/bp-custom.php:

    <?php
    if ( is_user_logged_in() ) {
    $user_roles = wp_get_current_user();
    $user_roles = $user_roles->roles;

    if ( empty( $user_roles ) || in_array( 'subscriber', $user_roles ) )
    define( 'BP_DISABLE_ADMIN_BAR', true );
    }
    ?>

    #10707
    annie_sp04
    Participant

    Hello!

    Is there a way to hide the admin from the users with subscriber role, but keep ir working for all other roles? On our site subscribers only have access to create a very simple profile, so i’d like to hide the admin bar for them since it only shows one link in it.

    Thanks

    #73536
    Tore
    Participant

    What JJJ said about it technicaly. What Andrea_r said about Facebook. I’ll add what I think as an admin.

    BP is a stream for me as a user and not a techie. I need to be able to tweak everything that shows up in the stream in a way so that the community can expand. We’ve got 250 users now at a closed community with about 20% really active users. I’d like to grow up to at least 1000 users but I’m afraid of what will become of the Stream. I’ve got 300 very active friends over at Facebook and it makes me want to hide away from it. I mostly never go there since it’s too much to follow.

    Also apart from the Stream there needs to be containers for all things for part time users. They should be able to follow the community even if they don’t take a peek every day.

    #73173
    @mercime
    Keymaster

    https://wordpress.org/extend/plugins/wpmu-new-blog-defaults/ helps you tweak what’s available to sub-blog admins in admin menu

    Paul Wong-Gibbs
    Keymaster

    For instance Blog Tracking is not happening at all across the site – when every setting suggest this should be happenning automatically. It simply isn’t!

    Are the blogs, that aren’t appearing, marked as “private” in their admin? i.e. the “Hide from search engines option”.

    stwc
    Participant

    Oh good lord I need more coffee. *hides in shame*

    Error gone, of course: still no joy, though.

    #71764
    warut
    Participant

    @deities1 thanks for comment

    first version i dont cleanup the code (coding from skeleton comp) because i want to see what others think about it so i can correct and add function it should be.

    do you have a example that gift was not show? name of user?

    I test on my site, It can send to admin normally.

    what do you mean “Gifts sent to him or myself simply don’t show”?

    for sender activity stream it show gift that him send, including in public activity stream (like other activity stream). for this, I see activity stream have hide from public but not test it yet.

    because i am coding badge plugin for budypress so maybe next sunday i will upload next version of bpgift (still confusing with subversion – -” ).

    thing to do:

    1. cleanup the code

    2. hide stream from public (if possible)

    3. deactivate plugin function

    4. correct the bug (?)

    others?

    #71033
    21cdb
    Participant

    I really like to follow your development and i raelly appriciate how transparent you’re keeping the developmet and how much your are listining to the demands of us users.

    Keep it up this way!

    I wrote a short user story:

    1) An administrator: I would like to see all albums even if they set to private or not. I would like to hide pictures with inappropriate content. They shouldn’t be visible for site members anymore, but the owner should see them darkened out with a message overlaying the picture “This picture was removed due to inappropriate content” – something like this.

    2) An anonymous user off the Internet: Should only be able to see the “public” pictures.

    3) A logged-in member viewing their own profile: Should have an Main Menu Item “Albums” or even better “Photos” that shows all of his pictures and all pictures of his friends (newest Uploads on top – so they can easily discover whats new). There should be an “Upload Photos” button on this page (After clicking you will be ask if you would like to upload a single picture or if you would like to create an album). The Page should also hold a subnav with some Options as “Photos of my friends – Photos i’m tagged on – My uploaded Photos – Upload Photos”

    4) A logged-in member viewing a friend’s profile: Should have an Main Menu Item “Albums/Photos” with all of the photos uploaded by “John Doe” and a subnav with “Photos John Doe is tagged on”.

    5) A logged-in member viewing a stranger’s profile: Should have an Main Menu Item “Albums/Photos” with all public pictures the “stranger” uploaded.

    I was also thinking of pictures uploaded to groups. I guess it should be enough if there would be an “Album/Photos” Menu Item in the mainnav of the group. This page should hold all group pictures and an “Upload Photos” button.

    That should be enough for the beginning.

    #70408
    Sam Steiner
    Participant

    Cool plugin. Some ideas:

    – A setting to prevent the shoutbox opening in the admin backend would be great

    – The “V^x” symbols in the top right of the shoutbox are not very sexy

    – A setting to switch off the full page mode (hide “Chat” in the buddybar, hide “Go to full chat” in shoutbox)

    #69021
    Dwenaus
    Participant

    I’ve made the changes mentioned above. so that if you have a bbpress install at a different location, the plugin will work.

    I’ve added the ability to hide karma points. it is accessed in the admin.

    I also noticed a bug with how the karma rating was showing up on the members page and fixed it.

    the new version is 1.2 and should be visible here momentarily: https://wordpress.org/extend/plugins/buddypress-rate-forum-posts/

    enjoy.

    #68602
    Andrea Rennick
    Participant

    You can hide the entire Plugins menu under the Site Admin -> Options page. there’s a checkbox. you, the site admin, can still see it though.

    #9826
    mrjarbenne
    Participant

    is there a plugin that will allow me to hide plugins from my users, in the same way that in Site Admin I can hide themes? I don’t want someone inadvertantly trying to use a BP plugin on their blog within my wpmu community.

    #68553
    @mercime
    Keymaster

    Or, just keep the wp-adminbar and add this to your style.css to hide the login link

    ul.main-nav li.bp-login { display: none; }

    Or, go to Dashboard, BuddyPress > General Settings and check Yes for “Hide admin bar for logged out users?:

    #68536
    beeza
    Participant

    The above works a treat the fix did indeed remove the login from the sidebar, and I now have login with ajax running. I have just realised however there is another slight problem I have run into! I have the Buddypress admin bar hidden with the aid of a plugin. But doing this hides the My Account, My mesages, Friends, Profiles, Settings, and Notifications etc section!

    Just wondering if it be easier to add a plugin to show notifications etc in side panel, except log in! Or just remove the log in section from the admin bar ?

    #9809
    Bowe
    Participant

    Hi,

    I would like to have an option to ignore someone in the activity stream or report unwanted behavior to a mod. The 2nd option might be more complicated but I think both are pretty important on bigger sites:

    An example: http://img96.imageshack.us/img96/2088/ignore.png

    ignore: hides future status updates/activity from the user in question. When you want to view his/her stream again it should be done through his/her profile page: “stop ignoring this person”

    report: reports the user to an moderator/admin.

    #68386
    Jens Wedin
    Participant

    Also looking for a way to hide the admins. Anyony have a clue?

    hydroweb
    Participant

    Will this hide the groups tab from all but admins and editors, and get rid of the text in forums that says you must join a group? So that member sees only forums, and in forums a list of “groups” or “themes” or whatever, that have been created by admin/editor? Actually, what would be more than wonderful would be a version of BP without groups altogether, with a panel allowing admin to create themes. Thanks, Roger

    #67079
    jalien
    Participant

    It’s not any one plugin that does the job. Here’s how I do it.

    Create a new blog (let’s call it Test) and set the privacy (more privacy options needed here and bp-mpo-activity-filter to keep it’s content out of the stream) to “only blog admins can see this blog” (this is necessary, but keeps things clean since nothing should get added to this blog).

    Use new-blog-defaults to set the blog defaults including menus that the users cannot use.

    Members is used to set capabilities of the admin (I don’t change the role of the new blog just the admin’s capabilities) so the admin is “like” an editor or author, but I can still let them change their themes (theme changing is very important to young users).

    Wpmu-plugin-manager lets you set which plugins to allow users to use and which ones are automatically turned on (I always turn on Ozh’s Admin Menus for example). Turn on any plugins you want to use and tweek their settings and any other blog settings.

    Then Adminimize to further hide menus the users don’t need (it only hides menus, but most users will never find them anyway). Adminimize is great for simplifying the write panels for posts and pages too. Any plugins I don’t want users to change settings on I can make sure they don’t have access to by making sure the menus are hidden.

    Now use new-blog-options under the site admin menu and give it the blog id of Test and check off any of the database fields you want new blogs to have (make sure the Members and Adminimize ones are checked). Maybe this isn’t exactly what you want, but it is probably the best overall way to simplify blogs for younger users.

    Also since I use these with classes, I just import my whole list from a spreadsheet using DD Import Users as subscribers on the main blog. I use limit-blogs-per-user and set the site-admin/options to 2. Now users can create their own blog, but can only create one blog of their own. This saves me a lot of time, but still gives the users a fair amount of freedom with their blogs.

    It isn’t a perfect solution. I would like to see some of the overlapping capabilities put into one plugin for cloning blogs. I would especially like to see the ability to have different templates (ie base blogs to clone from) so that I could have one setup for say grade 1 students and another setup for grade 5 students.

    Hope this is useful to someone.

    Anointed
    Participant

    I’ve been trying to get my admin theme panel gui working so that my users can select from a list of their categories, in order to choose which categories to exclude from the homepage loop.

    I believe that I am very close, but can’t seem to get the output correct.

    Here is where I am:

    I have the following code inside my theme functions file admin panel

    // CUSTOM LOOP (homepage)
    function category_loopes($options) {
    $cats = get_categories('hide_empty=0');
    foreach ($cats as $cat) {
    $options[] = array( "name" => $cat->cat_name,
    "desc" => "Check this box if you wish to exclude this category of articles from the homepage display",
    "id" => "zoo_cat_box_".$cat->cat_ID,
    "std" => "",
    "type" => "checkbox");
    }
    return $options;

    }

    I then have the ‘selector’ code as:

    $options[] = array(    "name" =>  "Homepage Categories to Exclude from homepage articles",
    "type" => "heading");

    $options = category_loopes($options);

    Ok so far so good…

    What this gives me is another panel in my wp theme admin where it actually lists the categories properly, with a checkbox next to each one.

    The user is able to select the categories to exclude and they are saved.

    The database has entries in the options table like:

    zoo_cat_box_4 true

    zoo_cat_box_3 false

    Perfect… so i am getting a true in the database for each category to exclude, so far so good.

    The problem:

    I have to modify the homepage loop to exclude those categories, that part is not working.. Here is the function I am trying for that.

    // Custom loops
    function get_exclude_categories_loop($labelz) {
    $labelz = "zoo_cat_box_";
    $include = array();
    $counter = 0;
    $cats = get_categories('hide_empty=0');

    foreach ($cats as $cat) {

    $counter++;

    if ( get_option( $labelz.$cat->cat_ID ) == 'true') {

    $excludecats[] = $cat->cat_ID;
    }
    }
    if(!empty($excludecats)){
    $excludecats = implode(',',$excludecats);
    }
    return $excludecats;

    }

    Finally I place the following on the homepage:

    <?php {
    $args=array(
    'paged'=>$paged,
    'category__not_in' => get_option('get_exclude_categories_loop'),
    );
    };
    query_posts($args);
    if (have_posts()) : while (have_posts()) : the_post();
    ?>

    What is happening is that I am seeing all the posts from all the categories on the homepage. It is not excluding the ones I wish it to.

    I’m guessing that something is either wrong with my final function, or I am not filtering the loop properly.

    Would a code ninja mind taking a peek?

    (I know this is not bp related, more wp, but once I learn this, I plan on using the same logic to exclude bp groups from the listings)

    sorry for such a long post, I’m really trying hard to learn this stuff the right way….

    #66786
    r-a-y
    Keymaster

    @intimez

    is_site_admin() is the function but will probably be deprecated soon when WP 3.0 comes out.

    Try this out:

    <?php if ( is_user_logged_in() && !bp_is_my_profile() && function_exists( 'bp_send_private_message_link' ) && ( my_bp_is_friend() || is_site_admin() ) ) : ?>

    re: direct url to private message… you’ll have to modify the /bp-themes/bp-default/members/single/messages/compose.php file in your child theme to do a check for the username and if the logged-in user is friends with that username.

    If the username is friends with the logged-in user, show the form to complete the message; if not a friend, don’t show the form.

    #66784
    shaisimchi
    Participant

    There is a function that checks if a user is a site admin (can’t remember the name now but if you can’t find it let me know). you can use it to exclude the admin this allowing him to do send the message.

    Thanks,

    Shai

    #66777
    intimez
    Participant

    @r-a-y

    I did what you mentioned but the code in bp-custom.php is now showing up at the top of the page visible to all. Maybe I missed something else?

    edit: ooops, my mistake. It’s working now but I can PM by going direct URL.

    edit2: how to enable so admin can still PM w/o being friends?

    #66656
    stwc
    Participant

    He means either a) install Buddypress with regular, non WPU version of WordPress, possible since BP1.2 or b) go into your Site Admin–>Admin–>Allow new registrations and disable it in the WPMU dashboard.

    #66633
    Maythil
    Participant

    1. problem with blog creation

    My wpbp installation is in the folder http://mydomain.com/mywpbp.

    When someone wants to create a blog the url he gets is http://hisblog/mydomain.com/mywpbp, which of course won’t work. Any solution? Can I use the present installation with some changes, or have I to start from scratch with a new installation?

    2. Just one blog

    This may sound funny because wpmu is meant for creating many blogs.

    However, my main attraction is in the social network miraculously made possible by buddypress.

    For my needs, I only want a single blog (for the admin to put contents) and a social network for users (which includes groups and forums, with the blog-creation option invisible to them).

    Is there a way to handle this?

Viewing 25 results - 801 through 825 (of 908 total)
Skip to toolbar