Cube

Add-ons Cube 1.2

Register & Get access to index
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)

1708519597660.png


(Example of Options page)

1708519515409.png


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]
Author
XenForo
Views
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenForo

Latest updates

  1. AndyB Cube 1.2

    Cube v1.2 changes: Updated to latest AnimCubeJS code. Be sure to copy all files as described in...
  2. AndyB Cube 1.1

    Cube v1.1 changes: Added Cube=7 option. Be sure to copy all files as described in the Setup...
Back
Top Bottom