Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


removed password fields
Date: 2006/08/20 22:33 By: masyomo Status: User  
Karma: 1  
Senior Joomlapolitan

Posts: 55
graphgraph
I removed password and username fields because we use smf bridge and it confuses users who think they can change those things in their profile when they actually have to use the smf profile.

In cb.core.php I removed the following lines:
Code:

  $return .= "        <tr>\n";         $return .= "            <td class=\"titleCell\">"._UE_UNAME.":</td>\n";         $return .= "            <td class=\"fieldCell\">";         IF(($ueConfig["usernameedit"]==1) or ($user->username=="") or ($ui == 2)) {              $return .= "<input class=\"inputbox\" type=\"text\" size=\"40\" name=\"username\" value=\"".htmlspecialchars($user->username)."\" />";              $return .= getFieldIcons($uitrue,($ueConfig["name_format"]!=1),sprintf_VALID_AZ09_UE_UNAME) , _UE_UNAME.":");         } else {             $return .= $user->username;             $return .= "<input class=\"inputbox\" type=\"hidden\" name=\"username\" value=\"".htmlspecialchars($user->username)."\" />";         }         $return .= "\n</td>\n</tr>\n";


and also


Code:

      $return .= "<tr>\n";         $return .= "    <td class=\"titleCell\">"._UE_PASS.":</td>\n";         $return .= "    <td class=\"fieldCell\"><input class=\"inputbox\" type=\"password\" size=\"40\" name=\"password\" value=\"\" autocomplete=\"off\" />";         $return .= getFieldIcons($uifalsefalsesprintf_VALID_AZ09_UE_PASS), _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\" name=\"verifyPass\" autocomplete=\"off\" />";         $return .= getFieldIcons($uifalsefalse);         $return .= "</td>\n</tr>\n";



Everything works fine except that I noticed the save button doesn't work in the backend when trying to modify user profiles. Does anyone know what I could do to get the save button working (besides restoring the original file )
Click here to see the profile of this user The topic has been locked.

Re:removed password fields
Date: 2006/08/26 00:13 By: masyomo Status: User  
Karma: 1  
Senior Joomlapolitan

Posts: 55
graphgraph
no suggestions

Its not critical but if anyone has any ideas it would be a nice fix as I'm sure other people using smf would also like to get rid of the password options
Click here to see the profile of this user The topic has been locked.

Re:removed password fields
Date: 2006/08/26 11:04 By: pcjunkie Status: CB Doc subscriber  
Karma: 1  
Senior Joomlapolitan

Posts: 70
graphgraph
I used the data base to remove the link...

Not sure how I did it though..lol
It works fine anyway...
Click here to see the profile of this user The topic has been locked.

Re:removed password fields
Date: 2006/08/27 16:35 By: masyomo Status: User  
Karma: 1  
Senior Joomlapolitan

Posts: 55
graphgraph
lol - I wouldn't have a clue how to go about that!

I see http://www.elearningforce.dk have been saying they're doing a bridge for joomla/cb/smf so prob may as well wait on that anyway assuming its going to be more comprehensive than the existing ones. They've had it on their list for a long time though so .................
Click here to see the profile of this user The topic has been locked.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login