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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The query I provided won't work in phpymadmin as it's designed to use table prefix replacement and substitutions, both specific to Joomla/CB.Thanks for the very quick response. When I run the suggested query directy in phpmyadmin, I get the proper results (zero for users which are not in my group and <>0 for users which share a group with me). So far so good.
If the query is in a query field you don't need to add your prefix as #__ will substitute it in for you.All my tables have dbko as a prefix. I assume I have to substitute #_ with my prefix (which results in select count(*) from `dbko_groupjive_users` ....). Is this a correct assumption?
It needs to be public and published. Doesn't matter which tab it is on. If you don't want it seen on profile then set the tab in a not shown on profile position.I assume the query field cb_inmygroup should be publised. Does it matter on which tab (and should this tab be published as well)? And what about the other settings?
Best way to test is let it display on your profile then simply review your profile as a different user to see if it outputs properly. Otherwise you could convert all the substitutions and prefix replacements so you could run it in phpmyadmin.Is there a way to test the behaviour (result) of the query field?
Thank you for confirming is working.EDIT: It is working now. Made a typing error in the SQL. Thanks very much for the solution!!!!!
Please Log in or Create an account to join the conversation.