MyBB Community Forums

Full Version: Not showing news forum only on portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have made on my forum a forum called News. Now I want to disable the forum showing up on the page but the news need to be showing on the portal. Now if I change the settings on permissions to disable view for guests also the news disapairs on the portal. I only want that the news forum not showing but the topics in it showing only on the portal.


Thanks helping me
Is there nobody with a sollution ???
create your forum "news" and make it so only you can see it. now create only announcements on it (they are kinda like a topic but people can't reply to it).

then go to admincp -> configuration -> portal settings -> Forums to pull announcements from -> select forums -> choose ur "news" forum.

this should do what you pretend.
(2016-01-24, 06:51 PM)Blackbeard Wrote: [ -> ]create your forum "news" and make it so only you can see it. now create only announcements on it (they are kinda like a topic but people can't reply to it).

then go to admincp -> configuration -> portal settings -> Forums to pull announcements from -> select forums -> choose ur "news" forum.

this should do what you pretend.

Thanks helping!

I have made a button that on each announcement is for reply on the "news" so if I do it like your way people also can not use the button because people can not reply on the announcements..

I want the option that the forum is invisible and only visible on the portal but people can answer the posts.

Thanks
Sill no sollution... annyone?
Haha is this a difficult question that nobody can answer or help me with?
(2016-01-24, 07:02 PM)CoD_Saboteur Wrote: [ -> ]I have made a button that on each announcement is for reply on the "news" so if I do it like your way people also can not use the button because people can not reply on the announcements..

if you made a button on each announcements for users to reply (that's what I understood from that phrase), then my suggestion will work... the forum will be invisible and should appear on your portal.
Found the code by myself (trying to play with codes I found the right code)



First u need to have installed the Template Conditionals plugin to get this work.
Go to: Templates >> Forum Bit Templates >> forumbit_depth2_forum

Then put before the hole codes:

<if !in_array($forum['fid'], array(1,2,3)) then>

The 1,2,3 u need to change to the forums u want to hide...

Place behind all codes:
</if>


Now the selected forum(s) u want to hide are hidden on the index but still showing on the portal if U select to see the post in the forum on the portal.

Greatings