Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Hide Admin'

Viewing 25 results - 576 through 600 (of 915 total)
  • Author
    Search Results
  • snowlas
    Participant

    So here is the problem and MY solution. Might not work for you.
    What I’m using: WP 3.3.1, BP 1.5.4, & CIMY Extra Fields 2.3.7

    I register users from my WordPress page, NOT my BuddyPress page. So not myurl.com/register BUT I AM USING myurl.com/wplogin.php?action=register

    What was happening: CIMY generates a key before BuddyPress generates a key. THEN, Buddypress would send out its own email, but WordPress is looking for the CIMY key to activate the user.

    Also, when BuddyPress was sending out the activation email from bp_core_filters.php, NOT bp_members_signup.php. It seems that bp_core_filters.php does not seem to have the function to activate a user, but bp_members_signup.php does.

    When I would register users from my BuddyPress page instead of the WordPress page, the activate email would work just fine. The email was also being sent from bp_members_signup.php, NOT bp_core_filters.php. How do I know? I altered the email message in filters.php, but then got a different email when I registered through BuddyPress and not WordPress.

    Okay. So what did I do?

    bp_core_filters.php was overriding my CIMY activation email. When I disabled BuddyPress, I was able to register users through CIMY and my activation link even said ‘?cimy_key=838494040383830209’ (not a real key, obviously) and not just ‘?key=8393834929282’

    Before you do this, save a clean copy of bp_core_filters.php somewhere different, so if this doesn’t work for you, you can put the old file back in without any problems.

    I went into bp_core_filters.php and DELETED lines 224-255. This starts with:

    ?function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) {

    $activate_url = bp_get_activation_page() . “?key=$key”;
    $activate_url = esc_url($activate_url);
    $admin_email = get_site_option( ‘admin_email’ );

    if ( empty( $admin_email ) )
    $admin_email = ‘support@’ . $_SERVER;?

    Then it ends with, on line 255

    ?add_filter( ‘wpmu_signup_user_notification’, ‘bp_core_activation_signup_user_notification’, 1, 4 );?

    Delete all code between lines 224 and 255. If you have WPMU, above that is the email function for WPMU, in lines 181-222.

    Why am I using CIMY and not just extending the profile fields on BuddyPress? I needed to collect address data. It was a requirement to collect address data from the registration. But, it would then display publicly on the profile in BuddyPress. I couldn’t have that. I just wanted the data in WordPress, hidden. Thus, I’m using CIMY.

    Also, I use CIMY and hide the buddypress admin bar to strangers. I use the plugin login logout and place the widget in a sidebar to direct to the correct login screen, not the buddypress login screen.

    Check it out: http://mediabridges.info

    BuddyPress is running but is not handling any registration, activation, etc. But users can still use it.

    Hugo Ashmore
    Participant

    No such thing sadly; you could ensure the fields are in a specific group of their own and then wrap that in a if is_admin check so only admins can read, if you are creating a theme for general use and wouldn’t know the field names then you may need to write a function of some description with dashboard option settings to manage things or check what BP plugins are available in the ‘privacy’ genre and see if they offer any greater control.

    Tux Kapono
    Participant

    Actually, I did. She was wondering if there were more obvious solutions than what she could think of. Though she mentioned that the listed solution only works if you don’t ever have a different field name.

    Attached is a screenshot of what I really was hoping BuddyPress would have, a standard Ning feature, which allows you to select ‘private’, so the answer will only be visible to you and other administrators: http://csplacemaking.com/images/profile-questions.png. This is the ideal solution.

    Hugo Ashmore
    Participant

    You’ll need to do something like wrap the custom xprofile loop section in a check for a specific field name ‘birthdate’ and do something like ‘if not’ ‘birthdate’ go ahead and display field item or display if is_admin if you want to be able to see users data as a site admin.

    To remove a field you could do:
    `

    <tr>

    `
    in the profile loop; equally if you wanted to remove a complete field group you can copy the approach seen in the file for ensuring that the base group is not shown `if ( 1 != bp_get_the_profile_group_id() ) ` adding an OR followed by a check on the group id to hide.

    aces
    Participant

    On Buddypress > Settings select No for Hide admin bar for logged out users?

    See: https://codex.buddypress.org/getting-started/configure-buddypress-components/#bp-settings

    sheffieldlad
    Member

    hi all.
    My users find it confusing to have 2 menus once they have entered forums page or groups page.
    I’ve added the activity, groups, forums etc pages to my admin bar but I want to hide the top menu on the default buddypress admin theme.

    Can anyone point me in the right direction please?

    Many thanks.

    #129048
    aces
    Participant
    #27351
    destova5
    Member

    I tried searching for this but keep coming up with topics related to the admin bar. Apologies if this is a duplicate question.

    I am maintaining a site for a local single dating group. As the admin, I am shown on the member list but would really rather not be as I am not interested finding a date through the group :)

    Is there a way to hide myself from the member list on the list page?

    (http://www.siouxlandsinglemingles.com/members)

    thanks!!
    trishia

    #27269
    JustWriteWorkshop
    Participant

    My members would love to have the ability to hide/mask the name of the topic starter for a specific group. Reponses would still show the user, but the topic starter would remain unknown (except for, I guess, admins/moderators). It’d be nice if the user could choose to remain anonymous or not, but if it is an all or nothing deal, they’d prefer anonymous.

    The purpose for this in this group is to receive honest feedback on creative writing (ie remove the ego from the post so that friends and rivals will not skew their responses to the work itself)

    I do not see anything like this in the plugin list.

    #128793
    Brajesh Singh
    Participant

    You may want to try this code

    http://pastebin.com/phUXcaDN

    hope that helps.

    #128782
    oblax
    Participant

    Exactly. How can I do it? I googled it and I could find any.

    #128781
    @mercime
    Participant

    You mean you don’t want the Admin to be included in the list of members in members directory?

    #27240
    oblax
    Participant

    Hi,

    Is there a way to hide the admin from the members page?

    #128706
    Marcella
    Participant

    Hey @davidveldt this should do it if you are using the default theme. Otherwise you should integrate as you see fit.

    theme/registration/register.php

    You can add any groups or fields as you require. The groups and fields here are arbitrary.

    ` ‘player’, 4 => ‘coach’, 5 =>’parent’, 6 => ‘instructor’); ?>

    $role) : ?>
    <div id="” class=”role-fields”>

    <label for="”>

    <textarea rows="5" cols="40" name="” id=””>

    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />

    `

    Create some profile groups to cater for each role. You can find the group id within the BuddyPress admin… In the url bar or investigate your database.

    You should set-up the $roles array above to match your requirements.

    Within the loop you can show any fields you have created within that xprofile group. If you have a select box within that group you would add the following code as outlined in the bp-default register.php

    `

    <label for="”>

    <select name="” id=””>

    `

    Finally add the following jQuery where you house any other code of similar ilk.

    `
    jQuery(“.role-fields”).hide();
    $roles = jQuery(“#roles”);
    jQuery(“#field_2”).change(function()
    {
    $role = jQuery(this).val().toLowerCase();
    jQuery(“.role-fields”).hide();
    jQuery(“#” + $role).toggle();
    });
    `

    Here’s a pastebin for all that above. http://pastebin.com/QFdTdstz

    No need for tabs or accordion this time.

    Hope that helps you on the Road.

    PatrickJunk
    Member

    I apologize if this has been addressed elsewhere, but my search here didn’t turn anything up.

    The blackish BP bar across the top of the website. I know that this:

    define(‘BP_DISABLE_ADMIN_BAR’, true);

    …can be used to hide it. Our client will want us to do that. But before we do that, I want to be able to link to all of these features using the regular menu system. Our target market is older (70-plus), and just grasping social media will be hard enough for some of them. The added menu bar will definitely be confusing. So we’d like to be able to choose which links and features of BP to add to our menu system. For instance, they will use the messaging system (inbox), and their personal settings like the avatar, but we won’t introduce “groups”, “forums” or even the dashboard until later.

    Since one has to be logged in to use the BP features, the links created in that bar are of course dynamic, based on the variable represented by who is logged in. So I suppose a link like this might work (my code is probably bad, but hopefully you understand what I’m going for):

    `<a href=”activity/my-friends”>`

    But we can’t get that to work as a menu item. Can anyone help? Is this even possible?

    #127484
    aces
    Participant

    I put it in bp-custom-php – actually it also worked in functions.php

    I’m not sure if you want the same functionality. Wrapping in `is_admin` was so that the following lines only worked on the admin pages. `remove_action` shouldn’t be necessary.

    The `define` line tells buddypress to use the wp adminbar. This adds the personal menu under your name like on this page and gets rid of some blank space under the menu bar. It also stops the buddybar being rendered (behind the WP admin bar – see WP bug mentioned above). I can not find a simple way to use the buddybar instead of the wp adminbar on the admin page – but I think that’s the way WordPress wants it to work…

    For the public facing side I have selected Hide admin bar for logged out users? so you only see the buddybar when logged in.

    What are you trying to achieve?

    Hi, Mercime. I am using Salutation by para.llel. us It has been recently revamped for use with Buddypress and I can see that many members seem to be doing fine. I am sure it is something I have done. I have changed only one setting under buddypress and that is ‘hide admin bar for logged out users’. I messed up initially on my pages set-up, so had to go back and re-install bp to get the permalinks working right. Now everything but this section works – it throws me out to google and says it is a broken link:

    Oops! This link appears to be broken.
    Suggestions:
    Go to http://www.­atlantagardening­forum.­com
    Search http://www.atlantagardeningforum.com for members admin settings general

    I will try switching back to bp default and see what happens.

    #26560
    aro747
    Participant

    Hello,
    Just getting started with WordPress and Buddypress. I installed the latest version of both. I’ve made some good changes through CSS and built out the site structure through the admin panel. One thing I’ve not been able to figure out is how to hide the “Register” link for logged in users. Once a user is logged in, it should disappear, but it doesn’t. How can I fix it? Thanks in advance.

    Ray

    #126509
    mrshow
    Member

    anyone found a solution to this having same issue of users being considered blog owner in buddypress multisite setup. admin bar says my sites
    mainsite.com
    actuallsite.com -> user registered

    Mainsite does not belong to user how i get rid of link on bar and profile as it does this for all users.

    TC.K
    Member

    Hi, How to disable user to post blog post, as well as hide the ‘Dashboard” at the top of the nav bar. I installed buddypress in a single site and don’t want user to access to the Dashboard besides the admin. Even by setting the user’s role as member, they still can write a post and pass to admin to review. I don’t want this, I need the member totally stay out of the dashboard.
    Is this achievable?

    #26156
    Dailyblog
    Member

    Hi there,

    I would like to only use my wordpress menu and delete or hide the Buddy press admin bar.
    How can I set up the buddypress bar choices like ´profile´and áctivity´ in my wordpress menu?

    Thanks in advance!

    Sameera
    Member

    Thanks for your reply. I don’t mind editing home.php because I’m doing it in my theme file. I’ve figured out a way to prevent the friends tab to other users. Just trying to figure out the way it’s done for messages, so that I’m not reinventing anything.

    modemlooper
    Moderator

    Just read you don’t want to edit home.php. There isn’t a filter for privacy like there is with messages for showing profile sections. Messages and xprofile fields has logic for output and can be filtered but the actual page needs a code edit.

    modemlooper
    Moderator

    Install BuddyPress Profile Privacy plugin

    Sameera
    Member

    Hi,
    I want to hide the “Friends” tab on the users profile page to all other users except for admin and owner of the profile only. I want this to work the way Messages and Settings tabs work => If another user types
    `http: // [site] / [username] / messages`
    BP shows an error message saying the user does not have access to the page.

    If I use (with !bp_is_my_profile()),
    `bp_core_remove_nav_item(‘friends’)`
    it just shows a 404 type page for the `http: // [site] / [username] / friends`.

    I tried
    `$bp->bp_nav = false;`
    but that doesn’t prevent the user from seeing the friends by going to `http: // [site] / [username] / friends`

    I prevent the user from seeing the friends list by editing the members/home.php file. But, I’d like to use the same mechanism that settings and messages pages use.
    I looked at messages/single.php, but didn’t see anything that could be taking care of this logic.

    Can anybody help please?

Viewing 25 results - 576 through 600 (of 915 total)
Skip to toolbar