Welcome Guest, Not a member yet? Register   Sign In
DX Auth 1.0.6 (Authentication library)

[eluser]Stoney[/eluser]
There must be some kind of automatic psw generator in dx_auth.
Forgot password returns random password, so you can try to look at there...

[eluser]CARP[/eluser]
[quote author="little brittle" date="1241493913"]Does anyone have advice on how to add Facebook Connect functionality for this library? Should I just dig into the source and add my own functions, or is there a more graceful way to do it?[/quote]

This would be an awesome addition, also oauth would be great

[eluser]Unknown[/eluser]
Hey guys, hello... I started with MVC yesterday and with CI too...

Im amazed with all functions and power that tools give to me!

But now Im stucked at this library.. I installed all the things and its working in my site template very nice. But now im trying to return profiles fields that I customized in MYSQL.

Look, 1) I've added the field AVATAR in the user_profile table.
2) I found the function function get_profile_field($user_id, $fields) on user_profile model.
3) I put the model at autoload and its ok.
3) And so, I tried to return the field on my website with this command, that I found on the user_profile model:
function get_profile_field($user_id, $fields)
{
$this->db->select($fields);
$this->db->where('user_id', $user_id);
return $this->db->get($this->_table);
}
Then I call as:
<?=$this->user_profile->get_profile_field(2, 'avatar');?>
Where 2 is a test ID of one of my users that have value in the field 'avatar'.

But that error ocurrs:
A PHP Error was encountered

Severity: 4096

Message: Object of class CI_DB_mysql_result could not be converted to string

Filename: painel/home.php

Line Number: 9


What can I do to solve this??
Whats the easy way to return the profiles fields?
I need to create functions at the user profile model?


Thx for everything!

[eluser]bugboy[/eluser]
hi all loving DX_Auth

just wondering is there a way of limiting the URI Permissions to more then two segments?

At the moment in the library it take controller / function

However it would be great to be able to have it work with this

folder(module) / controller / function

or

folder(module) / controller / function / another function

if that makes sense

[eluser]33cent[/eluser]
Hi,

i must edit user information (tables "users" and "user_profile"). I'm wondering how to update informations in both tables simultaneously, when i click Submit button.

Anyone got an idea?

[eluser]breastfed[/eluser]
Hello,

i am using DXAuth and i am very happy with it.
Now i want to add an extra Radiobutton in the register Form which has he values "1" for regular Users and "3" for Companies. "2" is still the Admin Role.

Now i want to add the value "1" or "3" in the UserRole field.

How would i achieve it with the best common way?

And where can i change the Admin Role to "9" instead of "2"?

Thank you for some help!

[eluser]theshiftexchange[/eluser]
[quote author="33cent" date="1242004944"]Hi,

i must edit user information (tables "users" and "user_profile"). I'm wondering how to update informations in both tables simultaneously, when i click Submit button.

Anyone got an idea?[/quote]

When they click submit it should return to your controller, which would load the 2x models (one for each table), and update the required information

[eluser]theshiftexchange[/eluser]
[quote author="theshiftexchange" date="1242105905"][quote author="33cent" date="1242004944"]Hi,

i must edit user information (tables "users" and "user_profile"). I'm wondering how to update informations in both tables simultaneously, when i click Submit button.

Anyone got an idea?[/quote]

When they click submit it should return to your controller, which would load the 2x models (one for each table), and update the required information[/quote]

Or now that I think about it - you could just have the ONE model which interfaces with both tables (since they are a 1:1 relation) - and make it easier to use in a controller...

[eluser]CARP[/eluser]
Hi guys
I'm with a dilema. I have to export a users table from an old system into its new version (using codeIgniter + DXAuth)

Old users table has ID, username, password (plain, Yes!! plain text), other fields...

Does any1 know how I could do a batch script to move those users into the DX Auth system? I mean, converting plain passwords into dx auth compatible encrypted passwords, and so on

Thanks for any idea you can give me

[eluser]NetStranger[/eluser]
when i logout , print this:

Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined index: key_id

Filename: libraries/DX_Auth.php

Line Number: 419
A PHP Error was encountered

Severity: Notice

Message: Undefined index: user_id

Filename: libraries/DX_Auth.php

Line Number: 419
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at Z:\home\custom\www\system\libraries\Exceptions.php:164)

Filename: helpers/cookie_helper.php

Line Number: 92
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at Z:\home\custom\www\system\libraries\Exceptions.php:164)

Filename: libraries/Session.php

Line Number: 408




Theme © iAndrew 2016 - Forum software by © MyBB