MyBB Community Forums
[How To?] Not showing news forum only on portal - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Not showing news forum only on portal (/thread-188157.html)



Not showing news forum only on portal - CoD_Saboteur - 2016-01-18

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


RE: Not showing news forum only on portal - CoD_Saboteur - 2016-01-24

Is there nobody with a sollution ???


RE: Not showing news forum only on portal - Blackbeard - 2016-01-24

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.


RE: Not showing news forum only on portal - CoD_Saboteur - 2016-01-24

(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


RE: Not showing news forum only on portal - CoD_Saboteur - 2016-01-27

Sill no sollution... annyone?


RE: Not showing news forum only on portal - CoD_Saboteur - 2016-02-02

Haha is this a difficult question that nobody can answer or help me with?


RE: Not showing news forum only on portal - Blackbeard - 2016-02-02

(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.


RE: Not showing news forum only on portal - CoD_Saboteur - 2016-02-02

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