Step Three --- Installing modules

Overview

A game console without game software is not really that fun. XOOPS Cube Legacy without modules is not particularly useful. Modules are additional features that can be easily installed to further enhance your website. Examples of modules: blog, calendar, contact center, document, downloads, event guide, forum, gallery, shop, social network, wik, etc.

Step Three (1) --- How to install modules

In short, you need to download some modules and a FTP client to upload them to your site. There are lot of modules around for XOOPS-based systems. XOOPS Cube Legacy 2.2 runs the following modules.

XOOPS Cube Legacy can emulate XOOPS2 JP. This ensures that most XOOPS2 JP modules and XOOPS 2.0.9 modules will work on XOOPS Cube Legacy.

Get new modules

You can download modules from xoopscube.org - a wiki page about modules compatibility is regularly updated. But you can also start programming your own modules , for further documentation visit Wiki page with good sources for modules, as well as for themes. Both themes and modules are usuallly distributed as compressed archives and you will need software to unzip, unpack the files you download. Modules should include a file "xoops_version.php".

Upload modules to your site

Now you have to upload the module you download to your site directory "/modules" of your XOOPS Cube Legacy installation. Keep in mind the following directory tree.

Warning again! It is very common to upload an extra directory as the following diagram shows. Remember that the directory you want to upload should include xoops_version.php (or manifesto.ini.php).

Step Three (2) --- Install forum module

Your site plan consists of two modules, news and a forum. First, let's install the forum module. There are a lot of forum modules vB-like, guestbook-like and many others. You should choose your module according to your needs. For this example, we will install the "newbb" module. It's an older and not so good module perhaps but it's easy to install and explain. Newbb used to be the standard forum module of XOOPS2. Now there are better ones available, alike d3forum.

Upload newbb

Download the archive and unzip it. Then upload the directory you unzipped, as explained above.

Install module

Click "Module Installation" from the side-menu of Legacy System module.

You will see the list of uninstalled modules. Whenever you upload a module directory, its icon will appear in this list.

Find the row with the forum module (newbb) and click the install-icon on that row.

You will now see a confirmation screen. Confirm that the module you want to install is newbb, then click "submit". Your screen will display a list of events related to tables created in your system database. Once installed, you will see a new side-menu for this module.

newbb settings

Go to your homepage to confirm that newbb is now installed. You should see the link in the Main Menu. The module has indeed been installed and now all you have to do is change the settings. Most modules need additonal settings before they can be used effectively. Most modules are also released with Help files and that's the best place to start.

Back to the Control Panel (Administration) expand the Forum side-menu by clicking the [+] icon. Now click Add Category.

Create forum categories according to your community topics of interest.

Next, create forums in these categories. Click Add Forum from the side-menu.

A main category can have multiple forums, and forums much more topics of interest.

Newbb is now ready and your community can start new discussions.
Go to your homepage and try to create a new discussion thread and post a message!

Step Three (3) --- Install a news module

The site plan has a news module where the administrator publish relevant information to the community.

There areof course a lot of different news modules as well as forum modules. For this example, and for the same reasons we chose newbb, we have chosen to use the news module. "News" was the original module of XOOPS2 to publish articles. It is now old and perhaps not so good anymore, but it's easy to install and explain.

News settings

Find a copy of the "News" module. Download and decompress, then upload to your XOOPS Cube Legacy installation. install the module the same way you installed "NewBB" above. Now you need to look at the settings of "News" as you did for newbb. Let's have a look.

From the Administration control panel you can expand the side-menu of "News" module. Click Topic Manager.

Add as many topics as you need, for this example create a new topic "Site News".

You can rename or delete the default topic "xoops" created by default during module installation. From Topic Manager, choose "XOOPS" then click .

Then, click .

Step Three (4) --- How to control the display order of modules

Go to the homepage now and check the position in the main menu of the two modules you installed. You should find that the forum module is above the news module, in the main menu block.

From Module Management it is possible to control the display order of the modules in much the same way as you controlled the order of blocks. All you have to do is enter a value for the order of each module. Control panel, click to expand the Legacy System side-menu and then click on Module Management.

You will see the list of installed modules.

Set the order value of module Forum to 10 and the module News to 5.

Then click . The confirmation screen is displayed. Confirm and click again.

TIPS: How to rename modules

The modules names displayed on the main menu don't always match our needs. You can rename them easily from Module Management. Simply type a new name under the module icon.

dirname

Modules have two names, "title" and "dirname". You are free to change the "title" as this is what will be displayed on the user side. It was the "title" that you changed just now.
"dirname" is the term that the system uses and refers to "directory name".
It is impossible to rename the "dirname" of most Xoops2 modules. But the recent D3 Modules allow you to duplicate and rename "dirname" asIwell.

Step Three (5) --- Let's finish the top page
Add new blocks for the forum and news

Lastly, let's add new blocks to the top page so our visitors can see the latest posts. Once again, from the Legacy System side-menu, click on Block Installation. You will see some new blocks which were added when we installed the newbb and news modules. Most modules have one or more blocks that can be used to display a specific content related to the module. Now, let's install the "Recent Topics" block of the newbb module.

And then let's install the "Recent News" block of the news module.

Set the blocks up as follows:

Control the order of the blocks in the center column

Go to Block Management. Set the order value of the custom block "Welcome !" to 5.
Fill the order value of "Recent News" block with 10, and "Recent Topics" block with 15.
Finally click .

Summary

The XOOPS Cube Legacy package was not designed to be a complete system in itself, either for users or administrators. But by simply installing suitable modules, your site will become extremely powerful. Remember, that each module not only brings its own functionality but it's own blocks as well.

GO TO FINAL STEP