![]() |
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? |
Are you using a previously installed addon made by someone for the shopping system? I would need the code.
|
Quote:
|
Okay, I'll download 1.1.4 and take a look.
|
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. |
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 |
Quote:
|
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 :meow:
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:
|
Well that works so far. Now it removes all currencies...
Hm... |
Aw D: I don't recall that happening with me O.o
|
All times are GMT -5. The time now is 06:39 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.