1
miscellone
Re: Login name vs. display name
  • 2006/4/7 22:02

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


Ok, I'll try to formulate the question more precisely:

This is the beginning of the template 'system_block_login.html'

<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post">
    <{
$block.lang_username}><br />
    <
input class="input" type="text" name="uname" size="12" value="<{$block.unamevalue}>" maxlength="25" />
..........................


The variable <{$block.unamevalue}> contains the "display name" and I would like to place the "login name" there.

I cannot find the exact place where this information is stored. I think it is a cookie, but I'm not sure.


Regards,
Mikhail



2
miscellone
Re: Login name vs. display name
  • 2006/4/7 15:46

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


gtop00, thanks for your answer. It's a really big and interesting discussion, but I didn't find the answer of my problem in it.

I'am ready to change a code, and I have already disabled the "display name" changing by users.

But I really don't understand how to do the following thing: show the "login name", not the "display name" as a prompt during users login.

Regards,
Mikhail



3
miscellone
Login name vs. display name
  • 2006/4/7 14:24

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


Hi!

I have installed XOOPS 2.2.4. There is a difference between a login name name and a display name.

The user should type a "login name" when she logged in and then a "display name" is displaied.

Unfortunately, the "display name" is also displaied as a default value in the field "login", so the user should cancel the default and change it to "login name" each time she would like to visit my site.

This behavior is very unconvenient. Is there some method to change it?

Regards,
Mikhail



4
miscellone
Re: my own script on user registration
  • 2005/11/17 11:32

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


Ok, thank you :)



5
miscellone
my own script on user registration
  • 2005/11/16 7:52

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


Hi!

I would like to execute a PHP script each time a new user is registered. Is there a possibility to do it without a code hacking?

Thanks
Mikhail



6
miscellone
Re: Longdate field type
  • 2005/9/15 18:38

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


Ok



7
miscellone
Longdate field type
  • 2005/9/15 13:15

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


Hi,

In XOOPS 2.2.3 the LONGDATE type fields don't work corectly.
To make them work I made the following hack in kernel/object.php near line 510

Old code:
case XOBJ_DTYPE_STIME:
                    case 
XOBJ_DTYPE_MTIME:
                    case 
XOBJ_DTYPE_LTIME:
                    
$cleanv = !is_string($cleanv) ? intval($cleanv) : strtotime($cleanv);
                    break;


New code:
case XOBJ_DTYPE_STIME:
                    case 
XOBJ_DTYPE_LTIME:
                    
$cleanv = !is_string($cleanv) ? intval($cleanv) : strtotime($cleanv);
                    break;
                    case 
XOBJ_DTYPE_MTIME:
                    
$cleanv str_replace ("/""-"$cleanv);
                    break;


Misha



8
miscellone
Search by SELECT field does'n work in 2.2.3
  • 2005/9/15 7:56

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


Hi,

I've installed XOOPS 2.2.3 and defined some new field of SELECT type in extended profile. I saw that field_valuetype assigned to that field is XOBJ_DTYPE_TXTBOX.

Now, when I try to search a user by that field I enter in wrong case in modules/profile/search.php near the line 292,
so the following wrong SQL code is produced:

SELECT FROM xoops_users uxoops_user_profile p WHERE u.uid p.profileid AND (level '0' AND i_am LIKE 'Array%'LIMIT 020


The same thing for RADIO field type.

Any help?

Thans,
Misha



9
miscellone
Re: More than 200 activated members causes problems with group admin
  • 2004/9/22 14:45

  • miscellone

  • Just popping in

  • Posts: 9

  • Since: 2004/9/22


The same problem should be with the "Send Message" from
User Menu -> Inbox -> Send

It opens a drop-down list of all users. I tried to do it on XOOPS site and it works in spite of a huge number of users!




TopTop



Login

Who's Online

79 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 79


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits