301
goffy
wgSimpleAcc
  • 2023/2/2 18:02

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi to all

if there are any new ideas/suggestions for the module wgSimpleAcc please let me know :)

otherwise I will create next stable version :)



302
redentor
Re: Problem in the Protector Module
  • 2023/2/1 17:38

  • redentor

  • Just popping in

  • Posts: 3

  • Since: 2023/2/1 4


Mamba, according to your recommendation to update to version XOOPS 2.5.11 Beta2 I did, and the problem is over.
Now I am going to update two more sites to this new version 2.5.11 and all the files in Spanish as well.
May God continue to blessing you.



303
redentor
Re: Problem in the Protector Module
  • 2023/2/1 15:00

  • redentor

  • Just popping in

  • Posts: 3

  • Since: 2023/2/1 4


Thank you Mamba for your quick answer.
I check the xoopsconfig.php file and is correct on 'debugLevel' => 2,

The PHP hosting version in radioredentor.cl is ea-php74
Current PHP version Native (8.1) current see the image bellow
Resized Image


/**#@+
* Debug level for XOOPS
*
* Note: temporary solution only. Will be re-designed in XOOPS 3.0
*
* <ul>Displaying debug information to different level(s) of users:
* <li> 0 - To all users</li>
* <li> 1 - To members</li>
* <li> 2 - To admins only</li>
* </ul>
*/
'debugLevel' => 2,



304
Mamba
Re: Problem in the Protector Module
  • 2023/2/1 8:33

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


What PHP version are you using?

Normally you can ignore "deprecated" notices, as they are meant for developers.

Also, you should make sure that the config value of "debugLevel" in your file \xoops_data\configs\xoopsconfig.php is 2:

'debugLevel' => 2

/**
     * Debug level for XOOPS
     *
     * Displaying debug information to different level(s) of users:
     *   0 - To all users
     *   1 - To members
     *   2 - To admins only
     */
    
'debugLevel' => 2,


You might download and install the latest XOOPS 2.5.11 Beta2 code from GitHub
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



305
Mamba
Re: Cascading form select
  • 2023/2/1 8:14

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


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



306
redentor
Problem in the Protector Module
  • 2023/2/1 5:23

  • redentor

  • Just popping in

  • Posts: 3

  • Since: 2023/2/1 4


Hi, Please help me to solve the problem of the protector module, (I have installed the version xoop 2..5.10)

Check the problem here

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/chileoramosporti/public_html/radioredentor.cl/class/file/folder.php on line 818

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/chileoramosporti/public_html/radioredentor.cl/class/file/folder.php on line 834

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/chileoramosporti/redentor/xoops_lib/modules/protector/class/protector.php on line 627

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/chileoramosporti/redentor/xoops_lib/modules/protector/class/protector.php on line 627

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/chileoramosporti/redentor/xoops_lib/modules/protector/class/protector.php on line 627



307
Mage
Re: Cascading form select
  • 2023/1/31 18:49

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


Thanks for sharing, it's very interesting!



308
goffy
Cascading form select
  • 2023/1/31 6:50

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


I want to show you a new best practice example: Cascading FormSelect

Sometimes you want, that the choice of the first selectbox adapt the possible options of the second selectbox.
After playing around a little bit I decided to implementhttps://github.com/geekonjava/FilterSelect

I created a new Formselect class (seehttps://github.com/XoopsModules25x/wgsimpleacc/blob/master/class/Form/FormSelectCascading.php )

The call is similar to call of XoopsFormSelect:
// Get Theme Form
    
\xoops_load('XoopsFormLoader');
    
$form = new \XoopsThemeForm('My form for testing cascading select''formTest',  $_SERVER['REQUEST_URI'], 'post'true);
    
$form->setExtra('enctype="multipart/form-data"');

    
$myExampleTray1 = new XoopsFormElementTray('Example Tray 1');
    
$mySelect1 = new XoopsModules\Wgsimpleacc\Form\FormSelectCascading('Caption Select 1''select1''2'15);
    
$mySelect1->setType(1);
    
$arrSelect1 = [
                    [
'id' => '1''text'=>'Sourceelement 1''rel'=> '0''init'=> '0'],
                    [
'id' => '2''text'=>'Sourceelement 2''rel'=> '0''init'=> '0'],
                    [
'id' => '3''text'=>'Sourceelement 3''rel'=> '0''init'=> '0'],
                  ];
    
$mySelect1->setCustomOptions($arrSelect1);
    
$myExampleTray1->addElement($mySelect1);

    
$mySelect2 = new XoopsModules\Wgsimpleacc\Form\FormSelectCascading('Caption Select 2''select2''4'15);
    
$mySelect2->setType(2);
    
$arrSelect2 = [
                    [
'id' => '1''text'=>'Targetelement 1, linked to Sourceelement 1''rel'=> '1''init'=> '2'],
                    [
'id' => '1''text'=>'Targetelement 1, linked to Sourceelement 2''rel'=> '2''init'=> '2'],
                    [
'id' => '1''text'=>'Targetelement 1, linked to Sourceelement 3''rel'=> '3''init'=> '2'],
                    [
'id' => '2''text'=>'Targetelement 2, linked to Sourceelement 1''rel'=> '1''init'=> '2'],
                    [
'id' => '3''text'=>'Targetelement 3, linked to Sourceelement 1''rel'=> '1''init'=> '2'],
                    [
'id' => '3''text'=>'Targetelement 3, linked to Sourceelement 3''rel'=> '3''init'=> '2'],
                    [
'id' => '4''text'=>'Targetelement 4, linked to Sourceelement 2''rel'=> '2''init'=> '2'],
                    [
'id' => '5''text'=>'Targetelement 5, linked to Sourceelement 2''rel'=> '2''init'=> '2'],
                  ];
    
$mySelect2->setCustomOptions($arrSelect2);
    
$myExampleTray1->addElement($mySelect2);
    
$form->addElement($myExampleTray1);
    
$form->addElement(new \XoopsFormHidden('op''save'));
    
$form->addElement(new \XoopsFormButtonTray(''_SUBMIT'submit'''false));
    
$GLOBALS['xoopsTpl']->assign('form'$form->render());


if you now click on 'Sourceelement 1' in first select then you see only
- 'Targetelement 1, linked to Sourceelement 1'
- 'Targetelement 2, linked to Sourceelement 1'
- 'Targetelement 3, linked to Sourceelement 1'
in second select

have fun
Goffy



309
Mamba
wfChannel 3.0 Alpha 1 is release for testing and contributions
  • 2023/1/1 10:21

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Resized Image

wfChannel 3.0 Alpha 1 is released for testing and contributions - it's a module for adding articles to your XOOPS website.
You will need to install first the wfResource module.

It's been tested on PHP 8.2, but because it is Alpha release, expect a lot of bugs! But since it is Open Source, you're free to help and contribute by testing and fixing these bugs!

DOWNLOAD:https://github.com/mambax7/wfresource/releases

FORK:https://github.com/mambax7/wfresource/


REQUIREMENTS:
XOOPS 2.5.11-Beta2 (for testing we recommend the upcoming XOOPS 2.5.11)
PHP 5.7.4+ (tested with PHP 8.2.0)
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



310
Mamba
Re: Problem with my site following the php update to php.8
  • 2022/12/17 10:40

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Please tell us what modules do you have, and what versions, and maybe we could help you by pointing to newer versions...

Most current versions are on GitHub:

https://github.com/XoopsModules25x/
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 28 29 30 (31) 32 33 34 ... 29422 »



Login

Who's Online

96 user(s) are online (44 user(s) are browsing Support Forums)


Members: 0


Guests: 96


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