Webmastersite.net
Register Log In

Show all members links in parent category and subcategories

Comments on Show all members links in parent category and subcategories

kevinsan
Member

Usergroup: Customer
Joined: Nov 11, 2011

Total Topics: 17
Total Comments: 27
Show all members links in parent category and subcategories
Posted Nov 06, 2012 - 10:14 PM:

I would like to show all member links in a parent category and all of the parents subcategories.

I have a menu link in the profile area and a custom page.

Menu link:

profile.php?linkcatid=2&custom=yes&TID=custompage or maybe
profile.php?catid=2&custom=yes&TID=custompage

Where 2 is the parent category.

Custom page toplist:

<CONFIG>links,name,10,descending,ownerid={THISMEMBERID},linkcatid=2</CONFIG>

Missing the subcategories.

How do I show all the member links in the parent category and its subcategories?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 08, 2012 - 6:21 AM:

You need the filtering condition ownerid={THISMEMBERID} AND (catid={CATID} OR parentids LIKE '%|{CATID}|%')
And the menu link profile.php?catid=2&custom=yes&TID=custompage I believe.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.