1
cauchy
Re: group module changed
  • 2004/5/7 19:19

  • cauchy

  • Just popping in

  • Posts: 4

  • Since: 2004/4/7 1


edit this file:
\modules\system\admin\groups\groups.php

replace this line:
le="color: #000000"><?php if ($usercount < 200 && $membercount < 200) {


with:
le="color: #000000"><?php if ($usercount < 2000 && $membercount < 2000) {


ciao



2
cauchy
Re: Xoopsmembers search by group and rank (HACK)
  • 2004/4/18 5:23

  • cauchy

  • Just popping in

  • Posts: 4

  • Since: 2004/4/7 1


I have some problem with the navigation bar at the bottom of the page.
This hack doesn't work for me.



3
cauchy
Re: how to search for a month in the field user_regdate?
  • 2004/4/8 2:49

  • cauchy

  • Just popping in

  • Posts: 4

  • Since: 2004/4/7 1


Thanks for your quick reply Mithrandir.
However I want to search for users who registered in a month of ANY year.
After a very hard job I have found this solution:
le="color: #000000"><?php $criteria->add(new Criteria("FROM_UNIXTIME(user_regdate, '%c')", $mese));

this work just fine.



4
cauchy
how to search for a month in the field user_regdate?
  • 2004/4/7 21:25

  • cauchy

  • Just popping in

  • Posts: 4

  • Since: 2004/4/7 1


I have tried to hack the file modules\system\admin\finduser\main.php in order to perform search on the field user_regdate of the table users. I am interested to select from this table only users who were registered in a particular month of the year.
mese_regdate is my form variable.
Why something like that doesn't work?
le="color: #000000"><?php if ( !empty($HTTP_POST_VARS['mese_regdate']) &&is_numeric($HTTP_POST_VARS['mese_regdate']) ) { $mese= intval($HTTP_POST_VARS['mese_regdate']); $criteria->add(new Criteria("MONTH(user_regdate)", $mese));}


please, someone can help me?
thanks in advance.




TopTop



Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!