Archive for the ‘WordPress’ Category

Show to author his posts comments only

Sunday, December 25th, 2011

http://socalohv.com/images/General/Moderator.jpg

See your posts comments only

When authors of your blog click ‘Comments’ menu item in WordPress backend, they see all comments by default, not only from theirs posts. Yes, it’s not possible to do something with such comments (any actions are blocked in case are not a post author) but what the sense to see on all this mess and search comments from your posts to moderate inside full comments list? I think you agree, there is a little sense, if nothing at all.
Do you wish to show for your authors comments from theirs posts only?
Read the rest of this entry

WordPress 3.3 Sonny Welcome

Wednesday, December 14th, 2011

WordPress 3.3 Sonny Welcome

Welcome WordPress 3.3

Good news: After solid testing (4 beta versions and 3 release candidates) WordPress 3.3. “Sonny” is available for download.

As for me, it was ready for use in production environment from Beta 2. Yes, I installed and used WordPress 3.3 here at shinephp.com from the Beta 2. It helped me to resolve the issue, which I met from time to time under previous WordPress versions: when some large (2-3 screens) and complex (images, links inside) post content was not shown, only title was seen on the page. I was very happy, when tried WordPress 3.3. Beta 2 and discovered that such weird thing was dissapeared. That’s a miracle! So, welcome WordPress 3.3. I like you, in general.
I wrote a few words about main new features of this WordPress version here. In short, there are drag-and-drop uploader, hover menus for the navigation, the new toolbar, improved co-editing support, enhanced context help system, etc.

Read the rest of this entry

User Role Editor 3.3 is published

Saturday, December 10th, 2011

User Role Editor v. 3.3 WordPress plugin

User Role Editor 3.3

I published today version 3.3 of “User Role Editor” WordPress plugin. What’s new in this version?
- New role can be created as a copy of other existing one.
- You can hide/show deprecated capabilties (level_1 – level_10).
- Users with “Administrator” role are not shown to other users with “list_users” capability.
- Plugin data cleanup is added – plugin options will be automatically deleted if you delete plugin via WordPress link.
- Some code enhancements are applied, e.g. optimization and using of WordPress API instead of self-written routine.
Read the rest of this entry

activate_plugins WordPress capability

Saturday, November 26th, 2011

activate plugins

activate_plugins

What is 1st WordPress user permissions system capability if we sort such list in alphabet order? Yes, activate_plugins one. Information about it at WordPress Codex is very brief: “Allows access to Administration Panel options: Plugins”. But according its name this capability should allow at least activate plugins and may be something more. Where we can get right information about WordPress if not at WordPress’s core source code? I made little investigation and wish to share with you its results in this post.
Summary: activate_plugins capability on the top of the mountain really gives user access to “Plugins” and “Installed Plugins” menu items of WordPress admin back-end menu system and lets him activate/deactivate plugins one by one or applying bulk action to the set of selected plugins.
Let’s look together under the WordPress hood and see on examples of WordPress 3.3 core source code how it’s realized.
Read the rest of this entry

WordPress admin menu permissions

Monday, November 14th, 2011

WP capabilities for admin menu access

WP admin menu permissions


WordPress admin menu items access is restricted by special permissions or so-called capabilities. When you build new WordPress user role, it’s useful to know what menu item is restricted by what capability. It is necessary knowledge to add/remove admin submenus from user role via adding/removing correspondent capability.

If you have some PHP knowledge and you are curious enough, you will find the most part of WordPress admin menu definition, including its capabilities, at WordPress core source code. But what to do, if you are not PHP developer? Even me caught myself that it is too tedious open wp-admin/menu.php file and find right piece of code every time in order to get needed capability name for the admin menu item to use it in own plugin or answer on plugin’s user or site visitor questions. Why do not document this? That’s the reason of this post was written. I hope it will be useful not for me only.

Look at the table below for the list of WordPress 3.3 admin menu items capabilities.

Read the rest of this entry

Silence is Golden Guard WordPress plugin version 1.8

Monday, November 14th, 2011

Silence is golden guard plugin is updated

SIG GUARD Updated


Next update, version .1.8 is available for Silence is Golden Guard WordPress plugin.

What’s new?
- Arabic translation is added. Thanks to mr. Ahmad;
- shinephp.com news section was removed from plugin’s Settings page, which should decrease this page load time.

Some part of work on version 2.0 was done, some part is left to do. I’m rewriting code almost from scratch. Some new features will be added to make your loving WordPress blog more silent :) in relation of its security. Look for updates in month or two.

WP Sanitize WordPress plugin review

Sunday, October 30th, 2011

WP Sanitize or Simple Optimization - who's the author

WP Sanitize or Simple Optimization

I’m interesting in WordPress security plugins. Recently, going through WordPress plugins repository I found one which looked promising. “WP Sanitize checks for potential security vulnerabilities and keeps your WordPress database optimized”, – this is quote from its description. I decided to test it.

Author: Mr. Vibe
Version: 1.0
Download link : wordpress.org/extend/plugins/wp-sanitize/

I thought, how’s that possible with size 2 Kb only to check security vulnerabilities? May be it uses some web service for that? What critical data plugin sends to external site then in order to make security test? So I went through the code and discovered that there is no any real or potential vulnerabilities checking in the current version of plugin.

Read the rest of this entry