Bitcoin Forum
May 21, 2024, 05:35:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 »
  Print  
Author Topic: BitShop - cryptocurrency shopping cart script [PHP/MYSQL] (v1.1.2)  (Read 74729 times)
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
April 27, 2014, 09:53:32 AM
 #221

for the sake of argument though. What would the "patch" be or this problem ?
The patch would be to resize the images using MS Paint or what ever image editing software you usually use. You could just apply height and width styling to shrink the image in real time but I would highly recommend against it.
I had a feeling that'd be the answer lol... guess I'll live with it, not like I go in to the cat section a lot anyway.

To be decided...
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
April 27, 2014, 09:57:47 AM
 #222

If you must have a quick fix then you can open inc/admin/editcats.inc.php and replace this line:

       $cat_img = (empty($category['Image'])) ? 'None' : "<img src='".$category['Image']."' alt='' />";

With this line:

       $cat_img = (empty($category['Image'])) ? 'None' : "<img width='20' height='20' src='".$category['Image']."' alt='' />";   

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
April 27, 2014, 10:02:27 AM
 #223

If you must have a quick fix then you can open inc/admin/editcats.inc.php and replace this line:

       $cat_img = (empty($category['Image'])) ? 'None' : "<img src='".$category['Image']."' alt='' />";

With this line:

       $cat_img = (empty($category['Image'])) ? 'None' : "<img width='20' height='20' src='".$category['Image']."' alt='' />";   
Thx, not lik I plan on using large images from now on, just didn't want to resize existing ones.

To be decided...
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
May 12, 2014, 01:29:48 AM
Last edit: May 12, 2014, 07:54:54 AM by MoreBloodWine
 #224

If an item was deactivated that was featured, it doesn't show as active with the other items but it still comes up as a featured item.

To be decided...
spring.yu
Member
**
Offline Offline

Activity: 115
Merit: 10

Cryptocurrencies is future


View Profile
May 12, 2014, 07:42:02 AM
 #225

Looks good.
Did it launched ?
tao67
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 20, 2014, 09:21:16 PM
 #226

Hello, I just bought this script, and it looks really nice.

I just have a problem about the price in bitcoin. It is using the script goxgrab.

I would like to show just the price of Bitstamp but I don't know how to do it.

Which kind of API do I have to use ? This one is working (http://api.bitcoincharts.com/v1/weighted_prices.json) but I don't want weighted price, just the price of Bitstamp or why not BTC-e.

Anyone can help me ? I read in this thread I may replace 'avg' by 'close' but I don't know where exactly..

May thanks

SteamGamesBTC.com
Hero Member
*****
Offline Offline

Activity: 734
Merit: 507



View Profile WWW
May 20, 2014, 09:23:35 PM
 #227

@tao67
/goxgrab/config.php
$currency_market = 'bitstamp'; // (mtgox, btce, bitstamp, etc)

SteamGamesBTC.com
> Automatic 24/7 bot: purchase any Steam game 20% cheaper with Bitcoin! <
tao67
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 20, 2014, 09:46:09 PM
 #228

Thanks for the answer, I tried but it is not working. No price is displayed..
tao67
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 20, 2014, 09:50:31 PM
 #229

the code in config.php of goxgrab is :
<?php
// include bitshop config
require_once(dirname(__FILE__).'/../inc/config.inc.php');

// market data API URL
$market_api_url = 'http://api.bitcoincharts.com/v1/weighted_prices.json';

// market used for price data
$currency_market = 'bitstamp'; // (mtgox, btce, bitstamp, etc)

// path to your GoxGrab directory
$goxgrab_path = "goxgrab/"; // include end slash, no start slash

// name of the local ticker file
$json_file = 'btc_markets.json';

// application version
$app_version = '0.1.4';
?>
SteamGamesBTC.com
Hero Member
*****
Offline Offline

Activity: 734
Merit: 507



View Profile WWW
May 20, 2014, 09:52:01 PM
 #230

@tao67
Did you read 'install.txt'? You have to "install" goxgrab module, which grabs the market prices from API. And try to change to http://api.bitcoincharts.com/v1/markets.json - it works perfect for me.

SteamGamesBTC.com
> Automatic 24/7 bot: purchase any Steam game 20% cheaper with Bitcoin! <
tao67
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 21, 2014, 09:52:49 AM
 #231

Yes, I read it but I must do something wrong.

I am using an task planner from my webhosting provider (Ovh) because I can't use Cron jobs.

I followed the instructions of the video, but I can't paste the command, just put the location of the script (www/goxgrab/mtgox_update.php) in my case..

Very strange.

I think I will wait the new version, it will be easier because I don't understand why it is not working !

 
 
 
tao67
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 21, 2014, 05:57:11 PM
Last edit: May 21, 2014, 06:50:53 PM by tao67
 #232

I have the price now, but it is not the good one lol...! So frustrating ! It displays 635 USD for bitstamp

@SteamgamesBtc: Do you have an idea ? It seems to work for everyone except me...
tao67
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 22, 2014, 05:50:24 PM
 #233

anyone has an idea?
SteamGamesBTC.com
Hero Member
*****
Offline Offline

Activity: 734
Merit: 507



View Profile WWW
May 22, 2014, 06:07:15 PM
Last edit: May 22, 2014, 06:31:08 PM by SteamGamesBTC.com
 #234

@tao67
Look at prices inside *.json file. It seems the file isn't updated. If that's true, I bet you didn't configured the goxgrab module correctly.

SteamGamesBTC.com
> Automatic 24/7 bot: purchase any Steam game 20% cheaper with Bitcoin! <
tao67
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 22, 2014, 06:22:28 PM
 #235

Thanks for helping me, I am learning a lot while doing my website with this script.

Now it displays 590 USD for Bitstamp.

What I did :

- I used a task planner to automatically update with mtgox_update.php. I received the logs by e-mail so all is ok for the moment.

- In the config. php file, I changed to : http://api.bitcoincharts.com/v1/markets.json as you said

I contacted the author of the script, and he said to update the SCI file, but didn't say how to do it....

I looked into the file json, it is a very long text, I don't really understand what I have to do.

If a price is displayed, I guess i installed it in the right way, I just can't understand why it is 100$ more than the price it should be..

In the thread, bitfreak seems to have the same problem for a moment i quote you : " PS. I've sent you PM days ago to could you update the price on your site, because it's more than $100 less than should be (based @ btc-e rate, as mentioned on your site)."

In the install.txt file, it is written : also make sure to check out the config.php file and make sure everything is adjusted to work properly.

For a beginner like me, it makes no sense lol

I am becoming mad ^^



tao67
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 22, 2014, 07:43:18 PM
 #236

Problem solved, it was my hosting.... Stupid OVh, the task planner is not working. With http://www.cronjobonline.com/, it is working like a charm. Thanks for your help steamgamesbtc.
SteamGamesBTC.com
Hero Member
*****
Offline Offline

Activity: 734
Merit: 507



View Profile WWW
May 22, 2014, 08:59:44 PM
 #237

@tao67
I didn't help you much, however I'm glad to hear you've sorted it out. :-)

SteamGamesBTC.com
> Automatic 24/7 bot: purchase any Steam game 20% cheaper with Bitcoin! <
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
May 23, 2014, 11:01:40 AM
 #238

Good news folks, I have just released BitShop v1.0.0 RC1. It adds support for the coinbase API, adds an alternative 2nd theme, adds support for mBTC and other price formats, comes with an automated install script, has multi-language support, the settings controls have been simplified, the database code has been updated to mysqli, among other things.

RC1 means it's still a release candidate for version 1.0.0 (since it contains many updates since the last version it's going to need a bit of testing before I release the final version of 1.0.0). The coinbase functionality is also going to need some testing as it wasn't created by me and I haven't really tested much of it, but it seems to work from what I can tell.

Existing clients can download the latest release from the client file area. Please report any problems with v1.0.0 in this thread. The price of the script has gone up now that we're at v1.0.0, just like I warned it would. I have also created a new installation tutorial which shows how to install v1.0.0 (video link also available in the client file area).

@tao67: sorry I wasn't around to help with your problem, I was focused on releasing v1.0.0 and another important project that I'm working on so I didn't notice you were posting in this thread. I will try to keep a better eye on this thread in the future.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
r4vani
Sr. Member
****
Offline Offline

Activity: 348
Merit: 250


Play Poker Games at Bitoker.com


View Profile WWW
May 23, 2014, 03:57:54 PM
 #239

hi
this news is very god Cheesy so want this please answer my Message (now i send to you msg )

tnx

BITOKER.COM[
                            
Enjoy the ultimate online play bitcoin poker
Anonymous  /  US Player Friendly  /  Instant Play
[
          
]
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
May 25, 2014, 12:11:58 PM
Last edit: May 25, 2014, 01:41:53 PM by bitfreak!
 #240

Sorry folks, I had changed the script to generate testnet addresses and forgot to change it back. I just uploaded the correct version but you can also replace line 27 of the lib/bitcoin.lib.php file with the following line to fix the problem:

  public static $address_version = "00";

EDIT: also if you tried to purchase BitShop and couldn't try again now.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
Pages: « 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!