Search Results for 'Hide Admin'
-
AuthorSearch Results
-
August 30, 2009 at 9:27 pm #51782
In reply to: Plugin request: Removing "create a blog" options
Jeff Sayre
Participantbut it sounds as if your solution removes blogs from the bar altogether. We plan to make subscribers members of blogs that the Admins set up…
You have BuddyPress installed, I assume. So why don’t you give it a try–disabled the blog tracking and see what happens. It does exactly what you’re looking for. It prevents your members (users) from being able to create their own blogs. It does not hide the existing Admin blogs from them.
If you have more than one Admin-created blog, you can place additional buttons, or fancy menus, to those Admin-based blogs.
Unless you change the default behavior, WPMU by default makes all new users subscribers to the primary site blog (Blog ID number 1), which is the Admin blog. If you try out my suggestion, you will see that the “Blog” button is still visible. It takes users to the Admin-created blog. Only the “Blogs” button disappears for sight as it is a link to all user-created blogs, not the Admin blog.
August 25, 2009 at 9:10 pm #51562In reply to: Only admin can create a group!
John James Jacoby
KeymasterEasiest way would be to use the WPMU function
is_site_admin()to determine if the currently logged in user is a site admin, and then hide the buttons accordingly in your template.Then, you can create a custom function in plugins/bp-custom.php to redirect a user if they try to access the group creation URL directly.
August 18, 2009 at 1:30 am #51193r-a-y
KeymasterI’m using a plugin called WP Hide Dashboard on the primary blog:
https://wordpress.org/extend/plugins/wp-hide-dashboard/
This hides mostly everything from a subscriber.
Hope that helps!
August 10, 2009 at 9:01 pm #50862webatease
ParticipantGigya Socialize worked for my install… I’ve only tried myspace, facebook and twitter – but it authenticated me correctly and I was able to login to BuddyPress. Only issue I’m having is that each time you login with one of your social usernames, it creates a new username in WPMU/BuddyPress, as opposed to all tying to your one WPMU/BuddyPress account. This created havoc for me, since I want to use groups, and other permissions.
At this point, I’m leaning towards limiting to just the Facebook login. Does anyone know if there is a way to hide/not allow login using the actual wordpress login, and ONLY use the login for Gigya Socialize? I/e allow users to go to wp-admin, but not give them the option to login using the user/pass – only letting them see the Gigya Socialize plugin.
July 22, 2009 at 5:20 pm #5917chrisk2020
ParticipantForgive me if this has been asked before I can’t find any relevant posts:
Basically what I want to achieve is to move the functionality of elements from the secondary nav items of the buddybar, specifically Dashboard, New Post, Manage Posts, Manage Comments:
And have them display for a Logged in User when they visit their own ‘My Blogs’ page in their profile page.
So then I can remove/ hide the buddybar, direct new users to their profile page from where they can click the link to add a new post and access their blog admin.
I want to remove the buddybar for integration/ design purposes and to me it seems most logical that a user would be able to maintain their blog from within buddypress having navigated to ‘My Blog’. (I will limit each user to one blog)
July 22, 2009 at 10:15 am #49782In reply to: Should we use WP/BP or another platform?
Mariusooms
ParticipantThere are other platforms and have tried a few myself. As new as the bp platform is, it is by far the quickest out of the box that enables much of what you need already (together with wpmu). However other platform might offer more fine grained control, but it comes with a hefty learning curve as the platform is simply more complex. The upside to bp’s less complex architecture makes it also easier to develop for.
I’ll see if I can give some input on your requirements.
The main feature is an easy and somewhat restrictive way to post content. The only thing girls can publish is pictures of outfits, and then tag the clothes (describe, tag, categorize…).
It looks like you need a custom content type that omits the post message. Flutter allows you to create a specific post type. I haven’t tried it with wpmu. There is also a wpmu plugin called ‘toggle_meta_boxes’ which allows you to hide unneeded post boxes to make it super easy for your users to just upload content.
We want to have some level of control here. BTW not all users can upload content.
Since you only have one subject users post on I would recommend NOT giving every user a blog at sign up, but just let them post to the main blog. Keeps you in control over categories, tags, etc. Plus it lets you control the user level. I however you do want to give users a blog there are wpmu plugins which allow you to set blog defaults like categories, predefined pages and posts and such. Also you can make new blog users have an editor role rather than an admin role if you want to control what they can or can not do.
The content published by everyone goes to the main page, same of today.
This is done by buddypress through widgets or even custom loops if you are adventurous.
No problem there.
People con vote their fabs.
I haven’t looked at this, but I imagine there would be a wp plugin which would let users vote on posts. If you can find a vote plugin that serves an RSS feed you could pull that into the bp user profile. EVen link it to the activity stream with a small custom plugin.
When user is logged in, she sees the content of the girls she is following (not pictures of everyone, just pictures of the ones that inspire the user).
In bp through making friends with other users you can follow the activity of your friends only. At the moment the activity stream is text only, afaik, but I think images in the activity stream is in the pipeline?
User profile is built by the outfits she publishes
The profile page shows the latest activity, blog posts, wire messages, etc. of the profiles user.
and the outfits she favorites.
This is the most dificult part, since I haven’t looked into it. Assuming you can find a good vote/favorite plugin it should be doable.
You can search for/discover/subscribe to trends, types of clothes, styles, colors, people…
This is where bp shines as the search is very well done. Combine it with bp_contents plugin which allows your users to tag themselve, groups, blog and add categories…your archiving possibilities are endless.
Some pitfalls (already mentioned):
Privacy controls, inappropriate content flagging (is coming in 1.1 though), it is still not an out of the box solution (however for you requirements there is none that I can think of).
There are still even other approaches when I think about it, I would recommend wp and bp in a heartbeat. Especially since the backend of both are really solid. Plugins are installed and upgraded easily. It is a widely supported and growing platform and would not hesitate to recommend it to you.
I hope this helps a little bit.
July 17, 2009 at 4:43 pm #5854Topic: Feature request: Hide certain members
in group forum Requests & Feedbackmlemberg
ParticipantTo me it seems odd, that site administrators are visible to other users. At my site I have two members named “Admin” and “Forum Admin”, Their roles goes without saying.
But all my other members are regular users with regular names. Therefore it bothers me, that these two accounts show up in the members directory and the “Who’s online” widget.
I would very much like the possibility to hide certain members from the directory, site wide activity and widgets, so that they can be sort of “silent watchers”.
Any body else who’d like this feature
July 13, 2009 at 1:13 pm #578921cdb
ParticipantHey,
some time ago i was looking for the best solution to alter the admin-bar.css in BP.
I figured out the following solution which removes the original admin-bar.css and replaces it on a per blog basis with a my-admin-bar.css.
The my-admin-bar.css is only loaded when the user is logged in (i set the option to hide the buddybar from user who are not logged in).
function check_admin_bar() {
global $bp, $wpdb, $current_blog, $doing_admin_bar;
$doing_admin_bar = true;
//remove core admin bar CSS at all times!
remove_action('wp_head', 'bp_core_admin_bar_css', 1);
remove_action('admin_head', 'bp_core_admin_bar_css', 1);
if ( (int) get_site_option( 'hide-loggedout-adminbar' ) && !is_user_logged_in() )
return false;
//add custom CSS only if admin bar is true
if($doing_admin_bar)
add_action('wp_head', 'my_admin_bar_css', 1);
add_action('admin_head', 'my_admin_bar_css', 1);
}
add_action('plugins_loaded','check_admin_bar',99);However i’m not able to remove the original admin_bar.css in the backend! It still loads the original admin_bar.css along with my_admin_bar.css.
Any ideas if i missed some hook or some other suggestions?
July 8, 2009 at 8:02 pm #48837In reply to: default to ‘just a username’
r-a-y
KeymasterHey Peter,
It’s safe, but when upgrading to the newest BP version, you’ll have to remember to make this change again.
Either that, or until some option in the admin area is made.
I’m using BeLogical’s fix plus a CSS hack to hide the “Create a Blog” field right now.
—
There is no voting system, Peter. Although you can leave a message on the trac:
https://trac.buddypress.org/ticket/835
You can login with your existing BP username and password there.
July 5, 2009 at 5:22 am #48556In reply to: Way to disable admin bar on certain themes?
r-a-y
KeymasterHi Tedmann,
There’s two ways to go about this:
(1) CSS route:
In your /wp-content/themes/carrington-mobile-1.0.2/style.css file, add this:
body {padding-top:0 !important;}
#wp-admin-bar {display:none !important;}(2) Theme functions.php route:
In your /wp-content/themes/carrington-mobile-1.0.2/functions.php file, add this:
remove_action( 'wp_footer', 'bp_core_admin_bar' );
remove_action( 'admin_footer', 'bp_core_admin_bar' );—
Option #1 will simply hide the admin bar from view, however it will still be loaded if you view the HTML source.
Option #2 will completely remove the admin bar from the HTML source.
Not completely 100% that code will work, but give it a shot and report back.
July 2, 2009 at 10:37 pm #565621cdb
ParticipantHey,
Is there any way to hide the adminbar for users who are not logged in, but only on the user blogs and not on the bp homepage / hometheme?
July 2, 2009 at 12:24 am #48393In reply to: Changing the Blogs Creation Function**
John James Jacoby
KeymasterJust read over your post again and you say you want to eliminate the entire backend? Off the top of my head, I don’t know if that’s possible.
Best way to do this would be to integrate the P2 theme into your user blogs.
Otherwise, I know there is a WPMU plugin out there to help limit the admin side bar’s available links. If you manually navigate to the page you can still get to them, but it hides the options from view.
June 23, 2009 at 9:30 am #5533Topic: Fatal Error? Help
in forum How-to & Troubleshooting3198429
InactiveCatchable fatal error: Object of class WP_Error could not be converted to string in /home6/monstet5/public_html/page_id1030/wp-includes/wpmu-functions.php on line 112
So i installed dark theme on my site today
http://www.monstershideout.com/page_id1030/
and it works and so i messing around with site admin > options >
and i wanted to change the blogs feed so i put in the page id, now when you click on the blog or blogs tab
http://www.monstershideout.com/page_id1030/HOME_BLOG_SLUG/
it will just show edit entry
i belive entering my page id ruined it?
I downloaded a fresh copy of wp mu file > wp-functions, and put it in my wp-includes foldeR? But this didn’t work???
June 22, 2009 at 12:30 am #5514Topic: Missing BP Admin Bar on Blog
in forum Creating & Extendingdinhluong
ParticipantOn my install of BuddyPress, one of my blogs hides the admin bar when a certain theme is used (Diet Apple from http://www.sem-pros.com/search-engine-marketing/services/freewordpressthemes.htm). The admin bar comes back when I switch to another theme, and it works fine on all the other blogs (which have different themes).
How is the admin bar called? I’d like to keep this theme if possible.
June 19, 2009 at 4:53 pm #47786In reply to: Add admin bar in all Themes
3206013
InactiveHello,
I’ve tried to check that option “Hide admin bar for logged out users to (No) ” , where shoud I include wp_footer() in the themes ,
June 19, 2009 at 4:34 pm #47783In reply to: Add admin bar in all Themes
Burt Adsit
ParticipantIf it’s not showing on all your blogs then check the setting of: wpmu back end > BuddyPress > General Settings > Hide admin bar for logged out users?
If some themes are still not showing the admin bar then that means they are not written to calll wp_footer() in the theme itself.
June 16, 2009 at 8:04 pm #47609In reply to: What is the correct way to alter the admin-bar.css
21cdb
ParticipantAs mentioned above the solution is working for me. I also figured out a way to remove the original admin-bar.css out of the header. I’m not at work at the moment, so i can’t look it up and write it down here, but i will do so tomorrow!
One problem remains for me. In the admin-bar.css and also in my-admin-bar.css there is a padding-top width the height of the buddybar applied to the body of the page.
If i don’t use my-admin-bar.css and check the “hide adminbar for users that aren’t logged in” in the settings of the dashboard the padding-top isn’t applied to the body. However if i use my-admin-bar.css it gets loaded all the time and not only if a user is logged in. This implies that i always have an extra gap, because the padding si applied all the time!?
Any hints for this problem?
June 15, 2009 at 8:24 pm #543021cdb
ParticipantHi there,
i’m hiding the adminbar if a user is not logged in. However i want to show it on the bp-home and bp-member theme even if a user is not logged it, but still hide it on the users themes.
What would be the best solution to achieve this?
June 9, 2009 at 8:30 am #5334ougian
ParticipantI am using buddypress 1.0.1 + WPMU 2.7.1 + bbpress 1.0-rc-1
I suppose even if the groups forums are set to private, users can still see the threads posted from bbpress and can post in those threads.
I would like to hide the whole bbpress from the users and still allow users to access the forums through buddypress groups. But at the same time I would also like to use bbpress administration as the forums cannot be managed through buddypress.
May 21, 2009 at 9:43 pm #5078Topic: Only admin can create a group!
in forum How-to & Troubleshootingeelambuddy
ParticipantHow can I hide the “group create” option from a user? I only want the admin to create a group.
May 21, 2009 at 6:22 pm #45815In reply to: Showing members of private groups to non-members
eelambuddy
ParticipantIs there anyway I can hide the “group creation” option from the users? Basically, only admin can create the “groups”.
May 8, 2009 at 8:01 pm #44834In reply to: BuddyPress and Multi-Site issues
Marcin Biegun
ParticipantUpdated bp_adminbar_authors_menu to hide authors on additional main sites
//HOOKS FOR TOP MENU - AUTHORS
remove_action( 'bp_adminbar_menus', 'bp_adminbar_authors_menu', 12 );
add_action( 'bp_adminbar_menus', 'my_bp_adminbar_authors_menu', 12 );
// **** "Blog Authors" Menu (visible when not logged in) ********
function my_bp_adminbar_authors_menu() {
global $current_blog,$wpdb;
$site_id = $wpdb->get_var( "SELECT COUNT(*) FROM wp_site WHERE id=".$current_blog->blog_id);
//$numrows = $wpdb->num_rows($site_id);
if ( $site_id!
'1' ) {
$authors = get_users_of_blog();
if ( is_array( $authors ) ) {
/* This is a blog, render a menu with links to all authors */
echo '<li id="bp-adminbar-authors-menu" class="'.$site_id.'"><a href="/">';
_e('Blog Authors', 'buddypress');
echo '</a>';
echo '<ul class="author-list">';
foreach( $authors as $author ) {
$author = new BP_Core_User( $author->user_id );
echo '<li>';
echo '<a href="' . $author->user_url . '">';
echo $author->avatar_mini;
echo ' ' . $author->fullname;
echo '<span class="activity">' . $author->last_active . '</span>';
echo '</a>';
echo '<div class="admin-bar-clear"></div>';
echo '</li>';
}
echo '</ul>';
echo '</li>';
}
}
}May 7, 2009 at 2:01 pm #44708In reply to: Questions about groups.
enlightenmental1
Participant1.) yes, the group admin can add other admin/moderator and ban users
2.) they need to join your group, then under group memebrs you can add them as an admin/moderator
3.) this is possible yes, I accomplished this by adding <?PHP if is admin ?> into the bp-core to hide the create group button from non-admins (your community will want the ability to add groups though)
4.) you can create “private groups” that are visible to everyone, but you can only join if you’re accepted…
why don’t you create a couple different types of groups, then you’ll see all the features/abilities they have
May 2, 2009 at 6:37 pm #44161In reply to: Antispam plugin
Paul Wong-Gibbs
KeymasterPossible user error.
@Arturo – check this from the readme. You might have missed it to.
To install in WordPress MU (Forced Activation/Site-Wide):
1. Upload the
wp-recaptchafolder to the/wp-content/mu-pluginsdirectory1. **Move** the
wp-recaptcha.phpfile out of thewp-recaptchafolder so that it is in/wp-content/mu-plugins1. Now you should have
/wp-content/mu-plugins/wp-recaptcha.phpand/wp-content/mu-plugins/wp-recaptcha/1. Go to the administrator menu and then go to **Site Admin > reCAPTCHA**
1. Get the reCAPTCHA keys [here](http://recaptcha.net/api/getkey?domain=www.blaenkdenum.com&app=wordpress \”reCAPTCHA API keys\”) and/or the MailHide keys [here](http://mailhide.recaptcha.net/apikey \”MailHide keys\”)
April 30, 2009 at 10:03 pm #43935In reply to: Hide Admin
John James Jacoby
KeymasterThere’s something like this in the works, but it won’t be available for a few months yet.
-
AuthorSearch Results