The problem
I have a CHAT plugin for wordpress, I would like it to be active only when administrator (EDITOR, to be more precise) is online. When the admin is offline there's no use to have a chat on the website, it only consume space.
Possible Sulutions
I know little of PHP/Wordpress programming, but I'm almost sure some kind of code in Functions.php might solve the problem, something with admin_init, but it has to disable when admin logs off too.
Conclusion
Desired administration role to activate the plugin: Editor
Plugin name: Online Chat (online-chat/online-chat.php)
Wordpress Version: 3.4.2
Thanks guys!! I'll be around, trying to make it work here too
I'm assuming you can do a play on this: http://wordpress.org/support/topic/display-info-if-admin-otherwise-hide where if Any user is an admin, then load a template part or trigger an action hook etc. but I haven't tested this myself.
Also check this out: http://wordpress.org/support/topic/checking-if-the-user-is-admin
Related
I require a sms bump plugin in WordPress which will show a pop-up like as given in the following image. Please suggest which plugin which plugin in WordPress has such a functionality.
Ranjini,
Unfortunately, for now, SMSBump is not available on WordPress. If you have other questions or need more information, you can also reach out to the support team (on Facebook or directly on smsbump.com)
Best of luck! :)
Our non-Administrator (Shop Manager, Editor, Author, etc) users cannot access the WordPress/Woocommerce dashboard. Administrators can access the dashboard.
I have tried logging in users as "out of the box" Shop Managers, Authors, Editors, and they get bumped back to the storefront.
I have tried disabling plugins, and using the basic woo theme to no avail.
I have tried accessing admin pages they should have access to directly, but still cannot access.
Can anyone share any suggestions for getting our non-Administrators access to the dashboard?
Many thanks in advance.
Try to disable ALL the plugins at the same time.
If it works then enable the plugins one by one to find the culprit.
If its still doesnt work make sure you have the latest version or
Wordpress/WooCommerce.
If everything is up to date and its still doesnt work then look into the functions.php file in
your theme, maybe there is some script that causes the problem..
If nothing of these has worked you could always apply a patch until you find the real source of the problem, here is some suggestions:
Do a temporary quick fix by using the user_has_cap filter
Add capabilties to user roles so the will be able to access like an administratior see the add_cap() function
If you have installed Ultimate Member plugin:
Go to User Roles page
Press Edit on the role that you want to access the dashboard
Check: Can access wp-admin?
Press Update role
Then test; it should work then
I am confuse about plan subscription development in plugin, because if user download the whole plugin coding file then he/she can change the any of the code in plugin.
so how can develop this type of plugin. And also backupbuddy, gravityforms also make this type of annual subscription plan and if user make to code change in backupbuddy then deactivate the plugin but i can't understand the code which type of security in those plugin.
So, please suggest me how to develop.
I think Backup-buddy and gravity forms are used "filemtime" function for security purpose,because there are no any way to prevent user to modify code. because wordpress plugin are fully under control in user (open source).
I am new to web development. I am trying to build a site using wordpress as a cms. As such i want to know whether there is any way to create user accounts, so that people can register with the site and login. We would have an online store and we would like users to be able to save and view orders.
I have seen buddy press, but it only works with some themes. Is there any other option available?
Thanks in advance,
cpv
You can add one of the free plugins such as "Login Logout". This is the one I am currently using and it lets new users register for accounts.
You need to search for it in your plugins tab in wordpress, then install and activate it. Then you need to go to your Widgets tab and include it. Then it should run on your website.
Yes, Wordpress has user management, I suggest you play around with wordpress to understand how it works. Download a few e-commerce plugins or user management plugins and see how it all works.
Buddy press just uses the same user management that wordpress has.
I'm sure the wordpress documentation is a good place to look for more information.
I need a plugin for wordpress that will allow people to put a message at the top of the site that may state things like upcomming events or notifications of outages of our server..etc...etc..
Anyone know of a plugin that can do this?
All the one's I've found like WP Announcement and Announcer don't seem to handle this very well. I cannot have the modal popup either.
I would suggest a roll your own version. Using a plugin framework, like PodsCMS can help with this and even make it manageable with custom admin menus. This combined with the Adminimize plugin can even help with restricting access to this feature on a user role basis.