Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Another multi-currency question.
I want to use a secondary currency for 'donor' adoptables. All users will have 10 of these available for a taste of donor appeal.
Thing is the currency selected for the adoptable purchase is the dollar amount and not the gem amount. Where in the files would I have to edit for this to work?
__________________
|
#2
|
||||
|
||||
Are you using a previously installed addon made by someone for the shopping system? I would need the code.
|
#3
|
||||
|
||||
I'm using the 1.1.4 release as the base for my site, it has a shop included for adoptables. Items on the other hand...
__________________
|
#4
|
||||
|
||||
Okay, I'll download 1.1.4 and take a look.
|
#5
|
||||
|
||||
I could try to sort through my code and help you out ^-^" *is not the neatest person* Since I have 6 cash types it shouldn't be too hard XD
But I believe I only had to modify the admin, doadopt, nadopt, cash, mycash, and adopt pages.
__________________
"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo My Adoptables|Nuzlocke Webcomic |
#6
|
||||
|
||||
There's only one type of currency.
To add the new currency called 'donor', go to admin.php to edit that first, then do some of the minor chages required in nadopts.php and finish off by editing adopt.php/doadopt.php to your liking. Oh and edit the mycash page to show it. Do you need step by step instructions? I'm assuming you know php. :D Last edited by Tony; 02-02-2011 at 05:58 PM. |
#7
|
||||
|
||||
I've already messed with a few, but I wouldn't mind some small help. :)
__________________
|
#8
|
||||
|
||||
Alright let's hope I don't fail and forget something XD I didn't know what you were using for cash so I just used $cash2 for everything X3 Change as you like
Admin.php should read like this for the cash: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
EDIT: Durr forgot nadopt XD Give me a minute and I'll have that up XD EDIT2: nadopt.php: Find the 'pricestats = $_Post" part and replace with this: PHP Code:
__________________
"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo My Adoptables|Nuzlocke Webcomic Last edited by PTGigi; 02-02-2011 at 06:36 PM. |
#9
|
||||
|
||||
Well that works so far. Now it removes all currencies...
Hm...
__________________
|
#10
|
||||
|
||||
Aw D: I don't recall that happening with me O.o
__________________
"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo My Adoptables|Nuzlocke Webcomic |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Currency Question | ilrak | Questions and Supports | 1 | 03-09-2015 12:47 PM |
Mysidia Currency question. | Phoeniix | Questions and Supports | 6 | 02-02-2015 03:38 PM |
Second Currency and Currency icon | Rovick | Suggestions and Feature Requests | 14 | 11-11-2014 06:29 PM |
AEF Multi | AllMw2 | Other Chat | 5 | 06-02-2010 01:30 PM |
Multi Account | jcga | Questions and Supports | 3 | 11-12-2009 01:39 PM |
What's New? |
What's Hot? |
What's Popular? |