Skip to content

Commit

Permalink
Remove /phorum
Browse files Browse the repository at this point in the history
fixes #134
  • Loading branch information
dlangille committed Jan 28, 2020
1 parent 5870f7e commit fdf11d7
Show file tree
Hide file tree
Showing 16 changed files with 70 additions and 295 deletions.
Empty file.
4 changes: 0 additions & 4 deletions configuration/phorum/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions configuration/phorum/footer.php

This file was deleted.

14 changes: 0 additions & 14 deletions configuration/phorum/functions.php

This file was deleted.

38 changes: 0 additions & 38 deletions configuration/phorum/header.php

This file was deleted.

52 changes: 0 additions & 52 deletions configuration/phorum/starting-points/1.php

This file was deleted.

51 changes: 0 additions & 51 deletions configuration/phorum/starting-points/2.php

This file was deleted.

67 changes: 0 additions & 67 deletions configuration/phorum/starting-points/forums.php

This file was deleted.

4 changes: 2 additions & 2 deletions docs/404-for-virtual-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@
<h2>Where to from here</h2>

<p>
Feedback please, preferably by posting in the
<a href="http://www.freshports.org/phorum/read.php?f=1&i=504&t=504">Website Feedback</a> or via
Feedback please, preferably by posting <a href="https://github.com/FreshPorts/freshports/issues">an issue on GitHub</a>.
or via
email to the webmaster of this domain.
<p>
<?
Expand Down
32 changes: 1 addition & 31 deletions include/freshports.php
Original file line number Diff line number Diff line change
Expand Up @@ -888,11 +888,6 @@ function freshports_Header($ArticleTitle, $Description, $Keywords, $Phorum=0) {
if ($ArticleTitle) {
echo " -- $ArticleTitle";

if ($Phorum) {
GLOBAL $ForumName;

if(isset($ForumName)) echo " - $ForumName";
}
}

echo "</TITLE>
Expand All @@ -917,17 +912,6 @@ function freshports_Header($ArticleTitle, $Description, $Keywords, $Phorum=0) {

echo freshports_HEAD_main_items();

if ($Phorum) {
GLOBAL $phorumver;
GLOBAL $DB;
GLOBAL $ForumName;

?>
<meta name="PhorumVersion" content="<?php echo $phorumver; ?>">
<meta name="PhorumDB" content="<?php echo $DB->type; ?>">
<meta name="PHPVersion" content="<?php echo phpversion(); ?>">
<?php
}
echo freshports_IndexFollow($_SERVER["PHP_SELF"]);

echo "</HEAD>\n";
Expand Down Expand Up @@ -967,9 +951,6 @@ function freshports_style($Phorum=0) {
}
</style>';

if ($Phorum) {
echo ' <link rel="stylesheet" href="/phorum/' . phorum_get_file_name("css") . '" type="text/css">' . "\n";
}
}

function freshports_body($ExtraScript = null) {
Expand Down Expand Up @@ -1663,11 +1644,7 @@ function freshports_ShowFooter($PhorumBottom = 0) {

if ($ShowAds) {
$HTML .= "<div align=\"center\">\n";
if ($PhorumBottom) {
$HTML .= Ad_728x90PhorumBottom();
} else {
$HTML .= Ad_728x90();
}
$HTML .= Ad_728x90();
$HTML .= "</div>\n";
}

Expand Down Expand Up @@ -1698,12 +1675,6 @@ function freshports_ShowFooter($PhorumBottom = 0) {
</td></tr>
<tr><td align="center">
<a href="http://www.phorum.org/"><img src="/phorum/images/phorum.gif"
alt="powered by phorum" border="0" width="200" height="50"></a>
&nbsp;&nbsp;&nbsp;
<a href="http://www.apache.org/"><img src="/images/apache_pb.gif"
alt="powered by apache" border="0" width="259" height="32"></a>
Expand Down Expand Up @@ -1845,7 +1816,6 @@ function freshports_SideBar() {
<FONT SIZE="-1">' . freshports_SideBarHTML($_SERVER["PHP_SELF"], "/how-big-is-it.php", "How big is it?", "How many pages are in this website?" ) . '</FONT><br>
<FONT SIZE="-1">' . freshports_SideBarHTML($_SERVER["PHP_SELF"], "/release-2004-10.php", "The latest upgrade!", "Details on the latest website upgrade") . '</FONT><br>
<FONT SIZE="-1">' . freshports_SideBarHTML($_SERVER["PHP_SELF"], "/privacy.php", "Privacy", "Our privacy statement" ) . '</FONT><br>
<FONT SIZE="-1"><a href="/phorum/" title="Discussion Forums">Forums</a></FONT><br>
<FONT SIZE="-1"><a href="http://news.freshports.org/" title="All the latest FresHPorts news">Blog</a></FONT><br>
<FONT SIZE="-1">' . freshports_SideBarHTML($_SERVER["PHP_SELF"], "/contact.php", "Contact", "Contact details" ) . '</FONT><br>
</td>
Expand Down
64 changes: 64 additions & 0 deletions www/--/forums-gone.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?php
#
# $Id: welcome.php,v 1.2 2006-12-17 12:06:19 dan Exp $
#
# Copyright (c) 1998-2003 DVL Software Limited
#

header( "HTTP/1.1 410 Gone" );

require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/common.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/freshports.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/databaselogin.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/../include/getvalues.php');

freshports_Start('The forums are gone',
'freshports - new ports, applications',
'FreeBSD, index, applications, ports');

$origin = $_GET["origin"];

echo freshports_MainTable();
?>

<tr><td valign="top" width="100%">

<?php echo freshports_MainContentTable(); ?>
<TR>
<?php echo freshports_PageBannerText("The forums are gone"); ?>
</TR>
<TR>
<TD>
<P>
The forums have been removed <a href="https://github.com/FreshPorts/freshports/issues/134">via issue #134</a>.
</P>

<P>
The software they used was outdated. The usage was low. Better tools exist, such as:

<ul>
<li><a href="https://github.com/FreshPorts/freshports/issues">Github issues</a></li>
<li><a href="https://www.freebsd.org/community/mailinglists.html">mailing lists</a></li>
<li><a href="https://forums.freebsd.org/">FreeBSD forums</a></li>
</ul>

</P>

</TD></TR>
</TABLE>
</TD>

<TD VALIGN="top" WIDTH="*" ALIGN="center">
<?
echo freshports_SideBar();
?>
</td>
</TR>
</TABLE>

<?
echo freshports_ShowFooter();
?>

</BODY>
</HTML>
1 change: 0 additions & 1 deletion www/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
phorum
robots.txt

0 comments on commit fdf11d7

Please sign in to comment.