02-27-2015, 07:07 PM
hi, people!
i just completed full null of edirectory 10.3.00, which i'm not going to sell, nor share anywhere because of my deal with the person, who supplied original edirectory retail source code.
but i can share with you a method of fast and easy setup of any edirectory version you might have, from 7.0 through 10.4.00.
before doing so, let me warn you: don't ever attempt to install edirectory anywhere beyond your own localhost. edirectory is full of links and call-backs to the developer, your installation will be immediately discovered, and developer is very likely to call for prosecution.
believe me, in case of edirectory this might be serious. don't take that risk.
i would advise retaining yourself from using any nulls floating around (sold) here on the bbhf: they are not properly nulled to protect you, and some (mrqaidi) even include some proprietary third-party code spying on you in the ioncube encoded files.
so, think twice and decide for yourself if you can trust your source of edirectory code.
enough of that, let's setup YOUR version of edirectory.
this is really simple. the only thing you really need to understand is that edirectory uses SEVERAL databases, not just one. it uses one "main' database to store system-wide general information, and one additional database for each site added.
this means, if you install it only on 1 site, you will need 2 databases. if you have 2 sites, you need 3 database. if you have 3 sites, you need 4 databases, etc.
first 2 databases ("main" database and database for you main site) may be called whatever you like. further databases will be named using database prefix defined in your config file, followed by _domain_# (like edir_domain_5), which will correspond to the folder name for that site inside of the "custom" folder of you server root.
to setup edirectory, you have to do the following:
1. fire up phpmyadmin and create 2 databases.
2. import main.sql into your main database
3. import domain.sql into your base site database
== note: if you want more sites, import other domain#.sql files into additional databases you create
4. open /custom/domain/domain.inc.php file, and edit first line, which should look like
$domainInfo["edir"] = 1;
where "edir" - you domain, like "site.com", or "localhost" or whatever setup you have
if there are more lines in the file, you can delete those if you are setting up just 1 site, or leave them alone.
5. go to phpmyadmin, and open your main database. find table called "domain". adjust information in the 1 line, the one, which has "id" set to "1". you need to fill in information to connect to the database of you main site (not main database, but database of your main site). all fields are self-explanatory: user_name, password, etc.
6. open your /conf/config.inc.php file and edit information to connect to your MAIN database:
define("DEFAULT_DB", "DIRECTORYDB"); //leave this as is
define("_DIRECTORYDB_HOST", "localhost"); //put you database host here
define("_DIRECTORYDB_USER", "YOUR_DB_USER"); //put your username to connect to the database
define("_DIRECTORYDB_PASS", "YOUR_DB_PASSWORD"); //put your password to connect to the database
define("_DIRECTORYDB_NAME", "demodirectory"); //this is the prefix to be used in the names of additional databases, can be anything, choose whatever works for you
practically, this is it. now your installation should work, both frontend and sitemgr.
additionally, you might want to check "base_url" field in the "Setting" table of you site database (not the "main" database, but your site database).
nothing else is needed.
as for .htaccess, use the one which came with you set of files, nothing has to be changed in there.
this is all, if you do what is described here, your edirectory will work whatever version it is - 7.5, 10.0b, 10.4.00, or whatever.
NOTE: nulling starts beyond this point. if you do all of the above, and start receiving messages like "not activated", or "not registered", that means nulling required to remove licensing from the code.
please feel free to shoot you questions here, i'm dropping by occasionally and might be able to answer.
and if this helps, feel free to add reps!
have fun!
cimmerian
i just completed full null of edirectory 10.3.00, which i'm not going to sell, nor share anywhere because of my deal with the person, who supplied original edirectory retail source code.
but i can share with you a method of fast and easy setup of any edirectory version you might have, from 7.0 through 10.4.00.
before doing so, let me warn you: don't ever attempt to install edirectory anywhere beyond your own localhost. edirectory is full of links and call-backs to the developer, your installation will be immediately discovered, and developer is very likely to call for prosecution.
believe me, in case of edirectory this might be serious. don't take that risk.
i would advise retaining yourself from using any nulls floating around (sold) here on the bbhf: they are not properly nulled to protect you, and some (mrqaidi) even include some proprietary third-party code spying on you in the ioncube encoded files.
so, think twice and decide for yourself if you can trust your source of edirectory code.
enough of that, let's setup YOUR version of edirectory.
this is really simple. the only thing you really need to understand is that edirectory uses SEVERAL databases, not just one. it uses one "main' database to store system-wide general information, and one additional database for each site added.
this means, if you install it only on 1 site, you will need 2 databases. if you have 2 sites, you need 3 database. if you have 3 sites, you need 4 databases, etc.
first 2 databases ("main" database and database for you main site) may be called whatever you like. further databases will be named using database prefix defined in your config file, followed by _domain_# (like edir_domain_5), which will correspond to the folder name for that site inside of the "custom" folder of you server root.
to setup edirectory, you have to do the following:
1. fire up phpmyadmin and create 2 databases.
2. import main.sql into your main database
3. import domain.sql into your base site database
== note: if you want more sites, import other domain#.sql files into additional databases you create
4. open /custom/domain/domain.inc.php file, and edit first line, which should look like
$domainInfo["edir"] = 1;
where "edir" - you domain, like "site.com", or "localhost" or whatever setup you have
if there are more lines in the file, you can delete those if you are setting up just 1 site, or leave them alone.
5. go to phpmyadmin, and open your main database. find table called "domain". adjust information in the 1 line, the one, which has "id" set to "1". you need to fill in information to connect to the database of you main site (not main database, but database of your main site). all fields are self-explanatory: user_name, password, etc.
6. open your /conf/config.inc.php file and edit information to connect to your MAIN database:
define("DEFAULT_DB", "DIRECTORYDB"); //leave this as is
define("_DIRECTORYDB_HOST", "localhost"); //put you database host here
define("_DIRECTORYDB_USER", "YOUR_DB_USER"); //put your username to connect to the database
define("_DIRECTORYDB_PASS", "YOUR_DB_PASSWORD"); //put your password to connect to the database
define("_DIRECTORYDB_NAME", "demodirectory"); //this is the prefix to be used in the names of additional databases, can be anything, choose whatever works for you
practically, this is it. now your installation should work, both frontend and sitemgr.
additionally, you might want to check "base_url" field in the "Setting" table of you site database (not the "main" database, but your site database).
nothing else is needed.
as for .htaccess, use the one which came with you set of files, nothing has to be changed in there.
this is all, if you do what is described here, your edirectory will work whatever version it is - 7.5, 10.0b, 10.4.00, or whatever.
NOTE: nulling starts beyond this point. if you do all of the above, and start receiving messages like "not activated", or "not registered", that means nulling required to remove licensing from the code.
please feel free to shoot you questions here, i'm dropping by occasionally and might be able to answer.
and if this helps, feel free to add reps!
have fun!
cimmerian