#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
WordPress Admin Bar
 
Share:
Share
Tweet
Share
Notifications
Clear all

WordPress Admin Bar

Page 2 / 2 Prev
    Last Post
RSS

airammontessori
Posts: 12
 airammontessori
September 23, 2021 3:51 pm
(@airammontessori)
Active Member
Joined: 9 months ago

Well that's weird because everything was working fine before enabling this option which definitely overwrite some others WP settings.

I think you should change the coding of this setting from

Display admin bar for members. This option won't affect the admins.

to

Display admin bar for members only. This option won't affect the other roles: admin, editor, author, custom roles ... 

Currently it affects all other roles except "admin" indeed.

Reply
3 Replies
Chris
 Chris
Admin
(@chris)
Joined: 12 months ago

Support Team
Posts: 1452
September 24, 2021 11:23 am
Reply toairammontessoriairammontessori

@airammontessori,

Please clarify what you mean, I don't follow you.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
airammontessori
 airammontessori
(@airammontessori)
Joined: 9 months ago

Active Member
Posts: 12
September 24, 2021 4:31 pm
Reply toChrisChris
airammontessori

@chris Well, this is the status of the admin bar PREVIOUS to installing WPForo:

I have custom roles defined by AAM (Advanced Access Manager). The bar was displaying fine for admin, editor, custom AAM roles inherited from editors, etc ...

I install WPForo. Now the admin bar has disappeared for every role except admin which is problematic. My editors need it. I changed the WPForo following setting: "Display admin bar for members. This option won't affect the admins." from disabled to enabled.

After enabling this setting the admin bar shows up for every connected user even basic member, something we don't want.

My recommendation is that you should change this option to:

"Display admin bar for members only. This option won't affect the other roles: admin, editor, author, custom roles ... " this way when it's disabled, it won't change the admin bar setting for editors, authors, custom roles, and so on ... or just removing this option completely as the admin bar display can be managed by other plugins anyway.

Currently I'm stuck! None of the plugins or even the function added to functions.php can overwrite this WPForo setting.

Not sure if I'm clearer ;).

Reply
Chris
 Chris
Admin
(@chris)
Joined: 12 months ago

Support Team
Posts: 1452
September 25, 2021 9:38 am
Reply toairammontessoriairammontessori
Chris
airammontessori

@airammontessori,

Go to your active theme folder(wp-content\themes\active theme), open functions.php file and add the below code at the end.

remove_action('show_admin_bar', 'wpforo_show_admin_bar' );

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
Page 2 / 2 Prev
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Login and register button do not work
    5 months ago
  • Hide wpForo Title Admin Bar
    5 months ago
  • wpforo-admin-note Help
    1 year ago
  • Space for admin bar still showing
    2 years ago
  • Black bar active in the upper part of the screen
    3 years ago
Topic Tags:  admin bar (9),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Attachments not showing on forums posts after migration

    By Formicid, 1 hour ago

  • New Feature About Plugin Customization and Integration

    By z14165899, 13 hours ago

  • WordPress Email sending function wp_mail() doesn't work!

    By feassistant, 21 hours ago

  • Import users from IPBoard

    By jesusdlg, 1 day ago

  • Intruder signing in to wpforo without approval

    By plaurits, 2 days ago

  • How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 3 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • spam33
  • editor33
  • menu33
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2195)

Recent Posts

  • RE: replacing create_function() with something else for PHP8 [duplicate]

    Hi @douglajonson, what is the plugin name?

    By Chris, 15 mins ago

  • RE: Description for each topic?

    @christine, wpForo does not have a topic description ...

    By Chris, 41 mins ago

  • RE: About Plugin Customization and Integration

    Hi @z14165899, Please send your request to sales[at]g...

    By Chris, 50 mins ago

  • Attachments not showing on forums posts after migration

    Hello I just did a manual migration and the older forum...

    By Formicid, 1 hour ago

  • RE: WordPress Email sending function wp_mail() doesn't work!

    @dimalifragis thanks for the enlightenment there. It...

    By feassistant, 15 hours ago

  • RE: Intruder signing in to wpforo without approval

    Maybe at Wordpress.org ?

    By dimalifragis, 23 hours ago

  • Import users from IPBoard

    Hello, Is it possible to import users from ipboard? (...

    By jesusdlg, 1 day ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,940 Topics
50.3 K Posts
6 Online
48.4 K Members

Latest Post: replacing create_function() with something else for PHP8 [duplicate] Our newest member: Лестницы Деревянные Цена В Ниж... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation