When my moderator edits another registered user profile, auto action captures the moderator's user ID and store it on this field called "cb_spid" in _comprofiler.
I created a list with the following filter (bel9ow) to generate a list for the moderator of the users which he edited.
when a user click on this list, it takes a long time to load. Is there a more efficient way to do this?
it is even worse when the user is no longer logged in after session lifetime. And that time userdata field="user_id" user="#me" is blank, and if he submits. It will do a query submit of a blank user_id am i right.
Depends on how many users you have. Substitution should actually improve performance as you're cutting down the userlist. Filters simply add to the WHERE statement of the query. There's really no improving it further if you've a lot of users beyond adding custom indexes to the table.
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: edmundcheong