|
|
|
|
|
"There should not be any signed int. If you've found a signed int
somewhere, please tell me (within the next 25 years please) and I'll
change it to unsigned int." -- Satoshi
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
caston
|
|
May 08, 2011, 09:55:40 AM |
|
I have installed this to test it out. How do I access the admin section? What I want to do is modify the available currencies.
|
bitcoin BTC: 1MikVUu1DauWB33T5diyforbQjTWJ9D4RF bitcoin cash: 1JdkCGuW4LSgqYiM6QS7zTzAttD9MNAsiK
-updated 3rd December 2017
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1072
|
|
May 08, 2011, 01:00:29 PM |
|
I have installed this to test it out. How do I access the admin section? What I want to do is modify the available currencies.
As you can see, 3 of us have been working on this software round the clock. https://gitorious.org/intersangoATM we're working on a new branch that's nearly complete (see exper). All features have been added accept for dark pools which should be completed today or tomorrow. Then next week we'll be testing, merging to master and re-testing again. If you go to #bitcoinconsultancy on IRC , that's a good place to ask questions since the other devs are there too. You can PM metonymous, http://bitcointalk.org/index.php?action=profile;u=10462I know he's been setting up his own AU exchange using our current master (stable) branch.
|
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1072
|
|
May 08, 2011, 01:02:32 PM |
|
So to modify the currencies in master is contrived and involves editing the source.
In exper it involves adding the correct row under the table:
mysql> select * from baskets; +-----+------+---------------+------+ | cid | code | fullname | sibl | +-----+------+---------------+------+ | 9 | BTC | Bitcoin | GBP | | 10 | GBP | British Pound | BTC | +-----+------+---------------+------+ 2 rows in set (0.02 sec)
And add the appropriate flag image under www/images/flags/
|
|
|
|
caston
|
|
May 08, 2011, 07:28:42 PM |
|
Thank you I will try this in the next couple of days. I am impressed by what I see so far. Good work.
|
bitcoin BTC: 1MikVUu1DauWB33T5diyforbQjTWJ9D4RF bitcoin cash: 1JdkCGuW4LSgqYiM6QS7zTzAttD9MNAsiK
-updated 3rd December 2017
|
|
|
caston
|
|
May 10, 2011, 08:39:56 AM |
|
Hi genjix,
I downloaded exper and dumped all the tables in my current database intersango and imported the DATABASE from exper. I then changed the sym link to point my /var/www to intersango-bitcomex and put the mysql username and pw in config.php.
I also modified the error log path $logdir in errors.php
I now get the following error on the start page:
Notice: Undefined index: in /home/joe/intersango-bitcomex/view_util.php on line 43 Notice: Undefined index: in /home/joe/intersango-bitcomex/view_util.php on line 44
It looks to me like line 44 is: $sibl_name = $currencies[$sibl_curr];
Thanks,
Chris
|
bitcoin BTC: 1MikVUu1DauWB33T5diyforbQjTWJ9D4RF bitcoin cash: 1JdkCGuW4LSgqYiM6QS7zTzAttD9MNAsiK
-updated 3rd December 2017
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1072
|
|
May 10, 2011, 08:47:25 AM |
|
Yep you have to add the currencies you want as I mentioned above to the table 'baskets'.
|
|
|
|
caston
|
|
May 10, 2011, 09:51:03 AM Last edit: May 10, 2011, 10:03:18 AM by caston |
|
Ok I tried INSERT INTO `intersango`.`baskets` (`cid`, `code`, `fullname`, `sibl`) VALUES ('9', 'NC', 'Namecoin', 'N');
Now the only error I get is:
Notice: Undefined index: N in /home/joe/intersango-bitcomex/view_util.php on line 44
I've removed the sibl N part and I've added testcoin as well but I still get the error:
Notice: Undefined index: in /home/joe/intersango-bitcomex/view_util.php on line 44
It also doesn't seem to let me actually select the currency I want. The combo box shows testcoin and namecoin but they bot go back to bitcoin once I release. Also the box below "currency I want" shows a big NA when I just try changing "currency I have".
|
bitcoin BTC: 1MikVUu1DauWB33T5diyforbQjTWJ9D4RF bitcoin cash: 1JdkCGuW4LSgqYiM6QS7zTzAttD9MNAsiK
-updated 3rd December 2017
|
|
|
genjix (OP)
Legendary
Offline
Activity: 1232
Merit: 1072
|
|
May 10, 2011, 10:04:12 AM |
|
Do:
use intersango; delete from baskets; INSERT INTO baskets (code, fullname, sibl) VALUES ('NC', 'Namecoin', 'N'); INSERT INTO baskets (code, fullname, sibl) VALUES ('N', 'Magical N, 'NC');
Put the required images under www/images/flags (N_flag.png NC_flag.png)
|
|
|
|
ShadowOfHarbringer
Legendary
Offline
Activity: 1470
Merit: 1005
Bringing Legendary Har® to you since 1952
|
|
May 10, 2011, 11:27:42 AM |
|
I noticed a small thing about your code immediately. Official PHP coding guidelines say to remove all ending tags ?> from php files. This fixes a number of possible errors with output buffering/compression caused by white spaces. Otherwise, great code.
|
|
|
|
|