Author |
Message |
Bravo2zero
Regular


Joined: Nov 28, 2005
Posts: 92
Location: UK
|
Posted:
Tue Feb 21, 2006 5:49 am |
|
anyone up for converting another copy of nuke treasury v1.1 to run on same site as my main v1.1?
to be called donation instead of donations please and also in full GBP £
i need to be able to run 2 x modules for the above so i can have membership fees and donations going into 2x diff donation blocks etc.
i know i will need 2x diff paypal accounts.
willing to pay if needed, please let me know how much if so
thanks in advance
B2Z |
_________________ dodging bullets ain't easy but it's a job! |
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Feb 23, 2006 1:00 am |
|
You will not need to run 2 different PayPal accounts. Why not use just one database, clone the files, change the module name, and give it a transaction id of 120 instead of 110? Depending on what all you are trying to do, something like that should work. |
|
|
|
 |
Bravo2zero

|
Posted:
Thu Feb 23, 2006 8:19 am |
|
hi thanks for the reply but surely just renaming the module will still not work? as most of the files refer back to the module name so you would have to rename all files and code refering to the module name,
also as paypal only has one ipn setting, any payments say made from the second transaction will bounce back and update the first block etc,
also the ipn link asks which path it is connecting with.
TIA
B2Z |
|
|
|
 |
Raven

|
Posted:
Thu Feb 23, 2006 9:46 am |
|
You simply change the module name it is referring to. module_name is dynamic so it will refer to the files in the new module_name folder. As I said, you would have to make a few code changes to cause the transaction type to be 120 (example) instead of 110. I see no reason why this would not work. |
|
|
|
 |
Bravo2zero

|
Posted:
Thu Feb 23, 2006 9:50 am |
|
ok thanks, so what about the second block displaying the modified payments for 120? would it divert to the correct blocks depending on the transaction id?
or would it just update one block?
TIA
B2Z |
|
|
|
 |
Raven

|
Posted:
Thu Feb 23, 2006 9:52 am |
|
You would heave to make a duplicate block and pull the 120 transactions. |
|
|
|
 |
Bravo2zero

|
Posted:
Thu Feb 23, 2006 10:02 am |
|
getting a bit like rocket science now lol,
thanks anyway
will have a look and see if i cna manage it.
thanks
B2Z |
|
|
|
 |
Raven

|
Posted:
Thu Feb 23, 2006 10:12 am |
|
When I help people, I like to give them the general instructions, pseudo-code, if you will. An expression I love to use, and I'm sure you've heard it, goes something like this.
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Or, as James T. Kirk (and probably many others) once said "We learn by doing"
Yo can always come back for more detailed instruction. Someone is usually here who can help  |
|
|
|
 |
|