![]() |
|
#1
|
|||
|
|||
|
Hi
Not sure if I have missed out any of the settings that can achieve the above, but so far I have found none. What I hope to achieve is akin to VB's "Can View Thread Content" permission, where a user can view thread listing, but not the thread content. Basically if I set "Can View Entries" to NO, user cannot see the entry listing anymore. The reason I want to do this is to let users (e.g. guests and non-priviledged members) to have a taste of the type of content contained within a category, being able to see the entry listing only. This also has search engine implications. Many thanks Regards Last edited by juinjuin; 03-10-2008 at 11:33 PM. |
|
#2
|
||||
|
||||
|
I'm sorry, but currently I don't think there's going to be an easy way to allow for that.
|
|
#3
|
|||
|
|||
|
OK I have tested, and it seems access control is implemented at the show entry level as well.
If this is the case, could you let me know which PHP file to edit in order to remove the portion that controls the access to entry listing. This way, user without privilege can still view entry listing, and yet do not have access to entry details. Thanks |
|
#4
|
||||
|
||||
|
If I'm thinking correctly, you should be able to look in your forum/includes/vba_dyna_plugin_sf.php file for this line:
PHP Code:
PHP Code:
|
|
#5
|
|||
|
|||
|
Hi Brian
I just tried that but it didn't work. My objective is to remove access control at all levels, except the Show Entry level, so that users can see Category Listing, Entry Listing but now Entry details (with "Can View Entries" set to NO). Any ideas? Many thanks for the help
|
|
#6
|
|||
|
|||
|
I commented out the line:
print_no_permission(); in function check_cat_perms in vba_dyna_class.php and now the user is able to going into the entry listing. But the list is blank. Would you be able to point out to me in which script the decision is being made not to show anything, or where the WHERE clause is set to result in 0 records (as user has no permision)? Many thanks, Brian. Last edited by juinjuin; 03-13-2008 at 02:04 AM. |
|
#7
|
||||
|
||||
|
Commenting out that line is definitely not a good idea as it's going to prevent the "no permission" page from being displayed when checking any type of permission, and very likely give your users permission to perform actions they shouldn't be allowed to.
You could try looking in your browseentries.php file for this line and remove it: PHP Code:
PHP Code:
PHP Code:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User signatures in view entry | Nubulin | "How Do I..." Questions | 7 | 01-07-2008 10:39 AM |
| browse categories - show entry permission | gnubittol | Pre-Sale Questions | 2 | 12-08-2007 11:11 AM |
| Modify full entry/listing display | eJM | "How Do I..." Questions | 4 | 09-14-2007 01:15 PM |
| Modify entry/listing list display | eJM | "How Do I..." Questions | 3 | 09-14-2007 12:20 PM |