Helios Service Release 2

crateleftInternet and Web Development

Dec 4, 2013 (3 years and 8 months ago)

69 views

SinRegistry Development

Last updated 5/
2
/2011


Eclipse IDE for PHP

Version
:

Helios Service Release 2

Install directory: C:
\
eclipse

Application: C:
\
eclipse
\
eclipse.exe

Workspace directory: C:
\
SinRegistry
\
dev
\
workspace


MySQL

Version
:

5.5
.11

Install
directory: C:
\
Program Files
\
MySQL
\
MySQL Server 5.5

Enable TCP/IP Networking. Port 330
6
.

Root password: sin

.ini config file:
C:
\
Program Files
\
MySQL
\
MySQL Server 5.5
\
my.ini

Server name:
sinreg@localhost

Database: sins


Apache Server

Version 2.2.17

Install
directory: C:
\
Program Files
\
Apache Software Foundation
\
Apache2.2
\

Index.html directory: C:
\
Program Files
\
Apache Software Foundation
\
Apache2.2
\
htdocs
\
index.html

Configuration file directory: C:
\
Program Files
\
Apache Software Foundation
\
Apache2.2
\
conf
\

Config
uration file: httpd.conf.


Edited Apache httpd.conf file with the following:

#BEGIN PHP INSTALLER EDITS
-

REMOVE ONLY ON UNINSTALL

PHPIniDir "c:/program files/php/"

Loadfile "c:/program files/php/ext/php_mysqli.dll"

Loadfile "c:/program files/php
/php5ts.dll"

LoadModule php5_module "c:/program files/php/php5apache2_2.dll"

#END PHP INSTALLER EDITS
-

REMOVE ONLY ON UNINSTALL


PHP

Version 5.2.17, VC6 x86 Thread Safe

Install directory: C:
\
Program Files
\
PHP
\


Reinstalled PHP with the mySQL
i
, mySQL, and
several other

support
libraries
selected explicitly.

Reinstalled PHP with EVERYTHING selected!!

This was important to get the GD libraries installed.


Added phpinfo.php to root directory (
\
htdocs) to display php information. File contains one line:

<?ph
p

phpinfo();
?>


Joomla

Extracted the Joomla files to C:
\
Program Files
\
Apache Software Foundation
\
Apache2.2
\
htdocs
\
joomla16



phpMyAdmin

Version

Install directory: C:
\
Program Files
\
Apache Software Foundation
\
Apache2.2
\
htdocs
\
phpmyadmin


Failing due to a
lack of an extension reference in php.ini file (see below).


Php.ini File

Added the following:

[PHP_MYSQLI]

extension_dir="C:
\
Program Files
\
PHP
\
ext"

extension="c:
\
program files
\
php
\
ext
\
php_mysqli.dll"

extension="c:
\
program files
\
php
\

log_errors=On

error_log="C:
\
Windows
\
temp
\
php
-
errors.log"



Class Path

Edited class path with C:
\
Program Files
\
PHP and C:
\
Program Files
\
MySQL
\
MySQL Server 5.5
\
lib


SQL Statements


use joomla;

CREATE TABLE example(


id INT NOT NULL AUTO_INCREMENT,


PRIMARY KEY(id),



name VARCHAR(30),



age INT);


Joomla


Site name: SinRegistry

Admin Email:
administration@sinregistry.com

Admin Password: dEmon


Eliminate ‘Joomla
’ from the URL path: Copied all files from the “Joomla16” directory to the root of htdocs. Edited
the configuration.php and changed the $live_site = ‘http://localhost/’ and changed the paths for the $log_path and
$temp_path.



the small image in the url
-
f
ield in your browser then you should remove or replace

favicon.ico

in the root of your template.

The favicon.ico needs to be in the folder of the used template.



JomSocial


php.ini: set

“upload_max_filesize = 5M”


Joomla

Enabling user's registration approval by admins

A new feature added to the user registration process in


is the New User's Approval by Administrators, where a user
will only be able to login after an administrator approves and activates the account.

This new feature required a slight change to the parameters set in the Users Manager. The User Activation parameter now
has 3 options (as opposed to 2 options in Joomla! 1.5.x) and the options can be chosen from a select list box instead of the
previous ra
dio buttons.

The options are:



None

-

No activation is needed. The user may login right after finishing the registration.



Self

-

The user will receive an e
-
mail message containing a link with a token to activate their account.



Admin

-

It is necessary that a
n administrator approves the account. Here is how the process goes:



After registering the new user receives an e
-
mail message containing a link with a token to verify their e
-
mail
address;



After the user's e
-
mail address has been verified, all users with t
he Receive System Messages option enabled will
receive an e
-
mail message notifying them that a user has verified their e
-
mail address and requests that their
account be activated. That email message will contain a link with a token to activate the account;



Once an administrator has activated the account, the user will receive an e
-
mail message notifying them that they
may now login.

This feature was a product of many suggestions made by users in the Administration Forum

[1]
.





To do:

1. Modify Apache to load index.php by default, so you don’t have to type it into the URL.

2. Look at JomWall extension to JomSocial.

JomWall is a social wall with no ratings or voting. Nice wall though…
Facebook
like.

3. Review Discqus


I’m wondering whether to abandon Joomla 1.6 due to a lack of software extensions….


Watch the video on JReviews:
http://www.reviewsforjoomla.com/jreviews
. Doesn’t
look like they have an
integrated wall? 15 day trial is available.


Look at JomSocial apps and modules!! There may be a wall and other features that will work!!


Joomla

Creating a Page: Section
-
> Category
-
> Articles