Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline vcsharp  
#1 Posted : 13 October 2018 10:41:04(UTC)
vcsharp


Rank: YAF Commander

Reputation:

Joined: 03/10/2017(UTC)
Posts: 76
Man
India

Thanks: 24 times
Was thanked: 1 time(s) in 1 post(s)
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.

Edited by user 15 October 2018 07:18:29(UTC)  | Reason: Not specified

Sponsor
Offline tha_watcha  
#2 Posted : 14 October 2018 03:55:19(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 06/03/2010(UTC)
Posts: 3,929
Germany

Thanks: 73 times
Was thanked: 1191 time(s) in 1021 post(s)
Originally Posted by: vcsharp Go to Quoted Post
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...

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


to

Code:
this.MultiQuote.Visible = false;
thanks 1 user thanked tha_watcha for this useful post.
vcsharp on 14/10/2018(UTC)
Rss Feed  Atom Feed
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.

Notification

Icon
Error