jojaba
Forum Replies Created
-
Hello Sheriziya
In the admin settings you have this description under the field:Check this if you only want to hide the content of the single post view. This will allow to display excerpt and content of protected posts on other pages like category, homepage, search, and so on…
You have to change your template file to have only the excerpt showing in post listing page.
JoëlForum: Plugins
In reply to: [Access Category Password] Exclude Content From Password ProtectionI see. i should be more selective to protect content. As soon as I have more time I will fix this bug.
Thanks.Forum: Plugins
In reply to: [Access Category Password] protect Advanced custom field data on pageI’m not sure I understood what you want to do.
You can find the password impacted categories by using this code (look into the access-category-password.php file) :$acpwd_options = get_option('acpwd_settings_options'); $impacted_categories = (isset($acpwd_options['impacted_categories'])) ? $acpwd_options['impacted_categories'] : array(); // looking if the category is in the password protected categories array if ( in_category($impacted_categories) ) { // Do something }- This reply was modified 6 years, 8 months ago by jojaba.
Forum: Plugins
In reply to: [Access Category Password] No password on category archive?OK, I should look to it (about the archives). Thanks for that bug report.
As soon as possible 😉
ThanksForum: Plugins
In reply to: [Access Category Password] Cookies for user-saved passwordsThanks for using Access Category Password.
I use sessions to protect the categories, this is a safer way for security reasons (cookies are too easy to hack… So when youy close your browser, all session values are cleared and you have to reenter the password.
I will think about a cookie solution as soon as I have more time 😉
JoëlForum: Plugins
In reply to: [Authorizer] Fatal error detected by WordPressOK Paul,
Thanks for this reassuring news!
JoëlForum: Plugins
In reply to: [WordPress Word Count and Limit] Plugin doesn’t workGo to Settings / Word Count and Limit and change te settings.
If this not helps, I remmeber you that this plugin only works on the old WordPress Composer (not on Gutenberg).
I must confess, I don’t have enough time to follow this Plugin, hope you can solve your issue…Forum: Plugins
In reply to: [Access Category Password] Check if password is enteredHello,
To programatically check if the right password has been provided, check the $_SESSION[‘acpwd_session’] value. If the value is 1, then the password was right.if ($_SESSION['acpwd_session'] == 1) { // display the menu } else { // Don't display the menu }Regards, Joël
Forum: Plugins
In reply to: [Yoast Duplicate Post] Custom post typeYes it is! You just have to go to the settings and enable it for the custom post type you want it to work.
Forum: Plugins
In reply to: [WordPress Word Count and Limit] Front End ?Hello,
I don’t know the WP Idea Stream and BP Idea Stream plugins.
WCL is only working in backend. It identifies the textarea to replace the regular word count. If you have some php and JS skill you just have to look to the word-count-and-limit.php file in the plugin folder (/wp-content/plugins/word-count-and-limit/) to figure out how you could create a cloned plugin to use on frontend with your two plugins.
If you don’t have knowledge in php and JS, sorry, I can’t help you furthermore for the moment (too busy).
Thanks for your comprehension.Forum: Plugins
In reply to: [Authorizer] Error when trying to go to cas autheticationHello Paul,
Yes I can confirm that 2.6.4 solved the problem.
Thanks a lot.- This reply was modified 9 years, 3 months ago by jojaba.
Forum: Plugins
In reply to: [WordPress Word Count and Limit] Use with the CKEditor editorNo sorry,
This plugin is based on HTML tags recognition (with JavaScript), I guess, the html layout of CKEditor is not the same than the one of the regular WordPress editor…Forum: Plugins
In reply to: [WordPress Word Count and Limit] Version 4.6 and aboveI just tested it with WP 4.7 version on my local test site, it worked well. Can you give me more details about your installation (the plugins you installed, the php version,…)
What do you mean when you say “it doesn’t work”?- This reply was modified 9 years, 4 months ago by jojaba.
Oh, thanks a lot!
I tried it out with my “ingenieur” word and it worked fine, all “ingénieur” were highlighted!
I paste below the function you created to get the accents variations, I’m sure other people of other countries will be able to add some more variations…
Here’s the function Saari added:function relevanssi_add_accent_variations($word) { $word = str_ireplace( ['a', 'c', 'e', 'i', 'o', 'u', 'n', 'ss'], ['(a|á|à|â)', '(c|ç)', '(e|é|è|ê|ë)', '(i|í|ì|î|ï)', '(o|ó|ò|ô|õ)', '(u|ú|ù|ü|û)', '(n|ñ)', '(ss|ß)'], $word); return $word; }For those who don’t have any programming skill, a little explanation. Each character in the first brackets (
['a', 'c', 'e', 'i', 'o', 'u', 'n', 'ss']), will be replaced by the accented variations. For instance,'a'will be replaced by(a|á|à|â)(the | means ‘or’, so this expression meansa or á or à or âin the regexp (a pattern that should fit) that will find the words to be highlighted (I’m not sure, that was a clear explanation :/). So what you should do is give other accented variations in your language. For example, ‘ä’ would be a variation for ‘ae’ in german.Forum: Plugins
In reply to: [Access Category Password] Different Categories, different passwords@TheLoneDeveloper
Your right. As soon as I can do it 😉