Replace the forum ID with MyBB Setting
bekti Offline
Junior Member
**
Posts: 43
Joined: Mar 2012
Post: #1
Replace the forum ID with MyBB Setting
Never mind


Attached File(s) Thumbnail(s)
       
(This post was last modified: 07-17-2016 04:01 PM by bekti.)
07-16-2016 05:19 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Replace the forum ID with MyBB Setting
I'd be checking whether this line really does what you think it does:

PHP Code:
if(in_array($forums['fid'],array($includeforums)))


My Blog
07-16-2016 09:04 PM
Find all posts by this user Quote this message in a reply
bekti Offline
Junior Member
**
Posts: 43
Joined: Mar 2012
Post: #3
RE: Replace the forum ID with MyBB Setting
Yes, that what i need
But i need to change the forum ID with MyBB setting so it can be easy to use

If i field like this

PHP Code:
if(in_array($forums['fid'],array(1,2,3)))

It can be show the forum list

But if i field in like this

PHP Code:
if(in_array($forums['fid'],array($includeforums)))

No forum list show

I'd field like the picture, can you tell me the correct code to change number 1,2,3 with mybb forum setting

07-16-2016 09:23 PM
Find all posts by this user Quote this message in a reply
bekti Offline
Junior Member
**
Posts: 43
Joined: Mar 2012
Post: #4
RE: Replace the forum ID with MyBB Setting
Someone?
07-17-2016 02:25 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: