11
Mage
Re: extCal 2.40 RC-1 Released for Testing and Contributions
  • 2021/3/2 18:32

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


It is important to correct this:


https://github.com/XoopsModules25x/extcal/issues/31


as it can be a source of error!

And you really have to communicate for European date format, you have to use the "-" sign in global.php!



12
Mage
Re: extCal 2.40 RC-1 Released for Testing and Contributions
  • 2021/3/2 18:28

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


Hello,

This problem is known and very easy to correct! You cannot use the following date format:

day/month/Year

The following format must be used:

day-month-Year

It's related to this:

https://www.php.net/manual/en/function.strtotime.php


Quote:
Note:

Dates in the m/d/y or d-m-y formats are disambiguated by looking at the separator between the various components: if the separator is a slash (/), then the American m/d/y is assumed; whereas if the separator is a dash (-) or a dot (.), then the European d-m-y format is assumed. If, however, the year is given in a two digit format and the separator is a dash (-), the date string is parsed as y-m-d.

To avoid potential ambiguity, it's best to use ISO 8601 (YYYY-MM-DD) dates or DateTime::createFromFormat() when possible.


So you have to be very careful with the xoops translation file, particularly this file:

global.php

To inspire you, we had the same problem with the FR translation. Here you will find a correct example of the dates:

https://github.com/MonXoops/XOOPS-monxoops-Traduction-FR/blob/master/htdocs/language/french/global.php

line 201, 202, 203 and 204!



13
Mage
xmnews 1.5 Final Released
  • 2021/2/6 19:55

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


xmnews module for XOOPS CMS 2.5.10+ is now available in version 1.5 final!

The xmnews module allows you to create articles in categories and finely manage permissions by
- Read the article summary
- Read the full article
- Submit an article
- Edit & publish an article
- Delete

Changes in this version:

Bug fixes:
- Logo display problem when deleting a news message
- Logo display problem when message deleting a category if it did not have a logo
- An error message appeared if you tried to access a category without authorization
- The search displayed the results even if we did not have access rights
- An error message appeared if we tried to modify a news item with a false id
- The publication date was proposed at the next 10 minutes which prevented an instant publication

Improvements:
- Better integration of xmsocial to rate an article
- Addition of the social media part of the xmsocial module
- Addition of the number of reading of a news in the administration (page which lists the news)
- Modification of the FR translation
- Optimization of Bt3 and Bt4 templates
- php8 compatibility
- Addition of a block which lists the titles of the news (with or without logo)
- Addition of a carousel type block
- You can now choose a color for a category. This option allows you to color a news according to its category. This improvement is especially visible with the Bt4 templates
- Plugin for the waiting module (directly integrated into the waiting module)

Security:
- Change index.html to index.php


xmdoc on github: https://github.com/GregMage/xmnews

xmdoc description: https://www.monxoops.fr/modules/xmdoc/document.php?doc_id=3



14
Mage
Re: xmdoc 1.1 Final Released
  • 2020/12/30 9:28

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


The tutorial which explains how to integrate xmdoc into its module is available!

You can find it here: https://www.monxoops.fr/modules/xmtutorial/tutorial.php?tutorial_id=9



15
Mage
xmdoc 1.1 Final Released
  • 2020/12/29 14:40

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


xmdoc module for XOOPS CMS 2.5.10+ is now available in version 1.1 final!

This module is initially complementary to the modules of the xm-modules series. In fact, associated with these, it will allow you to add documents to your articles (xmnews module) and to your static pages (xmcontent module). It is possible to integrate into any module! To do this, just follow the tutorial on https://www.monxoops.fr.

Changes in this version:

Bug fixes:
- Access from the index to a non-existent category generated an error message.
- The search did not take account of access rights.
- An error appeared if the document id was wrong (edition from the user part).
- An error appeared when deleting a document.

Improvements:
- Added the suppression of votes when deleting a document (xmsocial).
- If the modal option is not used, the link points to the description of the document (otherwise direct download).
- Added compatibility with XOOPS 2.5.10 (previously only compatible with XOOPS 2.5.11).
- Update of boostrap 4 templates.
- Fixed define (language).
- Compatibility with PHP 8.

xmdoc on github: https://github.com/GregMage/xmdoc

xmdoc description: https://www.monxoops.fr/modules/xmdoc/document.php?doc_id=8



16
Mage
Re: PHP 8.0.0 Beta 2 available for testing
  • 2020/8/23 13:06

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


Thanks for the information! quick question, how to install this version on wamp?



17
Mage
Re: Overloaded pm_pmlite.tpl (PM module) ???
  • 2020/5/6 19:26

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


Hi Alain,

It is a form generated by xoops. If your theme uses bt4 then the form will be displayed in bt4 (theme_autorun.php):

xoops_load('XoopsFormRendererBootstrap4');
XoopsFormRenderer::getInstance()->set(new XoopsFormRendererBootstrap4());



18
Mage
Re: Datetime problems with Publisher 1.07 Final and Xoops 2.5.10
  • 2020/4/20 19:08

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


sorry not local.php but global.php



19
Mage
Re: Datetime problems with Publisher 1.07 Final and Xoops 2.5.10
  • 2020/4/20 19:03

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


It may be the translation:

https://github.com/XOOPS/XoopsCore25/issues/249#issuecomment-261805315


If I understand correctly, you speak Italian! So you use a European date format

in folder:
htdocs\language\italian

file local.php
file global.php

you must have:

define('_DATESTRING''d-m-Y H:i:s');
define('_MEDIUMDATESTRING''d-m-Y H:i');
define('_SHORTDATESTRING''d-m-Y');


if you have

define('_DATESTRING''d/m/Y H:i:s');
define('_MEDIUMDATESTRING''d/m/Y H:i');
define('_SHORTDATESTRING''d/m/Y');


it does not work!


Look this: https://github.com/XOOPS/XoopsCore25/issues/807



20
Mage
Re: SQL error with Tag Module
  • 2019/11/15 8:05

  • Mage

  • Core Developer

  • Posts: 206

  • Since: 2009/8/2 1


This problem is explained here:

https://www.grafikart.fr/tutoriels/only-full-group-by-sql-1206

He is present with mysql 5.7! The problem may need to be fixed in the core of xoops.




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



Login

Who's Online

190 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 190


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