Webmastersite.net
Register Log In

View category permission
messing up toplists

Comments on View category permission

Quantum
Forum Regular

Usergroup: Member
Joined: Jul 01, 2003

Total Topics: 38
Total Comments: 164
Quantum
Posted Dec 22, 2004 - 5:19 PM:

Description:
The items in a category that you aren't allowed to view are not visible in a toplist, which is correct. However they are substracted from the total amount of items shown. Meaning that if I have a toplist which normally shows 10 items, I only see 7 items if there are 3 hidden items in it. In my particular example the other 3 show as 'broken' items because of the missing link information.

To reproduce:

Step 1:
I make a category and add 15 items to it (in my case it already existed )

Step 2:
I edit the category and remove the permission for guests to view it. (I set the first combobox of the category usergroup permissions option to "No")

Step 3:
I edit a few items in the category, saving the changes I make (so that they are "last updated" in my directory)

Step 4:
I log out so that I am now a "Guest" user (the one that can't view the category)

Step 5:
I look at a page with the following toplist on it:



links,lastedit,10,descending,









{LINKCATNAME}


{LINKADMIN}
{LINKNEW}



Quantum
Forum Regular

Usergroup: Member
Joined: Jul 01, 2003

Total Topics: 38
Total Comments: 164
Quantum
Posted Dec 22, 2004 - 6:38 PM:

Strangely enough this only seems to occur if the majority of the bottom-part of the toplist is not present. In example if 5-10 are not accessible.

I PM'ed you an example of a live site on which this is occurring.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 30, 2004 - 9:12 AM:

Noted and working on this.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 06, 2005 - 6:59 AM:

Fixed for WSN Forum, will be a mess to port back into WSN Links though.
Quantum
Forum Regular

Usergroup: Member
Joined: Jul 01, 2003

Total Topics: 38
Total Comments: 164
Quantum
Posted Jan 07, 2005 - 4:41 AM:

<-- Is assuming it will be in 3.20.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 13, 2005 - 7:58 AM:

It will be in 3.14. That's what makes it a mess (it'd be easy if I could just use all of WSN Forum's files like 3.20 will).
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.