/*
* Patch for filter_var()
*/
if(!function_exists('filter_var')){
define('FILTER_VALIDATE_IP', 'ip');
define('FILTER_FLAG_IPV4', 'ipv4');
define('FILTER_FLAG_IPV6', 'ipv6');
define('FILTER_VALIDATE_EMAIL', 'email');
define('FILTER_FLAG_EMAIL_UNICODE', 'unicode');
function filter_var($variable, $filter, $option = false){
if($filter == 'ip'){
if($option == 'ipv4'){
if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
if($option == 'ipv6'){
if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
if($filter == 'email'){
if($option == 'unicode' || $option == false){
if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
}
}
Print Page - Raw Paleo Forum REINSTALL to fix issues, discuss here.
Paleo Diet: Raw Paleo Diet and Lifestyle Forum
Raw Paleo Diet Forums => Info / News Items / Announcements => Topic started by: goodsamaritan on April 02, 2018, 12:53:22 am
-
Just now April 2, 2018 at around 00:50 my time, I had reinstalled the raw paleo diet forum using a FRESH install.
I maintained the same database.
I am reinstalling modifications one by one.
The first one reinstalled is about Pretty URLs
The other adjustment is to display all in https - SSL
(you will see a green https:// at the top of your browser.
I have yet to install a responsive theme... maybe next week or so...
I will be on vacation with my kids this week, so I will have spotty internet in a far away beach.
Some things that seem to have been fixed with this reinstall are:
-- editing posts now work.
-- adding topics in the parenting forum now work.
Please reply with the things you see, observe and are still missing.
In the next post I will show the previous modifications of the forum.
-
Modification Packages
Mod Name Version
1. SMF 2.0.8 Update 1.0 [ List Files ] [ Delete ]
2. Aeva ~ Auto-Embed Video & Audio 7.1 [ Uninstall ] [ List Files ] [ Delete ]
3. Anti-Spam Links 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
4. Pretty URLs 1.0RC5.2 [ Uninstall ] [ List Files ] [ Delete ]
5. SMF 2.0.11 Update 1.0 [ List Files ] [ Delete ]
6. SMF 2.0.4 Update 1.0 [ List Files ] [ Delete ]
7. Additional Profile Permissions 1.0.0 [ Install Mod ] [ List Files ] [ Delete ]
8. SMF 1.1.20 / 2.0.9 Update 1.0 [ List Files ] [ Delete ]
9. SMF 1.1.21 / 2.0.10 Update 1.0 [ List Files ] [ Delete ]
10. SMF 2.0.3 Update 1.0 [ List Files ] [ Delete ]
11. SMF 2.0.15 Update 1.0 [ Uninstall ] [ List Files ] [ Delete ]
12. SMF 2.0.5 Update 1.0 [ List Files ] [ Delete ]
13. SMF 2.0.14 Update 1.0 [ List Files ] [ Delete ]
14. SMF 1.1.19 / 2.0.6 Update 1.0 [ List Files ] [ Delete ]
15. Responsive Curve 1.0 Beta 3 [ Uninstall ] [ List Files ] [ Delete ]
16. SMF 2.0.2 Update 1.0 [ List Files ] [ Delete ]
17. SMF 2.0.12 Update 1.0 [ List Files ] [ Delete ]
18. Country Flags 1.1.2 [ Uninstall ] [ List Files ] [ Delete ]
19. Anti Bot: Are You Human/Bot? 3.0 [ Uninstall ] [ List Files ] [ Delete ]
20. Add Facebook Like, Tweet, and Google +1 1.0.3a [ Uninstall ] [ List Files ] [ Delete ]
21. Akismet Spam Blocking 1.2 [ Install Mod ] [ List Files ] [ Delete ]
22. SMF 2.0.7 Update 1.0 [ List Files ] [ Delete ]
23. SMF 2.0.13 Update 1.0 [ List Files ] [ Delete ]
-
I installed Country Flags.
Please edit your country so your flag will appear on your profile.
It's more fun this way.
I edited 2 profiles just to test, it works.
For those whose profiles still do not show your country, please edit your profiles.
-
Tyler, i haven't installed the anti spam measures yet.
We will be getting more spammers.
Saw one already.
Maybe next week I can do it.
-
We were having issues with the remotely hosted database so I switched to locally hosting the database.
Hoping for feedback if there are improvements.