<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Hi Can I fet some help please...."]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Hi Can I fet some help please...."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Hi Can I fet some help please....</title>
				<description><![CDATA[ I have read a few posts on how to add and delete fields in guestbook.  But my question is,,,,,, how do i make a field a requirment?<br /> What I'd like to do is make  email field a requirment to beable to sign guestbook.  if someone could please guide me with what to do or possible have code so i can do this.<br /> Thanks in advance   <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3010/7955.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3010/7955.php</link>
				<pubDate><![CDATA[Sat, 17 Apr 2004 18:48:43]]> GMT</pubDate>
				<author><![CDATA[ cndgirl]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ No one can help  <img src="https://proxy2.de/forum//images/smilies/136dd33cba83140c7ce38db096d05aed.gif" /> me with this?????]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3010/7994.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3010/7994.php</link>
				<pubDate><![CDATA[Thu, 22 Apr 2004 09:34:37]]> GMT</pubDate>
				<author><![CDATA[ cndgirl]]></author>
			</item>
			<item>
				<title>Hi Can I fet some help please....</title>
				<description><![CDATA[ Hi cndgirl,<br /> <br /> A few weeks back I posted a message about changing the required fields - it's here...[url]http://proxy2.de/forum/viewtopic.php?t=2877&amp;highlight=required+fields&amp;sid=f7d5445820f567874b38e8e3c859a4f0[/url]<br /> <br /> Although not exactly what you're looking for you should be able to tweak it to get what you want.<br /> <br /> Let me know how you get on - email to 042204a at kahlil dot org if you wish.<br /> <br /> Hope it helps.<br /> <br /> Trevor]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3010/7995.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3010/7995.php</link>
				<pubDate><![CDATA[Thu, 22 Apr 2004 13:13:23]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thank you for the reply Trevor.  What I'd like to do is make e-mail address on the book a required field.   <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3010/8000.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3010/8000.php</link>
				<pubDate><![CDATA[Thu, 22 Apr 2004 19:56:15]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>Hi Can I fet some help please....</title>
				<description><![CDATA[ OK, here's some step by step instructions, apologies if some of this is a bit basic.<br /> <br /> First off, not a bad idea to make copies of the existing files - the files that will change are [i]add.class.php[/i] in the [i]lib [/i]sub-directory, [i]form.p[/i]hp in the [i]templates [/i]sub-directory and [i]english.php [/i]in the [i]lang [/i]sub-sirectory (english.php if your guestbook is in English, otherwise the language of your guestbook - french.php, italian.php etc).<br /> <br /> These notes are for making e-mail a required field.  If you want to make location a required field follow the same instructions but substitute [color="red"]email[/color] with [color="red"]location[/color], to make homepage required substitute [color="red"]email [/color]with [color="red"]url[/color].<br /> <br /> [u]MAKING E-MAIL REQUIRED[/u]<br /> <br /> 1 Open [i]add.class.php[/i] in the [i]lib [/i]sub-directory.<br /> <br /> 2 Find the following text (about lines 189 to 191)<br /> <br /> [code]        if &#40;$this-&gt;name == &quot;&quot;&#41; &#123;<br />             return $this-&gt;db-&gt;gb_error&#40;$this-&gt;db-&gt;LANG&#91;&quot;ErrorPost1&quot;&#93;&#41;;<br />         &#125;[/code]<br /> <br /> 3 Copy it and paste it in a couple of lines later, after where it says...<br /> <br /> [code]... LANG&#91;&quot;ErrorPost3&quot;&#93;&#41;;<br />         &#125; else &#123;[/code]<br /> <br /> 4 Change [color="red"]name [/color]to [color="red"]email [/color] and [color="red"]ErrorPost1[/color] to [color="red"]ErrorPost12[/color]. <br /> <br /> 5 That whole bit of script with the new lines added should read...<br /> <br /> [quote]        if ($this-&gt;name == "") {<br />             return $this-&gt;db-&gt;gb_error($this-&gt;db-&gt;LANG["ErrorPost1"]);<br />         } elseif (strlen($this-&gt;comment)&lt;$this-&gt;db-&gt;VARS["min_text"] || strlen($this-&gt;comment)&gt;$this-&gt;db-&gt;VARS["max_text"]) {<br />             return $this-&gt;db-&gt;gb_error($this-&gt;db-&gt;LANG["ErrorPost3"]);<br />         } else {<br />         if ($this-&gt;email == "") {<br />             return $this-&gt;db-&gt;gb_error($this-&gt;db-&gt;LANG["ErrorPost12"]);<br />         }<br />             $this-&gt;url = trim($this-&gt;url);[/quote]<br /> <br /> 6 Save that file and open [i]form.php[/i] in the [i]templates[/i] sub-directory.<br /> <br /> 7 Find the following text (about lines 18 to 21)<br /> <br /> [code] if&#40;document.book.gb_comment.value == &quot;&quot;&#41; &#123;<br />    alert&#40;&quot;$LANG&#91;ErrorPost2&#93;&quot;&#41;;<br />    document.book.gb_comment.focus&#40;&#41;;<br />    return false;[/code]<br /> <br /> 8 Copy and paste it in immediately after where you've just copied it from<br /> <br /> 9 Change [color="red"]comment [/color]to [color="red"]email [/color](twice) and [color="red"]ErrorPost2[/color] to [color="red"]ErrorPost12[/color].  <br /> <br /> 10 It should now read as...<br /> <br /> [code] if&#40;document.book.gb_email.value == &quot;&quot;&#41; &#123;<br />    alert&#40;&quot;$LANG&#91;ErrorPost12&#93;&quot;&#41;;<br />    document.book.gb_email.focus&#40;&#41;;<br />    return false;[/code]<br /> <br /> [u]ADD ASTERISKS TO INDICATE REQUIRED FIELDS[/u]<br /> <br /> 11 Still with the same file open ([i]form.php[/i]) find the following (about line 92)...<br /> <br /> [code]&lt;td width=&quot;25%&quot; class=&quot;font1&quot;&gt;&lt;img src=&quot;$GB_PG&#91;base_url&#93;/img/email.gif&quot; width=&quot;15&quot; height=&quot;15&quot;&gt; $LANG&#91;FormEmail&#93;&#58;&lt;/td&gt;[/code]<br /> <br /> 12 All you're doing is adding an asterisk after [FormEmail] so it now reads...<br /> <br /> [code]... $LANG&#91;FormEmail&#93;*&#58;&lt;/td&gt;[/code]<br /> <br /> 13 Save the file.<br /> <br /> [u]CREATING A NEW ERROR MESSAGE[/u]<br /> <br /> 14 Open the file [i]english.php[/i] in the [i]lang[/i] sub-directory. <br /> <br /> 15 Scroll down to about line 72 and create a new error message based on the existing ones.<br /> <br /> 16  For example, copy and paste the following...<br /> <br /> [code]$LANG&#91;&quot;ErrorPost11&quot;&#93; = &quot;You forgot to fill in the Comment field. Please correct it and re-submit.&quot;;[/code]<br /> <br /> and edit it to read...<br /> <br /> [code]$LANG&#91;&quot;ErrorPost12&quot;&#93; = &quot;You forgot to fill in the E-mail field. Please correct it and re-submit.&quot;;[/code]<br /> <br /> The message can be whatever you want, the important thing is the make sure it's numbered as ErrorPost12.<br /> <br /> 17 Save it and you're done.<br /> <br /> [u]MAKING MORE FIELDS REQUIRED[/u]<br /> <br /> If you wanted to make more fields required (e.g. location) just repeat the above substituting [color="red"]name[/color] for [color="red"]location [/color]and [color="red"]ErrorPost11[/color] for [color="red"]ErrorPost13[/color] (create ErrorPost13 as per steps 14 to 17 above).<br /> <br /> [u]MAKING FIELDS SO THEY'RE NOT REQUIRED[/u]<br /> <br /> Refer to this massage...<br /> <br /> [url]http://proxy2.de/forum/viewtopic.php?t=2877&amp;highlight=required+fields&amp;sid=f7d5445820f567874b38e8e3c859a4f0[/url]<br /> <br /> That's it - hope it works.  Any probs post another message or e-mail me: 042304b at kahlil dot org<br /> <br /> Trevor]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3010/8050.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3010/8050.php</link>
				<pubDate><![CDATA[Fri, 23 Apr 2004 17:08:02]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title>OMG</title>
				<description><![CDATA[ OMG  Trevor  I am so sorry, I didn't know you had replied to this post, I didn't get a email notifaction  <img src="https://proxy2.de/forum//images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" />   Please forgive me.  My guestbook has disappeared  <img src="https://proxy2.de/forum//images/smilies/c30b4198e0907b23b8246bdd52aa1c3c.gif" /> but if I ever get it back I'll make sure to follow your steps.  <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" />  Thank you very much once again for your time and help.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3010/8219.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3010/8219.php</link>
				<pubDate><![CDATA[Wed, 5 May 2004 06:23:04]]> GMT</pubDate>
				<author><![CDATA[ cndgirl]]></author>
			</item>
	</channel>
</rss>