Joomla and Extensions Fresh Install

From HAA Best Practices Wiki
Revision as of 01:05, 31 January 2010 by WikiSysop (talk | contribs) (→‎Setting up from scratch)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Return to main Master Template page


Create php/sessiondata

change php.ini to:


Enable php_gd2.dll in php.ini


Client section/server section

default_character_set = utf8

MySql data:

Host name: localhost:2222 (You only need the :2222 if you are using a non-standard port.)
Username: Joomla
Password: XXXXXXXX
DB Name: HRClass00

Must grant Joomla privileges in SQL.

Joomla installation[edit]

Web browser must have write permission on joomla directory

Joomla Installation Manual

Create joomla directory on the web site (Harvard65/joomla, in my case)

Retrieve and unzip

Copy files into the joomla directory

Web Browser installation:[edit]

In sql administrator:

Go to Startup Variables, on security tab check 'Disable grant tables'
On Service control Stop and restart service

In browser:

Goto http://localhost/harvard65/joomla and execute steps through creation of the database

In sql administrator:

Go to Startup Variables, on security tab uncheck 'Disable grant tables'
On Service control Stop and restart service

Finish the installation in the browser

Delete the joomla installation directory (harvard65/joomla/installation)

Template installation[edit]

Create joomla\templates\lavinya6

Copy lavinya6 files & directories to ...\lavinya6

Use Joomla Extensions/Template Manager to activate the template

Email Settings[edit]

In Joomla/Global Configuration/Server set Mailer to SMTP Server and check SMTP Authentication. Also fill in SMTP fields.

NOTE: CB ignores the Mail from field and sends mail from registration@harvard65 (or this may be a Joomla setting)

Community Builder installation[edit]

Version CB 1.2

More details in README-NEW-INSTALL.txt that comes with Cummunity Builder

Be sure browser has create/write permission on joomla directory

Enable Joomla System-Legacy in Joomla Plugin Manger (page2)

Install as a component


Go to Joomla/Components->Community Builder->Tools

And use the synchronize users tool to synchronize your user database



Add the CB Details menu per Community Builder 1.2 documentation p 28/176

Enable the cblogin login module (CB Login), and other CB modules from the administration backend (go to Extensions/module manager, then click on publish red cross or click on module name to set params)

Go to Joomla->Components->Community Builder->Configuration and at least choose the user name type (first/lastname mode choice) corresponding to how you want to split or not split the existing users' name during existing users synchronization of the next installation step.

Make sure to click "Save" on the configuration page.

Go to Joomla->Components->Community Builder->Tools

And use the "Synchronize users" tool to synchronize CB with Joomla.

Disable the Standard Joomla/Mambo Login Module. To do that, go to the administration backend then:

Extensions->module manager then click on the green "Enabled" checkmark of "Login form" (mod_login) so that it becomes a red cross

Add a list menu item:

(this will be the link to the searchable users-listing).
For this, go to "Menus" -> "User Menu" (for non-public lists), click New,
then click internal links "Community Builder",
then "Users-list", add Title (leave other parameters as is), and save

In Admin->Components->Community Builder->Configuration->Registration:

set "Allow User Registration" to
"yes, independently of global site setting"

in Admin->Site->Global Configuration->Site->System (User Settings)

set "Allow User Registration" to "No".

Manually add the cb_ fields (address, address2 city, state, zipcode, country, showmap, latitude, longitude, geocodeDate)

Other fields:

cb_nameatgrad Name at graduation Text
cb_webBusiness business web site Web address
cb_webPersonal personal web site Web address
cb_facebook Facebook Web address
cb_myspace Myspace Web address
cb_aim AIM Web address
cb_emailPublic Public email email
cb_colHouse Harvard house College
cb_colDorm Freshman dorm
cb_colMajor College major
cb_colActivities College activities
cb_colGradclass Graduation class
cb_SpousePartner Spouse/partner Family
cb_children Children
cb_occupation Occupation Additional Info
cb_interests Interests
cb_thoughts Any thoughts?
cb_reunion05-60 Reunion fields Integer
cb_metroarea Metro area Drop-down list
cb_advanceid Advance ID Integer

GmapsPro installation[edit]

GmapsPro is subscription ware. Cost 25 Euros for one year.

From within Joomla install GmapsPro (

In GmapsPro Gmaps Configuration Create a site. Don't bother with CB Plugin yet.

From within CB install (Community Builder plugin)

Publish the CB Map User in the CB Plugin Manager

Configure CB Map User from within GmapsPro

From within Joomla install Plugin ( (Allows map to render inside Joomla content)

Enable Gmaps in the Joomla plugin manager

Go to CB configuration/Tab Manager and save the two Gmaps tabs - these produce maps on the profile page

Install the CB Gmaps adapter

Place the communitybuilderprofileadapter.class.php file in the joomla/compnents/com_gmapspro/classes folder - it may already be there - that's ok.
Define the adapter within GMapsPro.
Go to GMapsPro configuration->Adapters, define a new adapter
Name: CB Adapter
Description: Adapter for Community Builder
Classfile: communitybuilderprofileadapter
Classname: CommunityBuilderProfileAdapter (Case sensitive)
Properties: blank, for the moment!

Select this adapter on the map you intend to use from within GMapsProg->Configuration->Maps->Edit Map

Site modification[edit]

Change the joomla\templates\lavinya6\css\template.css file

The banner images for laviniya6 are in joomla\templates\lavinya6\images and are named 1.jpg, 2.jpg

The selection for these images is near the end of joomla\templates\lavinya6\index.php (search for "echo rand")
I am modifying this line to only use one image for the moment and with
a generic logo and photo. Image size is 957 x 235 pixels ('69 is 960 x 225)

Joomla->Global Configuration->Site

Fix metadata settings: Class Website/Harvard, Radcliffe, alumni, alumnae

To remove "Welcome to the frontpage" Remove instructions

Install ExposePrive[edit]

Download Download ExposePrive Install ExposePrive

Change password from "manager" to "XXXXXX" in Joomla->components->ExposePrive

Run the System check from Joomla->components->ExposePrive and adjust as needed.

Be sure you have an php temporary upload directory.

Install eventlist[edit]

for eventlist

[1] for eventlistcal (may need to sign in.) - I DID NOT INSTALL THIS.

Create Venue, event

Create menu from Joomla menu manager pointet to eventlist

Set settings for integration with CB Also change date format to m/d/y (%m.%d.%Y)

Install Sticky Message Pro[edit]

$25 from: [2]

Install the component first, then the module

We are using close button 3 Auto close time is in seconds Set Y margin to 200 (larger numbers move the message higher on the screen) Select just the Home menu

Install Nice Talk Pro[edit]

Cost $35 at (through

The installation is straightforward.

Return to main Master Template page

Install the HAAReunion Plugin[edit]

The plugin is in and provides the ability to create lists of people who are (or are not) attending reunions. It installs in the usual way. After it's installed, create a new field cb_reunionplans and put it on the User Status tab. It should not be user-editable nor should it display at registration.

Also create a list for "Reunion Attendees". You can use the keywords 'IsAttendingActiveReunion' and 'NotAttendingActiveReunion' in the filter. (By themselves, not as part of a boolean expression.)

Create a menu item for the list under the Classmates menu.


NOTE: CBMailing turned out to be unsatisfactory for the actual mailing. We have heavily edited it to integrate it with PHPList. More information on PHPList appears below. Will create an install file for the revised CBMailing and post it here.

Download from

Download the modified install file from

Joomla install

Create a list that includes only SuperAdministrators; Group allowed access = Administrators, group allowed to use list = Super

Administrator. Filter is u.`usertype` = 'Super Administrator'

In CBMmailer 'Manage Permissions'

From "Super Administrators" to each of the other lists (in turn, yeuch!)

Have to make changes to CBMailings to honor the special keywords.

Also fix bugs in CBMailing: See Documentation of Modified Modules on Wiki.

Add cb_mailoptin to Community Builder fields. 0 => no mail, default = 1

Modify CBMailing to honor cb_mailoptin see wiki for documentation of the change.

Google Analytics Bridge 2009[edit]

Download from:

Google Analytics Bridge - 2009

The module installs in the usual way from Joomla->Extensions->Install/Uninstall. Once it is installed you can set your Google Analytics ID in the parameters field at Joomla->Plugin Manager->Google Analytics Bridge.


Download from:

AllVideos download

The module installs in the usual way from Joomla->Extensions->Install/Uninstall. Once it is installed you can set your parameters in the parameters field at Joomla->Plugin Manager->AllVideo.

Once it is installed you must go to Joomla->Extensions->Plugin Manager and enable it.


AllVideos documentation

Audio files go in images/stories/audio and video go in images/stories/videos


This module allows you to specify an alternative home page for logged-in users.

Download from:


The module installs in the usual way from Joomla->Extensions->Install/Uninstall. Once it is installed you can set your parameters in the parameters field at Joomla->Plugin Manager->System (AltHome)

The module installs in the usual way from Joomla->Extensions->Install/Uninstall. Once it is installed you can set your parameters in the parameters field at Joomla->Plugin Manager->System - Google Verify. We leave it disabled for new sites.

CB Photo Gallery[edit]

This module provides a tab on the user details to display photographs

Download from (you must be logged in as a CB Documentation subscriber to access this link):,com_docman/task,doc_download/gid,89/Itemid,36/

The installation is unusual. You have to unzip the distribution package. Inside it are two installation packages. One for a CB plugin that installs from Joomla->Community Builder->Plugin Manager and the other that installs from Joomla->Extensions->Install/uninstall

Once it is installed go to:

Joomla->Components->Community Builder->Plugin Management->CB Profile Gallery and set the Access Level to 'Registered' and Published to 'Yes'

Then go to Joomla->Extensions->Module Manager->CB Gallery Module and make the following settings:

  • Enabled: "Yes"
  • Access Level: "Registered"
  • Menus: "None"

Finally go to Joomla->Community Builder->Tab Management->Profile Gallery and make the following settings:

  • Title: "Photographs" (note that after you save, this tab will display in the manager as "Photographs"
  • Description: "" (Blank, this text displays at the top of the tab area.)
  • Publish: "Yes"
  • User Group to allow access to: "Registered"
  • Enable Paging: "No"
  • Image File List: "jpg,gif,png,jpeg"
  • Entries per Page: "4"
  • Items Quota: "4"
  • Maximum size: "2000"
  • Storage quota: "8000"

HAA Reunion Attendance Manager[edit]

This is a custom component that allows users of the site to add/remove themselves from the list of classmates who hope/plan to attend the active reunion. It installs in the usual way from Joomla->Extenstions->Install/Uninstall. No configuration is required once installed.


PHPList is a robust email list maintenance program. More documentation to follow.

To set up a Cron job use the following command:

/usr/local/bin/php -q /home/HOSTINGCOUSERNAME/public_html/lists/admin/index.php -p processqueue;

Where HOSTINGCOUSERNAME is the user name you use to sign in to CPanel (hr65, for example).

Setting up from scratch[edit]

Download from PHPList download

Unzip into a temporary directory.

Copy the 'lists' directory into the root of the Joomla installation.

Edit .\lists\config\config.php as follows:

  • Set $database_name to the name of your MySql database (e.g. hr65_hrclass65)
  • Set $database_user to the user of your MySql database (typically hr65_Joomla)
  • Set $database_password to the password for your MySql user
  • Set $message_envelope to 'listbounces@yoururl' (e.g.
  • Set bounce_mailbox_host to your smtp server domain
  • Set bounce_mailbox_user to a user on your system such as
  • Set bounce_mailbox_password to the password for the user in the previous step
  • Comment out $bounce_mailbox by placing a # at the begining of the line
  • Change define("MAXLIST",1); to read define("MAXLIST",10);
  • Change $commandline_users = array("admin"); to read $commandline_users = array("admin", "hr65"); where hr65 is the default user on your server
  • Change define("CHECK_SESSIONIP",1); by changing the 1 to a 0
  • Change define ("TEST",1); by setting the 1 to be a 0
  • Change define ("MANUALLY_PROCESS_QUEUE",1); by setting the 1` to be a 0
  • define("ALLOW_NON_LIST_SUBSCRIBE",0); - set the 0 to 1
  • Change define("MAILQUEUE_BATCH_SIZE",0); by changing the 0 to 300
  • Change define('MAILQUEUE_THROTTLE',0); by changing the 0 to a 1
  • Change define("USEFCK",1); by setting the 1 to 0
  • Place a # before define("FCKIMAGES_DIR","uploadimages");
  • Change define("USETINYMCEMESG", 0); by setting the 0 to 1
  • Change define("USETINYMCETEMPL", 0); by setting the 0 to a 1
  • Change define("TINYMCEOPTS", ""); to read:
define("TINYMCEOPTS", ",plugins : 'devkit,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras',
theme_advanced_buttons1_add_before : 'save,separator',
theme_advanced_buttons1_add : 'fontselect,fontsizeselect',
theme_advanced_buttons2_add : 'separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor',
theme_advanced_buttons2_add_before: 'cut,copy,paste,separator,search,replace,separator',
theme_advanced_buttons3_add_before : 'tablecontrols,separator',
theme_advanced_buttons3_add : 'emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen', theme_advanced_toolbar_location : 'top',
theme_advanced_toolbar_align : 'left',
theme_advanced_path_location : 'bottom',
plugin_insertdate_dateFormat : '%m-%d-%Y',
plugin_insertdate_timeFormat : '%H:%M:%S',
relative_urls : false ,
remove_script_host : false ,
extended_valid_elements : 'a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]'
  • Change define("PHPMAILERHOST",); by inserting your smtp server's domain
  • Change #$phpmailer_smtpuser = 'smtpuser'; by setting smtpuser to the email address of a user on your smtp server
  • Change #$phpmailer_smtppassword = 'smtppassword'; by setting smtppassword to the password of the smtp user

Now go to .\lists\admin with a web browser and initialize the database.

After the database is intialized go to setup and configure things the way you want.

Finally, check the settings under 'configuration'

Return to main Master Template page