<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>j2trip &#187; joomla</title>
	<atom:link href="http://www.j2trip.com/cat/joomla/feed" rel="self" type="application/rss+xml" />
	<link>http://www.j2trip.com</link>
	<description>wordpress,joomla, travel</description>
	<lastBuildDate>Sat, 24 Oct 2009 05:23:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to fix users can&#8217;t login with community builder?</title>
		<link>http://www.j2trip.com/html/y2009/10/fix-cb-can-not-login.html</link>
		<comments>http://www.j2trip.com/html/y2009/10/fix-cb-can-not-login.html#comments</comments>
		<pubDate>Wed, 07 Oct 2009 14:21:28 +0000</pubDate>
		<dc:creator>j2trip</dc:creator>
				<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.j2trip.com/?p=131</guid>
		<description><![CDATA[I have imported users data into new Joomla website. But the new imported users can't login with community builder? Why?......]]></description>
			<content:encoded><![CDATA[<p>I have imported users data into new Joomla website. But the new imported users can&#8217;t login with community builder? Why?</p>
<p>When I come to check users management of community builder components in  back admin, I found all users were unconfirmed!</p>
<p><img class="alignnone size-full wp-image-132" title="20091007-cb-can-not-login-1" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091007-cb-can-not-login-1.jpg" alt="20091007-cb-can-not-login-1" width="575" height="222" /></p>
<p>It seems there&#8217;s some status in the database table of community buildr.  After analysed database structure of Community Builder, I knew the users data stored in table jos_comprofiler. So for the new imported users, the data of this table must be inserted into database also.</p>
<p><img class="alignnone size-full wp-image-133" title="20091007-cb-can-not-login-2" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091007-cb-can-not-login-2.jpg" alt="20091007-cb-can-not-login-2" width="575" height="412" /></p>
<p>I generated all data in excel according the all fields of jos_comprofiler and the data of new created user in back admin. Because there are so many fields in jos_comprofiler. So I only generated the required fields. I didn&#8217;t generated data for the fields which has defaul value and can be null.</p>
<p>You must be known, the field of  &#8220;approved&#8221; and &#8220;confirmed&#8221; must be set to &#8220;1&#8243;. It means the user has been confirmed and approved.</p>
<p><img class="alignnone size-full wp-image-134" title="20091007-cb-can-not-login-3" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091007-cb-can-not-login-3.jpg" alt="20091007-cb-can-not-login-3" width="575" height="187" /></p>
<p>Import the excel sheet into MySql. Then export the data of new imported jos_comprofiler to .sql file. Imported the .sql file into the destined database. If you don&#8217;t know how to import excel into MySql, you may check <a href="http://www.j2trip.com/html/y2009/10/import-users-into-joomla.html">Import users’ data into joomla—-data transfer</a></p>
<p>Afther the data been imported. In the users management of community builder components, all users&#8217; status displayed &#8220;Confirmed&#8221;.</p>
<p><img class="alignnone size-full wp-image-135" title="20091007-cb-can-not-login-4" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091007-cb-can-not-login-4.jpg" alt="20091007-cb-can-not-login-4" width="575" height="242" /></p>
<p>When I come to front, the new imported users can login OK.</p>
<p>Cheers, the users of old website have been transfered to new website OK.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.j2trip.com/html/y2009/10/fix-cb-can-not-login.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Users can&#8217;t be displayed&#8212;import users into joomla</title>
		<link>http://www.j2trip.com/html/y2009/10/users-cant-be-displayed.html</link>
		<comments>http://www.j2trip.com/html/y2009/10/users-cant-be-displayed.html#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:25:08 +0000</pubDate>
		<dc:creator>j2trip</dc:creator>
				<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.j2trip.com/?p=119</guid>
		<description><![CDATA[After all users' data imported into jos_users, then I come to back admin to check users. But I can't see the new imported users......]]></description>
			<content:encoded><![CDATA[<p>In the previous post, I have imported 300 users into jos_users. But at the back admin, the users is still same with the old. But the users account seem right.</p>
<p>Why the users can&#8217;t bu displayed?</p>
<p>I studied the source code of users manager for back admin. I found the users list is related with two others table, one is <span>jos_core_acl_aro and the other is </span><span>jos_core_acl_groups_aro_map. You may do a test, when you create a new user at back admin. One record will be inserted into the two tables  also.  It seems the two tables is sotre the group of users. So we need to insert users group data into the two tables.</span></p>
<p><span><strong>Step 1.  Generate the data of the table of jos_core_acl_aro</strong></span></p>
<p><span> There are 6 fields in this table </span><span>id， section_value，value，order_value，name and hidden.</span></p>
<p><span><strong>id</strong>: it isn&#8217;t same with users id in jos_users, it is the number of this table.</span></p>
<p><span><strong>section_value</strong>: According to the new created users, its group is </span><span>Registered and the value of this field is &#8220;users&#8221;. So I set this field to   &#8220;users&#8221;.</span></p>
<p><span><strong>value</strong>: This field is users id, it must same with users id in table jos_users.</span></p>
<p><span><strong>order_value</strong>: For the new created user, this value is set to &#8220;0&#8243;, so I set this field to &#8220;0&#8243; also.</span></p>
<p><span><strong>name:</strong> Users&#8217; name, same with jos_users.name .</span></p>
<p><span><strong>hidden</strong>: Set this field to &#8220;0&#8243; with the value of new created user also.</span></p>
<p><span>I generate all data in Excel.<br />
</span></p>
<p><span><img class="alignnone size-full wp-image-120" title="20091006-joomla-users-can-not-displayed-1" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091006-joomla-users-can-not-displayed-1.jpg" alt="20091006-joomla-users-can-not-displayed-1" width="575" height="251" /></span></p>
<p><span><strong>Step 2.  Generate the data of the table of </strong></span><strong><span>jos_core_acl_groups_aro_map</span></strong></p>
<p><span> There are 3 fields in this table </span><span>group_id:</span><span>， </span><span>section_value</span><span>，</span><span>aro_id</span><span>.</span></p>
<p><span><strong>group_id</strong>: The group which users belong.</span></p>
<p><span><strong>section_value</strong>: Keep blank same with the value of new created users.</span></p>
<p><span><strong>aro_id</strong>: Same with the value of the id in table </span>jos_core_acl_aro. You may copy the column from the Excel sheet of jos_core_acl_aro.</p>
<p>Then excel sheet:</p>
<p><img class="alignnone size-full wp-image-121" title="20091006-joomla-users-can-not-displayed-2" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091006-joomla-users-can-not-displayed-2.jpg" alt="20091006-joomla-users-can-not-displayed-2" width="481" height="346" /></p>
<p><strong>Step 3.</strong> Import the excel sheet data into the table of  <span>jos_core_acl_aro and </span> <span>jos_core_acl_groups_aro_map in </span>MySql.</p>
<p>When you import these data into MySql, must make sure the old value won&#8217;t be overwrite.</p>
<p>The data imported like this:</p>
<p><img class="alignnone size-full wp-image-122" title="20091006-joomla-users-can-not-displayed-2-1" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091006-joomla-users-can-not-displayed-2-1.jpg" alt="20091006-joomla-users-can-not-displayed-2-1" width="575" height="244" /></p>
<p><img class="alignnone size-full wp-image-123" title="20091006-joomla-users-can-not-displayed-2-2" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091006-joomla-users-can-not-displayed-2-2.jpg" alt="20091006-joomla-users-can-not-displayed-2-2" width="354" height="235" /></p>
<p><strong>Step 4: When I come to back admin, all users been displayed! </strong></p>
<p><strong><img class="alignnone size-full wp-image-124" title="20091006-joomla-users-can-not-displayed-3" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091006-joomla-users-can-not-displayed-3.jpg" alt="20091006-joomla-users-can-not-displayed-3" width="575" height="339" /></strong></p>
<p>After checked all users, I come to the front page to login. But I can&#8217;t login, and following windows pop-up.</p>
<p><img class="alignnone size-full wp-image-125" title="20091006-joomla-users-can-not-displayed-4" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091006-joomla-users-can-not-displayed-4.jpg" alt="20091006-joomla-users-can-not-displayed-4" width="575" height="153" /></p>
<p>It seemed there was some error on users data imported. I realized I used Community Builder. The login module is CB&#8217;s also. <strong>So it need to import the necessary data of Community Builder also.</strong></p>
<p><strong>To be continued&#8230;&#8230;<br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.j2trip.com/html/y2009/10/users-cant-be-displayed.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import users&#8217; data into joomla&#8212;-data transfer</title>
		<link>http://www.j2trip.com/html/y2009/10/import-users-into-joomla.html</link>
		<comments>http://www.j2trip.com/html/y2009/10/import-users-into-joomla.html#comments</comments>
		<pubDate>Mon, 05 Oct 2009 14:13:52 +0000</pubDate>
		<dc:creator>j2trip</dc:creator>
				<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.j2trip.com/?p=106</guid>
		<description><![CDATA[As the old website was built by ASP + MS Sql, but now it has been re-built by Joomla and MySql.  So I need to transfer the registered  users into new website......]]></description>
			<content:encoded><![CDATA[<p>As the old website was built by ASP + MS Sql, but now it has been re-built by Joomla and MySql.  So I need to transfer the registered  users into new website.</p>
<p>I got users info table from the old database. The table was stored by excel,  so in my option I&#8217;ll import the users info into MySql database from the Excel sheet.There were 4 columns in the sheet, userID, userName, userEmail, Name.</p>
<p><strong>Step 1: Study the structure of joomla users table: jos_users .</strong></p>
<p>You&#8217;ll find others field like password, usertype&#8230;etc.</p>
<p><img class="alignnone size-full wp-image-108" title="20091005-import-users-2-joomla-1" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091005-import-users-2-joomla-1.jpg" alt="20091005-import-users-2-joomla-1" width="509" height="419" /></p>
<p><strong>Step 2: Add columns corresponding to the fields in jos_users. The first line setted to fields name. Rename the sheets name to jos_users.</strong></p>
<p><strong><img class="alignnone size-full wp-image-109" title="20091005-import-users-2-joomla-2" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091005-import-users-2-joomla-2.jpg" alt="20091005-import-users-2-joomla-2" width="575" height="220" /></strong></p>
<p>For the password field, you may create a new user in Joomla, set the password to &#8216;abcdefg&#8217;, then copy the pasword fields from MySql to all users password column.</p>
<p>Then import the excel to MySql. I use the tool of Excel 2 mySql Ver 1.0, I got it from <a href="http://www.excel2mysql.com/" target="_blank">http://www.excel2mysql.com/</a> . The tool need to unlock and it is easy to use.</p>
<p><strong>Step 3: After imported excel, you need to find the new database which generate by the tool of Excel 2 mySql Ver 1.0.   Export all data into sql file.</strong></p>
<p><img class="alignnone size-full wp-image-110" title="20091005-import-users-2-joomla-3" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091005-import-users-2-joomla-3.jpg" alt="20091005-import-users-2-joomla-3" width="575" height="686" /></p>
<p>After exported, please make sure there&#8217;s only data operation script and no any structure.  Just like this:</p>
<p><img class="alignnone size-full wp-image-111" title="20091005-import-users-2-joomla-4" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091005-import-users-2-joomla-4.jpg" alt="20091005-import-users-2-joomla-4" width="571" height="98" /></p>
<p><strong>Step 4: Come to the destination database, and import the sql file which generated in Step 3. </strong></p>
<p>Please backup the users data first, then do the step 4. Before import user data from excel to MySql, you may re-set the userID make sure them won&#8217;t same with any id of destation database jos_users.</p>
<p><strong>Step 5: After step 4 completed.  You may found all users data have been imported in phpmyadmin. </strong>But if you com to the back-admin of Joomla, you&#8217;ll found the old users also. And the new imported users won&#8217;t be displayed.</p>
<p><img class="alignnone size-full wp-image-112" title="20091005-import-users-2-joomla-5" src="http://www.j2trip.com/wp-content/uploads/2009/10/20091005-import-users-2-joomla-5.jpg" alt="20091005-import-users-2-joomla-5" width="575" height="183" /></p>
<p>But if you are careful, you&#8217;ll find the pages isn&#8217;t same with the count of old users.</p>
<p><strong>Why the new imported users can&#8217;t be displayed?</strong></p>
<p><strong> To be continued&#8230;&#8230;</strong></p>
<p><img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot-1.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.j2trip.com/html/y2009/10/import-users-into-joomla.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
