kiberchaka
Forum Replies Created
-
Hi!
Did it.Hi!
Thank you for the answer!
I already did it with Twenty Twenty, and the problem was still there.Thank you!
I found an solution, just installed one more plugin, that add ajax action to single product page button. The plugin is: Ajax add to cart for WooCommerce
May be will help someone.- This reply was modified 4 years, 7 months ago by kiberchaka.
- This reply was modified 4 years, 7 months ago by kiberchaka.
- This reply was modified 4 years, 7 months ago by kiberchaka.
Forum: Networking WordPress
In reply to: Add custom user profile field to MultiSite registrationHe everyone!
I still can’t handle the promlem.
I fount out, than it is possible to reach user ID on this hook (after activation blog):add_action( 'wpmu_activate_blog', 'mu_add_phone_after_activation', 10, 3 ); function mu_add_phone_after_activation( $blog_id, $user_id, $password, $signup_title, $meta ) { $user_phone = 'TESTnumber'; // $user_phone = $meta['user_phone']; // How to put data in the $meta['user_phone']? On which hook to take it from a $_POST['user_phone'] ? update_user_meta( $user_id, 'phone_number', $user_phone ); }
But I need to store the phone number from Multisite User and Blog registration form. Probably it is possible to store it in the $meta variable, but I tried a lot of hooks and didn’t succeed. May be did it wrong.
I tried:
add_filter( 'signup_user_meta', 'mu_add_phone_in_signup', 10, 4 ); function mu_add_phone_in_signup( $meta, $domain, $path, $title, $user, $user_email, $key ) { $meta['phone_number'] = '1111111'; return $meta; } add_filter( 'add_signup_meta', 'mu_add_phone_in_signup2', 10, 4 ); function mu_add_phone_in_signup2( $meta_defaults = array() ) { $meta_defaults = array( 'phone_number' => '11111111' ); return $meta_defaults; } add_filter( 'signup_site_meta', 'mu_add_phone_in_signup3', 10, 4 ); function mu_add_phone_in_signup3( $domain, $path, $title, $user, $user_email, $key, $meta ) { $meta['phone_number'] = '11111111'; return $meta; }
- This reply was modified 4 years, 7 months ago by kiberchaka.
- This reply was modified 4 years, 7 months ago by kiberchaka.
- This reply was modified 4 years, 7 months ago by kiberchaka.
Hi, Fernando!
Thank you for the answer!
I mean, not specific registration security problems, but all possible security problems, for example will it be possible to hack database or other people blogs in same network? for a user, that will have a blog with WC enabled in WP Multisite network.
I told about registration, because I wont it to be open for everyone, so my concerns are about some peoples that will register, recive blog with WooCommerce enabled and hack all network thru WooCommerce somehow.
For example, when they will create an item (WC custom post type), can they make DB injection or include a JS?
I am not a security expert, so I will appreciate any thoughts.
Sorry for my English.Forum: Plugins
In reply to: [WP-PostRatings] Feature request – Users change their rating+
Hello!
I have got an answer from WooCoommerce people:Thank you for raising the issue. However, Gutenberg for Products had been disabled in WooCommerce since version 3.4 – see #20201 for more details. As a result, we currently don’t support it. It is up to you if you’d like to use it but we are aware that it doesn’t work as expected which is the reason why we disabled it.
We are still working on enabling Gutenberg to create products but there are no concrete plans we can share at the moment.
I am going to close this bug report since it is related to the feature we don’t officially support.
So, YoastSeo and WooCommerce commands don’t want to fix the problem. The only hope – for Gutenberg developers ??
Forum: Plugins
In reply to: [Asgaros Forum] Do not see forums if I am not adminХорошо.
Forum: Plugins
In reply to: [Asgaros Forum] Do not see forums if I am not adminАйди я вставить додумался) От админа отображается. А к файлу доступа владелец пока не дал.
- This reply was modified 7 years, 7 months ago by kiberchaka.
Forum: Plugins
In reply to: [Asgaros Forum] Do not see forums if I am not adminВыключил все, кроме форума, безрезультатно https://nizhyn.in.ua/forum2/
Forum: Plugins
In reply to: [Asgaros Forum] Do not see forums if I am not adminЯ уже делал это, правда без одного из плагинов сайт вообще был недоступен, возможно дело в нем. Будем пробовать, спасибо.
- This reply was modified 7 years, 7 months ago by kiberchaka.
Forum: Plugins
In reply to: [Asgaros Forum] Do not see forums if I am not adminНе сработало https://nizhyn.in.ua/forum/
Сейчас форум в настройках по адресу forum2
Forum: Plugins
In reply to: [Asgaros Forum] Do not see forums if I am not adminСейчас попробую.
Создал https://nizhyn.in.ua/forum2/ и в настройках указал, без толку.
Я заходил по ссылкам которые вывелись в админке незалогиненным, так все норм, можно темы создавать и т.п.
Forum: Plugins
In reply to: [Asgaros Forum] Do not see forums if I am not adminЭто я уже тоже пробовал) Страницу с другим названием создать. Правда форум появился на ней и без изменения настроек форума, но тоже тольк от админа. Может стоило и настройки поменять, может повлияло бы, не знаю даже.
- This reply was modified 7 years, 7 months ago by kiberchaka.