[isf-wifidog] New patch: send a validation e-mail copy

Wadih M. golden_rock at hotmail.com
Jeu 9 Aou 11:58:59 EDT 2007


Wifidog community,

Here's a new available patch for people which it interests:

Description: Send a copy of the validation e-mail new users get to an admin, 
or someone else.

Details: http://dev.wifidog.org/wiki/doc/developer/Patches (see Patch 2)

Limitations: Can send to only one person. That were my needs.

I've completed the patch, and did not implement it in the official version. 
The reason why I didn't implement that in the official version is because of 
the overhead I had to go through, and the importance of the feature didn't 
convince me. Also, the patch is very easy to add. Some people might mistake 
this reason for lazyness, but it's not.

PATCH DISCLAIMER: These are non supported patches. They are not complicated, 
but make sure you make a backup copy of the file you're modifying. These 
patches are not meant to be elegant, are not supported, and should be only 
applied by programmers that can bring the right changes to the patch (if any 
needed) depending on the discrepancies they notice. Use these patches at 
your own risk.

-wad

>From: Don Druce <dondruce at sympatico.ca>
>Reply-To: WiFiDog Captive Portal <wifidog at listes.ilesansfil.org>
>To: "MSF wifidog at listes.ilesansfil.org" <wifidog at listes.ilesansfil.org>
>Subject: [isf-wifidog] Anyone have any ideas on this one
>Date: Thu, 09 Aug 2007 02:57:38 -0400
>MIME-Version: 1.0
>Received: from mail.ilesansfil.org ([63.243.158.159]) by 
>bay0-mc2-f19.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 8 
>Aug 2007 23:57:41 -0700
>Received: from isf.ilesansfil.org (localhost.localdomain [127.0.0.1])by 
>mail.ilesansfil.org (Postfix) with ESMTP id 47D7023260A;Thu,  9 Aug 2007 
>02:57:40 -0400 (EDT)
>Received: from tomts10-srv.bellnexxia.net 
>(tomts10.bellnexxia.net[209.226.175.54])by mail.ilesansfil.org (Postfix) 
>with ESMTP id 6847D232581for <wifidog at listes.ilesansfil.org>;Thu,  9 Aug 
>2007 02:57:38 -0400 (EDT)
>Received: from [192.168.5.114] ([65.94.9.216]) by 
>tomts10-srv.bellnexxia.net(InterMail vM.5.01.06.13 
>201-253-122-130-113-20050324) with ESMTPid 
><20070809065737.YWGQ9197.tomts10-srv.bellnexxia.net@[192.168.5.114]>for 
><wifidog at listes.ilesansfil.org>; Thu, 9 Aug 2007 02:57:37 -0400
>X-Message-Delivery: Vj0zLjQuMDt1cz0wO2k9MDtsPTA7YT0w
>X-Message-Info: 
>0jbW5ANosZJjTBT41kuEiUk/dRySod2ljXsDb7M2Uqw+b2WRrU5CvkoxBHRyhd/P0Xt5YkXtrum74hyaCk3Zcg==
>X-Original-To: wifidog at listes.ilesansfil.org
>Delivered-To: wifidog at listes.ilesansfil.org
>User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
>X-BeenThere: wifidog at listes.ilesansfil.org
>X-Mailman-Version: 2.1.9
>Precedence: list
>List-Id: WiFiDog Captive Portal <wifidog.listes.ilesansfil.org>
>List-Unsubscribe: 
><http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog>,<mailto:wifidog-request at listes.ilesansfil.org?subject=unsubscribe>
>List-Archive: <http://listes.ilesansfil.org/pipermail/wifidog>
>List-Post: <mailto:wifidog at listes.ilesansfil.org>
>List-Help: <mailto:wifidog-request at listes.ilesansfil.org?subject=help>
>List-Subscribe: 
><http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog>,<mailto:wifidog-request at listes.ilesansfil.org?subject=subscribe>
>Errors-To: wifidog-bounces at listes.ilesansfil.org
>Return-Path: wifidog-bounces at listes.ilesansfil.org
>X-OriginalArrivalTime: 09 Aug 2007 06:57:41.0227 (UTC) 
>FILETIME=[9438C3B0:01C7DA52]
>
>Detailed error was: Uncaught Exception Unable to get the google API key,
>because I couldn't find a vhost matching the current hostname (0) thrown
>in file /var/www/wifidog-auth/wifidog/hotspots_map.php, line 99
>
>Note hostname (0)
>
>When I copy the Virtual hosts management I get:
>Note the blank Hostname:
>
>Virtual hosts management
>Creation date:2007-07-28
>Hostname:
>Default network for this vhost:Network: Home Network for CS D5
>Make this Virtual Host the server's default?:
>Use SSL on this server?:
>Google public API key:
>
>Hostname: is D5  see
>http://www3.sympatico.ca/dondruce/web/GoogleMapsNotShowing.JPG
>_______________________________________________
>WiFiDog mailing list
>WiFiDog at listes.ilesansfil.org
>http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog




Plus d'informations sur la liste de diffusion WiFiDog