![]() |
my question is, what do you exactly edit in the code so it only shows threads started in forums indicated... like how would would i show threads with forumd ids, 1,2,3,4,5 only?
|
I did it this way:
Code:
WHERE postuserid = '$userinfo[userid]' AND (forumid=1 OR forumid=2 OR forumid=3 OR forumid=4 OR forumid=5) AND visible='1' You don't need Code:
$forumids = implode ("', '", get_noaccess_forumids()) ; I'm sure there is a better way, eg put it in $forumids, but this works too. Now all I need is to list the forum-name too and I'm satisfied :D. |
No idea about the forums?
|
Fatal error: Call to undefined function: get_noaccess_forumids() in /home/sketch/public_html/vbtest/member.php on line 395
|
Quote:
any updates planed ? long time since last post in this thread ;) |
Errr.... if you check the file, it's been done already. Someone else supplied the forum permissions code and that code is Step 2 of the instructions.
Installed it, and it's working just fine :) |
I got this error in 3.0.3
Fatal error: Call to undefined function: get_noaccess_forumids() in /home/user/public_html/member.php on line 481 |
Quote:
If so, try looking at post #25, https://vborg.vbsupport.ru/showpost....2&postcount=25 :) Hope that helps |
oh no i didnt, but i deleted this line
$forumids = implode ("', '", get_noaccess_forumids()) ; and it worked... there is no special forums i want to exclude.. |
oh forgot to say thanks ;)
and you should update the file in the first post... it may help some people... regards, |
All times are GMT. The time now is 08:24 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:
|