jrSeamless_list returned array is excluding quotas

Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
I have been working on a site that uses a lot of quotas and forums. One quota "Group A" has profile forums. I have tried using a jrCore_seamless list to show site wide the most recent blogs, forums, and discussions in a list used in a seamless list of these modules.

The problem i ran in to here is that thethe jrSeamless_list array is excluding and not returning all posts. I estimate this is related to the group B quotas not allowed having a "Profile forum" and when group B posts on group A profile forum they are not displayed in the jrSeamless_list array

{jrSeamless_list modules="jrForum,jrBlog,jrGroupDiscuss"  order_by="_created desc" search2="forum_title_url like % || blog_title_url like % || discuss_title_url like %" template="latest_tab.tpl" pagebreak="20" dId="thetab1"}

in the returned array of the jrSeamless_list does not display any of "group B" quotas posts in the Group A profile jrSeamless_list. Is this because group B is not allowed a "profile forum" in their quota?

I tried verifying that all quotas site wide are in fact allowed access to the jrForums module. However if the quotas are not allowed a "profile forum" then their posts to a profile forum are not showing in the jrSeamless_list array when returned

I assumed the problem here is that of: Profile group B new post is not returned in the array of the jrSeamless list because group B settings in the quota does not allowed a profile forum option so their posts on group A's profiles forums.


Also to note I believe I could do a work around using the jrAction module however it would not explain why the jrSeamless list excludes the group B profiles posts on group As forums
updated by @developer-networks: 12/20/16 01:25:28AM
michael
@michael
8 years ago
7,715 posts
Sounds like a job better suited for your own custom smarty function:

Docs: "Defining your own SMARTY function"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1569/defining-your-own-smarty-function

The jrForums data on its own in a {jrCore_list} call will return not only the initial title post, but all the replies to that post too, same with jrGroupDiscuss, but blogs will each have their own post. So thats at least an additional 2 group by clauses that would need to be passed to jrSeamless. The single request, if it could be written, would be very difficult to get right.

Better to build your own smarty function, get the parts your after in parts, then merge them together. Use 3 individual searches.
Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
I see what you mean. I will try that out, thanks!

But it does seem like ive found a user permissions / bug in the way the jrSeamless_list function works with quotas....

I guess the confusion here is that using a standard jrSeamless_list within these paramaters should allow me to work with in my template and manipulate this data already.

But the jrSeamless module has completely excluded entire quotas from the results....




updated by @developer-networks: 09/19/16 09:33:02PM

Tags