mjHollerATme
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] V3.2.2 breaks Oxygen Builder templatesHi,
I have the same problem with oxygen 4.0.1, WP 6.0 and Polylang 3.2.4
Your fix doesn’t work for me unfortunately. I get an empty list of sites to preview and nothing is visible from the elements on the page. They ARE listed in the structure panel though…Forum: Plugins
In reply to: [Advanced Forms for ACF] Notifications still not working + missing imagesOkay, now when I use the handle function, I get warnings.
function handle_form_submission( $form, $fields, $args ) { print_r($fields); $email = af_get_field( 'email' ); $empfaenger = '[email protected]'; $betreff = 'Der Betreff'; $nachricht = 'Hallo'; $header = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($empfaenger, $betreff, $nachricht, $header); } add_action( 'af/form/submission', 'handle_form_submission' );
Warning: Missing argument 2 for handle_form_submission(), called in /www/htdocs/w00cbd80/akteure-der-region/wp-includes/class-wp-hook.php on line 288 and defined in /www/htdocs/w00cbd80/akteure-der-region/wp-content/themes/akteuretheme/functions.php on line 15
Warning: Missing argument 3 for handle_form_submission(), called in /www/htdocs/w00cbd80/akteure-der-region/wp-includes/class-wp-hook.php on line 288 and defined in /www/htdocs/w00cbd80/akteure-der-region/wp-content/themes/akteuretheme/functions.php on line 15
Forum: Plugins
In reply to: [Advanced Forms for ACF] notifications not sending? (+ warning)Hi,
so here are some screenshots:
https://www.dropbox.com/sh/ys3wb2pxnsbxmuu/AABQlSvQdFJu2id65Y1OkFSwa?dl=0If you want I can also export the fields and send them to you by email?
Regards,
JonathanForum: Plugins
In reply to: [Advanced Forms for ACF] notifications not sending? (+ warning)Hi,
welL, the check email plugin it’s working.
After the last update, I also got an Internal Server Error 500.
It also happened, when I switched Theme to twenty seventeen.Then I tried disabling Plugins and it turned out that the ?Advanced Custom Fields: reCAPTCHA Field? from Irvin Lim was causing the problem. It would be great if you could check this out, since it’s good to have a captcha for the forms. Or is there an alternative?
But still, I didn’t receive any e-Mail though.
Forum: Plugins
In reply to: [Media Vault] Allow acces only by some usersHello Nico,
No I didn’t test it any further. But what kind of user do you mean? If these are admin accounts they’ll always have access because in this line the function will return true also for users who can manage options (so usually just admins).
if( $curr_user_id == $user_permission_id || current_user_can( ‘manage_options’ ) )
Regards,
JonathanForum: Plugins
In reply to: [Media Vault] Allow acces only by some usersok I think I have a solution, didn′t test it yet much but I think it wil work fine. I will run some more tests though
function wpst_mv_register_custom_permissions() { if ( function_exists( 'mgjp_mv_add_permission' ) ) { $users = get_users(); foreach($users as $user){ mgjp_mv_add_permission( 'user_' . $user->ID, array( 'description' => 'to only the user ' . $user->user_login, 'select' => 'User: ' . $user->user_login, 'logged_in' => true, // whether the user must be logged in 'run_in_admin' => false, // whether to run the access check in admin 'cb' => 'wpst_mv_restrict_only_for_user' ) ); } } } add_action( 'after_setup_theme', 'wpst_mv_register_custom_permissions' ); function wpst_mv_restrict_only_for_user( $attachment_id ) { if ( ! isset( $attachment_id ) || empty( $attachment_id ) ) return new WP_Error( 'no_id', __( 'There was an error determining this attachment\'s author. Please contact the website administrator.', 'media-vault' ) ); $permission_name = get_post_meta( $attachment_id, '_mgjp_mv_permission', true ); $user_permission_id = explode( "_", $permission_name); $user_permission_id = 0 + $user_permission_id[1]; $curr_user_id = get_current_user_id(); if( $curr_user_id == $user_permission_id || current_user_can( 'manage_options' ) ) { return true; }else{ return new WP_Error( 'not_user', __( 'You do not have sufficient permissions to view this file.', 'media-vault' ) ); } }
Forum: Plugins
In reply to: [Eyes Only: User Access Shortcode] username shortcodeok for now I changed line 155 in eyes-only-user-access-shortcode.php
from
$users = preg_split(“/[\s,]+/”,$username);
into
$users = preg_split(“/[,]+/”,$username);
But with the next update this will be gone so I’d like to ask you to fix this for the next update so I don’t have to worry about it anymore?
Thanks,
JonathanForum: Plugins
In reply to: [W3 Total Cache] New Popup to Support W3TC Won't Go AwayOR just add this in your functions.php
add_action('admin_head', 'my_custom_css'); function my_custom_css() { echo '<style> .w3tc-overlay { display: none !important } #overlay { display:none !important } </style>'; }
Forum: Plugins
In reply to: [ImageFX] Filters in post image upload don't workHi,
I just wanted to add that creation of the imagefx-Thumbnails also doesn′t seem to work with other file formats than JPG as I wrote here:
https://www.ads-software.com/support/topic/not-working-anymore-in-39?replies=2#post-5584179Regards,
JonathanForum: Plugins
In reply to: [ImageFX] Not working anymore in 3.9?ok this was written in some kind of panic, so I’ll mark this as solved. Instead my CO-worker with nickname tripawhat made a new support request that is more differentiated.
Actually it seems to work when using Media > add File and ONLY JPG-format to upload the images. In this case thumbnails are being generated. But when using the uploader in Posts or anywhere else than “wp menu > media > add file” it doesn′t work. Also when trying to upload PNG-Files.Forum: Plugins
In reply to: [Smash Balloon Social Post Feed - Simple Social Feeds for WordPress] wp debugGreat! Thank you!
Forum: Plugins
In reply to: [Lazy Load] show visible images before scrollhaving the same issue: https://www.kontraktion.org