vernal poolonline staff

Mittineague

phpBB Forum MOD - Block DNSBL Blacklisted Posting

There are 43 plants in blossom on September the 2nd.
Beggar Ticks Bidens frondosa blossoms between Aug 29 and Sep 22
Birdsfoot Trefoil Lotus corniculatus Jun 20 to Sep 05
Bittersweet Nightshade Solanum dulcamara May 30 to Sep 06
Black-eyed Susan Rudbeckia serotina Jun 18 to Sep 06
Black Nightshade Solanum nigrum Jun 29 to Sep 06
Boneset Eupatorium perfoliatum Aug 03 to Sep 06
Bouncing Bet Saponaria officinalis Jun 03 to Aug 31
Butter-and-eggs Linaria vulgaris Jul 10 to Sep 20
Celandine Chelidonium majus May 07 to Sep 11
Chicory Cichorium intybus Jun 28 to Oct 24
Common Dodder Cuscuta gronovii Sep 02 to Oct 02
Common Evening Primrose Oenothera biennis Aug 02 to Sep 20
Common Ragweed Ambrosia artemisiifolia Jul 20 to Sep 20
Common St. Johnswort Hypericum perforatum Jun 08 to Sep 26
Daisy Fleabane Erigeron annuus May 30 to Oct 24
Fall Dandelion Leontodon autumnalis Aug 02 to Sep 30
Field Hawkweed Hieracium pratense May 23 to Sep 07
Galinsoga Galinsoga ciliata Aug 01 to Oct 11
Horseweed Erigeron canadensis Aug 12 to Sep 06
Jimson Weed Datura stramonium Jul 22 to Sep 06
Lady's Thumb Polygonum persicaria Aug 12 to Oct 20
Nodding Smartweed Polygonum lapathifolium Aug 12 to Oct 22
Pale Touch-me-not Impatiens pallida Aug 22 to Sep 06
Pink Knotweed Polygonum pensylvanicum Aug 12 to Sep 11
Purple Coneflower Echinacea purpurea Jul 15 to Sep 06
Queen Anne's Lace Daucus carota Jul 09 to Sep 07
Red Clover Trifolium pratense May 23 to Oct 24
Round-headed Bush Clover Lespedeza capitata Sep 03 to Sep 04
Shrubby Cinquefoil Potentilla fruticosa Jun 03 to Sep 19
Spearmint Mentha spicata Aug 01 to Sep 06
Spotted Knapweed Centaurea maculosa Jul 31 to Sep 20
Spotted Touch-me-not Impatiens capensis Jul 01 to Sep 11
Sweet Everlasting Gnaphalium obtusifolium Aug 28 to Oct 24
Sweet Goldenrod Solidago odora Jul 31 to Sep 20
Tall Rattlesnake Root Prenanthes trifoliata Aug 27 to Sep 06
Tansy Tanacetum vulgare Jul 18 to Sep 11
Three-seeded Mercury Acalypha rhomboidea ....
*Note: Both the spews and dsbl sites are no longer active. Because of this, and the fact that phpBB3 has been out for a while now, this MOD is no longer supported. It is left here for informational purposes only. Do not apply this MOD to your forum.
############################################################## 
## MOD Title: Block DNSBL Blacklisted Posting
## MOD Author: Mittineague < N/A > ( N/A ) http://www.mittineague.com/dev
## MOD Description: Prevents those whose IP address is listed on DNSBLs from posting.
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 1 Minute
##
## Files To Edit: 2   posting.php
##      language/lang_english/lang_main.php
## 
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
##    This MOD is based heavily (almost entirely) on the 
##    DNSBL Blacklisted Registrants MOD by TerraFrost
##    TerraFrost < N/A > (Jim Wigginton) http://www.frostjedi.com/phpbb
##
##    The author found that although DNSBL and Open Proxy registrations
##    were successfully being blocked by using TerraFrost's MODs, SPAM
##    posts were still being made by "members" that had registered using
##    "good" IP addresses.
##
##############################################################
## MOD History:
##
##   2007-01-23 - Version 1.0.1  -  rewritten as standalone MOD
##
##   2007-01-14 - Version 1.0.0  -  initial release as
##          "Block DNSBL Blacklisted Registrants - Addon"
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
#
#-----[ OPEN ]------------------------------------------
#
posting.php
 
#
#-----[ FIND ]------------------------------------------
#
$refresh = $preview || $poll_add || $poll_edit || $poll_delete;
 
#
#-----[ BEFORE, ADD ]------------------------------------
#
if ( (isset($mode)) && ($mode != '') )
{
  include_once $phpbb_root_path . 'language/lang_english/lang_main.php';
 
  $address = $HTTP_SERVER_VARS['REMOTE_ADDR'];
  $rev = implode('.',array_reverse(explode('.', $address)));
 
  $lookup = "$rev.l1.spews.dnsbl.sorbs.net";
  if ($lookup != gethostbyname($lookup))
  {
    message_die(GENERAL_MESSAGE, strtr($lang['dsbl_p'],array('%url%' => "http://www.spews.org/ask.cgi?x=$address")));
  }
 
  $lookup = "$rev.sbl-xbl.spamhaus.org";
  if ($lookup != gethostbyname($lookup))
  {
    message_die(GENERAL_MESSAGE, strtr($lang['dsbl_p'],array('%url%' => "http://www.spamhaus.org/query/bl?ip=$address")));
  }
 
  $lookup = "$rev.list.dsbl.org";
  if ($lookup != gethostbyname($lookup))
  {
    message_die(GENERAL_MESSAGE, strtr($lang['dsbl_p'],array('%url%' => "http://dsbl.org/listing?$address")));
  }
}
 
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
 
#
#-----[ FIND ]------------------------------------------
#
$lang['A_critical_error'] = 'A Critical Error Occurred';
 
#
#-----[ AFTER, ADD ]------------------------------------
#
$lang['dsbl_p'] = '<p>Your IP address is on a <a href="%url%">DNS-based Blackhole List</a>.</p><p>Posting attempt blocked.</p>';
 
#
#-----[  SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
no_dnsbl_posts.mod
with alternate Block DNSBL Blacklisted Posting - Black MOD mod_no_dnsbl_posts.zip
About - Blog - Sitemap - Contact - Forums - Home 

PHP icon. PEAR icon. MySQL icon. phpBB icon. Sitepoint icon. Valid XHTML 1.0 icon. Valid CSS! icon. Level A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0