![]() |
Hiding Catagories I seem to be missing something. Using the Catagory Editor I can hide catagories from certain User Groups. This I understand. However, this seems to only work if someone visiting the site is registered and logged on. If they are not logged on then they are not a member of any user group. Thus, all catagories are visible to someone who is not logged on. How do I make it so a catagory does not display to people who are not logged on? I am using DCF integration. |
In edit categories view permissions uncheck unregistered |
Quote:
|
DC Forums does not have a guest usergroup?? |
Quote:
Even if I were to create a usergroup named "Guest" it would have no effect in DCF because user groups only apply to registered users. If I log out then DCF registers that a guest has visited the site. Photopost displays "Users browsing the gallery: 1 unregistered user". But I can see all catagories in Photopost even though all user groups are unchecked except for Administrator. I even tried unchecking all user groups for the catagory. When I'm logged in then the catagory is invisible, even to the administrator. If I log out then it becomes visible again. |
Well quite amazed noone with dcf has every reported this I show right in the dcf coding guests or unregistered is set to 3 else $usergroup = 3; // not logged in, use Unregistered group for guest access -rb |
Quote:
I would try adding an "unregistered" group to both tables but cpanel is currently down on the server so I can't edit the tables. I'll let you know what happens when they get cpanel fixed. |
well whomever wrote the dcforums integration is saying usergroup 3 is the guest account which would seem to be team if they are listed in the order you say. Maybe normal is guests? |
This is from init.php which is the DCF routine that populates the database tables: if (is_empty_table(DB_GROUP)) { // Populate group table $q = "INSERT INTO " . DB_GROUP . " VALUES ('1','normal'), ('2','member'), ('10','team'), ('20','moderator'), ('99','administrator') "; cpanel is still down on my server so I have not been able to create a '3','guest' to see if that solves the problem. But as you can see there is no such group created by the install. |
The DCF integration was provided by DCF developers, it's possible they've changed something but haven't let us know about those changes. |
Ok, that fixed it. I went into the database and added a group with id 3 which I called guest. I don't believe the name is important, just the id number. Then in PP I selected "Refresh user groups from forum software" in the edit usergroups page. Then I edited the catagories and unchecked guest. All is working as expected now. Thanks for your help. |
| All times are GMT -5. The time now is 05:20 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0