Browse Source

Removed invalid contact info and added link to abuse page.

Added check for premium user's when cleaning inactive accounts.
tags/3.0.0
Teknikode 1 year ago
parent
commit
da633a5831
2 changed files with 14 additions and 13 deletions
  1. 6
    0
      ServerMaint/Program.cs
  2. 8
    13
      Teknik/Areas/Contact/Views/Contact/Index.cshtml

+ 6
- 0
ServerMaint/Program.cs View File

@@ -537,6 +537,12 @@ Thank you for your continued use of Teknik!
continue;
}

// If they are Premium, don't worry about it either
if (user.AccountType == AccountType.Premium && user.AccountStatus != AccountStatus.Banned)
{
continue;
}

#region Inactivity Finding
DateTime lastActivity = DateTime.Now;
try

+ 8
- 13
Teknik/Areas/Contact/Views/Contact/Index.cshtml View File

@@ -1,4 +1,4 @@
@model Teknik.Areas.Contact.ViewModels.ContactViewModel
@model Teknik.Areas.Contact.ViewModels.ContactViewModel

@using Teknik.Utilities

@@ -65,26 +65,21 @@
</div>
</form>
</div>
<div class="row">
<div class="col-sm-10 col-sm-offset-1"><p>If you want to report abuse, follow the instructions at the <a href="@Url.SubRouteUrl("abuse", "Abuse.Index")">Abuse Prevention</a> page.</p></div>
</div>
</div>
<div class="col-md-4">
<form>
<legend><span class="glyphicon glyphicon-globe"></span> Where to find us</legend>
<address>
<strong>Teknik on Rizon IRC</strong><br>
#Teknik (<a href="irc://irc.rizon.net" target="_blank">irc.rizon.net</a>)<br>
</address>
<address>
<strong>/g/ Technology on Rizon IRC</strong><br>
#/g/technology (<a href="irc://irc.rizon.net" target="_blank">irc.rizon.net</a>)<br>
</address>
<address>
<strong>Teknik IRC</strong><br>
#teknik (<a href="irc://irc.teknik.io" target="_blank">irc.teknik.io</a>)<br>
</address>
<address>
<strong>Customer Support</strong><br>
<a href="mailto:@Model.Config.SupportEmail">@Model.Config.SupportEmail</a>
</address>
<address>
<strong>Teknik on Rizon IRC</strong><br>
#Teknik (<a href="irc://irc.rizon.net" target="_blank">irc.rizon.net</a>)<br>
</address>
</form>
</div>
</div>

Loading…
Cancel
Save