xoops forums

Mamba

Moderator
Posted on: 4/16 23:48
Mamba
Mamba (Show more)
Moderator
Posts: 10759
Since: 2004/4/23
#41

Re: Adslight 2.2 error after upgrade 2.5.8

Masel, I just installed the 2.3RC2c version on Yurdal's website, and it works just fine.

I was able to modify the Ad from both frontend and backand side.

This was his configuration:
XOOPS Version XOOPS 2.5.10-RC
PHP Version 7.2.17
mySQL Version 5.5.5-10.2.23-MariaDB
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Yurdal

Friend of XOOPS
Posted on: 4/17 6:21
Yurdal
Yurdal (Show more)
Friend of XOOPS
Posts: 362
Since: 2005/3/27
#42

Re: Adslight 2.2 error after upgrade 2.5.8

Hi Mamba, i see that that you have made a new ad on my site ,
I have edit the ad you made and the changes are saved :)

BUT:
I deleted all the default categorys of the module and made a test category, inside that category i made a new ad with a picture and..same problem, cant modify the ad, would you look at the ad i made ?

masel

Friend of XOOPS
Posted on: 4/17 6:40
masel
masel (Show more)
Friend of XOOPS
Posts: 30
Since: 2004/10/6
#43

Re: Adslight 2.2 error after upgrade 2.5.8

Mamba, thanks for Your work. Old Adslight 2.2 didn't work for me. Now is work, but there is no list of categories on the main page. I think that the template adslight_category.tpl is not included,

In adslight_index.tpl is code:
<table border="0" cellspacing="0" cellpadding="0" align="center">
    <
td colspan="2" valign="top"></td>
    <
tr>
        <{foreach 
item=category from=$categories}>
        <
td valign="top">
            <{if 
$category.image != ""}>
                <{
$category.image}>
            <{/if}>
            <
br><br>
        </
td>
        <
td valign="top">
            <
div align="left">
                <
class="catlist"
                   
href="<{$xoops_url}>/modules/adslight/viewcats.php?cid=<{$category.id}>"><strong><{$category.title}></strong></a>&nbsp;-&nbsp;[<{$category.totallisting}>
                ]<
br>
                <{
$category.subcategories}>
            </
div>
        </
td>
        <{if 
$category.count is div by 2}>
    </
tr>
    <
tr>
        <{/if}>
        <{/foreach}>
    </
tr>
</
table><br>


but the categories table is not visible.

Mamba

Moderator
Posted on: 4/17 14:01
Mamba
Mamba (Show more)
Moderator
Posts: 10759
Since: 2004/4/23
#44

Re: Adslight 2.2 error after upgrade 2.5.8

Thanks, masel!

I'll look into it...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Yurdal

Friend of XOOPS
Posted on: 4/18 17:10
Yurdal
Yurdal (Show more)
Friend of XOOPS
Posts: 362
Since: 2005/3/27
#45

Re: Adslight 2.2 error after upgrade 2.5.8

Mamba can you look at it ?

Quote:

Yurdal wrote:
Hi Mamba, i see that that you have made a new ad on my site ,
I have edit the ad you made and the changes are saved :)

BUT:
I deleted all the default categorys of the module and made a test category, inside that category i made a new ad with a picture and..same problem, cant modify the ad, would you look at the ad i made ?

Mamba

Moderator
Posted on: 4/22 17:35
Mamba
Mamba (Show more)
Moderator
Posts: 10759
Since: 2004/4/23
#46

Re: Adslight 2.2 error after upgrade 2.5.8

I've made some updates, and I've added a new ad on your Website, and was able to update it without any problems.

The latest code is now Adslight 2.3 RC3, and it's here:
here: https://github.com/mambax7/adslight/releases/
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

masel

Friend of XOOPS
Posted on: 4/24 5:47
masel
masel (Show more)
Friend of XOOPS
Posts: 30
Since: 2004/10/6
#47

Re: Adslight 2.2 error after upgrade 2.5.8

Great job!