Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] MySQL Queries

  • marse7
  • marse7
  • OFFLINE
  • Posts: 138
  • Thanks: 38
  • Karma: 10
8 years 8 months ago - 8 years 8 months ago #277688 by marse7
[SOLVED] MySQL Queries was created by marse7
I'm not great with MySql queries. I was wondering if there's a list or user resource of common queries to return results for Expired Members, Members Expiring in XX days, etc.

My client has admins that are not comfortable with the backend of the site and so I'm building out some JDBExport queries for them on the front end. But I am a true beginner on this stuff and would like to see some successful queries and/or steal a few already worked out. ;)

As an alternative, I'd love a way to put some of the backend filter functions on the front page as a menu item.

Why doesn't Joomlapolis have a plugin or something that can generate these queries? I'd pay for it.

Or is there something I'm missing (most likely.)

Any thoughts?

Best,
Mark
Last edit: 8 years 8 months ago by marse7.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277716 by krileon
Replied by krileon on topic MySQL Queries
Enable debug mode, navigate to CBSubs > Subscriptions, filter the list, then expand the query debugging at the bottom of the page and find the query that looks like it's filtered for the _cbubs_subscriptions table. That'll give you the raw query that you can use in phpmyadmin, etc..


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.
The following user(s) said Thank You: marse7

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

  • marse7
  • marse7
  • OFFLINE
  • Posts: 138
  • Thanks: 38
  • Karma: 10
8 years 8 months ago #277721 by marse7
Replied by marse7 on topic MySQL Queries
OMG! That's fantastic! I love it.

Thank you!!!

Mark
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum