61
zoullou
Re: Calendar with notifications
  • 2005/8/31 7:39

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


It very hard to do this in PHP
I think that there isn't module can do that.

Cheers



62
zoullou
Re: Form validation (client and serverside)
  • 2005/8/30 7:47

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


I don't use XoopsForm with template. But you can find template varible for XoopsForm in class/xoopsform/form.php in the assign(&$tpl) method.

Cheers



63
zoullou
Re: Calendar for me?
  • 2005/8/27 17:46

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Hi,

With eXtCal, you can make date as you want by using php date function format.
But repeating event isn't support for the moment. I probably add this feature in next version.

Cheers

PS : This is a Beta version, don't use on production site



64
zoullou
Re: Various modules in the start page
  • 2005/8/26 11:46

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Turn your site to PHP debug



65
zoullou
Re: How to use wysiwyg editor in module
  • 2005/8/25 7:30

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


With XOOPS 2.2, i make a form with wysiwyg like this :
if(!empty($_POST['editor']) || !empty($_COOKIE['editor'])) {
    if(!empty(
$_POST['editor'])) {
        
$editor $_POST['editor'];
    } else {
        
$editor $_COOKIE['editor'];
    }
} else {
    
$editor "";
}
if(!empty(
$editor)){
    
setcookie("editor",$editor);
}
$form->addElement(new XoopsFormSelectEditor($form'editor'$editor));
$options['name'] ='event_desc';
$options['value'] = empty($_REQUEST['message']) ? '' $_REQUEST['message'];
$form->addElement(new XoopsFormEditor("Description"$editor$options), false);


Cheers



66
zoullou
Re: How to use wysiwyg editor in module
  • 2005/8/24 10:06

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Ok, I don't know for XOOPS 2.0.x

Sorry



67
zoullou
Re: Koivi in XOOPS 2.2 - anyone?
  • 2005/8/23 18:45

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


You have an exemple in class/xoopseditor/sampleform.inc.php.

I use it like this :
if(!empty($_POST['editor']) || !empty($_COOKIE['editor'])) {
    if(!empty(
$_POST['editor'])) {
        
$editor $_POST['editor'];
    } else {
        
$editor $_COOKIE['editor'];
    }
} else {
    
$editor "";
}
if(!empty(
$editor)){
    
setcookie("editor",$editor);
}
$form->addElement(new XoopsFormSelectEditor($form'editor'$editor));
$options['name'] ='event_desc';
$options['value'] = empty($_REQUEST['message']) ? $desc $_REQUEST['message'];
$form->addElement(new XoopsFormEditor("Description"$editor$options), false);


Cheers



68
zoullou
Re: XoopsMailer->sendMail usage
  • 2005/8/23 12:38

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


I think that sendMail is private. This fonction is used in a loop in send() to send email to each member.
Header is an array of mail header like reply-to...

Cheers



69
zoullou
Re: How to use wysiwyg editor in module
  • 2005/8/23 12:31

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


For which version of XOOPS is your module ?



70
zoullou
Re: [myREFERER] new module : Check whos refering to you !
  • 2005/8/23 12:28

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


$HTTP_*_VARS array are deprecated :

Quote:
Since PHP 4.1.0, the preferred method for retrieving external variables is with the superglobals mentioned below. Before this time, people relied on either register_globals or the long predefined PHP arrays ($HTTP_*_VARS). As of PHP 5.0.0, the long PHP predefined variable arrays may be disabled with the register_long_arrays directive.

You must use $_SERVER instead of $HTTP_SERVER_VARS, $_POST instead of $HTTP_POST_VARS, $_GET instead of $HTTP_GET_VARS...

Cheers




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 17 »



Login

Who's Online

240 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

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

Latest GitHub Commits