51
andrey3761
Re: News module no. of characters limit?

Quote:
may I change it in phpMyAdmin without any consequence?

Yup :)



52
andrey3761
Re: php custom block in xoops 2.4.4

The given code works in the block php? (Without slashes)

echo '<img src="myimage.jpg" />';



53
andrey3761
Re: News module no. of characters limit?

TEXT - maximum 65536 bytes
MEDIUMTEXT - maximum 16777216 bytes
LONGTEXT - maximum 4294967296 bytes



54
andrey3761
Re: php custom block in xoops 2.4.4

What exactly doesn't work?



55
andrey3761
Re: How to us $xoopsModuleConfig inside a block Function

$module_handler =& xoops_gethandler('module');
$module =& $module_handler->getByDirname('MyModule');
$config_handler =& xoops_gethandler('config');
if (
$module) {
    
$moduleConfig =& $config_handler->getConfigsByCat(0, $module->getVar('mid'));
}
$block['test'] = $moduleConfig['something'];

Or for XOOPS 2.4.x

$block['test'] = xoops_getModuleOption('something', 'MyModule');



56
andrey3761
Re: using Xoops text sanitizer

$myts =& MyTextSanitizer::getInstance();
$data = isset($_POST['data']) ? $myts->addSlashes($_POST['data']) : '';

At database level (Look, that there was no double quoting):
$data = isset($_POST['data']) ? $myts->stripSlashes($_POST['data']) : '';
$data = $xoopsDB->quoteString($data);



57
andrey3761
Re: XOOPS 2.4.x Translations




58
andrey3761
Edit user in module Profile

At editing of a profile of the user of an error.

Resized Image


{$uid} it is necessary to replace on $uid.



59
andrey3761
Re: XOOPS 2.5.x Translations

The Russian translation will be by a weekend.
What has been changed in language files between versions 2.4.4 and 2.5.0?



60
andrey3761
Re: need help with a users array code snippet

Quote:
You have already done that!

We do not wish to do querys to a database.
We wish to receive the list of users using objects XOOPS. Such it is possible?




TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 13 »