Results 1 to 1 of 1
Like Tree2Likes
  • 2 Post By korrigan

Thread: Stop Vantage Free Listing Renewal Solution

  1. #1
    Thread Starter
    korrigan's Avatar
    Join Date
    Nov 2012
    Thanked 1 Time in 1 Post

    Stop Vantage Free Listing Renewal Solution

    Hi Guys,

    i thought i would post this as a solution until developers add a better solution in a future release, as it seems support WILLN'T supply it (and they could of done it much better than this) - really this is an easy fix and should have been added in the newest releast 1.3.3

    anyway if you want to stop users who have a free listing from renewing a free listing again and again then follow these steps (someone did this already but was way back in 2012 - this is for the current release 1.3.3) you can find the old solution here

    1 - goto the file "purchase-new-lisitng.php" its in the root directory of your theme.

    2 - on line 12 or 13 you'll find this bit of code
    HTML Code:
    <div class="plan>
    change it to this
    PHP Code:
    <div class="plan <?php echo strtolower($plan['plan_title']); ?>">
    this basically adds the title of your listing plan in lower case to the html like this <div class="plan free">

    3- Next you have to hide that plan box using css ONLY WHEN A USER IS RENEWING THEIR FREE LISTING. The new css code needs to be added in style.css which is also in the root directory:
    .va_listing_renew .free { display: none !important; }
    4 - Finally and most importantly i believe is making sure a different plan is selected when the user tries to renew their listing otherwise they could just click next during the renew listing process and still have the free listing renewed. This also makes sure the next plan is selected by default during the create new listing process (as we really want people to buy a listing, not give them the free listing as default). This is simple just go towards the bottom of the "purchase-new-listing.php" and change
    PHP Code:
    $key == 
    PHP Code:
     $key == 
    . Remember backup the page before attempting this and i have only tried it on the latest releast 1.3.3

    Hope it works for you

    dimitris and never2cute like this.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dimitris Free First Listing but Pay Fee on Renewal: is it Possible?
    By mergeloew in forum Help Using Vantage (Legacy)
    Replies: 6
    Last Post: November 13th, 2013, 04:36 PM
  2. Avoid renewal of free advertisement
    By kilop in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: November 27th, 2011, 08:17 AM
  3. Free ads > Pay on renewal (send to top)
    By thesiege in forum ClassiPress General Discussion
    Replies: 3
    Last Post: August 28th, 2011, 02:22 PM
  4. Always Free Ads Renewal issue
    By cgervereau in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: September 1st, 2010, 07:10 PM
  5. Free Ads Renewal Ability Mod
    By scarstens in forum ClassiPress General Discussion
    Replies: 19
    Last Post: May 25th, 2010, 04:15 AM