Quote:
Originally Posted by shuangddr
great job!
& I have just tested it on vb3.8 beta1,"my forum" keeps displaying "You do not currently have any forum subscriptions or you do not have access to the forums you are subscribed to.Please visit the main forums to add subscriptions."
|
Quote:
Originally Posted by MrEyes
A couple of question:
Do you have any subscriptions?
Have you set any "auto" subscriptions in ACP?
Does the viewing user have access to the forums you are expecting to see?
As a test would it be possible to do the following:
- Open myforum.php in a text editor.
- Find the following line:
Code:
if ($myforum['hasaccess'] && $myforum['includedforumcount'] > 0)
- Immediately before that paste in:
Code:
echo "Auto Sub Forums:".$myforum['autoSubbedForums']."<br/>";
echo "User Sub Forums:".$myforum['userSubbedForums']."<br/>";
echo "Included Forums:".$myforum['includedforums']."<br/>";
exit;
- Save the file back to the server and goto My Forum.
- Copy the text that appears on screen and paste it back here.
Once you are done remove the added lines and put the original myforum.php back.
You should end up with something that looks like this:
|
Quote:
Originally Posted by shuangddr
I added the code, ,and it displays :
|
Quote:
Originally Posted by MrEyes
That is rather odd, in summary the outputs you have provided tell me this:
- For the current users usergroup you have assigned "1,2,3,4,5,6,7,8" as the auto subscribe forums.
- The current user has manually subscribed to forums "2, 4"
The mod has then mashed these together and checked the permissions on each forum ID, it has then removed forums "5,6,7,8" as the current user does not have permission to view and then created the final display list with forums "2,1,2,3,4" *. What this means is that when the mod does its DB query to get thread titles it will only look for titles in forums:
1,2,3,4
If there are no threads in these forums (or they don't exist) then you will get the message you are seeing.
Is there any chance you could PM me with the URL of your board? I will setup a test user account and have a look around.
* The duplication of ID 2 is a minor bug, but doesn't explain this.
|
I tried all of this and the out put I get is this:
Auto Sub Forums:17,510,38
User Sub Forums:38
Included Forums:38,17,510
but it still will not display the threads. Any ideas?