Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

CB Query

13 years 11 months ago #151281 by laptoproadie
Replied by laptoproadie on topic Re: CB Query
Krileon,

So is your only suggestion to fix this problem to uninstall and reinstall CB? I know my deadlines are no concern of yours but we have little time left to implement this site and without the session data our login auditing report is going to be little to no use. Our clients have to be able to audit the medical data that is viewed and CB query saving the IP addresses was going to provide that for us.

Thanks,
Will

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
13 years 11 months ago #151394 by krileon
Replied by krileon on topic Re: CB Query

So is your only suggestion to fix this problem to uninstall and reinstall CB?

No, certainly not. Don't believe a re-install would resolve your issue.

Please review my previous post as suggested using CB Code so you can execute your Query with PHP with will provide the ability to use PHP functions to obtain the IP Address of the user. CB Code allows you to execute a code file based on trigger. Inside the code file being executed would be code to handle your query.

Alternatively you could write a new CB plugin that utilizes CB triggers to execute whatever code necessary (including query) so you could have the IP Address a part of the query. Tutorial on CB triggers as follows (full installable example is provided).

www.allmysocials.com/tutorials/item/228-event-triggers

The main issue is obtaining IP Address through SQL is impossible; it must be done from PHP.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum