inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Nov 9, 2013 18:45:03 GMT -8
In the new version: Whether it's on hide, disable, or leave alone, 2 dialog boxes come up with numbers (1 with 557719 and the other with 3600000). It happens throughout the whole forum in Internet Explorer and Firefox.
|
|
inherit
193550
0
Jun 20, 2015 11:53:38 GMT -8
shazaam2005
353
April 2013
shazaam2005
|
Post by shazaam2005 on Nov 9, 2013 19:16:59 GMT -8
You only need to add any of the code to your headers if you do not want the slot machine on the home page, or if you want it displayed on other pages. Do NOT add this code to the Global Header, as it will remove the slot machine on all pages, regardless of where it is active. <style type="text/css"> #slot_machine { display: none; } </style> This is what I added to my global header: <center> <div id="slot_machine" style="width: 110px; height: 150px; background-repeat: no-repeat;"> <img id="pullit" src="#" border="0"> <img id="slot0" src="#" border="0"> <img id="slot1" src="#" border="0"> <img id="slot2" src="#" border="0"> </div> </center> <script type="text/javascript"> <!-- document.getElementById('pullit').src = proboards.plugin._plugins["one_arm_bandit"].images.onearmbandit2; document.getElementById('pullit').parentNode.style.backgroundImage = 'url('+proboards.plugin._plugins["one_arm_bandit"].images.onearmbandit1+')'; // --> </script> and this is what I got:
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 10, 2013 2:11:46 GMT -8
In the new version: Whether it's on hide, disable, or leave alone, 2 dialog boxes come up with numbers (1 with 557719 and the other with 3600000). It happens throughout the whole forum in Internet Explorer and Firefox. Ooops.. I put them in for testing purposes and fogot to remove them. Try the downloading it again.. Sorry.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 10, 2013 2:12:59 GMT -8
shazaam2005, do you have the plugin installed and activated? It seems the header code is not finding the images, which are saved in the plugin.
|
|
inherit
193550
0
Jun 20, 2015 11:53:38 GMT -8
shazaam2005
353
April 2013
shazaam2005
|
Post by shazaam2005 on Nov 10, 2013 5:22:44 GMT -8
shazaam2005, do you have the plugin installed and activated? It seems the header code is not finding the images, which are saved in the plugin. Todge, I got it working... and I am EXTREMELY impressed with how great of a job you did! Awesome! A few questions... 1) Most of the time, it shows as twice, with only the top machine playable (see pic) 2) On my forum, the pictures are rather small... is it possible to have an option to show only (part) of the machine, as far as just the reels, and maybe a SPIN button? (so the reels are larger to see, without the pic of the whole machine)? 3) Will their be a SOUND option? 4) Can you program an option for winning on different things (besides) the 7s? (example, 3 lemons = a small win, or something) 5) As i'm understanbing the placement of this, it can be on either the main header (home page), or global header (all pages with option of not being on the home page), so i'm sure of how to put this on just ONE page besides the home page. 6) An option to show a countdown (timer) when the slot machine is (not hidden), to show how soon until you can spin again? 7) AN option to put a uploadable logo in the center of the pic of the whole machine? I'm really impressed with how well you have done this!, please get back to me, as I'm your #1 fan! Thanks, John
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 10, 2013 5:41:38 GMT -8
shazaam2005, do you have the plugin installed and activated? It seems the header code is not finding the images, which are saved in the plugin. Todge, I got it working... and I am EXTREMELY impressed with how great of a job you did! Awesome! A few questions... 1) Most of the time, it shows as twice, with only the top machine playable (see pic) 2) On my forum, the pictures are rather small... is it possible to have an option to show only (part) of the machine, as far as just the reels, and maybe a SPIN button? (so the reels are larger to see, without the pic of the whole machine)? 3) Will their be a SOUND option? 4) Can you program an option for winning on different things (besides) the 7s? (example, 3 lemons = a small win, or something) 5) As i'm understanbing the placement of this, it can be on either the main header (home page), or global header (all pages with option of not being on the home page), so i'm sure of how to put this on just ONE page besides the home page. 6) An option to show a countdown (timer) when the slot machine is (not hidden), to show how soon until you can spin again? 7) AN option to put a uploadable logo in the center of the pic of the whole machine? I'm really impressed with how well you have done this!, please get back to me, as I'm your #1 fan! Thanks, John Glad you got it working.. Now for some answers... 1. It shows twice because you do not have the Main Header code in place and you have the other part in your Global Header. If you do not want the slot machine on your Home Page, you put this in your MAIN Header.. <style type="text/css"> #slot_machine { display: none; } </style> You then put this in every other page you want the slot's machine to show.. <center> <div id="slot_machine" style="width: 110px; height: 150px; background-repeat: no-repeat;"> <img id="pullit" src="#" border="0"> <img id="slot0" src="#" border="0"> <img id="slot1" src="#" border="0"> <img id="slot2" src="#" border="0"> </div> </center> <script type="text/javascript"> <!-- document.getElementById('pullit').src = proboards.plugin._plugins["one_arm_bandit"].images.onearmbandit2; document.getElementById('pullit').parentNode.style.backgroundImage = 'url('+proboards.plugin._plugins["one_arm_bandit"].images.onearmbandit1+')'; // --> </script> Putting that code in your Global Header will show it forum wide, and twice on your Home Page without the header code in place... If you want the slots machine displayed on your entire forum INCLUDING the Home page, do NOT put the Home Page code in place, and put the bigger code on each and every board Header. 2. Possible, but difficult as it would mean re-aligning the new images differently from the default ones. The code cannot do that automatically. It may be possible to create your own set of images and place them in a Board Header with the relative styling and correct ID names, the code should pick it up as normal, but the reel images would be tricky. 3. No. Sorry. 4. It's possible for the code to pick up other wins, but it would be up to you to award them your members differently. There's also the small problem of reporting what exactly you members got to win. 5. See number 1.6. I toyed with the idea of having the pop-up telling you you are out of goes displaying the time left to wait, but decided against it as it would only be shown if the function of the slot machine was left alone.. In other words, it would be pointless if you chose 'Disable' or 'Hidden' in the options. 7. That could be added to the header code with styling to position it. No plugin update required.
|
|
inherit
193550
0
Jun 20, 2015 11:53:38 GMT -8
shazaam2005
353
April 2013
shazaam2005
|
Post by shazaam2005 on Nov 10, 2013 7:28:57 GMT -8
Thanks Todge, I will play around with it today, I really really appreciate all your hard work!
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Nov 10, 2013 7:48:31 GMT -8
Thanks, it works fine for me now.
|
|
inherit
193550
0
Jun 20, 2015 11:53:38 GMT -8
shazaam2005
353
April 2013
shazaam2005
|
Post by shazaam2005 on Nov 10, 2013 7:50:14 GMT -8
Todge, Ok, heres my next question (sorry i'm trying)... I can fix the double image issue... However, I see the GLOBAL header, and the MAIN header, which means it would either be on every page, or every page except the main page with the extra script. I don't understand what you mean about where to just put it on ONE page.. Also, I tried just making a custom page (menu option), and adding it to the html widget box for the custom page, and it didn't work. So, any help on these final tweeks is much appreciated... John
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 10, 2013 9:57:45 GMT -8
Todge, Ok, heres my next question (sorry i'm trying)... I can fix the double image issue... However, I see the GLOBAL header, and the MAIN header, which means it would either be on every page, or every page except the main page with the extra script. I don't understand what you mean about where to just put it on ONE page.. Also, I tried just making a custom page (menu option), and adding it to the html widget box for the custom page, and it didn't work. So, any help on these final tweeks is much appreciated... John Where, exactly, are you wanting the code to be displayed? Globally or only on one or more board(s)? I've never played with the custom pages, but it seems plugins may not work on them, that's the only explanation I can think of.
|
|
inherit
193550
0
Jun 20, 2015 11:53:38 GMT -8
shazaam2005
353
April 2013
shazaam2005
|
Post by shazaam2005 on Nov 10, 2013 10:18:57 GMT -8
Todge, Ok, heres my next question (sorry i'm trying)... I can fix the double image issue... However, I see the GLOBAL header, and the MAIN header, which means it would either be on every page, or every page except the main page with the extra script. I don't understand what you mean about where to just put it on ONE page.. Also, I tried just making a custom page (menu option), and adding it to the html widget box for the custom page, and it didn't work. So, any help on these final tweeks is much appreciated... John Where, exactly, are you wanting the code to be displayed? Globally or only on one or more board(s)? I've never played with the custom pages, but it seems plugins may not work on them, that's the only explanation I can think of. I'll start with only the home page.. and no other pages for now...
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 10, 2013 13:01:19 GMT -8
Where, exactly, are you wanting the code to be displayed? Globally or only on one or more board(s)? I've never played with the custom pages, but it seems plugins may not work on them, that's the only explanation I can think of. I'll start with only the home page.. and no other pages for now... Then leave the plugin as is and remove both the header codes I posted. By default, it WILL only display on the Home Page.
|
|
inherit
193550
0
Jun 20, 2015 11:53:38 GMT -8
shazaam2005
353
April 2013
shazaam2005
|
Post by shazaam2005 on Nov 10, 2013 14:09:38 GMT -8
Ok, thanks Todge, all is good now... loving it, and thanks again!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 10, 2013 15:44:10 GMT -8
No worries..
|
|
inherit
193550
0
Jun 20, 2015 11:53:38 GMT -8
shazaam2005
353
April 2013
shazaam2005
|
Post by shazaam2005 on Nov 11, 2013 0:12:31 GMT -8
Todge, Idea: During spin #1, show a dialoge box that shows, "This is your 1st spin, out of X max spins in X hours"
|
|