goliathks
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Booking Calendar] Possible to get the form in center?It works great, thank you! ??
Forum: Plugins
In reply to: [WP Booking Calendar] Possible to get the form in center?Hello, here is the link: https://bit.ly/2qYRO5R
I tried it with <center></center> but its dont work.
Thanks for your help and answer.Forum: Plugins
In reply to: [WooCommerce] Woocommerce hide adminbar for users?Here i found the solution: https://www.role-editor.com/woocommerce-admin-bar-access/
Forum: Plugins
In reply to: [WooCommerce] Woocommerce hide adminbar for users?I found this, but the code dont work
https://stackoverflow.com/questions/22725414/enabling-wordpress-toolbar-with-woocommerce-installedI found in woocommerce/includes/wc-deprecated-functions.php:
Line 217: function woocommerce_disable_admin_bar( $show_admin_bar ) {
and
Line 218: return wc_disable_admin_bar( $show_admin_bar );
And in woocommerce/includes/wc-user-functions.php:
Line 26: function wc_disable_admin_bar( $show_admin_bar ) {
Line 27: if ( apply_filters( 'woocommerce_disable_admin_bar', get_option( 'woocommerce_lock_down_admin', 'yes' ) === 'yes' ) && ! ( current_user_can( 'edit_posts' ) || current_user_can( 'manage_woocommerce' ) ) ) {
Line 33: add_filter( 'show_admin_bar', 'wc_disable_admin_bar', 10, 1 );
But how i can stop to disable the adminbar?
Forum: Plugins
In reply to: [Asgaros Forum] Welche Datei um Forenseite zu ?ndern?Niemand eine Idee?
Forum: Plugins
In reply to: [WooCommerce] How can i add a Link to "My Account"?Hey, thanks for your answer. In which file i have to made the changes?
Forum: Plugins
In reply to: [WooCommerce] Shop only for reg. User?Now i added to the style header.php this code, it do what i need:
if(!is_user_logged_in()) { wp_redirect('wp-admin', 302); exit(); }
Forum: Plugins
In reply to: [WooCommerce] Shop only for reg. User?No one have a idea?
Forum: Plugins
In reply to: [Asgaros Forum] Forum nur für einige Benutzer sichtbar machen?Danke für deine Antwort.
Nach den ?nderungen in der admin/admin.php bekomme ich aber diese Fehlermeldung:Parse error: syntax error, unexpected 'foreach' (T_FOREACH) in /wordpress/wp-content/plugins/asgaros-forum/admin/admin.php on line 172
Forum: Plugins
In reply to: [Asgaros Forum] Forum nur für einige Benutzer sichtbar machen?Hallo, danke für deine Hilfe.
Ich habe das installiert und es scheint das Passende zu sein.
Leider bekomme ich aber eine Fehlermeldung unter Forum – Categories.
Dort steht bei BenutzergruppenWarning: Attempt to assign property of non-object in wordpress/wp-content/plugins/asgaros-forum/admin/admin.php on line 171 Nutzergruppe1