<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Name generator script</title>
	<atom:link href="http://www.name-generators.com/name-generators/name-generator-script.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.name-generators.com/name-generators/name-generator-script.htm</link>
	<description>Blogging about name generators</description>
	<lastBuildDate>Tue, 24 Jan 2012 16:48:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Human</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-5588</link>
		<dc:creator>Human</dc:creator>
		<pubDate>Fri, 23 Dec 2011 00:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-5588</guid>
		<description>As you can see from my &quot;name&quot; I can&#039;t think of names very easily... I&#039;m also a little slow on this, so I&#039;m can&#039;t get all this to work</description>
		<content:encoded><![CDATA[<p>As you can see from my &#8220;name&#8221; I can&#8217;t think of names very easily&#8230; I&#8217;m also a little slow on this, so I&#8217;m can&#8217;t get all this to work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dino Dogan</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-62</link>
		<dc:creator>Dino Dogan</dc:creator>
		<pubDate>Mon, 14 Mar 2011 12:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-62</guid>
		<description>&lt;a href=&quot;#comment-5207&quot; rel=&quot;nofollow&quot;&gt;@Niels &lt;/a&gt; 
Hi Niels, I really appreciate the time you&#039;ve taken to answer this. I have none of the skills you refer to but I have a coding genius @dancristo next to me, so Im sure he can figure it out :-)</description>
		<content:encoded><![CDATA[<p><a href="#comment-5207" rel="nofollow">@Niels </a><br />
Hi Niels, I really appreciate the time you&#8217;ve taken to answer this. I have none of the skills you refer to but I have a coding genius @dancristo next to me, so Im sure he can figure it out <img src='http://www.name-generators.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niels</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-61</link>
		<dc:creator>Niels</dc:creator>
		<pubDate>Mon, 14 Mar 2011 09:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-61</guid>
		<description>Hi Dino. 

Interesting idea. If it&#039;s easy or difficult... well it solely depend of your programming skills. ;)

If I should make such a feature, I would transfer the name generator to php. It shouldn&#039;t take more than 30 minutes. All the hard work lays in building the word arrays, the generator itself is very simple. 

The benefit of making it in php is that all you other functionality around the login and connections to the mySQL database is run in php scripts. It&#039;s much easier to deal with database and the php, when all the funtionality lays on the server, instead of when the name generation takes place in the browser. 

I would do something like this:
*When the users log ins for the first time, you run the name generator script 
*Compare the results with the guild names already in the MySQL database
*Repeat name generation if necessary 
*Finally save the new and unique guild names in the database. 

It does take some work though to build such a flow. For the skilled programmer it&#039;s probably pretty easy, for me it would take a little more time.

Good luck, and when you get it up please come back and share.  :)</description>
		<content:encoded><![CDATA[<p>Hi Dino. </p>
<p>Interesting idea. If it&#8217;s easy or difficult&#8230; well it solely depend of your programming skills. <img src='http://www.name-generators.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If I should make such a feature, I would transfer the name generator to php. It shouldn&#8217;t take more than 30 minutes. All the hard work lays in building the word arrays, the generator itself is very simple. </p>
<p>The benefit of making it in php is that all you other functionality around the login and connections to the mySQL database is run in php scripts. It&#8217;s much easier to deal with database and the php, when all the funtionality lays on the server, instead of when the name generation takes place in the browser. </p>
<p>I would do something like this:<br />
*When the users log ins for the first time, you run the name generator script<br />
*Compare the results with the guild names already in the MySQL database<br />
*Repeat name generation if necessary<br />
*Finally save the new and unique guild names in the database. </p>
<p>It does take some work though to build such a flow. For the skilled programmer it&#8217;s probably pretty easy, for me it would take a little more time.</p>
<p>Good luck, and when you get it up please come back and share.  <img src='http://www.name-generators.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dino Dogan</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-60</link>
		<dc:creator>Dino Dogan</dc:creator>
		<pubDate>Mon, 14 Mar 2011 01:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-60</guid>
		<description>Hey Niels, I was wondering if this script can be integrated easily (or with great difficulty) into a php/mysql platform to randomly generate names for users who create an account.

So for example, for every user that joins, I want to automatically create 3 guild names that are unique. 

Any insight is greatly appreciated :-)</description>
		<content:encoded><![CDATA[<p>Hey Niels, I was wondering if this script can be integrated easily (or with great difficulty) into a php/mysql platform to randomly generate names for users who create an account.</p>
<p>So for example, for every user that joins, I want to automatically create 3 guild names that are unique. </p>
<p>Any insight is greatly appreciated <img src='http://www.name-generators.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niels</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-59</link>
		<dc:creator>Niels</dc:creator>
		<pubDate>Sun, 17 Oct 2010 08:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-59</guid>
		<description>Hi Jessica. :)

I already made a complete name generator script ready for download. But the name arrays are very short, so you have to replace my names with your own names in these arrays. It&#039;s a bit like those cakes where you just need to add some water and then bake them yourself. ;)

And just like the cakes, it&#039;s actually pretty easy to do. Even if it&#039;s the first time you try to program. Just download the generator script, and read this post and the &quot;how to make a name generator&quot;-post carefully. Everything you need to know is there.

If you don&#039;t wanna do anything yourself, but just want some cool names now just visit the  &lt;a href=&quot;http://online-generator.com/&quot; rel=&quot;nofollow&quot;&gt;name generators&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hi Jessica. <img src='http://www.name-generators.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I already made a complete name generator script ready for download. But the name arrays are very short, so you have to replace my names with your own names in these arrays. It&#8217;s a bit like those cakes where you just need to add some water and then bake them yourself. <img src='http://www.name-generators.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>And just like the cakes, it&#8217;s actually pretty easy to do. Even if it&#8217;s the first time you try to program. Just download the generator script, and read this post and the &#8220;how to make a name generator&#8221;-post carefully. Everything you need to know is there.</p>
<p>If you don&#8217;t wanna do anything yourself, but just want some cool names now just visit the  <a href="http://online-generator.com/" rel="nofollow">name generators</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jessica</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-58</link>
		<dc:creator>Jessica</dc:creator>
		<pubDate>Sun, 17 Oct 2010 02:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-58</guid>
		<description>Wait do we have to make it ourself? Or did you already make one that we can use instead of making one ourselves...</description>
		<content:encoded><![CDATA[<p>Wait do we have to make it ourself? Or did you already make one that we can use instead of making one ourselves&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niels</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-57</link>
		<dc:creator>Niels</dc:creator>
		<pubDate>Wed, 15 Sep 2010 16:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-57</guid>
		<description>Well, I can&#039;t see any obvious mistakes in the code without actually running it, and I&#039;m sorry but I really haven&#039;t got the time to do that that, so you have to debug it yourself.

Debugging is always hard work, but the harder the work the more rewarding it will also be &lt;b&gt;when&lt;/b&gt; you get the code to work. 

Here&#039;s a few basic tips to how to debug more efficiently. 

First of all use Firefox with a Firebug installed. It gives very valuable error messages. 

Then start all over with the basic name generator script that worked. And this time around add only &lt;b&gt;one&lt;/b&gt; new feature at the time. If the new feature doesn&#039;t work, use a lot of alert()&#039;s placed all over the generator script. Alert all your variables to check, if they hold the values you expected. Alert lots of &quot;test1&quot;, &quot;test2&quot;, &quot;test3&quot; to check how long you get in the code before it all crash, and to check if your conditional statements works as you expect.

When one feature is working add the next one and so on. 

Good luck. :)</description>
		<content:encoded><![CDATA[<p>Well, I can&#8217;t see any obvious mistakes in the code without actually running it, and I&#8217;m sorry but I really haven&#8217;t got the time to do that that, so you have to debug it yourself.</p>
<p>Debugging is always hard work, but the harder the work the more rewarding it will also be <b>when</b> you get the code to work. </p>
<p>Here&#8217;s a few basic tips to how to debug more efficiently. </p>
<p>First of all use Firefox with a Firebug installed. It gives very valuable error messages. </p>
<p>Then start all over with the basic name generator script that worked. And this time around add only <b>one</b> new feature at the time. If the new feature doesn&#8217;t work, use a lot of alert()&#8217;s placed all over the generator script. Alert all your variables to check, if they hold the values you expected. Alert lots of &#8220;test1&#8243;, &#8220;test2&#8243;, &#8220;test3&#8243; to check how long you get in the code before it all crash, and to check if your conditional statements works as you expect.</p>
<p>When one feature is working add the next one and so on. </p>
<p>Good luck. <img src='http://www.name-generators.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicole</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-56</link>
		<dc:creator>nicole</dc:creator>
		<pubDate>Wed, 15 Sep 2010 02:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-56</guid>
		<description>Thankyou Niels. Well I found this script for a name generator and began trying to tweak it to my liking as you suggested. Anyhow to make a long story short it is not working now. The original code worked but it only had three categories of names, male names, female  names and last names. I then added in some new arrays and some new selection boxes on the form, which is when I think I fudged it. The code is below. Not sure what I did wrong.

var maleclone = new Array(
&quot;charlie&quot;,&quot;curly&quot;,&quot;cole&quot;,
)

var femaleclone = new Array(
&quot;tanja&quot;,&quot;bella&quot;,&quot;morgan&quot;
)

var malebothan = new Array(
&quot;teel&quot;,&quot;Ung&quot;,&quot;Jaster&quot;
)

var femalebothan = new Array(
&quot;Traest&quot;,&quot;laryn&quot;,&quot;shila&quot;
)

var bothanlastname = new Array(
&quot;fey&#039;lya&quot;,&quot;sel&#039;ab&quot;,&quot;saav&#039;etu&quot;
)

var clonelastname = new Array(
&quot;101&quot;,&quot;102&quot;,&quot;103&quot;
)
var r = 0;
var i = 0;

function RandomName(nameform) {
r = Math.floor(Math.random() * lastname.length); 

if((nameform.species.options[1].selected == true) &amp;&amp; (nameform.gender.options[1].selected == true))
{i = Math.floor(Math.random() * femalebothan.length);
nameform.first.value=femalebothan[i] 
nameform.last.value=bothanlastname[r]
}

else if((nameform.species.options[1].selected == true) &amp;&amp; (nameform.gender.options[2].selected == true))
{i = Math.floor(Math.random() * malebothan.length);
nameform.first.value=malebothan[i] 
nameform.last.value=bothanlastname[r]
}

else if((nameform.species.options[2].selected == true) &amp;&amp; (nameform.gender.options[1].selected == true))
{i = Math.floor(Math.random() * femaleclone.length);
nameform.first.value=femaleclone[i] 
nameform.last.value=clonelastname[r]
}

else if((nameform.species.options[2].selected == true) &amp;&amp; (nameform.gender.options[2].selected == true))
{i = Math.floor(Math.random() * maleclone.length);
nameform.first.value=maleclone[i] 
nameform.last.value=clonelastname[r]
}
}
// End --&gt;
</description>
		<content:encoded><![CDATA[<p>Thankyou Niels. Well I found this script for a name generator and began trying to tweak it to my liking as you suggested. Anyhow to make a long story short it is not working now. The original code worked but it only had three categories of names, male names, female  names and last names. I then added in some new arrays and some new selection boxes on the form, which is when I think I fudged it. The code is below. Not sure what I did wrong.</p>
<p>var maleclone = new Array(<br />
&#8220;charlie&#8221;,&#8221;curly&#8221;,&#8221;cole&#8221;,<br />
)</p>
<p>var femaleclone = new Array(<br />
&#8220;tanja&#8221;,&#8221;bella&#8221;,&#8221;morgan&#8221;<br />
)</p>
<p>var malebothan = new Array(<br />
&#8220;teel&#8221;,&#8221;Ung&#8221;,&#8221;Jaster&#8221;<br />
)</p>
<p>var femalebothan = new Array(<br />
&#8220;Traest&#8221;,&#8221;laryn&#8221;,&#8221;shila&#8221;<br />
)</p>
<p>var bothanlastname = new Array(<br />
&#8220;fey&#8217;lya&#8221;,&#8221;sel&#8217;ab&#8221;,&#8221;saav&#8217;etu&#8221;<br />
)</p>
<p>var clonelastname = new Array(<br />
&#8220;101&#8243;,&#8221;102&#8243;,&#8221;103&#8243;<br />
)<br />
var r = 0;<br />
var i = 0;</p>
<p>function RandomName(nameform) {<br />
r = Math.floor(Math.random() * lastname.length); </p>
<p>if((nameform.species.options[1].selected == true) &amp;&amp; (nameform.gender.options[1].selected == true))<br />
{i = Math.floor(Math.random() * femalebothan.length);<br />
nameform.first.value=femalebothan[i]<br />
nameform.last.value=bothanlastname[r]<br />
}</p>
<p>else if((nameform.species.options[1].selected == true) &amp;&amp; (nameform.gender.options[2].selected == true))<br />
{i = Math.floor(Math.random() * malebothan.length);<br />
nameform.first.value=malebothan[i]<br />
nameform.last.value=bothanlastname[r]<br />
}</p>
<p>else if((nameform.species.options[2].selected == true) &amp;&amp; (nameform.gender.options[1].selected == true))<br />
{i = Math.floor(Math.random() * femaleclone.length);<br />
nameform.first.value=femaleclone[i]<br />
nameform.last.value=clonelastname[r]<br />
}</p>
<p>else if((nameform.species.options[2].selected == true) &amp;&amp; (nameform.gender.options[2].selected == true))<br />
{i = Math.floor(Math.random() * maleclone.length);<br />
nameform.first.value=maleclone[i]<br />
nameform.last.value=clonelastname[r]<br />
}<br />
}<br />
// End &#8211;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niels</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-55</link>
		<dc:creator>Niels</dc:creator>
		<pubDate>Tue, 14 Sep 2010 15:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-55</guid>
		<description>Well sorry if I make the wrong assumptions here, but when you ask I assume, that you are not too familiar with JavaScript. 

I think it will be hard to find a functional name generator script, that does exactly what you want, so you probably need to tweak anything you might find. 

But here&#039;s a few tips:

One easy way of solving the first issue, choosing sex, in a simple way is to duplicate the function in the generator script. Name the first function generator_male() and the other generator_female(). Make 2 buttons. One for male names and one for female names each of them calling the corresponding generator function.

The other part is a little more tricky, if you new to programming. Getting the name from a input filed is easy enough though:
&lt;pre&gt;document.getElementById(&quot;myInputfieldId&quot;).value&lt;/pre&gt; 
It&#039;s generating names that are similar to that name that&#039;s a tad tricky. If you wanna use a traditional name generator script, you need to write a pattern/algorithm that&#039;s exact describe what similarities you are testing for.

As an alternative you can &lt;a href=&quot;http://www.name-generators.com/name-generators/use-random-vowels-to-make-fantasy-names.htm&quot; rel=&quot;nofollow&quot;&gt;Change letters to make fantasy names&lt;/a&gt;. In this example I only change the vowels. But from the example it&#039;s pretty easy to add new rules. For example change the first consonant, the last consonant and so on. 


Good luck. :)</description>
		<content:encoded><![CDATA[<p>Well sorry if I make the wrong assumptions here, but when you ask I assume, that you are not too familiar with JavaScript. </p>
<p>I think it will be hard to find a functional name generator script, that does exactly what you want, so you probably need to tweak anything you might find. </p>
<p>But here&#8217;s a few tips:</p>
<p>One easy way of solving the first issue, choosing sex, in a simple way is to duplicate the function in the generator script. Name the first function generator_male() and the other generator_female(). Make 2 buttons. One for male names and one for female names each of them calling the corresponding generator function.</p>
<p>The other part is a little more tricky, if you new to programming. Getting the name from a input filed is easy enough though:</p>
<pre>document.getElementById("myInputfieldId").value</pre>
<p>It&#8217;s generating names that are similar to that name that&#8217;s a tad tricky. If you wanna use a traditional name generator script, you need to write a pattern/algorithm that&#8217;s exact describe what similarities you are testing for.</p>
<p>As an alternative you can <a href="http://www.name-generators.com/name-generators/use-random-vowels-to-make-fantasy-names.htm" rel="nofollow">Change letters to make fantasy names</a>. In this example I only change the vowels. But from the example it&#8217;s pretty easy to add new rules. For example change the first consonant, the last consonant and so on. </p>
<p>Good luck. <img src='http://www.name-generators.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicole</title>
		<link>http://www.name-generators.com/name-generators/name-generator-script.htm#comment-54</link>
		<dc:creator>nicole</dc:creator>
		<pubDate>Tue, 14 Sep 2010 04:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.name-generators.com/?p=171#comment-54</guid>
		<description>Well first i need a select box to find out their gender, but i also need a text input box to collect their name cause i want to output fantasy names that are similar to their own name.</description>
		<content:encoded><![CDATA[<p>Well first i need a select box to find out their gender, but i also need a text input box to collect their name cause i want to output fantasy names that are similar to their own name.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

