https://xoops.org/misc/api/
Btw,i've built an handy package of the current API which can be viewed off-line.
Download XOOPS API
Enjoy!
<{php}>setlocale(LC_TIME, "it_IT");<{/php}>
<{php}>setlocale(LC_TIME, "it_IT");<{/php}>
<{$smarty.now|date_format:"%A, %e %B %Y"}>
Entra >>> Login
Iscriviti qui >>> Submit
I tuoi dati >> Your account
Notifiche >> Notifications
Esci >> Logout
Cerca >> Search
$module_handler =& xoops_gethandler('module');
$criteria = new CriteriaCompo(new Criteria('isactive', 1));
$criteria->add(new Criteria('hasadmin', 1));
$criteria->add(new Criteria('mid', '>1'));
$valid_mods =& $module_handler->getCount($criteria);
$criteria->add(new Criteria('mid', '>1'));
The problem happens when you're on an ADSL line with DHCP
http://localhost/myxoops/admin.php?xoopsorgnews=1
Warning [PHP]: fopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in file admin.php line 118
Warning [PHP]: fopen(https://xoops.org/backend.php): failed to open stream: Connection refused in file admin.php line 118
Will we be able to create different instance of the editor for the various modules?