xoops forums

Forum Index


Board index » All Posts (luciorota)




luciorota

Module Developer
Posted on: 9/20 19:43
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#1

Re: Using Font Awesome icons in a XOOPS theme

thanks


luciorota

Module Developer
Posted on: 4/7 20:16
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#2

Looking for a light moduke to better understand Xoops Modules Namespacing

Hi everybody
I'm looking for a light module (Publisher is a huge module...) to better understand Xoops Modules namespacing and latest Xoops Modules Development techniques
to update some module that I did in the past ...

Thanks in advance for the reply!


luciorota

Module Developer
Posted on: 12/29 10:23
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#3

Re: All about M.A.S.K. runs XOOPS 2.5.11.

Awesome job


luciorota

Module Developer
Posted on: 2020/9/18 17:40
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#4

Re: CERCASI SVILUPPATORE MODULI XOOPS / WANTED XOOPS MODULES DEVELOPER

Thanks Mamba
They are my clients, but I don't have time to continue developing the module ...


luciorota

Module Developer
Posted on: 2020/9/18 8:23
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#5

CERCASI SVILUPPATORE MODULI XOOPS / WANTED XOOPS MODULES DEVELOPER

Cerco sviluppatore Xoops a cui possa cedere incarico presso piccola azienda italiana.
Richiesta conoscenza:
- Xoops sviluppo moduli
- Lingua italiana

I am looking for a Xoops developer to whom I can assign a job at a small Italian company.
Knowledge required:
- Xoops module development
- Italian language

Lucio


luciorota

Module Developer
Posted on: 2020/7/14 7:51
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#6

Re: More old modules available on GitHub

Well done!


luciorota

Module Developer
Posted on: 2020/4/29 15:55
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#7

Re: Re-Design the PM templates - Need smarty help

Trry this
More than dirty

<{if ($message.postername != "")}>
<{* 
what if user does not exist? *}>
<{
assign var="tempPosteruid" value=$message.posteruid}>
<
img src="<{$xoops_url}>/uploads/<{php}>
    
$user_handler = xoops_getHandler('user');
    if(
$posterObj = $user_handler->get($this->get_template_vars('tempPosteruid'))) {
        echo 
$posterObj->getVar('user_avatar');
    }
    <{/php}>" 
class="img-responsive img-rounded img-thumbnail">
<{/if}>


luciorota

Module Developer
Posted on: 2020/4/29 14:26
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#8

Re: Re-Design the PM templates - Need smarty help

To get user_avatar this way is a dirty way.. but it could run!

Insert in "viewpmsg.tpl" file
into the <{foreach item=message from=$messages}> loop
this Smarty code

<{php}>
    
$user_handler xoops_getHandler('user');
    
$posterObj $user_handler->get($GLOBALS['message']['posteruid']);
    echo 
$posterObj->getVar('user_avatar');
<{/
php}>


Good luck!


luciorota

Module Developer
Posted on: 2020/4/29 14:10
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#9

Re: Re-Design the PM templates - Need smarty help

Hi Alain01

Is becouse $message.posteruid is the poster id and not a poster object


luciorota

Module Developer
Posted on: 2020/4/22 19:56
luciorota
luciorota (Show more)
Module Developer
Posts: 210
Since: 2007/4/20
#10

Re: Datetime problems with Publisher 1.07 Final and Xoops 2.5.10

Try again ... Xoops using "\DateTime" and not "DateTime"
Quote:

luciorota wrote:
The bug is the result of an incorrect use of the function strtotime(), it must have a format in English to work...

BUGFIX

file: publisher\class\item.php, line 1061
replace
$localTimestamp strtotime($resDate['date']) + $resTime['time'];


with
$dateTimeObj \DateTime::createFromFormat(_SHORTDATESTRING$resDate['date']);
$dateTimeObj->setTime(000);
$localTimestamp $dateTimeObj->getTimestamp() + $resTime['time'];


file: publisher\class\item.php, line 1088

replace
$localTimestamp strtotime($resExDate['date']) + $resExTime['time'];


with
$dateTimeObj \DateTime::createFromFormat(_SHORTDATESTRING$resExDate['date']);
$dateTimeObj->setTime(000);
$localTimestamp $dateTimeObj->getTimestamp() + $resExTime['time'];


Good job! / Buon lavoro!



TopTop
(1) 2 3 4 ... 16 »