Adds a Custom BB codes called Cube.
This add-on uses the AnimCubeJS code to display an animated Rubik's cube.
(Example post)
(Example of Options page)
Setup:
In the src/Andy/Cube directory, copy the following files to your /misc/cube directory:
AnimCube.txt
cube2.php
cube3.php
cube4.php
cube5.php
cube6.php
In the Options page enter the URL for your /misc/cube directory.
How to use:
Add this BB code to a message:
[CUBE=3]R U R' U R U2 R'[/CUBE]
Questions and answers:
Q: How many different types of cubes can I add?
A: There are five different BB codes you can use. Choose one of the following:
[CUBE=2]R U R' U R U2 R'[/CUBE]
[CUBE=3]R U R' U R U2 R'[/CUBE]
[CUBE=4]R U R' U R U2 R'[/CUBE]
[CUBE=5]R U R' U R U2 R'[/CUBE]
[CUBE=6]R U R' U R U2 R'[/CUBE]
Q: What is the result if I leave out the cube option? For example: [CUBE]R U R' U R U2 R'[/CUBE]
A: It will default to a standard cube.
Q: Can I add parameters?
A: Yes. You can add parameters by using the & and then the parameter.
Example: [CUBE=3]R U R' U R U2 R'&supercube=1[/CUBE]
Q: Where can I get a list of the parameters available?
A: Here's a link to the manual:
This add-on uses the AnimCubeJS code to display an animated Rubik's cube.
(Example post)
(Example of Options page)
Setup:
In the src/Andy/Cube directory, copy the following files to your /misc/cube directory:
AnimCube.txt
cube2.php
cube3.php
cube4.php
cube5.php
cube6.php
In the Options page enter the URL for your /misc/cube directory.
How to use:
Add this BB code to a message:
[CUBE=3]R U R' U R U2 R'[/CUBE]
Questions and answers:
Q: How many different types of cubes can I add?
A: There are five different BB codes you can use. Choose one of the following:
[CUBE=2]R U R' U R U2 R'[/CUBE]
[CUBE=3]R U R' U R U2 R'[/CUBE]
[CUBE=4]R U R' U R U2 R'[/CUBE]
[CUBE=5]R U R' U R U2 R'[/CUBE]
[CUBE=6]R U R' U R U2 R'[/CUBE]
Q: What is the result if I leave out the cube option? For example: [CUBE]R U R' U R U2 R'[/CUBE]
A: It will default to a standard cube.
Q: Can I add parameters?
A: Yes. You can add parameters by using the & and then the parameter.
Example: [CUBE=3]R U R' U R U2 R'&supercube=1[/CUBE]
Q: Where can I get a list of the parameters available?
A: Here's a link to the manual: