Home arrow Forum Passwords do not match...
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 05:34:19 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Passwords do not match...
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Passwords do not match...  (Read 513 times)
Brandon
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Passwords do not match...
« on: January 05, 2008, 03:22:23 AM »

I am currently using CB registration component and when the user registers everything seems to bridge perfectly minus the passwords. It seems as if it builds a string for the joomla passwords but as for the SMF password it just spits it out as is. So for example if I register and I set my password to Hops81 in the jos_user password feild shows up with something like 812f0b1e1df802f86a6 and in the smf_members its showing up like this Hops81 when it should be similar to this 812f0b1e1df802f86a6. Any ideas to why its doing this?
« Last Edit: January 05, 2008, 04:03:57 AM by Brandon » Logged
Brandon
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Passwords do not match...
« Reply #1 on: January 05, 2008, 06:55:46 AM »

The only solution for this problem I could come up with is just using the SMF registration which seems to work perfect.

what I did was went into components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php and went to about line 224 and commented out

/* $return .= "   <td class=\"titleCell\">"._UE_PASS.":</td>\n";
$return .= "   <td class=\"fieldCell\"><input class=\"inputbox\" type=\"password\" size=\"40\" id=\"password\" name=\"password\" value=\"\" autocomplete=\"off\" />";
$return .= getFieldIcons($ui, false, false, sprintf( _VALID_AZ09, _UE_PASS, 6 ), _UE_PASS.":");
$return .= "</td>\n</tr>\n";
$return .= "<tr>\n";
$return .= "   <td class=\"titleCell\">"._UE_VPASS.":</td>\n";
$return .= "   <td class=\"fieldCell\"><input class=\"inputbox\" type=\"password\" size=\"40\" id=\"verifyPass\" name=\"verifyPass\" autocomplete=\"off\" />";
$return .= getFieldIcons($ui, false, false);
$return .= "</td>\n</tr>\n"; */


because this will just cause problems if the user tries to change their password in CB.

next I went into modules/mod_cblogin.php and changed line 565 from

$loginPost=sefRelToAbs("index.php?option=com_comprofiler&amp;task=registers");

to

$loginPost=sefRelToAbs("index.php?option=com_smf&Itemid=26&action=register");

making it so when the user clicks the registration link it takes them to the SMF registration page. Keep in mind that the &Itemid= may vary depending what menu id you have selected.

Kinda sux because I wanted to use the CB registration form but this seem to be the quickest way.

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login