Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You'd need to use SQL functions to modify the value. CB Query Field just displays the results of your query and nothing more. See the below SQL documentation for date functions if you need to reformat the date.ok, how can we manipulate the output , so thats only payed users have a date result?
There is no documentation for that as you're just asking for database structure, which is in your database. Specifically for baskets that's the _cbsubs_payment_baskets database table.An i cant found any information about the abonnement information? Like date expired , payed or open, next payment and so on
Please Log in or Create an account to join the conversation.
Ya but it shows the same result on any users. Not only of my own or the payed user. Can we say if there is no entry of the user inside the basket table the output is nothing? And how can we do this?krileon wrote: It's not possible for it to show the exact same result on every single profile unless every profile has a basket that was completed at the same time. The user_id where statement in it ensures it will only display the time completed from a basket of the profile owner. Your usage should be as follows.
Query:Output: Single RowCode:SELECT `time_completed_date` FROM `#__cbsubs_payment_baskets` WHERE `user_id` = '[user_id]' LIMIT 1
Columns: Single Column
This works perfectly fine in my tests.
Please Log in or Create an account to join the conversation.
That's not possible. It's substituting in the user id of the profile owner. It can only show the completed date for the basket attached to the profile you're viewing. Are you replacing [user_id] with your user id? It should be left as [user_id] to substitute in users id. Review your _cbsubs_payment_baskets database table using phpmyadmin to see what rows are available and their completed dates as well as who they're attached to via user_id column.Ya but it shows the same result on any users. Not only of my own or the payed user.
Please Log in or Create an account to join the conversation.