Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'toolbar'

Viewing 25 results - 601 through 625 (of 803 total)
  • Author
    Search Results
  • #140125
    danbpfr
    Participant

    i’m not a programmer at all, but better try this:
    `function add_sumtips_admin_bar_link() {
    global $wp_admin_bar;
    if ( !is_super_admin() || !is_admin_bar_showing() || is_user_logged_in() )
    $wp_admin_bar->add_menu( array(
    ‘id’ => ‘sumtips_link’,
    ‘title’ => __( ‘SumTips Menu’),
    ‘href’ => __(‘http://sumtips.com’),
    ) );
    endif
    }
    add_action(‘admin_bar_menu’, ‘add_sumtips_admin_bar_link’,25);”`

    #140123
    iamdhunt
    Participant

    Ok sorry but I’m not the best programmer. Using their menu as an example, do you mean something like this:

    ”function add_sumtips_admin_bar_link() {
    global $wp_admin_bar;
    if ( !is_super_admin() || !is_admin_bar_showing() )
    return;
    if ( is_user_logged_in() )
    $wp_admin_bar->add_menu( array(
    ‘id’ => ‘sumtips_link’,
    ‘title’ => __( ‘SumTips Menu’),
    ‘href’ => __(‘http://sumtips.com’),
    ) );
    else
    false;
    endif
    }
    add_action(‘admin_bar_menu’, ‘add_sumtips_admin_bar_link’,25);”

    #140120
    iamdhunt
    Participant

    Thanks I got the redirect logout to work by using the function from here: http://projectivemotion.com/2011/07/27/wordpress-always-redirect-to-homepage-after-logout/

    Still looking to change the link on the toolbar’s My Account from “Edit Profile” to “Activity”

    #140116
    danbpfr
    Participant

    You can use a template conditionnal tag.
    if ( is_user_logged_in() ) :
    your custom menu stuff
    else
    something for non logged user
    endif

    #140112
    iamdhunt
    Participant

    Thanks but I already understand how to add items to the menu, I’ve already done that. What code do I need to add to hide those menu items from non-logged in users?

    #140043
    danbpfr
    Participant
    #140040
    danbpfr
    Participant
    #31401
    iamdhunt
    Participant

    Hi I’d like to know where and how I can change where users get sent when they logout from the wordpress toolbar and when they click on there my account avatar also on the toolbar.

    #31400
    iamdhunt
    Participant

    Hi I was able to edit my wordpress bar a little bit and add some custom links to it through the custom menu and the Admin Bar Improved plugin; but I want to hide those custom links from non-logged in users and don’t know where to begin. Any help?

    danbpfr
    Participant

    Hello,
    there is probably an error in the WP’s spanish translation. Or you use a plugin witch have an old version of tyniMCE.

    Are your language settings correct ? View in wp-content and in the dashboard.
    Are your plugins compatible with WP 3.4.1 and BP 1.5/1.6 ?
    Debug by deactivating them exept BP and use bp-default theme during the tests.
    If you find nothing, you have to search in plugins languages .po file with a text editor like notepad+ and track all special caracters and all html tags you will find in it. Sometimes > or < are forgotten by translators…
    Begin pehaps by Achievements as you mentionned it in relation with profiles…

    You can also try to reactivate the old BP admin bar to see if that you have the same error.
    Put this in a bp-custom.php file into your plugins folder:
    `add_filter( ‘bp_use_wp_admin_bar’, ‘__return_false’ );`

    c0rp53
    Member

    bump :/

    #139628

    @mercine @modemlooper

    Thanks, I’ve activated that plugin. The toolbar has reappeared which is great. However the layout on my iphone now has column on the right-hand side (I use a child theme of the default theme) taking up most of the screen with the main body just a thin sliver on the left.

    Is there a simple fix to this or does this require editing the css? If any code needs changing, any info on where I should be looking would be extremely helpful.

    Thanks in advance for any pointers.

    c0rp53
    Member

    Hi, well… I wasn’t sure if I should post here or wordpress forums, anyway it seems to be a Buddypress issue so…

    I get this error in the footer when I go to any user’s profile and some plugins pages user related such as Achievements/My Achievements.

    Fatal error: Class ‘_WP_Editors’ not found in /home/pgandita/public_html/loksearte.org/wp-includes/js/tinymce/langs/wp-langs.php on line 548

    It is important to consider that it only happens with the spanish version of the site, english version works just fine.

    Wordpresss: 3.4.1
    Buddypress: 1.6.1
    A lot of plugins, but I already deactivated them and the error still persists

    So, what should I do?

    #139569
    @mercime
    Keymaster

    == and now our menu bar has disappeared altogether ==

    @stuart-elliott is this happening for logged-in/logged-out users?

    Some thoughts:
    – Go to Settings > BuddyPress -> Settings -> Main Settings and make sure that you have checked ” Show the Toolbar for logged out users “
    – Change to bp-default theme and check if issue is resolved. If so, it’s very likely a theme issue. Know that Themekraft will be updating the Custom Community theme next week if not sooner.

    adminRimma
    Participant

    To clarify my post above, I do not have buddypress showing in the toolbar on the left under settings on the subdomain and when i network activate it, do not see profile fields…

    i have declared the root blog as advised…

    #139537
    David Cavins
    Keymaster

    I made changes to the WP Admin Bar by adding this snippet to my theme’s functions.php file:

    // Customize WP Toolbar
    function change_toolbar($wp_toolbar) {
    $wp_toolbar->remove_node('my-account-forums');
    }
    
    add_action('admin_bar_menu', 'change_toolbar', 999); 

    You can remove any individual li by getting the id of it (in your case the li has the id wp-admin-bar-my-account-forums) and dropping the prefix wp-admin-bar-. The part where you remove the prefix is odd and makes it kind of a secret, but it works. I got the original idea here: http://www.sitepoint.com/change-wordpress-33-toolbar/

    adminRimma
    Participant

    I have the same problem! Installed BP 1.6.1 within WordPress 3.4.1 Multisite, subdomain setup; activated on network first, ran setup wizard…then deactived on network and activated on root blog id=3 (subdomain i want it on)…went to subdomain and activated it just there….no settings show up in toolbar and uder settings I get “you do not have sufficient permissions to access this page”.

    also, during running the setup wizard, i get no buddypress on left menu — so i cannot access components to set up some custom fields…

    please help!!!
    am dead in the water like shaneholloman…

    #31238
    ifelsewhat
    Member

    1. Pages on adminbar such as the media component plugin shows blank pages
    2. I went into the admin setting/buddypress/ Setting tab Main Settings section and unchecked Show the Toolbar on buddy and now the toolbar is missing. Where the re enable admin tool bar settings???

    I like the wordpress | buddypress setup but I have issues with theme fixes and blank links after upgrade. The process starts to get bumpy and somethings don’t get updated.

    Can somebody help me resolve these issues???

    Thanks….

    #139512
    9087877
    Inactive

    Go to Dashboard/Settings/BuddyPress/Settings at the top un-check Show the Toolbar for logged out users.

    kristarella
    Participant

    We’ve had a problem for some time where we can’t delete users from the front-end. Previously there was the Delete User option in the top toolbar that was a direct delete link, now the link goes to the delete part of the user profile, both produce the same error:
    Fatal error: Cannot redeclare add_user() (previously declared in /home/***/public_html/wp-admin/includes/user.php:17) in /home/***/public_html/wp-admin/includes/user.php on line 18

    We can delete users from the backend, but it is a lot more effort to look at the front end to find a spammer’s username, copy it, search for it on the backend and then delete, when we’re supposed to be able to do it from the front.

    Thanks for any suggestions anyone can give.

    Paul Wong-Gibbs
    Keymaster

    1. Yes, we changed this to make BuddyPress compatible with more servers. To change this WordPress email address, try a plugin like https://wordpress.org/extend/plugins/send-from/ or ask on the WordPress.org forums for other recommendations.

    2. What theme (and version of the theme) are you using? What version was this working on? i.e. what version did you upgrade from.

    3. 1.6 uses the WordPress core toolbar, rather than BuddyPress’ old toolbar. The WordPress logo is added to the bar by WordPress itself.

    #139143

    There seems to be very little about the toolbar WP core functions the codex. It’s very hard to Google, so if anyone can point me in the right direction I would be very thankful. :)

    #139139
    Paul Wong-Gibbs
    Keymaster

    If it loaded first, you’re going to get other elements of your page loading last — and they might be a more essential element of your page than the toolbar. I’d more investigate ways of speeding up the loading time on your site.

    Now that I’ve been able to “successfully activate” BP on a sub site (thank you @djpaul) this is my next hurdle. There is no BP toolbar in the WP dashboard. I have a multisite installation running on WP 3.4.1 with BP 1.6. (Yes, I’m a newbie when it comes to most code, WP and BP.) If it matters at all, I’m on OS X 10.7.4 using Safari 6.0.

    I hope any solution you provide can help both @nlmdep and myself.

    notpoppy
    Participant

    @djpaul I appreciate that. It is immensely frustrating not to be able to recreate it.

Viewing 25 results - 601 through 625 (of 803 total)
Skip to toolbar