user list + new user

Please report bugs here!

Moderator: Thorsten

Post Reply
icyfred
Posts: 10
Joined: Fri Jul 13, 2007 1:10 pm

user list + new user

Post by icyfred »

Hi,

I upgraded to 2.0.2 but i can't see any of the user i created with version 1.6.8.
Besides I can't see new user either and new users can't access to admin to create articles. I see the new user logged in on the front page or in admin but to access user/content/statistics i have to log in again and nothing happens.
As i can't see users in the list i can't give new users some rights to access the tabs. Is this my problem?

I saw this bug will be fixed in version 2.0.3. Do you have an idea of when it will be released?

Thanks for help.
jcachico
Posts: 8
Joined: Tue Jul 24, 2007 10:48 am

+1

Post by jcachico »

hi,

I have the same problem with user list in the admin list

Code: Select all

http://localhost/fos/admin/index.php?action=user
My config :
  • V2.0.2
    wamp server
    win XP sp 2
jcachico
Posts: 8
Joined: Tue Jul 24, 2007 10:48 am

+1

Post by jcachico »

Up
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

can you please post the user names from your database here? Only the names.

thank you!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jcachico
Posts: 8
Joined: Tue Jul 24, 2007 10:48 am

up !

Post by jcachico »

here they are :

Code: Select all

SELECT display_name FROM faq_faquserdata ;

""
"Anonymous User"
"test"
"NICOUE Diane"
"GAILLAT Jean"
I found someting in the user list xml file, it may cause the bug :
(I look in "ajax.user_list.php" file but didn't found how to solute the bug, sorry)

Code: Select all

<item name="email">
<name>adresse email&nbsp;:</name>
<value></va
ad1
lue>
</item>
Talking about something else, are you interrested with the french lang file for phpmyfaq 2.02 version ?
jcachico
Posts: 8
Joined: Tue Jul 24, 2007 10:48 am

I FOUND THE BUG

Post by jcachico »

Finally after some sweat I get it!
It was only a problem with that sort of caracter :

Code: Select all

&eacute and &nbsp;
the solution was on the "language_fr.php file"

Code: Select all

$PMF_LANG["ad_entry_email"] = "adresse email&nbsp;:";
$PMF_LANG["ad_user_realname"] = "Nom r&eacute;el&nbsp;:";
doesn't work

Code: Select all

$PMF_LANG["ad_entry_email"] = "adresse email :";
$PMF_LANG["ad_user_realname"] = "Nom réel :";
but this one do.. :D :D :D :D :D
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ah... thanks!

Could you please file a bugreport for that with your patch on http://bugs.phpmyfaq.de!

Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jcachico
Posts: 8
Joined: Tue Jul 24, 2007 10:48 am

Post by jcachico »

well it's not realy finished...

I cure the first bug but now checkboxes are not checked in the user/group view (last div on the right) even if my user/group have the good right set in the data base...

I will post à topic about this patch when it will be closed.

You didn't tell me if you are interested in french translation for 2.0.2 version?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I'm always interested in improved translations... please send it to me. Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jcachico
Posts: 8
Joined: Tue Jul 24, 2007 10:48 am

Post by jcachico »

Hi!

Changing the french translation file wasn't enough to solve the user/group bug.

look at my solution :
  • 1 - change every word containing "&" by is right accent wich means

    Code: Select all

     "d&eacutejeuner" become "déjeuner"

    2 - change this code on the group.php file (line 465)

    Code: Select all

    // build new table row
    checkbox = document.createElement('input');
    checkbox.setAttribute('type', "checkbox");
    checkbox.setAttribute('name', "group_rights[]");
    checkbox.setAttribute('value', right_id);
    if (isGroupRight == 1) {
    checkbox.setAttribute('checked', "checked");
    }
    table_addRow(group_rights_table, i, checkbox, document.createTextNode(right_name));
    
    into this one (issue from "user.php")

    Code: Select all

    // build new table row
    checkbox = document.createElement('input');
    checkbox.type = 'checkbox';
    checkbox.name = 'group_rights[]';
    checkbox.value = right_id;
    setTimeout((function(checkbox, isGroupRight) {
    return function() {
    checkbox.checked = isGroupRight == 1;
    }
    })(checkbox, isGroupRight), 10);
    table_addRow(group_rights_table, i, checkbox, document.createTextNode(right_name));
    
    Now it's all right with firefow and IE[/code]
Post Reply