11
Mamba
Re: wg-modules are updated

That's awesome!!! Thank you so much for doing it!

I've added links to the downloads on GitHub, so people can download the modules from there!

- wgSimpleacc: XOOPS module for income/expense account for clubs or small businesses.
- wgBlocks: XOOPS module for presentation of information in one or more blocks.
- wgDiaries: XOOPS module for documentation of working from home in diaries
- wgEvents: XOOPS module for handling events, including online registrations.
- wgFaker: XOOPS module for generation of faked test data and save them as yaml file
- wgGithub: XOOPS module for displaying content of our common github developer directories
- wgSitenotice: XOOPS module for downloading, adapting and displaying legal notices for your site
- wgTeams: simple XOOPS module for presentation of one or more teams
- wgTimelines: XOOPS module, which allows to create timelines in various displaying types
- wgTestui: XOOPS module for automation of testing UI
- wgBacklinks: this XOOPS module admins a backlink network

You forgot:
wgGallery: enables you to create beautiful galleries for your XOOPS website
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



12
Mamba
Re: Mymenus Module with XOOPS 2.5.11-Stable

Please check out the Beta 6 and see if it works better.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



13
Mamba
Re: Mymenus Module with XOOPS 2.5.11-Stable

Unfortunately, my PC crashed again, and I have to send it to Dell to fix it, so I don’t know when I’ll be able to upload the new version (assuming that they will be able to fix it and recover the data)
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



14
Mamba
Re: Assign Smarty variable to PHP with XOOPS 2.5.11-Stable

Great to hear that you were able to fix it.

Please submit your improvements to GitHub

Thanks!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



15
Mamba
Re: newBB 5.1.0 error admin

I'm happy to hear it!

Thanks for reporting back!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



16
Mamba
Re: Mymenus Module with XOOPS 2.5.11-Stable

There will be a new update coming soon, hopefully sometime next week
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



17
Mamba
Re: newBB 5.1.0 error admin

If there are still problems, try to replace the function in /modules/newbb/admin/index.php starting on line 68:
function newbb_getImageLibs()
{
    
$imageLibs = [];
    
//    unset($output, $status);
    
if (== $GLOBALS['xoopsModuleConfig']['image_lib'] || == $GLOBALS['xoopsModuleConfig']['image_lib']) {
        
$path = empty($GLOBALS['xoopsModuleConfig']['path_magick']) ? '' $GLOBALS['xoopsModuleConfig']['path_magick'] . '/';
        @
exec($path 'convert -version'$output$status);
        if (empty(
$status) && !empty($output) && preg_match("/imagemagick[ t]+([0-9.]+)/i"$output[0], $matches)) {
            
$imageLibs['imagemagick'] = $matches[0];
        }

        unset(
$output$status);
    }
    if (
== $GLOBALS['xoopsModuleConfig']['image_lib'] || == $GLOBALS['xoopsModuleConfig']['image_lib']) {
        
$path = empty($GLOBALS['xoopsModuleConfig']['path_netpbm']) ? '' $GLOBALS['xoopsModuleConfig']['path_netpbm'] . '/';
        @
exec($path 'jpegtopnm -version 2>&1'$output$status);
        if (empty(
$status) && !empty($output) && preg_match("/netpbm[ t]+([0-9.]+)/i"$output[0], $matches)) {
            
$imageLibs['netpbm'] = $matches[0];
        }
        unset(
$output$status);
    }

    if (
function_exists('gd_info')) {
        
$tmpInfo         gd_info();
        
$imageLibs['gd'] = $tmpInfo['GD Version'];
    }

    return 
$imageLibs;
}


with this code:

function getPhpInfo($section INFO_GENERAL)
{
    static 
$infoCache = [];

    if (!isset(
$infoCache[$section])) {
        
ob_start();
        
phpinfo($section);
        
$infoCache[$section] = ob_get_clean();
    }

    return 
$infoCache[$section];
}

function 
newbb_getImageLibs()
{
    
$imageLibs = [];

    
// Check for GD library
    
if (function_exists('gd_info')) {
        
$tmpInfo         gd_info();
        
$imageLibs['gd'] = $tmpInfo['GD Version'];
    }

    
$info = (array)getPhpInfo();

    
// Check for ImageMagick
    
if (== $GLOBALS['xoopsModuleConfig']['image_lib'] || == $GLOBALS['xoopsModuleConfig']['image_lib']) {
        if (
preg_match("/ImageMagicks+([0-9\.]+)/i"implode(" "$info), $matches)) {
            
$imageLibs['imagemagick'] = $matches[1];
        }
    }

    
// Check for NetPBM
    
if (== $GLOBALS['xoopsModuleConfig']['image_lib'] || == $GLOBALS['xoopsModuleConfig']['image_lib']) {
        if (
preg_match("/netpbms+([0-9\.]+)/i"implode(" "$info), $matches)) {
            
$imageLibs['netpbm'] = $matches[1];
        }
    }

    return 
$imageLibs;
}


and let me know if it helps.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



18
Mamba
Re: newBB 5.1.0 error admin

It is possible that your PHP configuration isn't allowing the core function exec to be used
The function is often disabled on shared hosting servers, so check the php.ini file on the server and make sure that ’exec’ is not listed as part of "disable_functions" in php.ini

You can also check using the phpinfo() - see here how to do it
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



19
Mamba
Re: XOOPS 2.5.11 search user is not working

Thanks for letting us know.

I was able to replicate it, and I'll be looking into it, hopefully soon. I'll keep you posted.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



20
Mamba
Re: Assign Smarty variable to PHP with XOOPS 2.5.11-Stable

In Smarty 3, the tags are no longer supported. Instead, you need to use Smarty's built-in functions and modifiers to accomplish tasks that previously required PHP code.

If you need both $cid and $catid, then you can use Smarty's $smarty.template_vars variable to access the template variable value instead of get_template_vars():

{assign var="cid" value=$downloads.cid}
{
assign var="catid" value=$smarty.template_vars.cid}


The $smarty.template_vars variable contains all assigned template variables and their values. So you can access the value of $cid through $smarty.template_vars.cid in place of the PHP code.

This allows you to eliminate tags and leverage Smarty's features and syntax to access template variables and perform other logic in the template.

Let us know if this worked
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




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



Login

Who's Online

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


Members: 0


Guests: 165


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