Vladimir Vasilenko
Forum Replies Created
-
Forum: Plugins
In reply to: [CMB2] How can I point a callback function if it live inside class?Thanks, Michael)
Forum: Reviews
In reply to: [Redux Framework] Can’t remove a data from this pluginOk, thanks).
Forum: Plugins
In reply to: [Vk.com sharing for Jetpack] Can't see the VK buttonI’m sorry, I check post status right now only.
Forum: Plugins
In reply to: [Vk.com sharing for Jetpack] Can't see the VK buttonHello, Jeremy, thank you your answer. I solved this problem.
It was my error, sorry. Now this code works well.
Forum: Plugins
In reply to: [Developer's Custom Fields] A Contributor is not see the custom fields.Thank you, I did that you say, and that result: a Contributon see most of the fields but can’t upload iles.
I wrote this:
// Allow contributors upload files
if ( current_user_can(‘contributor’) && !current_user_can(‘upload_files’) )
add_action(‘admin_init’, ‘allow_contributor_uploads’);
function allow_contributor_uploads() {
$contributor = get_role(‘contributor’);
$contributor->add_cap(‘upload_files’);
}and the Contributor has upload files, but he can see all media files of other users, and he can upload those himself from media library.
I think that I must disable Media Library from Dashboard ( this I can doing ), but how can I disable section of Media Library from window to uploading files? (Flash or standart…)
Forum: Hacks
In reply to: Can I activate|deactivate plugins from console or external code?Tara, thank you for answer, I’m sorry I wrote a word “console” falsely. I implied system console or code script.
Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Change custom css .odd rowNo, this is not problem, it is good plugin), I make the signal).
Regards too,
Vladimir.No, I had try more then once – no result.