Ads issue found

Hi everyone,

I have discovered an issue with the ads module which I cannot find a solution for. I'm sure it's simple but I just can't solve it.

When member posts a certain amount of ads and then wants to manage those ads, it only shows the last 10 ads added and it will now allow that member to find the rest of the ads they posted. I have members who post many ads and therefore they should be able to go back to their ads and mange them, but it will not show all of the ads, only the last 10 listed.

In my case, my site shows 10 ads as I have changed the module to display 10 ads on the ads block instead of 4, so therefore it shows only 10 ads on the manage ads page.

Is there a way to list all of the members ads here, otherwise how are they supposed to find their ads and changed them or delete them.

 

Thanks

MeMe

Quote · 2 May 2012

No one cares about the Ads module.... :(

Quote · 3 May 2012

I do not use that mod on my site, so cannot contribute, sorry.

Quote · 3 May 2012

I dont think anyone does. But thanks anyway!!!

Quote · 3 May 2012

Hi meme, I have tried to use the Ad module a couple of times to create a classifieds site. I gave up on this mod after spending weeks trying to make it work for me. It is a rudimentary mod with little to no support. Basically I have been told to hire a programmer to make the Ads mod work for me.

Therefore, I took a chance on modzzz Premium Classifieds Module. It too has some issues (some pages cannot be edited through the admin panel) but it is a huge step above the free Ad module. There is good support as well. Modzzz has walked me through a few changes I needed to make that were not available in the admin panel. I am very happy with it so far.

Good luck,

Quote · 3 May 2012

Yep, I agree. I too have Modzzz Ads software, have not used it yet. But if you needed to get a mod, then he is one of very few I would buy from.

Quote · 3 May 2012

What is missing here is the arrow, next/previus page, not codeed...

but you can edit how many ads you will show on this block here

modules/boonex/ads/classes/BxAdsModule.php

function GenMyPageAdmin($sForceMode = '')

$oTmpAdsSearch->aCurrent['paginate']['perPage'] = 10;

 

edit it to

$oTmpAdsSearch->aCurrent['paginate']['perPage'] = 50;

Quote · 3 May 2012

 Thank you for this,

 

What is missing here is the arrow, next/previus page, not codeed...

but you can edit how many ads you will show on this block here

modules/boonex/ads/classes/BxAdsModule.php

function GenMyPageAdmin($sForceMode = '')

$oTmpAdsSearch->aCurrent['paginate']['perPage'] = 10;

 

edit it to

$oTmpAdsSearch->aCurrent['paginate']['perPage'] = 50;

 The only problem is that if I do that then I will list 50 on all pages and I dont want 50 on my home page. I have set it to 10 as that is how many I want on the home page. Maybe i will create a new php block with Deanos tools and put the new block on the members page and then figure out the code to bring up all of the users ads. On the home page with arrows as you say. The ads block on the index page displays all ads with the arrows but this is for all ads, so i need to use the same code but to tell it to only display this profiles ads instead of all...

Am I on the right track, this cant be hard. I'm just rubbish at coding!! 

I think its worth having it on Dolphin Ads for everyone anyway, cant it be part of the next update? Its not a major thing to fix and its really worth it as now Dolphin is moving onto the social and networking stage.

Thanks

MeMe

Quote · 4 May 2012

No, I don't think so, you have changed it here,
it's another function but with the same name: $oTmpAdsSearch->aCurrent['paginate']['perPage']

modules/boonex/ads/classes/BxAdsModule.php


    /**
    * Ads block for index page (as PHP function). List of latest ads.
    *
    * @return html of last ads units
    */
    function serviceAdsIndexPage() {
        require_once( $this->_oConfig->getClassPath() . 'BxAdsSearchUnit.php');
        $oTmpAdsSearch = new BxAdsSearchUnit();
        $oTmpAdsSearch->aCurrent['paginate']['perPage'] = 4;

Quote · 4 May 2012

Yes your absolutely right. It worked perfectly. It looks the same on the same page but different code.

I am learning so much thanks to people like you.

 

Thank you

 

MeMe

Quote · 4 May 2012

Thank you for the report.

Ticket created - 

http://www.boonex.com/trac/dolphin/ticket/2782#comment:3

Rules → http://www.boonex.com/terms
Quote · 6 May 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.