Skip to content

Commit

Permalink
Subida inicial del foro
Browse files Browse the repository at this point in the history
Se publica la versión actual del foro pero con los datos sensibles eliminados.
  • Loading branch information
xaabi6 committed Dec 8, 2021
1 parent 703b048 commit c0a05f5
Show file tree
Hide file tree
Showing 3,865 changed files with 467,002 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
35 changes: 35 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
RewriteEngine on

RewriteCond %{HTTP_REFERER} !^http://celicaspain.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://celicaspain.es$ [NC]
RewriteCond %{HTTP_REFERER} !^http://clubcelica.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://clubcelica.es$ [NC]
RewriteCond %{HTTP_REFERER} !^http://clubcelica.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://clubcelica.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://foro.clubcelica.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://foro.clubcelica.es$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.celicaspain.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.celicaspain.es$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.clubcelica.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.clubcelica.es$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.clubcelica.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.clubcelica.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.foro.clubcelica.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.foro.clubcelica.es$ [NC]
RewriteCond %{HTTP_REFERER} !^https://celicaspain.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://celicaspain.es$ [NC]
RewriteCond %{HTTP_REFERER} !^https://clubcelica.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://clubcelica.es$ [NC]
RewriteCond %{HTTP_REFERER} !^https://clubcelica.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://clubcelica.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://foro.clubcelica.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://foro.clubcelica.es$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.celicaspain.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.celicaspain.es$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.clubcelica.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.clubcelica.es$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.clubcelica.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.clubcelica.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.foro.clubcelica.es/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.foro.clubcelica.es$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
13 changes: 13 additions & 0 deletions .htaccessL
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
Options +FollowSymlinks
RewriteEngine on
##php_flag safe_mode off
##php_flag display_errors off

<IfModule mod_security.c>
# Turn off mod_security filtering. SMF is a big boy, it doesn't need its hands held.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>
13 changes: 13 additions & 0 deletions .htaccesse
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
Options +FollowSymlinks
RewriteEngine on
#php_flag safe_mode off
#php_flag display_errors off

<IfModule mod_security.c>
# Turn off mod_security filtering. SMF is a big boy, it doesn't need its hands held.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>
64 changes: 64 additions & 0 deletions 2b3-dbmodify.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?php
// If SSI.php is in the same place as this file, and SMF isn't defined, this is being run standalone.
if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
include_once(dirname(__FILE__) . '/SSI.php');
// Hmm... no SSI.php and no SMF?
elseif (!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');

// Upgrade the database if necessary
db_extend('packages');

// Define each setting to be added
$newSetting['aeiou_initial_subject'] = ''; // To store a custom initial subject message for the email, if blank revert to use
// default txt string
$newSetting['aeiou_initial_message'] = ''; // To store a custom initial message, if blank revert to use default txt string
$newSetting['aeiou_final_subject'] = ''; // To store a custom final subject message for the email, if blank revert to use
// default txt string
$newSetting['aeiou_final_message'] = ''; // To store a custom final message, if blank revert to use default txt string

// Cycle through array adding each new setting - if already exists, ignore
foreach ($newSetting as $key => $value)
$smcFunc['db_insert']('ignore', '{db_prefix}settings',
array('variable' => 'string', 'value' => 'string'),
array($key, $value),
array('variable')
);

// Add the scheduled task setting - if already exists, ignore
$smcFunc['db_insert']('ignore', '{db_prefix}scheduled_tasks',
array('next_time' => 'int', 'time_offset' => 'int', 'time_regularity' => 'int',
'time_unit' => 'string', 'disabled' => 'int', 'task' => 'string'),
array(0, 0, 1, 'd', 1, 'email_inactive'),
array('id_task')
);

// Delete settings used by the SMF 1.1.x version
$delSetting[] = 'aeiou_enable';
$delSetting[] = 'aeiou_locktimestamp';
$delSetting[] = 'aeiou_hour_max';
$delSetting[] = 'aeiou_day_max';
$delSetting[] = 'aeiou_hour_sent';
$delSetting[] = 'aeiou_day_sent';
$delSetting[] = 'aeiou_chunksize';
$delSetting[] = 'aeiou_delete';
$delSetting[] = 'aeiou_underposts';
$delSetting[] = 'aeiou_stop';
$delSetting[] = 'aeiou_message';
$delSetting[] = 'aeiou_subject';
$delSetting[] = 'aeiou_lockkey';

// Cycle through array deleting each setting
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}settings
WHERE variable IN ({array_string:variable})',
array(
'variable' => $delSetting
)
);

// If we're using SSI, tell them we're done
if(SMF == 'SSI')
echo 'Database changes for the AEIOU mod are complete!';

?>
4 changes: 4 additions & 0 deletions 400.shtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!--#set var="code" value="400" -->
<!--#set var="reason" value="Bad Request" -->
<!--#set var="msg" value="Your browser sent a request that this server could not understand:" -->
<!--#include virtual="cp_errordocument.shtml" -->
4 changes: 4 additions & 0 deletions 401.shtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!--#set var="code" value="401" -->
<!--#set var="reason" value="Unauthorized" -->
<!--#set var="msg" value="The requested page requires authentication:" -->
<!--#include virtual="cp_errordocument.shtml" -->
4 changes: 4 additions & 0 deletions 403.shtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!--#set var="code" value="403" -->
<!--#set var="reason" value="Forbidden" -->
<!--#set var="msg" value="Access is forbidden to the requested page:" -->
<!--#include virtual="cp_errordocument.shtml" -->
4 changes: 4 additions & 0 deletions 404.shtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!--#set var="code" value="404" -->
<!--#set var="reason" value="Not Found" -->
<!--#set var="msg" value="The server cannot find the requested page:" -->
<!--#include virtual="cp_errordocument.shtml" -->
4 changes: 4 additions & 0 deletions 413.shtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!--#set var="code" value="413" -->
<!--#set var="reason" value="Request Entity Too Large" -->
<!--#set var="msg" value="The request exceeds the capacity limit:" -->
<!--#include virtual="cp_errordocument.shtml" -->
4 changes: 4 additions & 0 deletions 500.shtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!--#set var="code" value="500" -->
<!--#set var="reason" value="Internal Server Error" -->
<!--#set var="msg" value="The request was not completed. The server met an unexpected condition." -->
<!--#include virtual="cp_errordocument.shtml" -->
Empty file added Adk-downloads/catimgs
Empty file.
Empty file added Adk-downloads/index.html
Empty file.
Loading

0 comments on commit c0a05f5

Please sign in to comment.