Title: Alain-Aymerick FRANCOIS's Replies | WordPress.org

---

# Alain-Aymerick FRANCOIS

  [  ](https://wordpress.org/support/users/aaf017/)

 *   [Profile](https://wordpress.org/support/users/aaf017/)
 *   [Topics Started](https://wordpress.org/support/users/aaf017/topics/)
 *   [Replies Created](https://wordpress.org/support/users/aaf017/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/aaf017/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/aaf017/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/aaf017/engagements/)
 *   [Favorites](https://wordpress.org/support/users/aaf017/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 155 total)

1 [2](https://wordpress.org/support/users/aaf017/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/aaf017/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/aaf017/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/aaf017/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/aaf017/replies/page/11/?output_format=md)
[→](https://wordpress.org/support/users/aaf017/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Patch to start PHP session only when needed](https://wordpress.org/support/topic/patch-to-start-php-session-only-when-needed/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/patch-to-start-php-session-only-when-needed/#post-17099760)
 * Just to finish. Have you tested your patch with Gateway mode?
 * => User already connected from another service and automatic CAS connection when
   coming to WordPress.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Patch to start PHP session only when needed](https://wordpress.org/support/topic/patch-to-start-php-session-only-when-needed/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/patch-to-start-php-session-only-when-needed/#post-17099754)
 * Hi,
 * Hello,
 * I’m sorry but I have a lot of work at the moment. I haven’t had time to update
   the plugin. Nevertheless, I’m very interested in integrating your patch into 
   the plugin. About starting a session only if necessary.
   Can you send me a patch
   of all the modified files, indicating exactly where the changes have been made?
   I’d be happy to incorporate your work to help the plugin progress.I’ll mention
   your name/pseudo in the README file.
 * Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Email address change notifications](https://wordpress.org/support/topic/email-address-change-notifications-2/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/email-address-change-notifications-2/#post-17099743)
 * Hi,
 * I certify that this notification is not sent by the plugin. You must look elsewhere.
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Spurious warnings when running WP-CLI commands](https://wordpress.org/support/topic/spurious-warnings-when-running-wp-cli-commands/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years ago](https://wordpress.org/support/topic/spurious-warnings-when-running-wp-cli-commands/#post-15780257)
 * Hi,
 * Can you tell me which WP-Cli command you are running ?
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] log non-cas users](https://wordpress.org/support/topic/log-non-cas-users/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years ago](https://wordpress.org/support/topic/log-non-cas-users/#post-15780220)
 * Hi,
 * Take a look at this tutorials : [https://wpcassify.wordpress.com/getting-started/](https://wpcassify.wordpress.com/getting-started/).
 * Go to chapter BYPASS CAS AUTHENTICATION. There is a login form template with 
   bypass parameters.
 * Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] wp_get_sites is deprecated; use get_sites()](https://wordpress.org/support/topic/wp_get_sites-is-deprecated-use-get_sites/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp_get_sites-is-deprecated-use-get_sites/#post-15438794)
 * Hi,
 * I’ve fix this in trunk.
 * [https://plugins.svn.wordpress.org/wp-cassify/trunk/](https://plugins.svn.wordpress.org/wp-cassify/trunk/)
 * Before I push a new version, could you confirm that the trunk is compatible with
   PHP8 ? I’ve already done some tests at the request of the community but I would
   like to have some feedback.
 * As some people asked me for a migration plan to PHP8. But nobody answers my test
   requests and help me to make some tests.
 * Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] PHP 8 Deprecated (ordering of required/optional parameters)](https://wordpress.org/support/topic/php-8-deprecated-ordering-of-required-optional-parameters/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-8-deprecated-ordering-of-required-optional-parameters/#post-15426006)
 * Hi,
 * Sorry, i don’t have much free time at the moment. I’ve done some changes and 
   tested the plugin under Docker php:8.1.0-fpm. I’have fixed somes bugs due to 
   PHP8 changes.
    Everything seems to work but i’m not sure.
 * So, before i push the new release, I invite you and all volunteers to test the
   trunk branch which contains the latest changes.
 * [https://plugins.trac.wordpress.org/browser/wp-cassify/trunk](https://plugins.trac.wordpress.org/browser/wp-cassify/trunk)
 * Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] PHP 8 support](https://wordpress.org/support/topic/php-8-support-26/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-8-support-26/#post-15425920)
 * Hi,
 * Sorry, i don’t have much free time at the moment. I’ve done some changes and 
   tested the plugin under Docker php:8.1.0-fpm. I’have fixed somes bugs due to 
   PHP8 changes.
    Everything seems to work but i’m not sure.
 * So, before i push the new release, I invite you and all volunteers to test the
   trunk branch which contains the latest changes.
 * [https://plugins.trac.wordpress.org/browser/wp-cassify/trunk](https://plugins.trac.wordpress.org/browser/wp-cassify/trunk)
 * Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Sessions initialized for all users](https://wordpress.org/support/topic/sessions-initialized-for-all-users/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/sessions-initialized-for-all-users/#post-15021343)
 * Hi Damien,
 * Thank you for your explanation. But, i’m not sure. But i think i needs to keep
   early PHP Session initialization to process CAS Client gateway mode. (=> Automatic
   login if user has already authenticated by CAS). And to implement this mecanism,
   i’ve ported phpCas implementation based on PHP Session.
    For the moment, I have
   not found any other way to implement this feature.
 * Take a look at this and you will understand that i said.
    [https://github.com/apereo/phpCAS/blob/master/source/CAS/Client.php#L1515](https://github.com/apereo/phpCAS/blob/master/source/CAS/Client.php#L1515)
 * Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Error 500 WP 5.8.1 PHP 7.4](https://wordpress.org/support/topic/error-500-wp-5-8-1-php-7-4/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-500-wp-5-8-1-php-7-4/#post-14998391)
 * Hi,
 * I’ve tested with Config : WP 5.8.1 / PHP 7.4 in Docker environment. I couldn’t
   reproduce the bug.
 * So, i’m not sure that WP Cassify is the source of the bug. It is a very lightweight
   plugin.
 * Try to increase your config (RAM/CPU/SSD) or try to deactivate other plugins 
   before optimizing plugin.
    In future release, i can try to refactor loading method
   datas of the admin panel (by grouping wp_get_option with one pure SQL query) 
   but i’m not sure that is a priority because admin panel is not often loaded as
   frontend.
 * I think it is very likely that your VPS configuration is too short for your WordPress
   site (your database server configuration is not powerful enough).
 * Best regards.
    -  This reply was modified 4 years, 8 months ago by [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Users Role Settings query with multiple same attributes](https://wordpress.org/support/topic/users-role-settings-query-with-multiple-same-attributes/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/users-role-settings-query-with-multiple-same-attributes/#post-14976493)
 * Bonjour,
 * Désolé pour la réponse tardive. Si le plugin ne répond pas exactement à ce que
   tu cherches à faire nativement, tu peux utiliser les hooks et les filtres personnalisés
   mis à disposition par ce dernier. Soit à partir d’un fichier function.php soit
   à partir d’un plugin chargé après WP Cassify.
 * Jette un coup d’oeil à la documentation en ligne que j’ai rédigé ici:
    - [https://wpcassify.wordpress.com/plugin-hooks/](https://wpcassify.wordpress.com/plugin-hooks/)
    - [https://wpcassify.wordpress.com/plugin-filters/](https://wpcassify.wordpress.com/plugin-filters/)
 * Grâce aux customs hooks et aux customs filters tu pourras intéragir comme bon
   te semble avec le plugin. Soit en modifiant à la volée la réponse xml du serveur
   CAS afin qu’il puisse être traité via le moteur de règles fourni avec le plugin
   en éliminant tous les attributs cas:isMemberOf qui ne contiennent pas gm_admin
   de manière à n’en laisser qu’un seul dans la réponse xml.
    Soit en agissant directement
   via des hooks mais pour l’instant, je ne suis pas sur que ce soit possible.
 * Tu me donnes une idée, il faudrait que j’ajoute un paramètre au hook wp_cassify_grab_service_ticket_roles_to_push(
   [https://plugins.trac.wordpress.org/browser/wp-cassify/trunk/classes/wp_cassify_plugin.php#L533](https://plugins.trac.wordpress.org/browser/wp-cassify/trunk/classes/wp_cassify_plugin.php#L533))
   afin de pouvoir modifier les rôles en fonction des attributs cas renvoyés par
   le serveur.
 * Modifie le fichier du plugin comme ceci, si tu veux pouvoir te servir du filtre
   en attendant une nouvelle mise à jour.
 *     ```
       $roles_to_push = apply_filters( 'wp_cassify_grab_service_ticket_roles_to_push', $roles_to_push, $cas_user_datas );
       ```
   
 * Dans ton fichier functions.php :
 *     ```
       // The filter callback function.
       function filtre_roles( $roles, $cas_user_datas ) {
           // Make what you want here...
           return $roles;
       }
       add_filter( 'wp_cassify_grab_service_ticket_roles_to_push', 'filtre_roles', 10, 1 );
       ```
   
 * Bonne journée.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Error Operator -IN](https://wordpress.org/support/topic/error-operator-in/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-operator-in/#post-14533518)
 * Hi,
 * Thanks for your feedback. Please upgrade to last release 2.2.7. Unless I’m mistaken,
   the bug should be solved.
 * Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Error Operator -IN](https://wordpress.org/support/topic/error-operator-in/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-operator-in/#post-14513286)
 * Hi,
 * I’m sorry.
 * I will patch the plugin in few days because i’m busy now. I will patch in new
   release on Friday.
 * But i have a quick solution for you :
 * Replace maybe_serialize function in wp_cassify_rule_solver.php by “serialize”
   like this (line 103):
 * wp_cassify_rule_operand = maybe_serialize( $this->cas_user_datas[ $matches_cas_variable_groups[
   1]
 * Best regards.`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] Need address to developer](https://wordpress.org/support/topic/need-address-to-developer/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/need-address-to-developer/#post-12747233)
 * Hi,
 * I answered you by mail. I’d be very proud to wear your college shirt.
    🙂
 * Best regards.
 * PS: For the others who would like to send me a T-shirt of their University, contact
   me by email at this address : [aa_francois@yahoo.fr](https://wordpress.org/support/users/aaf017/replies/aa_francois@yahoo.fr?output_format=md)
 * Take care of yourself and your family because of Covid19.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cassify] 2.2.2 and 2.2.3 broke my site](https://wordpress.org/support/topic/2-2-2-and-2-2-3-broke-my-site/)
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/2-2-2-and-2-2-3-broke-my-site/#post-12702981)
 * Ok, so i close ticket. Very sorry.
 * It’s because i’ve modified lots of code.
    It’s great release with lots of new
   interesting features like SLO support.
 * Best regards.

Viewing 15 replies - 1 through 15 (of 155 total)

1 [2](https://wordpress.org/support/users/aaf017/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/aaf017/replies/page/3/?output_format=md)…
[9](https://wordpress.org/support/users/aaf017/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/aaf017/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/aaf017/replies/page/11/?output_format=md)
[→](https://wordpress.org/support/users/aaf017/replies/page/2/?output_format=md)