![]() |
I can't confirm this, I've just tested this code again and it excludes the forums I don't have access to. Are you sure you setup the permissions correctly? This checks the canview and can view others permissions for each forum.
|
<a href="http://www.hiphop-battles.com/forum/index.php" target="_blank">http://www.hiphop-battles.com/forum/index.php</a>?
Can you please go there and tell me wich 5 threads you see last posted? I´ve already checked the permissions. Guest have all NO in these category and the subforums are inharited Greetings Star |
There are threads that I don't have access to, I looked before I double checked the code. Do you have any other changes made to index.php? I've been using this code for 7 months now with no problems.
Upload the attached file and run it as a user of various groups, it should print a list of all the forums you don't have access to. Try it as a guest and see if it mentions the forums that appear on the latest threads. |
No Access To Forum ID: 14 (Mod Cat)
No Access To Forum ID: 15 (Mod) No Access To Forum ID: 11 (Dev Cat) No Access To Forum ID: 12 (Dev) No Access To Forum ID: 13 (Dev) That are exactly the forums I don´t want guests to have in But I still can see the posts from these forums! I made some changes in index (users only last 24 hours) but I don´t think that this is the reason for the problem cause there is nothing related to permissions Any ideas? Greetings Star |
I can confirm the problem, Starbug is talking about!
It includes the forums, I have NO access to, lists the new posts, but if I click on an entry, it tells me, that I don't have access to view it. Shouldn't be even visible! Best regards. Goyko |
Turn on debug mode, add $debug = 1; in config.php and then visit index.php?showqueries=1 and look for the query smimilar to what you added to index.php, in particular this bit:
[sql]AND forumid NOT IN (0)[/sql] It should be 0,X,Y,Z where each of the letters represents a forum that your not allowed to view. If its just got 0 then I'll rework the code. |
I added the line to the config.php but nothing showed up at index.php?showqueries=1
But the debug mode is on cause I have the drop down below my forum and wich templates where called (I deactivated it again) Do I have to do something in AdminCP as well? Star |
Click the 'Explain' link, it does a similar thing.
|
It only shows up an empty page!
I leave it on for you to check Hope you can help me You can see the hacks I´ve installed in my news forum (but only the useronline required editing the index.php) Greetings Star |
Change:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 06:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|