Since the usergroup isn't a link field, you can't filter the toplist by it. You can use <IF {MEMBERUSERGROUP} is 4> but that'll mean nothing will show when it happens to be a link owned by someone in group 4.
Perhaps you could create a toplist which shows a random member from usergroup 4, uses a function to get a random link from the selected member, and feeds that into the 'show any item' function. I'll see about creating a {MEMBERRANDOMLINKID} since there isn't one yet.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Advanced Toplist
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I have a toplist currently showing 1 random link of specific type:
<CONFIG>links,rand(),1,ascending,type='dog',,,0,0,0,0,0,0</CONFIG>
Works great, but I want to restrict it to only those links owned by usergroup 4 - is this possible?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Since the usergroup isn't a link field, you can't filter the toplist by it. You can use <IF {MEMBERUSERGROUP} is 4> but that'll mean nothing will show when it happens to be a link owned by someone in group 4.
Perhaps you could create a toplist which shows a random member from usergroup 4, uses a function to get a random link from the selected member, and feeds that into the 'show any item' function. I'll see about creating a {MEMBERRANDOMLINKID} since there isn't one yet.