Strast
Forum Replies Created
-
Forum: Plugins
In reply to: [Frontier Post] Not working with PHP 7.1Would be helpful if you identified what the “few issues” were that needed attention…
Forum: Plugins
In reply to: [WP Support Plus Responsive Ticket System] Missing documentationThe FAQ link on your plugin View Details popup still links to the non-working site.
There is also a reference to it in the plugins/wp-support-plus-responsive-ticket-system/readme.txtForum: Plugins
In reply to: [Frontier Post] Cannot view other user postsAlright. I will take another approach then. Thank you.
Forum: Plugins
In reply to: [Frontier Post] Mysterious message when posingI got that working. Thanks
Forum: Plugins
In reply to: [Frontier Post] Edit button link incorrectGreat! That was it.. Thanks!
Forum: Plugins
In reply to: [Frontier Post] Edit button link incorrectNote: I meant FP above, Frontier Post, not FE.
.S.That’s it!
Just add the update_option line to your theme’s functions.php file.It doesn’t happen when first installed. It develops the problem after some time of use. I have disabled and removed all other plugins but it still does it.
It acts like the end tag
[/su_document]
gets corrupted with an entire previously used shortcode. So instead of just the normal endtag, a modified endtag that contains all the old shortcode text is used.It pops up on my Firefox 36.0.1 browser ok. Happened when I entered the site and pops up when I click ‘Sign Up’
There must be a bug in the ‘Insert Shortcode >> Document’ code as it is now doing the same thing on another web site. Just that the additional text is different on the other site.
This works, but throws an error in the log file…
add_action( 'admin_init', 'hide_su_from_dashboard' ); function hide_su_from_dashboard() { if ( !current_user_can( 'administrator' ) ) { // Remove Shortcodes-ultimate menus remove_menu_page( 'shortcodes-ultimate' ); } }
PHP Warning: Invalid argument supplied for foreach() in /var/www/sitename/htdocs/wp-admin/includes/plugin.php on line 1422
Now if you research the error you will find that you need to change the hook from ‘admin_init’ to ‘admin_menu’. Indeed this does prevent the error, but it doesn’t hide the menu!
WP 4.1
Found it…
/** * Hide the shortcode generator from any user below administrator level * https://gndev.info/kb/how-to-restrict-access-to-shortcode-generator/ */ update_option( 'su_generator_access', 'administrator' );
Forum: Plugins
In reply to: [Comment Attachment] Settings control panel missingApparently operator error. Plugin had been disabled.
It’s working now in WP4.1