<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Simple Anti Spam for Advanced Guestbook"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Simple Anti Spam for Advanced Guestbook"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Simple Anti Spam for Advanced Guestbook</title>
				<description><![CDATA[ OK my image verification, whilst being good, doesn't work for everyone so here is a simple fix. This will only work until they catch on. This is written for 2.3.1. If you use 2.2 the idea is the same except instead of being called [b]gb_name[/b] it is just called [b]name[/b]. Open [b]addentry.php[/b] and find[code]$gb_post-&gt;name = &#40;isset&#40;$HTTP_POST_VARS&#91;&quot;gb_name&quot;&#93;&#41;&#41; ? $HTTP_POST_VARS&#91;&quot;gb_name&quot;&#93; &#58; '';[/code]now in that line you want to add something to the end of the [b]gb_name[/b] such as [b]123[/b] to make them both read [b]gb_name123[/b]. Please do not use 123 as this is just an example. If everyone adds the same then the spammers will just use that. The more abstract the better. Now open up [b]templates/form.php[/b] and find[code]function checkForm&#40;&#41; &#123;<br />  document.book.gb_name.value=trim&#40;document.book.gb_name.value&#41;;<br />  document.book.gb_comment.value=trim&#40;document.book.gb_comment.value&#41;;<br />  if&#40;document.book.gb_name.value == &quot;&quot;&#41; &#123;<br />    alert&#40;&quot;$LANG&#91;ErrorPost1&#93;&quot;&#41;;<br />    document.book.gb_name.focus&#40;&#41;;<br />    return false;<br />  &#125;[/code]and change every gb_book in there then find[code]&lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;gb_name&quot; size=&quot;42&quot; maxlength=&quot;30&quot;&gt;&lt;/td&gt;[/code]and again add the text onto the end of [b]gb_name[/b]. Save both files and you're done. remember you MUST ADD THE SAME TEST TO THE END OF EVERY INSTANCE OF [b]gb_name[/b].<br /> <br /> Next open [b]lib/add.class.php[/b] and locate[code]$HIDDEN .= &quot;&lt;input type=\&quot;hidden\&quot; name=\&quot;gb_name\&quot; value=\&quot;&quot;.$this-&gt;name.&quot;\&quot;&gt;\n&quot;;[/code]and again edit the [b]gb_name[/b].<br /> <br /> If you are using the guestbook as a module in PHP Nuke or similar you neeed to also open [b]index.php[/b] and edit[code]$gb_post-&gt;name = &#40;isset&#40;$HTTP_POST_VARS&#91;&quot;gb_name&quot;&#93;&#41;&#41; ? $HTTP_POST_VARS&#91;&quot;gb_name&quot;&#93; &#58; '';[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/13891.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/13891.php</link>
				<pubDate><![CDATA[Thu, 3 Feb 2005 22:03:18]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Look'n good Carbonize! Excellent (as per usual)!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/13892.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/13892.php</link>
				<pubDate><![CDATA[Thu, 3 Feb 2005 22:08:26]]> GMT</pubDate>
				<author><![CDATA[ ET]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Bump. Oh and this should work on 2.2 you just need to remember that apparently it uses just name instead of gb_name.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/13986.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/13986.php</link>
				<pubDate><![CDATA[Sat, 5 Feb 2005 11:26:58]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title>Brilliant!</title>
				<description><![CDATA[ Hi Carbonize.<br /> <br /> Your verification script is brilliant and yet so simple to install. Hats off to you.<br /> <br /> Have just installed here [url]http://www.jasonwood.info/guestbook/index.php[/url] and it's working a treat!<br /> <br /> I was having to get rid of around 3-4 spammed entries each day for Jason, but fingers crossed, I won't have to again!<br /> <br /> Woody]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14001.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14001.php</link>
				<pubDate><![CDATA[Sat, 5 Feb 2005 21:46:13]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ i just made these changes to the two files, however, the form.php file i have has "gb_name" in three places and does not appear as you have quoted.  i have guestbook 2.3.1.<br /> <br /> i made the changes as follows in the three places in the form.php file.  i used "v7e" as my add-on. can we use as many characters as we want?  <br /> <br /> <br /> <br /> }<br /> function checkForm() {<br />  document.book.gb_namev7e.value=trim(document.book.gb_namev7e.value);<br />  document.book.gb_comment.value=trim(document.book.gb_comment.value);<br />  if(document.book.gb_namev7e.value == "") {<br />    alert("$LANG[ErrorPost1]");<br />    document.book.gb_namev7e.focus();<br />    return false;<br />  }<br /> <br /> <br /> <br /> <br /> i have been getting awful spam and am hoping your fix does the trick!<br /> <br /> thanks,<br /> white owl]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14020.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14020.php</link>
				<pubDate><![CDATA[Sun, 6 Feb 2005 03:23:02]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>white owl</title>
				<description><![CDATA[ i just found the line and made the change:<br /> <br /> <br /> &lt;td&gt;&lt;input type="text" name="gb_namev7e" size="42" maxlength="30"&gt;&lt;/td&gt;<br /> <br /> <br /> so what about those other occurrances in this form.php file?  do i leave those changes i made (previous post) or do i change those back?<br /> <br /> white owl]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14021.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14021.php</link>
				<pubDate><![CDATA[Sun, 6 Feb 2005 03:38:36]]> GMT</pubDate>
				<author><![CDATA[ white owl]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Whoops thanks white owl. I forgot about gb_name in the javascript, yes change them as well.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14033.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14033.php</link>
				<pubDate><![CDATA[Sun, 6 Feb 2005 07:33:30]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Ooooh - I didn't notice that either!!! Thanks!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14096.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14096.php</link>
				<pubDate><![CDATA[Sun, 6 Feb 2005 21:32:34]]> GMT</pubDate>
				<author><![CDATA[ ET]]></author>
			</item>
			<item>
				<title>add.class.php</title>
				<description><![CDATA[ thanks for the quickfix, hope it lasts for a while.<br /> <br /> seems you forgot to mention the add.class.php.<br /> there's a line<br /> [code]<br />         $HIDDEN .= &quot;&lt;input type=\&quot;hidden\&quot; name=\&quot;gb_name\&quot; value=\&quot;&quot;.$this-&gt;name.&quot;\&quot;&gt;\n&quot;;<br /> [/code]<br /> <br /> where you also have to replace gb_name by gb_name123.<br /> <br /> If you don't do, the 'submit' from the 'preview' page results in an error (seems you forgot your name)]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14427.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14427.php</link>
				<pubDate><![CDATA[Fri, 18 Feb 2005 08:03:59]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Fixed cheers.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14428.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14428.php</link>
				<pubDate><![CDATA[Fri, 18 Feb 2005 08:19:14]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I suppose I could of gone for the simpler option (which I have in 2.3.2 (temp name)) of renaming the action variable instead. Far less changes to make then and the same in both versions I believe.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14435.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14435.php</link>
				<pubDate><![CDATA[Fri, 18 Feb 2005 13:56:58]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title>ack...</title>
				<description><![CDATA[ I tried to install the image verification but its not working right. The image verification row appears on the "Sign Guestbook" page, but the numbers that people are suppose to type in don't show up!  <img src="https://proxy2.de/forum//images/smilies/385970365b8ed7503b4294502a458efa.gif" /> <br />  I've double checked everything, but I can't find the problem... Has anyone else had this problem? Any ideas how I screwed it up?? Here's the page: <a class="snap_shots" href="http://www.monetrox.com/gb/addentry.php" target="_blank" rel="nofollow">http://www.monetrox.com/gb/addentry.php</a><br />  Thanks.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14523.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14523.php</link>
				<pubDate><![CDATA[Thu, 24 Feb 2005 00:57:33]]> GMT</pubDate>
				<author><![CDATA[ Delia_35]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ OK. I *think* I'm a moron. I think the problem is that in addentry.php, where the instructions said <br />     [quote]and replace it with <br /> 	&lt;?php<br /> 	include("verify.php");<br /> 	$include_path = dirname(__FILE__);[/quote]<br /> I actually copied and pasted that *exact* wording. I was suppose to replace the "__FILE__" thing, huh? Probably. What file is suppose to go there? hehe Sorry. I'm new at this.  <img src="https://proxy2.de/forum//images/smilies/97ada74b88049a6d50a6ed40898a03d7.gif" /><br /> <br /> [b]EDIT:[/b] Never mind all. I'm just gonna reinstall the guestbook without the image verification.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14524.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14524.php</link>
				<pubDate><![CDATA[Thu, 24 Feb 2005 01:29:52]]> GMT</pubDate>
				<author><![CDATA[ Delia_35]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I can send you the current beta version of 2.3.2 (temporary name). It has a simple anti spam method built in. It works fine and you simply replace your current guestbook files with the new ones. All you have to do is edit the config file.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14531.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14531.php</link>
				<pubDate><![CDATA[Thu, 24 Feb 2005 12:56:19]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I'd love to test that out, thanks. Email: heather.chambersATgmail.com]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4211/14534.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4211/14534.php</link>
				<pubDate><![CDATA[Thu, 24 Feb 2005 15:54:58]]> GMT</pubDate>
				<author><![CDATA[ Delia_35]]></author>
			</item>
	</channel>
</rss>