<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Alex's Support Forums Tag: list</title>
<link>http://www.alex-hardy.co.uk/forums/</link>
<description>Alex's Support Forums Tag: list</description>
<language>en</language>
<pubDate>Wed, 19 Nov 2008 22:40:36 +0000</pubDate>

<item>
<title>Alex on "IP address capture?"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/ip-address-capture#post-64</link>
<pubDate>Thu, 06 Nov 2008 10:45:04 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">64@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Here is a workaround to add IP address logging to your contact form's mailing list opt-in.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Disclaimer&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;* I consider this a hack (as &#60;a href=&#34;http://codex.wordpress.org/Hacking_WordPress&#34;&#62;WordPress defines one&#60;/a&#62;) and I do not support it&#60;br /&#62;
* I wrote this because it is a minor modification. I cannot develop new features based on individual request&#60;br /&#62;
* I do not guarantee that I will add IP logging functionality to a future release&#60;br /&#62;
* If I do add IP logging, I do not guarantee that it will be implemented in this manner&#60;br /&#62;
* I do not guarantee that future updates won't break this&#60;br /&#62;
* You are urged to back up your files and database before attempting a modification of this sort&#60;/p&#62;
&#60;p&#62;____________________________________&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;1) Database modification&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Add a new field called &#60;strong&#62;ip&#60;/strong&#62; to the end of your list_member table. In this case searchability isn't important so for simplicity I used a varchar field. Like any development choice, the pros and cons are &#60;a href=&#34;http://arjen-lentz.livejournal.com/44290.html&#34;&#62;debatable&#60;/a&#62;. Such is life.&#60;/p&#62;
&#60;p&#62;If your host has the &#60;a href=&#34;http://www.phpmyadmin.net&#34;&#62;phpMyAdmin&#60;/a&#62; control panel this would be the easiest way. If you're familiar with SQL, you could use &#60;a href=&#34;http://dev.mysql.com/downloads/gui-tools&#34;&#62;MySQL Query Browser&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;2) contact.php&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Enter this line of code at the very top after &#60;code&#62;&#38;lt;?php&#60;/code&#62; :&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$user_ip = $_SERVER[&#38;quot;REMOTE_ADDR&#38;quot;];&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;3) sc_admin/include/contact.php&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Change line 251 to say:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$query = &#38;quot;INSERT INTO $table_list_member (name_full,email,ip) VALUES (&#38;#39;$name_full&#38;#39;,&#38;#39;$email&#38;#39;,&#38;#39;$user_ip&#38;#39;)&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;4) sc_admin/list.php&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Change line 94 to say:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$query = &#38;quot;SELECT m.email,m.ip FROM $table_list_member m, $table_list_subscribe s WHERE m.id=s.member_id AND s.confirmkey=&#38;#39;&#38;#39; ORDER BY m.email&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Change line 100 to say:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;printf(&#38;quot;&#38;lt;li&#38;gt;&#38;lt;a href=\&#38;quot;mailto:%s\&#38;quot; title=\&#38;quot;Send an email to &#38;#39;%s&#38;#39;\&#38;quot;&#38;gt;%s (%s)&#38;lt;/a&#38;gt;&#38;amp;nbsp;&#38;amp;nbsp;&#124;&#38;amp;nbsp;&#38;amp;nbsp;&#38;lt;a href=\&#38;quot;list.php?remove=%s\&#38;quot; class=\&#38;quot;remove\&#38;quot; title=\&#38;quot;Remove &#38;#39;%s&#38;#39; from the mailing list\&#38;quot;&#38;gt;Remove&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;\n&#38;quot;,$list[&#38;quot;email&#38;quot;],$list[&#38;quot;email&#38;quot;],$list[&#38;quot;email&#38;quot;],$list[&#38;quot;ip&#38;quot;],$list[&#38;quot;email&#38;quot;],$list[&#38;quot;email&#38;quot;]);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;____________________________________&#60;/p&#62;
&#60;p&#62;That should log a user's IP address when a user opts in to your mailing list through your contact form. The user's IP address will be displayed on the mailing list page in sc_admin, next to their email address.
&#60;/p&#62;</description>
</item>
<item>
<title>bkmacdaddy on "IP address capture?"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/ip-address-capture#post-63</link>
<pubDate>Wed, 05 Nov 2008 17:20:50 +0000</pubDate>
<dc:creator>bkmacdaddy</dc:creator>
<guid isPermaLink="false">63@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Alex,&#60;/p&#62;
&#60;p&#62;Thanks for the quick reply. The reasons for my request are for a specific need my client has, who I am using SimpleContactPro for. They are trying to follow best practices (and maybe even legal practices) for data capture by collecting first &#38;#38; last name, email, zip code, double opt-in, and IP address. I am not schooled on the requirements or legalities, I just know this is what my client requires. Unfortunately, if we cannot figure out a way to integrate IP address capture, then I will have to use something else (like PHPlist, which we used on a similar site.) I would much prefer to use your script - it looks FAR more professional and clean, has easy back-end user management and all the other great features. If I can get it to work with IP address capture then I am certain I will use it on multiple sites (consider that a bribe)   :)&#60;/p&#62;
&#60;p&#62;Thanks again!
&#60;/p&#62;</description>
</item>
<item>
<title>Alex on "IP address capture?"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/ip-address-capture#post-62</link>
<pubDate>Wed, 05 Nov 2008 17:01:10 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">62@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Thanks Brian :)&#60;/p&#62;
&#60;p&#62;The IP address of a user isn't currently captured. I am aware that some scripts record IPs as an anti-spam measure (to ban IPs). The problem with this is that there is a risk of banning other people as well who may happen to be using the same network or ISP. Any self-respecting spammer also knows how to change or fake their IP address.&#60;/p&#62;
&#60;p&#62;This blog post may be useful:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://kalsey.com/2004/02/why_ip_banning_is_useless&#34; rel=&#34;nofollow&#34;&#62;http://kalsey.com/2004/02/why_ip_banning_is_useless&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If I see significant demand for this feature I may add it, but I think you'll find the app very resistant to spam anyway. I also have several ideas to tighten it further in future.&#60;/p&#62;
&#60;p&#62;By &#34;the first opt-in checkbox&#34; do you mean the mailing list opt-in checkbox on the contact form? I made the decision in development that form owners should not able to:&#60;/p&#62;
&#60;p&#62;a) Pre-check the opt-in checkbox (making it opt-out)&#60;br /&#62;
b) Require that people join the mailing list.&#60;/p&#62;
&#60;p&#62;These methods are discouraged by email marketers. Systems like Campaign Monitor will refuse a such a list.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.campaignmonitor.com/anti-spam&#34; rel=&#34;nofollow&#34;&#62;http://www.campaignmonitor.com/anti-spam&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Perhaps what you're after is to capture people's names as well as their email addresses when they use the list subscribe form? I plan to add that ability in a future version.
&#60;/p&#62;</description>
</item>
<item>
<title>bkmacdaddy on "IP address capture?"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/ip-address-capture#post-61</link>
<pubDate>Wed, 05 Nov 2008 03:57:13 +0000</pubDate>
<dc:creator>bkmacdaddy</dc:creator>
<guid isPermaLink="false">61@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;Alex,&#60;/p&#62;
&#60;p&#62;First off, MORE kudos for the Pro version! It's amazingly simple to set up and use! Great work!!! Especially for us designers who only know how to make stuff look pretty but not so much how to make it function...&#60;/p&#62;
&#60;p&#62;I need 2 things that I can't figure out how to do (if at all possible):&#60;/p&#62;
&#60;p&#62;1. capture the IP address when the form is submitted&#60;br /&#62;
2. make the first opt-in checkbox required&#60;/p&#62;
&#60;p&#62;Thanks in advance for any help.&#60;/p&#62;
&#60;p&#62;Brian
&#60;/p&#62;</description>
</item>
<item>
<title>Alex on "Is it possible to mass email all mailing list subscribers?"</title>
<link>http://www.alex-hardy.co.uk/forums/topic/mass-mail-subscribers#post-1</link>
<pubDate>Tue, 19 Feb 2008 18:41:17 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid isPermaLink="false">1@http://www.alex-hardy.co.uk/forums/</guid>
<description>&#60;p&#62;simpleContact is first and foremost a form builder. There is no functionality for sending emails; it is just about gathering permission.&#60;/p&#62;
&#60;p&#62;This is because there is a thin line between mass mailing and spamming. Without tools for spam testing, checking messages display properly in email clients, scheduled sending, managing bounces and unsubscribes, reporting etc you don't have a real solution.&#60;/p&#62;
&#60;p&#62;I plan on adding features that will enable you to use your data with some of the excellent, full-featured mailshot systems that already exist like &#60;a href=&#34;http://www.campaignmonitor.com&#34;&#62;Campaign Monitor&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Update:&#60;/strong&#62; &#60;a href=&#34;/downloads/simplecontactpro&#34;&#62;simpleContact Pro&#60;/a&#62; includes CSV export which you can use to import your list into many mass mailers.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
