1561
Mamba
Assessment 2.01 Alpha 1 available for testing
  • 2020/2/28 18:59

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Resized Image

The Assessment 2.01 Alpha 1 (formerly Nivelamento developed by Marcello Brandao) is available for testing on XOOPS 2.5.10 and PHP 7+

New in this version: namespaces, autoloading, various fixes, PHP 7 compatibility (tested on PHP 7.4.3)

You can download it from GitHub.

And you can fork it from GitHub as well, and submit your improvements or bug fixes there.

We encourage everybody to open an account on GitHub and get used to working with Git, as this is the current Industry Standard.

Please note: This version is developed and tested ONLY on XOOPS 2.5.10 and PHP 7
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1562
alain01
Re: countdown module for XOOPS 2.5.9 ?
  • 2020/2/22 21:24

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Quote:

mjoel wrote:
version 1 can be install
can't install version2 blank page no debug error

XOOPS Version XOOPS 2.5.10
PHP Version 5.6.25
mySQL Version 5.7.14

can anybody suggest a fix


Please use PHP 7.x !



1563
mjoel
Re: countdown module for XOOPS 2.5.9 ?
  • 2020/2/22 3:12

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


Quote:

Mamba wrote:
You can try and test these two versions:

Version 1: the original version, updated for XOOPS 2.5.9 and PHP 7.2, but the the calendar button doesn't work, i.e. you have to enter the date manually

Version 2: Quick & dirty rewrite of the Version 1, incl. a Vue countdown component.

Please note: I don't have time to do anything more with these modules, but it will be a good start for you to improve it further. Or somebody else could help you. Just fork it on GitHub


version 1 can be install

can't install version2 blank page no debug error

XOOPS Version XOOPS 2.5.10
PHP Version 5.6.25
mySQL Version 5.7.14

can anybody suggest a fix



1564
aerograf
Re: A big surprise for 2020
  • 2020/2/21 14:16

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Very interesting.
I'd like to try it.
We will wait for the result.



1565
alain01
Re: A big surprise for 2020
  • 2020/2/20 10:59

  • alain01

  • Just can't stay away

  • Posts: 530

  • Since: 2003/6/20


Thank you aerograf !

This may be the last demo before the official opening of the site, https://www.monxoops.fr/, in 1 or 2 weeks maximum.
This is the documentation page to explain how groups work in XOOPS.
See this page on codepen here.

In particular, please consult the last table "Illustrations of additional groups with modules".
We have worked very hard to create the best responsive table. You will be able to see different displays depending on the width of the media.

Enjoy it

PS : You can review all demo page in my codepen XOOPS collection here



1566
aerograf
Re: A big surprise for 2020
  • 2020/2/17 10:43

  • aerograf

  • Quite a regular

  • Posts: 214

  • Since: 2017/1/7 1


Great job!!!



1567
mjoel
Re: Adding Main Image in Publisher - Item by same author page
  • 2020/2/17 4:11

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


Thank you mamba..code is working fine



1568
Mamba
Re: Adding Main Image in Publisher - Item by same author page
  • 2020/2/16 18:34

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Try this in author_items.php:
//mb start
        
$mainImage       $item->getMainImage();
        
$imageThumb $mainImage['image_thumb'];
        
//mb end

        
$categories[$catId]['count_items']++;
        
$categories[$catId]['count_hits'] += $item->counter();
        
$categories[$catId]['items'][]    = [
            
'title'     => $item->getTitle(),
            
'hits'      => $item->counter(),
            
'link'      => $item->getItemLink(),
            
'published' => $item->getDatesub(_SHORTDATESTRING),
            
//'rating'    => $xoopsLocal->number_format((float)$item->rating())
            
'rating'    => $item->rating(),

            
'image'     => $imageThumb,//mb

        
];
Then in the publisher_author_items.tpl you can add this:
<{foreach item=item from=$category.items}>
            <
tr>
                <
td>
                    <{if 
$item.image}>
                        <
img src="<{$item.image}>" alt="<{$item.image_name}>">
                    <{/if}>
                td>

                <
td><{$item.published}>td>
                <
td>&nbsp;&nbsp;<{$item.link}>td>
                <
td align='right'><{$item.hits}>  td>
                <{if 
$permRating}>
                    <
td align='right'>&nbsp;&nbsp;<{$item.rating}>td>
                <{/if}>
            tr>
        <{/foreach}>
Of course, you would have to set the template the way you want it to look - the code above was just for testing to see if it works.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1569
mjoel
Re: Adding Main Image in Publisher - Item by same author page
  • 2020/2/16 10:31

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


i'm trying to add main image of the article at the top of every article title in the author page
example of author items page here in xoops.org
Resized Image


not sure what the problem is i tried to paste my image codethat i used in publisher_author_items.tpl but its not appearing correcly in my last post and in this post this is the screenshot of the code
Resized Image

?>



1570
Mamba
Re: Adding Main Image in Publisher - Item by same author page
  • 2020/2/16 5:26

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


I'm not sure I understand what you would like to do.

Could you provide a screenshot or mockup of what you would like to do, and what do you have currently?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 154 155 156 (157) 158 159 160 ... 29425 »



Login

Who's Online

314 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 314


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits