[Andy] Cube

[Andy] Cube 1.3

Homicide

Administrator

Staff member
Reputation: 50%
Joined
Oct 27, 2025
Messages
352
Description:

Adds a Custom BB codes called Cube.

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

(Example post)

Cube-1.webp


(Example of Options page)

Cube-2.webp


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]

Q: Where can I get a list of the parameters available?
A: Here's a link to the manual:

cubing.github.io
 

Attachments

Similar threads

Description: Sends email to staff about classified thread being created from suspicious IP address. This add-on is designed for very active forums where thieves log in as a user by means of...
Replies
0
Views
146
Homicide
Description: Creates an account upgrade receipt. (Example of Account upgrade receipt link) (Example of Account upgrade receipt page) (Example of Account upgrade receipt) (Example of Options page)...
Replies
0
Views
24
Homicide
Description: Automatically sends birthday emails to your members. (Example of Birthday email) (Example of Options page) (Example of Account preferences page) Features: Automatically sends birthday...
Replies
0
Views
150
Homicide
Description: A fully integrated Calendar system based on thread information. This add-on will create a fully integrated Calendar system based on thread information. Each calendar entry links back...
Replies
0
Views
61
Homicide
Description: Updates quoted username in posts. This add-on is used after a user has been renamed. The add-on will update quotes in posts to change the old username to the new username. (Example of...
Replies
0
Views
126
Homicide
Back
Top Bottom