ikydesu
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2015, 01:01:06 PM |
|
Nice project!
I created my own dice site at doodledice. tk, could somebody test it?
Sorry cant write the link in one it always says "suspicious link Removed"
IU would have love to see our the script look like but your website http://doodledice dot tk is not loading. I can open the site, but when i try to login with MoneyPot, the site blocked the action. ~ikiWhat exactly happens if you try to login? Does it just do nothing? Nothing, my browser blocked the action when i click "login with MoneyPot" button. I'm used Firefox. ~iki
|
|
|
|
Toflo
Newbie
Offline
Activity: 5
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 30, 2015, 03:52:51 PM Last edit: June 30, 2015, 04:28:29 PM by Toflo |
|
Nice project!
I created my own dice site at doodledice. tk, could somebody test it?
Sorry cant write the link in one it always says "suspicious link Removed"
IU would have love to see our the script look like but your website http://doodledice dot tk is not loading. I can open the site, but when i try to login with MoneyPot, the site blocked the action. ~ikiWhat exactly happens if you try to login? Does it just do nothing? Nothing, my browser blocked the action when i click "login with MoneyPot" button. I'm used Firefox. ~ikijust tried to login with firefox, its working for me neither, the problem is the forwarding of dot tk i switched the forwarding method, now it seems to work as its ment to!
|
|
|
|
coinableS
Legendary
Offline
Activity: 1442
Merit: 1186
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 06:40:14 PM |
|
This is really great work by Dan and the moneypot team. I'm going to give this a whirl and see if I get a clone working myself, sounds pretty straight forward.
|
|
|
|
hamburger
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 04, 2015, 10:07:39 PM |
|
Could one set up a dice site on a server with cpanel hosting? If so, is there any instructions somewhere to do so.
Thank you,
H
|
Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
|
|
|
Emerge
Legendary
Offline
Activity: 854
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 02:52:59 AM |
|
Could one set up a dice site on a server with cpanel hosting? If so, is there any instructions somewhere to do so.
Thank you,
H
I didn't even need cPanel for MiniDice lol. It's just React-JS and HTML
|
|
|
|
coinableS
Legendary
Offline
Activity: 1442
Merit: 1186
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 03:49:28 AM |
|
Do I have to have SSL in order for this to work? I tried forking it to my site and the layout popped up for a second and then firefox said "this site is not trusted blah blah blah" since I don't have SSL. I added an exception and then I get a 404 error :/ My uri redirect I put it regular HTTP instead of HTTPS but it auto-redirects to HTTPS.
|
|
|
|
Emerge
Legendary
Offline
Activity: 854
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 11:45:32 AM |
|
Do I have to have SSL in order for this to work? I tried forking it to my site and the layout popped up for a second and then firefox said "this site is not trusted blah blah blah" since I don't have SSL. I added an exception and then I get a 404 error :/ My uri redirect I put it regular HTTP instead of HTTPS but it auto-redirects to HTTPS.
fix the app.js entry for that lol
|
|
|
|
gkv9
Legendary
Offline
Activity: 1246
Merit: 1000
!!! RiSe aBovE ThE StoRm !!!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 12:31:57 PM |
|
@OP, thanks a lot for this, thanks for letting people like us to be able to manage their own dice sites, if I need your help setting this up even after all the instructions here, will you guide me through???
|
|
|
|
coinableS
Legendary
Offline
Activity: 1442
Merit: 1186
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 03:31:53 PM |
|
Do I have to have SSL in order for this to work? I tried forking it to my site and the layout popped up for a second and then firefox said "this site is not trusted blah blah blah" since I don't have SSL. I added an exception and then I get a 404 error :/ My uri redirect I put it regular HTTP instead of HTTPS but it auto-redirects to HTTPS.
fix the app.js entry for that lol I did change the redirect uri in the app.js but it still forces it over to https after loading causing a 404 error.
|
|
|
|
hamburger
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 05:32:30 PM |
|
Do I have to have SSL in order for this to work? I tried forking it to my site and the layout popped up for a second and then firefox said "this site is not trusted blah blah blah" since I don't have SSL. I added an exception and then I get a 404 error :/ My uri redirect I put it regular HTTP instead of HTTPS but it auto-redirects to HTTPS.
fix the app.js entry for that lol I did change the redirect uri in the app.js but it still forces it over to https after loading causing a 404 error. I take it that you have set redirect uri to => redirect_uri: ' http://www.your-domain.................', Find these lines in app.js // - Set this to true if you want users that come to http:// to be redirected // to https:// force_https_redirect: !isRunningLocally() Change it to // - Set this to true if you want users that come to http:// to be redirected // to https:// //force_https_redirect: !isRunningLocally()
|
Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
|
|
|
coinableS
Legendary
Offline
Activity: 1442
Merit: 1186
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 05:58:57 PM |
|
Do I have to have SSL in order for this to work? I tried forking it to my site and the layout popped up for a second and then firefox said "this site is not trusted blah blah blah" since I don't have SSL. I added an exception and then I get a 404 error :/ My uri redirect I put it regular HTTP instead of HTTPS but it auto-redirects to HTTPS.
fix the app.js entry for that lol I did change the redirect uri in the app.js but it still forces it over to https after loading causing a 404 error. I take it that you have set redirect uri to => redirect_uri: ' http://www.your-domain.................', Find these lines in app.js // - Set this to true if you want users that come to http:// to be redirected // to https:// force_https_redirect: !isRunningLocally() Change it to // - Set this to true if you want users that come to http:// to be redirected // to https:// //force_https_redirect: !isRunningLocally() Thanks Hamburger that was it! Mega facepalm! How did I not see that? The dev even commented it out! Sometimes the things hardest to find are right in front of my face. LOL All is working well now that I commented out the force_https_redirect thanks!
|
|
|
|
pescu23
Newbie
Offline
Activity: 19
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 05, 2015, 08:33:41 PM Last edit: July 05, 2015, 09:04:01 PM by pescu23 |
|
Hi! I've installed in https://meherdice.com and it looks great! Where do I configure the Hedge and so?? and why do the App appears like unverified?? Thanks!
|
|
|
|
Nyau
Newbie
Offline
Activity: 28
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 06, 2015, 07:28:57 PM |
|
I'm trying to get up my first website with this script, but I don't have SSL and it always redirects to https://.. I found this // - Set this to true if you want users that come to http:// to be redirected // to https:// But what do I have to set to true? There's nothing like this..
|
|
|
|
owlcatz
Legendary
Offline
Activity: 3752
Merit: 1973
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 06, 2015, 07:30:44 PM |
|
I'm trying to get up my first website with this script, but I don't have SSL and it always redirects to https://.. I found this // - Set this to true if you want users that come to http:// to be redirected // to https:// But what do I have to set to true? There's nothing like this.. Those are comments in the code. There should be some code right underneath, like (This is just a guess) $HTTPS == "true"
(Or something along those lines). Good luck! ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Sorry, I didn't realize the source was on the OP. This is javascript, so it's different: Here is the default code, which is causing your redirects to https:// force_https_redirect: !isRunningLocally()
Since I'm not a Javascript person, I can only guess that removing the ! in front of that function call above will reverse the effect of what is there now - Here is the function it calls if it helps - // :: Bool function isRunningLocally() { return /^localhost/.test(window.location.host); }
Edit - Or, you could try just replacing !isRunningLocally() with either : true or "true" and see if that fixes it. Good luck! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
. I C Λ R U S | | | | █████▄▄█████▄▄ ████████▀▀▀████ ██████▀█████▀███ ████████████████ ████████████████ ████████████████ ░▄█████████████████ ███████████████████ ███████████████████ ████████░░░▀▀▀▀▀▀▀▀ ████████▄▄▄████████ ███████████████████ █████████████████▀ | ░░░███ ▄▄▄███ ██████ ░░░███ ░░░███ ░░░███ ░░░███ ░░░███ ░░░███ ░░░███ ▄████████ ███▌░▐███ ████████▀ | | | | | █████████████████████ █████████████████████ █████████████████████ ██████▀▀▀▀████▀▀█████ █████░░▄▄░░██░░░█████ █████▄▄██░░███░░█████ █████▀▀▀▀░░▀██░░█████ ████░░░░▄▄▄▄█▀░░▀████ ████░░░░░░░░█░▀▀░████ █████████████████████ █████████████████████ █████████████████████ █████████████████████ | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | | | ████ ██
██ ████ | | ████ ██
██ ████ |
[/ce
|
|
|
Nyau
Newbie
Offline
Activity: 28
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 06, 2015, 08:05:59 PM |
|
I'm trying to get up my first website with this script, but I don't have SSL and it always redirects to https://.. I found this // - Set this to true if you want users that come to http:// to be redirected // to https:// But what do I have to set to true? There's nothing like this.. Those are comments in the code. There should be some code right underneath, like (This is just a guess) $HTTPS == "true"
(Or something along those lines). Good luck! ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Sorry, I didn't realize the source was on the OP. This is javascript, so it's different: Here is the default code, which is causing your redirects to https:// force_https_redirect: !isRunningLocally()
Since I'm not a Javascript person, I can only guess that removing the ! in front of that function call above will reverse the effect of what is there now - Here is the function it calls if it helps - // :: Bool function isRunningLocally() { return /^localhost/.test(window.location.host); }
Edit - Or, you could try just replacing !isRunningLocally() with either : true or "true" and see if that fixes it. Good luck! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I know it's just comments in the code.. I'm noob, but not that big ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) BTW: I removed the ! and it's working! Thanks! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
pescu23
Newbie
Offline
Activity: 19
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 06, 2015, 08:20:30 PM |
|
I miss the TARGET to roll over or under...
Anyone can help me a bit to add this to the script?
|
|
|
|
owlcatz
Legendary
Offline
Activity: 3752
Merit: 1973
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 06, 2015, 09:28:14 PM |
|
I know it's just comments in the code.. I'm noob, but not that big ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) BTW: I removed the ! and it's working! Thanks! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) No problem, and btw, I didn't mean to imply you were a noob, I just thought it was odd that you only included the comments and not the code. Glad you got it working. Always hated Javascript myself, it can really be messy sometimes! ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
. I C Λ R U S | | | | █████▄▄█████▄▄ ████████▀▀▀████ ██████▀█████▀███ ████████████████ ████████████████ ████████████████ ░▄█████████████████ ███████████████████ ███████████████████ ████████░░░▀▀▀▀▀▀▀▀ ████████▄▄▄████████ ███████████████████ █████████████████▀ | ░░░███ ▄▄▄███ ██████ ░░░███ ░░░███ ░░░███ ░░░███ ░░░███ ░░░███ ░░░███ ▄████████ ███▌░▐███ ████████▀ | | | | | █████████████████████ █████████████████████ █████████████████████ ██████▀▀▀▀████▀▀█████ █████░░▄▄░░██░░░█████ █████▄▄██░░███░░█████ █████▀▀▀▀░░▀██░░█████ ████░░░░▄▄▄▄█▀░░▀████ ████░░░░░░░░█░▀▀░████ █████████████████████ █████████████████████ █████████████████████ █████████████████████ | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ | | | | ████ ██
██ ████ | | ████ ██
██ ████ |
[/ce
|
|
|
pescu23
Newbie
Offline
Activity: 19
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 07, 2015, 08:22:58 AM |
|
Hi!!
I have a couple doubts, please it would be great if someone could HELP me!!!
- Where do I configure the Hedge and so??
- And why do the Domain appears like unverified??
- How can I add the TARGET (Under 50.5 or Over whatever) to the script?? (This is a important missing thing!)
Thanks in advance!!
|
|
|
|
pescu23
Newbie
Offline
Activity: 19
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 07, 2015, 05:07:25 PM |
|
No one can help me here?? ![Huh](https://bitcointalk.org/Smileys/default/huh.gif)
|
|
|
|
hamburger
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 07, 2015, 06:11:30 PM |
|
No one can help me here?? ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) If you want to change the "Chance:", find in the app.js the following line of code multiplier: { str: '2.00', num: 2.00, error: undefined }, Set multiplier anything between 1 and 10 - just note the profit drop if the Chance increase an it will increase if the Chance decrease.
|
Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
|
|
|
|