Skip to content

ofergoli/elgg_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BGU.NET

Our main goal is to create a system that combines from one hand a social network and on the other hand a courses management platform (such High-learn, Moodle and etc.)

Installation

Email system configuration:

1.In PHP.INI : A. Uncomment this line : 'sendmail_path = ""C:\xampp\sendmail\sendmail.exe" -t" '. B. Comment this line : 'sendmail_path="C:\xampp\mailtodisk\mailtodisk.exe"'.

2.In SendMail.INI: A. The line "smtp_server=" should be "smtp_server=smtp.gmail.com". B. The line "smtp_port=" should be "smtp_port=587". C. Enter credentials in the lines : "auth_username=" and "auth_password=".

3.Credentials: Account: "BGU.NET.Service@gmail.com". Password: "bguforever".

Database Pre-Configure:

Create database 'social_network' with two tables 'networks', 'users'. Use the following SQL statements to configure database:

CREATE SCHEMA `bgunet_db`;

CREATE TABLE `bgunet_db`.`users` (
 `uid` INT NOT NULL AUTO_INCREMENT,
 `username` VARCHAR(255) NULL,
 `password` VARCHAR(255) NULL,
 `email` VARCHAR(255) NULL,
 PRIMARY KEY (`uid`),
 UNIQUE INDEX `username_UNIQUE` (`username` ASC),
 UNIQUE INDEX `email_UNIQUE` (`email` ASC)
);


CREATE TABLE `bgunet_db`.`social_networks` (
 `nid` VARCHAR(255) NOT NULL,
 `uid` INT NULL,
 `name` VARCHAR(255) NULL,
 `url` VARCHAR(255) NULL,
 PRIMARY KEY (`nid`),
 INDEX `user_in_network_idx` (`uid` ASC),
 CONSTRAINT `social_network_FK_uid`
   FOREIGN KEY (`uid`)
   REFERENCES `bgunet_db`.`users` (`uid`)
   ON DELETE CASCADE
   ON UPDATE CASCADE
);

Usage

Create, manage and delete networks.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

Code and documentation copyright 2015 BGU.NET, Code released under the ELGG license. Docs released under Creative Commons.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •