vcsharp
  • Posts: 81
  • Joined: 03/10/2017
How would I prevent the MultiQuote and Quote buttons from displaying?

I do not want to use CSS to make their display:none, but make them not visible from code-behind or through some forums setting.
Sponsor
tha_watcha
  • Posts: 4113
  • Joined: 06/03/2010
Originally Posted by: vcsharp

How would I prevent the MultiQuote and Quote buttons from displaying?

I do not want to use CSS to make their display:none, but make them not visible from code-behind or through some forums setting.



You only need to change line 546 in DisplayPost.ascx.cs...

this.MultiQuote.Visible = !this.PostData.PostDeleted && this.PostData.CanReply && !this.PostData.IsLocked;


to

this.MultiQuote.Visible = false;

UserPostedImage
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved