-
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!
-
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