YAFLogo

netghost
  • netghost
  • 80.6% (Honored)
  • YAF Lover Topic Starter
10 years ago
how do i disable or remove the collapse function of the active discussion
Sponsor

squirrel
10 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
10 years ago
set what value to 0?!
squirrel
10 years ago
Originally Posted by: netghost 

set what value to 0?!

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
10 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
10 years ago
Originally Posted by: netghost 

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

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
10 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: 3.0.3
10 years ago
Originally Posted by: netghost 

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

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
10 years ago