Christian Leuenberg
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Blocking HTML partsThanks @msaari! BB doesn’t use shortcodes and
var_dump( $content ); exit();didn’t work as expected but instead I simply looked into thewp_posts.post_contentdatabase field in order to get the actual HTML code. Now I was able to find the code block and rewrite my preg_replace pattern in the function.Forum: Reviews
In reply to: [Really Disable Emojis] Does not work.Hello @goldphnx , I’m sorry to hear that the plugin didn’t work for you. Could you provide some more details? Do you use any other emoji-related plugins? Are you using the latest WordPress version? Would love to improve the plugin. Thanks in advance! Chris
Forum: Plugins
In reply to: [Restrict Anonymous Access] restrict content to other user roles@odfvtb Great! If you like the plugin, feel free to leave a rating. 🙂 Thanks a lot!
We have the same problem trying to use the Linux cron:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to MailPoet\Cron\Daemon::__construct() must be an instance of MailPoet\Cron\Workers\WorkersFactory, none given, called in /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/mailpoet-cron.php on line 38 and defined in /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/lib/Cron/Daemon.php:14
Stack trace:
#0 /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/mailpoet-cron.php(38): MailPoet\Cron\Daemon->__construct()
#1 {main}
thrown in /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/lib/Cron/Daemon.php on line 14Fatal error: Uncaught TypeError: Argument 1 passed to MailPoet\Cron\Daemon::__construct() must be an instance of MailPoet\Cron\Workers\WorkersFactory, none given, called in /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/mailpoet-cron.php on line 38 and defined in /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/lib/Cron/Daemon.php:14
Stack trace:
#0 /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/mailpoet-cron.php(38): MailPoet\Cron\Daemon->__construct()
#1 {main}
thrown in /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/lib/Cron/Daemon.php on line 14The cron job copied from the settings:
php /var/www/clients/client1/web9/web/wp-content/plugins/mailpoet/mailpoet-cron.php /var/www/clients/client1/web9/web/Forum: Plugins
In reply to: [Restrict Anonymous Access] restrict content to other user rolesGood news, @odfvtb!
Version 1.2 has just been released supporting custom user roles. Check it out – I would love to get your feedback on this!
ChristianForum: Plugins
In reply to: [Restrict Anonymous Access] restrict content to other user rolesHi @odfvtb,
the plugin only works with standard roles at the moment. I will check if we can implement custom roles with a future release. Keep you informed!
Greetings,
ChristianForum: Plugins
In reply to: [Polylang] Polylang compatibility with WP All ImportFYI: I started to work on a WP All Import add-on that allows you to import posts, pages and WooCommerce products while setting the language version and optional linking to an existing translation. I’m already half done with it.
Forum: Plugins
In reply to: [Polylang] Polylang compatibility with WP All ImportThank you! 🙂
Forum: Plugins
In reply to: [Polylang] Polylang compatibility with WP All Import@stratboy I had to wait 90 minutes before posting another question … Here it is: https://stackoverflow.com/questions/50909485/wp-all-import-pro-polylang-compatibility
Forum: Plugins
In reply to: [Polylang] Polylang compatibility with WP All Import@stratboy Ok, thanks, here is my new question 🙂 https://wordpress.stackexchange.com/questions/306338/wp-all-import-pro-polylang-compatibility
Forum: Plugins
In reply to: [Polylang] Polylang compatibility with WP All Import@stratboy StackExchange says “Page Not Found” … 🙁
Forum: Plugins
In reply to: [Restrict Anonymous Access] infotext Support html code ?Ok, thank you. This is indeed a very custom solution. 🙂 I will implement a more generic solution that simply allows HTML within the infotext parameter.
Forum: Plugins
In reply to: [Restrict Anonymous Access] infotext Support html code ?Hi there @duolanka! HTML within infotext parameter is currently not supported but you could set a custom CSS class instead for changing the layout:
[member class="my-custom-class"]Test[/member]Would you like to share your plug-in modification? I could implement this with the next update. Thank you!
- This reply was modified 8 years ago by Christian Leuenberg.
Hello Aryan,
I didn’t get a response after two weeks but I try to give you an answer in order to close this support thread.
I am not sure if I got you right, but at the moment there is no possibility to show content only once per session. The plugin is only meant to strictly hide content parts based on the current user role in two ways:
a) just hide content
b) hide content but with an information box that tells the user about missing capabilities to access that contentI hope this answers your question.
Hello Aryan,
in order to give you best feedback as possible, can you be a bit more precise? Thank you!
Christian