11
DaBoyz
Re: I SEEK GAME EXCHANGE SCRIPT XOOPS MODULE OR SEPARATE SCRIPT, PLEASE HELP!
  • 2004/1/14 13:36

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


Perhaps because the title of your post is not big enough to be seen ...

Writing a post in uppercase will not force an answer and it's harmfull for the legibility of the forums ...

... and that's real, i don't know ...



12
DaBoyz
Re: XoopsFormTextDateSelect
  • 2004/1/14 11:49

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


I did some tests and I found some answers (some modifications where made to the code) :

- I changed the type of field to DATE (for birthday, it's enough)
- If I enter or choose a value out of Unix TimeStamp (1945-12-12), this value is stored in the database ...
- But stil have the same problem when editing the value ...

EDIT => I found and changed to another method that works without the limit imposed by Unix TimeStamp ... Fall down little post !!! You're useless now and doesn't interest anybody at all



13
DaBoyz
Re: How I can remove this footer text in news?
  • 2004/1/14 10:34

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


Quote:
I don't want to get this text because I am the webmaster for the website.


Ok, but the text display also for users ...



14
DaBoyz
Re: XoopsFormTextDateSelect
  • 2004/1/14 9:22

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


Up ???

I could add that on the french topic, some persons (like me) would like to understand the choice of TimeStamp => limit from 1970 ? Or if a solution exists ...



15
DaBoyz
Re: I SEEK GAME EXCHANGE SCRIPT XOOPS MODULE OR SEPARATE SCRIPT, PLEASE HELP!
  • 2004/1/14 1:03

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


[size=xx-large]I DON'T KNOW !!![/size]

Bigger font please ...



16
DaBoyz
Re: Adding fields in registration form
  • 2004/1/13 17:01

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1




Did you ever click on Edit Account to look at the Real Name ???



17
DaBoyz
Re: XoopsFormSelectUser
  • 2004/1/13 16:11

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


It doesn't work for me ...

And I need also a blank value because you are not obliged to choose a member.

There is a little bug (previous post also modified) :

I change :

$sql "SELECT uid,uname FROM ".$xoopsDB->prefix("users")."";

to
$sql "SELECT uid,uname FROM ".$xoopsDB->prefix("users")." ORDER BY uname";


And delete :

asort($user_list);


Otherwise, you have the Member name sort by name but case sensitive (B,D,b,d,...).



18
DaBoyz
Re: XoopsFormSelectUser
  • 2004/1/13 15:00

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


OK, I did it ...

class XoopsDBLists extends XoopsLists {

// ----- DISPLAY USER LIST SORT BY NAME ----- //
// To replace displayUsers in modules/system/admin/users.php

function &getUserList() {
    global 
$xoopsDB;
    
$myts =& MyTextSanitizer::getInstance();
    
$sql "SELECT uid,uname FROM ".$xoopsDB->prefix("users")." ORDER BY uname";
    
$result=$xoopsDB->query($sql) or die(mysql_error());
    
$user_list = array();
    
$user_list[] = '----';
    while (list(
$uid,$uname) = $xoopsDB->fetchRow($result)) {
        
$user_list[trim($uid)] = $myts->makeTboxData4Show($uname);
    }
    
reset($user_list);
    return 
$user_list;    
}

}


And you could display it with :

// Users List
    
$user_array XoopsDBLists::getUserList();
    
$xoopsid_select = new XoopsFormSelect(_MA_DBV_PLAYERXOOPSID,'player_xoopsid',$player_xoopsid);
    
$xoopsid_select->addOptionArray($user_array);
    
$form->addElement($xoopsid_select);



19
DaBoyz
Re: Module Virtual shop-bank?
  • 2004/1/13 14:05

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


Quote:
That's because the XOOPS Core Team members aren't shown in the top posters block anymore.


That's what I thought but you confirmed it ...



20
DaBoyz
Re: Module Virtual shop-bank?
  • 2004/1/13 13:19

  • DaBoyz

  • Just popping in

  • Posts: 79

  • Since: 2002/8/8 1


Koudanshi seems to have adapt this module for his IB Module for XOOPS ...

You should ask him directly ...

PS : I found the answer here.

PPS : That's strange Herko ... You've 1666 posts and you don't appear in the Top Posters block ?




TopTop
« 1 (2) 3 4 5 ... 7 »



Login

Who's Online

166 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 166


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