MyBB Central

Full Version: MYPS Slots Add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
License is GNU/GPL attached inside extras folder.

Plugin Name: MYPS Slots
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.0
Plugin Mybb Compatibility: 1.2
Plugin File Edits: None
Plugin File Uploads: 2 php, 9 images, 1 wav
Plugin Description: This is a simple slot machine for risking your MYPS points in the hopes of winning more.

Currently you can set how much each spin costs in admincp. The win is decided on a multiplication of the spin cost. The top 2 wins are hard to achieve as I have created an extra random algorithm for them. MYPS plugin is of course required.

Installation

1. Upload the files from the zip

root/slots.php
root/inc/plugins/slots.php
(for the images make sure to upload them to each of your themes images directory)

2. Login to your admincp and ACTIVATE the plugin (Slots) in the plugin manager.

3. You will see the new menu item called "SLots" inside admincp settings.

4. Change the settings to suit your sites needs.

This version has no language support. I may change that in next version.

DEMO: http://www.finalfantasyforum.com/slots.php
DEMO: http://www.talkvideogames.com/slots.php

optional: Inside extras folder is slotback.png for you to make your own spin icons. You can use the images/slots/6.png as well.

troubleshooting: If the header image does not appear you will need to simply add it manually to your navigation system. The link is slots.php and the image link is in toplinks/slots.png.

This is tested in Opera, Firefox, and IE7 (windows versions). If you have any problems please report them to me asap in this thread.

Thank you.
Mine is not showing the slot "labrocca"
http://www.gxcom.org/slots.php

but it show how much it cost and how much a user have. Here is a screenshot.
[attachment=373]
Did you read the install instructions? Did you install the images in your theme image directory? It's getting old that you can't figure out things that are explained to you in detail.

READ THE INSTRUCTIONS
I get the same problem and i uploaded them to both images and images/mytheme
labrocca Wrote:Did you read the install instructions? Did you install the images in your theme image directory? It's getting old that you can't figure out things that are explained to you in detail.

READ THE INSTRUCTIONS
yeah right I am so lame, how stupid of me, when i saw the images i though they were for show only, or just to make the download look cool!

[attachment=374]
Every works fine even without reading the instructions =P The only annoying thing is, when you press "Spin" , the page reloads and you need to scroll again to see the result =P
Yes I noticed that issue once I placed it on a site that was not the default mybb skin. I will have to change it. Probably place it on the side like a pull bar graphic.
DragonLord Wrote:yeah right I am so lame, how stupid of me, when i saw the images i though they were for show only, or just to make the download look cool!

Too bad they aren't INSIDE YOUR THEME GRAPHIC DIRECTORY AS INSTRUCTED.

(for the images make sure to upload them to each of your themes images directory)

I am not sure how much clearer I can be on that one. Change your theme to mybb default and BINGO...your slots will work fine. Change the theme and BAM...no images...guess what..you need to follow the instructions when they are given. Any idiot can look at the source code and see where the images are TRYING to pull from. It would take you 3 seconds to see they that your images are in images/GECmain/.
labrocca Wrote:(for the images make sure to upload them to each of your themes images directory)

Why not only one slot folder with images to work with? Can't we just put a slot folder and other themes share with it?
thanks labrocca really easy to install. and very good plug in and idea.

http://console-crazy.com/slots.php

I was just wondering if there was any way to make the text : "try again." or the others. Flash by more often. I barely have a chance to see them.
Pages: 1 2 3
Reference URL's