• Welcome to XF2 Addons

    You can purchase a Premium membership for only $35 per year, and this gives you access to download any or ALL of the over 400 add-ons developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.
Cube

Cube 1.0

No permission to download
Note
Compatible XF 2.x versions: 2.0, 2.1, 2.2
Description:

Adds a Custom BB codes called Cube.

This add-on uses the AnimCubeJS code to display an animated Rubik's cube.

(Example post)

pic001.jpg


(Example of Options page)

pic002.jpg


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:

https://cubing.github.io/AnimCubeJS/animcubejs.html
Author
Andy
Downloads
5
Views
343
First release
Last update
Rating
0.00 star(s) 0 ratings
Top