Title: NewCodeByte's Replies | WordPress.org

---

# NewCodeByte

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/newcodebyte/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/newcodebyte/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/newcodebyte/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Statistics – Simple, privacy-friendly Google Analytics alternative] Refresh Summary Totals: 0%](https://wordpress.org/support/topic/refresh-summary-totals-0/)
 *  Thread Starter [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/refresh-summary-totals-0/#post-18746008)
 * Hi [@iainpurdie](https://wordpress.org/support/users/iainpurdie/)
 * If the manual link didn’t solve it, it confirms that your hosting environment
   is strictly blocking the WordPress Cron system (loopback requests).
 * I have experienced this on hosting providers (like InfinityFree) where aggressive
   security settings block both internal loopbacks and external automated requests.
   In these cases, even setting up an external cron service usually fails because
   the server rejects non-browser connections.
 * I strongly suggest **contacting your hosting provider** directly. Ask them if
   there are restrictions on WP Cron or loopback connections and if they can whitelist
   it.
 * This is definitely a server configuration issue, not a bug in the WP Statistics
   plugin.
 * Greetings
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HivePress Favorites] Missing “Favorites” Settings Tab and functionality on clean install (v1.2.2)](https://wordpress.org/support/topic/missing-favorites-settings-tab-and-functionality-on-clean-install-v1-2-2/)
 *  Thread Starter [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/missing-favorites-settings-tab-and-functionality-on-clean-install-v1-2-2/#post-18740910)
 * Hi [@kseniiahivepress](https://wordpress.org/support/users/kseniiahivepress/),
 * Thank you for the clarification.
 * I misunderstood how the plugin works: I assumed the “Favorites” menu item (and
   a related settings tab) should be visible by default immediately after activation.
   I didn’t realize that the section generates automatically in the profile only
   after the first interaction (clicking the “Add to Favorites” heart icon).
 * Everything is clear now, thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AI Chatbot Free Models – Customer Support, Live Chat, Virtual Assistant] Getting this Database Error](https://wordpress.org/support/topic/getting-this-database-error/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/getting-this-database-error/#post-18728995)
 * Thanks for your answer!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AI Chatbot Free Models – Customer Support, Live Chat, Virtual Assistant] Getting this Database Error](https://wordpress.org/support/topic/getting-this-database-error/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/getting-this-database-error/#post-18720268)
 * Hello [@saadhamid](https://wordpress.org/support/users/saadhamid/) ,
 * Thank you for reaching out and for providing such detailed information. I’m the
   developer of the plugin, and I’ll help you solve this.
 * The error message “Database Error: Could not create a new conversation” indicates
   a very specific problem: the plugin is trying to start a new chat by creating
   an entry in its database table, but the database operation is failing.
 * This almost always means that one of the plugin’s required database tables, wp_newcodebyte_chatbot_conversations,
   was not created correctly during the last update. Your attempts to deactivate/
   reactivate were the right first step, but it seems something is preventing the
   automatic creation process.
 * **Please do NOT delete the plugin, as this would remove all your saved settings.**
 * Instead, could you please help me diagnose the issue with this simple check?
 * **Step 1: Check if a Database Table is Missing**
    1. Please log in to your website’s database management tool (like **phpMyAdmin**,
       which is usually available in your hosting control panel).
    2. Select your WordPress database.
    3. Look at the list of tables and check if a table named **wp_newcodebyte_chatbot_conversations**
       exists. (Note: the wp_ prefix might be different on your site, for example wp123_).
 * Please let me know the result:
    - **Case A:** The table is **missing**.
    - **Case B:** The table **exists**.
 * Based on your answer, I can provide a safe and precise solution. If the table
   is missing (which is the most likely cause), I will guide you on how to trigger
   its creation again without losing any of your settings.
 * Thank you for your patience as we get this sorted out.
 * Best regards,
   NewCodeByte
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AI Chatbot Free Models – Customer Support, Live Chat, Virtual Assistant] .gifs missing, can you please send me both chat open and closed .gifs?](https://wordpress.org/support/topic/gifs-missing-can-you-please-send-me-both-chat-open-and-closed-gifs/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/gifs-missing-can-you-please-send-me-both-chat-open-and-closed-gifs/#post-18709853)
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AI Chatbot Free Models – Customer Support, Live Chat, Virtual Assistant] .gifs missing, can you please send me both chat open and closed .gifs?](https://wordpress.org/support/topic/gifs-missing-can-you-please-send-me-both-chat-open-and-closed-gifs/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/gifs-missing-can-you-please-send-me-both-chat-open-and-closed-gifs/#post-18706219)
 * Hello [@mittwaffen](https://wordpress.org/support/users/mittwaffen/) ,
 * Certainly! The easiest way to get the GIFs is by downloading the full plugin 
   zip file here:
   [https://downloads.wordpress.org/plugin/chatbot-ai-free-models.1.6.7.zip](https://www.google.com/url?sa=E&q=https%3A%2F%2Fdownloads.wordpress.org%2Fplugin%2Fchatbot-ai-free-models.1.6.7.zip)
 * However, I’ve also attached them to this email for your convenience.
 * If you feel the plugin deserves it, please consider leaving a small 5-star review.
   It would mean a lot to me. Thank you!
 * Best regards,
   NewCodeByte
 * ![](https://i0.wp.com/newcodebyte.altervista.org/wp-content/plugins/chatbot-ai-
   free-models/assets/images/icon-closed.gif?ssl=1)
 * ![](https://i0.wp.com/newcodebyte.altervista.org/wp-content/plugins/chatbot-ai-
   free-models/assets/images/icon-open.png?ssl=1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] How to set a Relationship Field to be Editable for Admin but Read-Only for User?](https://wordpress.org/support/topic/how-to-set-a-relationship-field-to-be-editable-for-admin-but-read-only-for-user/)
 *  Thread Starter [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [7 months ago](https://wordpress.org/support/topic/how-to-set-a-relationship-field-to-be-editable-for-admin-but-read-only-for-user/#post-18695491)
 * Hello [@sc0ttkclark](https://wordpress.org/support/users/sc0ttkclark/) ,
 * That’s amazing news! Thank you so much for taking this feedback on board and 
   deciding to implement it as a core feature.
 * I’m genuinely impressed by your responsiveness and commitment to improving Pods.
   Knowing this will be included in the next release is the best possible outcome.
 * We’ll look forward to the November release!
 * Best regards,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] How to set a Relationship Field to be Editable for Admin but Read-Only for User?](https://wordpress.org/support/topic/how-to-set-a-relationship-field-to-be-editable-for-admin-but-read-only-for-user/)
 *  Thread Starter [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [7 months ago](https://wordpress.org/support/topic/how-to-set-a-relationship-field-to-be-editable-for-admin-but-read-only-for-user/#post-18695489)
 * Hello [@pdclark](https://wordpress.org/support/users/pdclark/) ,
 * Thank you very much for the detailed and insightful response. This completely
   clarifies the situation.
 * Your explanation confirms our findings perfectly. Knowing that this is an interface
   issue with the React component and that CSS is the simplest and most reliable
   method is exactly the confirmation we needed.
 * We will proceed with the CSS solution to adjust the UI for non-admin users.
 * Thank you again for your excellent support and for clarifying the technical reasons
   behind this behavior.
 * Best regards,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] How to set a Relationship Field to be Editable for Admin but Read-Only for User?](https://wordpress.org/support/topic/how-to-set-a-relationship-field-to-be-editable-for-admin-but-read-only-for-user/)
 *  Thread Starter [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/how-to-set-a-relationship-field-to-be-editable-for-admin-but-read-only-for-user/#post-18692959)
 * Hello Paul,
 * Thank you so much for your previous reply and for providing the filter code. 
   It was the key to diagnosing the root cause of the problem.
 * We have implemented the pods_field_args filter exactly as suggested. To verify
   its execution, we added some console.log debugging to see what was happening 
   for different users.
 * **Our tests have produced a conclusive result:**
    1. **When logged in as an Administrator:**
    2.  - Our debugging confirms that current_user_can(‘manage_options’) returns true.
        - The filter correctly sets $args[‘readonly’] = false;.
        - The field is fully editable in the browser, which is the correct behavior.
    3. **When logged in as a non-admin User (Subscriber role):**
    4.  - We first used the User Role Editor plugin to confirm that this user role **
          does not** have the manage_options capability. The user’s permissions are
          correct and minimal.
        - Despite this, our initial debug showed that current_user_can(‘manage_options’)
          was unexpectedly returning true for this user, indicating a deeper permissions
          conflict on our site.
        - To bypass this conflict, we modified your code to check the user’s role directly
          with in_array(‘administrator’, $user->roles).
        - **This new test worked perfectly.** Our console.log now definitively shows
          that for a non-admin user, the filter correctly identifies the role and sets
          $args[‘readonly’] = true;. The instruction to make the field read-only is
          being sent correctly from the server.
 * **This leads us to the core issue:**
 * Even though we have proven that the readonly: true argument is being correctly
   passed to the field’s arguments for non-admin users, **the multi-select relationship
   field in the browser remains fully interactive.** The user can still search, 
   add, and remove items.
 * This confirms that the PHP logic is sound, but the JavaScript component (Select2)
   used to render this specific field type does not seem to respect or implement
   the readonly state.
 * **Our Question:**
 * Given that the readonly argument is being ignored by the field’s front-end, are
   there any alternative, non-CSS solutions to achieve this?
 * For example:
    - Is there a different argument we should be using instead of ‘readonly’ for
      this specific field type?
    - Is there a built-in Pods JavaScript event or hook that we can use to programmatically
      disable or destroy the Select2 instance for non-admin users after it initializes?
 * We are trying to avoid using CSS to hide the controls, as we prefer a more robust
   and integrated solution.
 * Thank you again for your expert help. We feel we are very close to a solution.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[AI Chatbot Free Models – Customer Support, Live Chat, Virtual Assistant] Excellent chatbot plugin](https://wordpress.org/support/topic/excellent-chatbot-plugin/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/excellent-chatbot-plugin/#post-18651057)
 * > Hi Phil,
   > Thank you for this fantastic review! It truly means a lot. I’m so glad the 
   > plugin is working well for you.
   > It was a real pleasure interacting with you, and your feedback has been incredibly
   > insightful and helpful for the future of the project. Knowing that the plugin
   > has earned a spot on your “must-have” list for all your sites is amazing to
   > hear.
   > Thanks again for your generosity and support!
   > All the best,
   > Antonio
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Advanced Redirect Manager 301] Davvero un ottimo plugin, per me a livello professionale](https://wordpress.org/support/topic/davvero-un-ottimo-plugin-per-me-a-livello-professionale/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/davvero-un-ottimo-plugin-per-me-a-livello-professionale/#post-18638795)
 * Ciao Salvo,
   Ti ringrazio, sei stato molto gentile e non potevi scrivere di meglio.
   Per quanto riguarda la tua ultima considerazione…lo sai come funzionano le cose,
   i plugin con più installazioni e più stelle sono quelli più scaricati a prescindere
   da tutto, uno cerca e vede un plugin con 100.000 installazioni e 1000 recensioni,
   poi uno con 10+ installazioni e 0 recensioni, quale pensi installerà? E allora
   il grosso diventa sempre più grosso e le briciole restano agli altri, ma non 
   importa, la cosa più importante è fare qualcosa di valido e funzionante, per 
   il resto pazienza.Ho visto che tempo fa avevi lasciato una recensione ad un altro
   mio plugin, il chatbot, se in futuro vorresti provare l’altro mio plugin, lo 
   smart external links manager che si occupa dei link esterni ed interni, per farli
   aprire in nuove schede o meno, aggiungendo i vari rel nofollow, noreferrer ecc,
   se lo troverai utile mi aspetto un’altra tua recensione 🙂Grazie mille.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[AI Chatbot Free Models – Customer Support, Live Chat, Virtual Assistant] Meilleur Chatbot AI WordPress](https://wordpress.org/support/topic/meilleur-chatbot-ai-wordpress/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/meilleur-chatbot-ai-wordpress/#post-18633865)
 * Merci beaucoup pour votre gentillesse et vos beaux mots.
   Je suis ravi que mon
   chatbot AI pour WordPress vous ait impressionné et que vous appréciiez la qualité
   des modèles. Votre retour positif me motive à continuer d’améliorer encore davantage
   l’expérience.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[AI Chatbot Free Models – Customer Support, Live Chat, Virtual Assistant] Ottimo chatbot, semplice e molto personalizzabile](https://wordpress.org/support/topic/ottimo-chatbot-semplice-e-molto-personalizzabile/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/ottimo-chatbot-semplice-e-molto-personalizzabile/#post-18629460)
 * Innanzitutto grazie della recensione, il tuo discorso non fa una grinza, i modelli
   piccoli e gratis sono i meno precisi, specialmente a seguire il system prompt,
   soprattutto se è complesso e articolato con tante regole da seguire, la scelta
   dipende dal sito che hai e della qualità che vuoi ottenere, fortunatamente con
   lo stesso account puoi scegliere praticamente tutti gli LLM esistenti.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Statistics – Simple, privacy-friendly Google Analytics alternative] Country Attribution Error](https://wordpress.org/support/topic/country-attribution-error/)
 *  Thread Starter [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/country-attribution-error/#post-18595627)
 * Hello [@gandomi](https://wordpress.org/support/users/gandomi/) ,
   If I had been
   using a VPN or a proxy, I certainly wouldn’t have opened a thread, I think that’s
   quite obvious.Anyway, I changed the identification method to DB-IP, and now it
   recognizes my IP as Italian.Thanks for your assistance.
 * Best regards,
   NewCodeByte
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[AI Chatbot Free Models – Customer Support, Live Chat, Virtual Assistant] Chatbot semplice e funzionale con opzioni utili](https://wordpress.org/support/topic/chatbot-semplice-e-funzionale-con-opzioni-utili/)
 *  Plugin Author [NewCodeByte](https://wordpress.org/support/users/newcodebyte/)
 * (@newcodebyte)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/chatbot-semplice-e-funzionale-con-opzioni-utili/#post-18584331)
 * Ciao [@mario230](https://wordpress.org/support/users/mario230/)
 * Grazie mille per la tua recensione, colgo il tuo suggerimento per avere la possibilità
   di spostare il bottone e la finestra di chat, sarà implementata nel prossimo 
   aggiornamento, buona giornata!

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

1 [2](https://wordpress.org/support/users/newcodebyte/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/newcodebyte/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/newcodebyte/replies/page/2/?output_format=md)