+ Reply to Thread
Results 1 to 2 of 2

Thread: Listings order

  1. #1
    Junior Member
    Join Date
    Aug 2013
    Posts
    13

    Listings order

    Hello there,

    I've 3 types of paid accounts on the escort website:

    Gold
    Silver
    Bronze

    The Gold account have the "featured" option, so they will stay always on top of the pages.

    The Silver and Bronze don't have the "featured" option, so they come out at the bottom. I would like to show the Silver escorts, before the Bronze escorts. How can I do that? I really appreciate your help guys, I'm blocked on these fussy things. Bye!

  2. #2

    Lightbulb

    If I understand correctly it will help you.

    Open the file /includes/classes/rlListings.class.php
    (!) Before you change the files, back up the files to be modified.

    OK, let's try to implement this feature


    function getListingsByAccount [line: ~726]
    Find the code below:
    PHP Code:
    Only registered members can view the code
    And replace to:
    PHP Code:
    Only registered members can view the code
    The same function slightly below: [line ~775]
    Add the code that is highlighted in bold green.
    Code:
    Only registered members can view the code.
    P.S. Don't forget replace: your_plan_key_here

    FAQ: Where i can find the plan key?
    - Admin Panel > Listing Plans >> Edit plan; Look on first field Key

    Other than that happy coding...
    Flynax Technical Department

+ Reply to Thread