- Compatible XF Versions
- 2.0 , 2.1 , 2.2 , 2.3
- Visible Branding
- No
Description:
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
cube7.php
In the Options page enter the URL for your /misc/cube directory.
How to use:
Add this BB code to a message:
Questions and answers:
Q: How many different types of cubes can I add?
A: There are six different BB codes you can use. Choose one of the following:
Q: What is the result if I leave out the cube option? For example:
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:
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
cube7.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]move=R U R' U R U2 R'[/CUBE]
Questions and answers:
Q: How many different types of cubes can I add?
A: There are six different BB codes you can use. Choose one of the following:
[CUBE=2]move=R U R' U R U2 R'[/CUBE]
[CUBE=3]move=R U R' U R U2 R'[/CUBE]
[CUBE=4]move=R U R' U R U2 R'[/CUBE]
[CUBE=5]move=R U R' U R U2 R'[/CUBE]
[CUBE=6]move=R U R' U R U2 R'[/CUBE]
[CUBE=7]move=R U R' U R U2 R'[/CUBE]
Q: What is the result if I leave out the cube option? For example:
[CUBE]move=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]move=R U R' U R U2 R'&supercube=1[/CUBE]