YAFLogo

netghost
  • netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
12 years ago
how do i disable or remove the collapse function of the active discussion
Sponsor
squirrel
12 years ago
I think if you set the value to 0 in the admin/host settings, it will disappear --
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
netghost
  • netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
12 years ago
set what value to 0?!
squirrel
12 years ago

set what value to 0?!

Originally Posted by: netghost 

Host Menu >> Display tab >> Active Discussion Count --> set to 0

Then, if needed, to remove the box completely, open pages/forum.ascx and remove the following lines (recompile is NOT needed for this change):

<YAF:ForumActiveDiscussion ID="ActiveDiscussions" runat="server" />
<br />

If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
netghost
  • netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
12 years ago
Thanks for the help but it did not work ... i also attached a picture that shows what i want removed
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
12 years ago

... i also attached a picture that shows what i want removed

Originally Posted by: netghost 

Really?

Don't know why to disable 'collapse function' but You can disable the block here

Show Active Discussions:

Enable or disable display of active discussions list on board index page.

netghost
  • netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
12 years ago
i have edited my previous post and attached the picture properly
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

Thanks for the help but it did not work ... i also attached a picture that shows what i want removed

Originally Posted by: netghost 

Simply set the Visibility of the Control to False

<YAF:CollapsibleImage ID="CollapsibleImage" runat="server" BorderWidth="0" Style="vertical-align: middle" PanelID='ActiveDiscussions' AttachedControlID="ActiveDiscussionPlaceHolder" Visible="False" />

on the page ..\Controls\ForumActiveDiscussion.ascx

netghost
  • netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
12 years ago