Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2012, 01:28 PM
Lonin Lonin is offline
Member
 
Join Date: Jan 2012
Location: England
Posts: 17
Gender: Female
Credits: 9,891
Lonin is on a distinguished road
Default How to order adoptables (gold/item reward for reaching a level)?

Alrighty so I was wondering how/if I could order the adoptables at the adopt.php page.
Like by price or something.
>: I can't do PHPsorry.

Also. Could I give someone money or an item reward for getting an adoptable to a certain level (or number of clicks) instead of/as well as a promo code?

Last edited by Lonin; 05-12-2012 at 11:59 AM.
Reply With Quote
  #2  
Old 05-10-2012, 07:16 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 340,132
Hall of Famer is on a distinguished road
Default

umm you can find the sql select() method in adopt.php and add the 'ORDER by price' in the where clause. The where clause should be easy to identify as it is passed as the third argument in the select() method as a string.

If you want AJAX sorting feature then its beyond what I can help, send PMs to Fadillzzz and he will tell you what to do.

I believe its possible, add the reward PHP code right after the line that defines adoptables new level. I recall it is line 85.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 05-10-2012, 01:58 PM
Lonin Lonin is offline
Member
 
Join Date: Jan 2012
Location: England
Posts: 17
Gender: Female
Credits: 9,891
Lonin is on a distinguished road
Default

:) Thanks for the help. I got the order by part working.
But I have no clue how to do the reward thing. D:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a "Faction" for adoptables/owned adoptables Vaporman87 Questions and Supports 1 03-04-2014 03:38 PM
Order by? SilverDragonTears Questions and Supports 4 05-02-2012 10:51 PM
order Available Adoptables list bluez Questions and Supports 4 06-21-2011 01:59 PM
Choosing Adoptables Type [EASY ADOPTABLES SCRIPT ONLY] Ashje Addons/Mods Graveyard 2 05-24-2009 03:17 AM


All times are GMT -5. The time now is 01:28 PM.

Currently Active Users: 9633 (0 members and 9633 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636