nootkan
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Remove Options From Dashboard For New User RoleThanks for the tips and advice. I did as you asked and removed my database changes and added this to my functions in my child theme which gives me the exact same thing as the database gave me.
`// New User Role and Capabilities
add_role(‘moderator’, __(
‘Moderator’),
array(
‘create_posts’ => true, // Allows user to create new posts
‘delete_pages’ => true, // Allows user to delete their own pages
‘delete_posts’ => true, // Allows user to delete their own posts
‘delete_published_pages’ => true, // Allows user to delete published pages
‘delete_published_posts’ => true, // Allows user to delete published pages
‘delete_private_pages’ => true, // Allows user to delete published pages
‘delete_private_posts’ => true, // Allows user to delete published pages
‘edit_pages’ => true, // Allows user to edit pages
‘edit_others_pages’ => true, // Allows user to edit others pages
‘edit_posts’ => true, // Allows user to edit their own posts
‘edit_others_posts’ => true, // Allows user to edit others posts too
‘edit_private_pages’ => true, // Allows user to edit private pages
‘edit_private_posts’ => true, // Allows user to edit private posts
‘edit_published_pages’ => true, // Allows user to edit published pages
‘edit_published_posts’ => true, // Allows user to edit published posts
‘level_8’ => true, // Allow user level 8
‘level_7’ => true, // Allow user level 7
‘level_6’ => true, // Allow user level 6
‘level_5’ => true, // Allow user level 5
‘level_4’ => true, // Allow user level 4
‘level_3’ => true, // Allow user level 3
‘level_2’ => true, // Allow user level 2
‘level_1’ => true, // Allow user level 1
‘level_0’ => true, // Allow user level 0
‘manage_categories’ => true, // Allows user to manage post categories
‘manage_options’ => true, // Allows user to edit options
‘moderate_comments’ => true, // Allows user to moderate comments
‘publish_pages’ => true, // Allows user to publish pages
‘publish_posts’ => true, // Allows the user to publish posts
‘read’ => true, // Allows a user to read
‘read_private_pages’ => true, // Allows user to read private pages
‘read_private_posts’ => true, // Allows user to read private posts
‘upload_files’ => true, // Allows user to upload files to media
)
);`Unfortunately no matter what else I try based on the links you provided I cannot seem to grasp how to write the php to remove the menu options I want to for the moderator role.
- This reply was modified 3 years, 10 months ago by nootkan.
Forum: Plugins
In reply to: [Event Calendar - Calendar] Manage Event Edit for all Calendars Not UpdatingI’ve just discovered that although the new update works fine for the administrator role it won’t work for the editor role or a new user role I created called moderator. Is this possible to do with the plugin?
Update: Never mind I figured it out.
You have to upgrade the user role level to 8 when creating or adding capabilities to new or existing roles in order to have access to the calendar>>manage event description text.
- This reply was modified 3 years, 10 months ago by nootkan. Reason: resolved issue
Forum: Plugins
In reply to: [Event Calendar - Calendar] Manage Event Edit for all Calendars Not UpdatingYes that resolved the problem. Thank you for the support. Much appreciated.
Now if you could only add an option to stop the promotional notifications to upgrade to pro for those of us who are satisfied with the bare bones version of your plugin that would be great!
I’ve upgraded my review.
Forum: Plugins
In reply to: [Event Calendar - Calendar] Manage Event Edit for all Calendars Not UpdatingHi, thanks for the reply. This did not work. The change won’t allow me to open the edit file it does nothing when I click the edit icon.
See screenshot:
I also see this when checking for errors using Dev Tools in the browser
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=5.7.1:5 JQMIGRATE: Migrate is installed, version 3.3.2
Total-Soft-Calendar-Admin.js:333 Uncaught SyntaxError: Unexpected token ‘&’
admin.php?page=Total_Soft_Cal%3FTS_CalEv_Nonce%3Dd8c42cae8c:368 Uncaught ReferenceError: TotalSoftCal_Edit is not defined
at HTMLElement.onclick (admin.php?page=Total_Soft_Cal%3FTS_CalEv_Nonce%3Dd8c42cae8c:368)Forum: Plugins
In reply to: [Event Calendar - Calendar] Manage Event Edit for all Calendars Not UpdatingThanks for your reply.
Sorry I can’t give you a link because the problem is inside my dashboard of worpress not the output of the page on the website.
After de-activating all the plugins the problem still existed however, after changing to the default theme the problem went away.
I am not sure how to make your plugin compatible with my theme. I have the newest version of the theme Shapla installed.
- This reply was modified 3 years, 10 months ago by nootkan.
Okay finally figured it out. I had to create a flat rate inside the shipping zones instead of free shipping as virtual/download products are free by default.
Forum: Plugins
In reply to: [Pre* Party Resource Hints] A Little ConfusedThanks for your replies. I did read over the information in the plugin backend but it is still unclear to me because when I use the auto method or the url method with any of the hint types I am still seeing the warning to fix inside GTMetrix, Googles’ page speed scripts.
Forum: Plugins
In reply to: [WP YouTube Lyte] Plugin Not Changing Existing Iframe CodeActually it seems to work fine on the live website just not on the backend when adding videos to the post.
I will assume this is normal or is there a way to eliminate the iframes from the post in the dashboard also? Is this even necessary or should I not worry about it?
Forum: Plugins
In reply to: [Contact Form 7] PHP Warning for cf7_add_custom_classAfter removing plugins that I don’t need anymore this issue disappeared.
I decided to remove this plugin and found one that works just fine without the issues related to this plugin.
Thanks that works. Much appreciated!
Not sure what you are looking at but I’ve viewed the text in three different up to date browsers and here is what I see in the screenshot below. The color is still gray not black. It is however thicker in font-weight but not the color I want.
https://westcoastsmokinoysters.com/shop/
theme is twentyseventeen (child)Sorry I meant how to change the color of the description above the paypal button. Still not able to figure it out.
Never mind it had nothing to do with your plugin. There was a function in the child theme removing the button. Sorry for wasting a post on this forum.