Go Back   Webmaster Tips and Tricks Forums - web master resources > Web design and development articles > Tutorials and 'how to' articles

Tutorials and 'how to' articles Can't install mybb? Don't know how to change a setting in oscommerce? Read our articles and tutorials and get more ideas.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2006, 02:17 PM
dojo's Avatar
dojo dojo is offline
dojo
Site AdminWtricks GURU
 
Join Date: Sep 2008
Location: Romania
Age: 31
Posts: 5,667
Rep Power: 0
dojo is an unknown quantity at this point
Default How to install phpLD2 (php Link Directory) the free version

I have started using this directory script (the free version so far) and I am very pleased with it. This would explain why I created this tutorial

We start by downloading the script: Click to download the script. We get a zipped package with the directory files in it. We unzip it. In the folder resulting you'll see another folder called phpLD. Click on it to get inside to the actual files.

Now open the FTP program you use and get to the main directory of your site (or the directory you wish to install the script). As an example: on Links for Web Design I want the script to be in the main directory. I will upload the contents in the phpLD folder (the folders: admin, include, images etc. and the files: submit.php, main.php, index.php etc) to the main directory of the site. If I want it to be in another folder (as in the dojo.ro link directory case, I enter the main directory of the site, create a new folder for the directory (called links or directory or whatever you like) and then upload the files I mentioned before.

The following step is to CHMOD some of the files and folders. Change permissions to 777 to the following folders and files.

- config.php (it's in the include folder)
- temp/
- temp/adodb
- temp/cache
- temp/templates

Before we proceed with the installation we need to add a database and a user for that database. Should you need help on this, please read the tutorial for this: How to create a database and an user in cPanel

Remember the settings for the database and user since you'll need them now when you go to the install page. Click on the address to the place your directory is now and you should have a installation page open:

Select the language (English in my case), hit NEXT.

You'll get a confirmation page that you have what the script needs and you have the right permissions to the files and folders. Hit NEXT.

Now enter the information for the database:

Database server (usualy localhost)
Database name (the name you have for the database)
Username (the username for the database)
Password (the password for the database)

Hit NEXT.

Now we need to set up the administrator account. Fill in the following information:

Username: the name you'll use to log into the admin panel of the directory
Name: can be similar to the username, or another if you like.
Password: chose a password
Confirm Password: same password as above
Email: your email.

Hit NEXT.

Here is the message we get now:

Quote:
YOU MUST DELETE THE FOLLOWING FILE(S) BEFORE CONTINUING: /install/index.php
YOU MUST DROP WRITING PERMISSIONS TO FOLLOWING FILE(S) BEFORE CONTINUING: /include/config.php
The installation was OK, but we need to delete the index.php file in the install folder and CHMOD the config.php file in the include folder to 644.

That's it .. have fun

Few examples of directories using phpLD: Links for Web Design, Martial Art Links and Dojo.ro - director de AM
__________________
Don't forget to read our rules!
The Ad Broker - sell / buy ads. FREE listings

Last edited by dojo; 01-04-2007 at 02:46 PM.
Reply With Quote
  #2  
Old 02-18-2007, 06:44 PM
1scrollnet's Avatar
1scrollnet 1scrollnet is offline
Lurker
 
Join Date: Feb 2007
Posts: 6
Rep Power: 0
1scrollnet is an unknown quantity at this point
Default

Dear Dojo
Thank you very very much for the excelent and detailed explainations.
trust me if I tell you that I have 1 week end trying tos etup a directory, and always I failed. some time from the host sometime wrong doing.
tonight I did not sleep and now is 2.45 am I managed to install my directory and happy for it
but I need a manual to understand the CPand the huge options to make it more efficient and professional.

if any referral link will appreciate
Thank you
Reply With Quote
  #3  
Old 02-18-2007, 08:26 PM
dojo's Avatar
dojo dojo is offline
dojo
Site AdminWtricks GURU
 
Join Date: Sep 2008
Location: Romania
Age: 31
Posts: 5,667
Rep Power: 0
dojo is an unknown quantity at this point
Default

Welcome to Wtricks

I am glad it was useful and I am sorry you had to go throught all this. Here is the Knowledge Base compiled by the creator.

And if you still have some features you don't know how to use, let me know. Maybe I can help
__________________
Don't forget to read our rules!
The Ad Broker - sell / buy ads. FREE listings
Reply With Quote
  #4  
Old 02-19-2007, 03:33 AM
1scrollnet's Avatar
1scrollnet 1scrollnet is offline
Lurker
 
Join Date: Feb 2007
Posts: 6
Rep Power: 0
1scrollnet is an unknown quantity at this point
Default

Dojo
Thanks, finally found someone to help.
As you know I still fresh and newbie in scripts
My question is how to apply a template to the directory?
and how to upload categories and sub-categories to teh directory instead of add one by one < Tiring>


more question coming Dojo, Please be patient until I understand
__________________
Learn How People Make Money Online
http://www.1scroll.net
Reply With Quote
  #5  
Old 02-19-2007, 11:08 AM
dojo's Avatar
dojo dojo is offline
dojo
Site AdminWtricks GURU
 
Join Date: Sep 2008
Location: Romania
Age: 31
Posts: 5,667
Rep Power: 0
dojo is an unknown quantity at this point
Default

The template system works quite easy. it's about some .tpl files as in phpBB's case, some HTML tags to work with. It's one of the easiest scripts to skin.

There are some mysql dumps you can use, but I am afraid the categories need to be added 1 by 1. More information about this specialized thing you'll be able to find in their forums. I didn't use any "automated" category indexing since I index sites one by one. I am careful with their quality too, so this means I need full controll over it.

Don't worry about asking things, we're here to help or at least link you to the resources
__________________
Don't forget to read our rules!
The Ad Broker - sell / buy ads. FREE listings
Reply With Quote
  #6  
Old 07-09-2007, 07:11 PM
julia's Avatar
julia julia is offline
Apprentice designer
 
Join Date: Feb 2007
Age: 31
Posts: 101
Rep Power: 0
julia is an unknown quantity at this point
Default

I didn't know this tutorial is here, ok, I am going to try installing it, , hopefully I will be successful. Ihad a question, do I need to create a database if it will be in my forum/links like in the second example?

Last edited by julia; 07-09-2007 at 07:23 PM.
Reply With Quote
  #7  
Old 07-10-2007, 12:59 AM
julia's Avatar
julia julia is offline
Apprentice designer
 
Join Date: Feb 2007
Age: 31
Posts: 101
Rep Power: 0
julia is an unknown quantity at this point
Default I did it

I hope Dojo doesn't mind, but even for my future reference, I also followed this instructions http://chris.instantspot.com/blog/in...stall-phpLD-21, and it's for dummies like me, and I have installed it without problem.
Reply With Quote
  #8  
Old 07-10-2007, 05:29 AM
julia's Avatar
julia julia is offline
Apprentice designer
 
Join Date: Feb 2007
Age: 31
Posts: 101
Rep Power: 0
julia is an unknown quantity at this point
Default

I added a template too. I like it so much, that I want to add another directory to my other site, do I need to create a database again ? If yes, just name it differently from previous f.ex. links1
Reply With Quote
  #9  
Old 10-27-2007, 10:53 PM
links's Avatar
links links is offline
Lurker
 
Join Date: Oct 2007
Posts: 2
Rep Power: 0
links is an unknown quantity at this point
Question

I am really new and this is the first time I have tried to install a directory myself. I am having a problem after uploading and then going to the browser and attempting to install. I put in the domain name.com/install/index.php but nothing happens. Do not know where I am going wrong, can anyone please help me

Also when uploading I am using coreftp, on the server side exactly where do I upload my files to... Do I make a directory called mydomain.com or something else?

Thanks so much for any help I can get.
Links
Reply With Quote
  #10  
Old 10-28-2007, 11:09 AM
dojo's Avatar
dojo dojo is offline
dojo
Site AdminWtricks GURU
 
Join Date: Sep 2008
Location: Romania
Age: 31
Posts: 5,667
Rep Power: 0
dojo is an unknown quantity at this point
Default

If you have cPanel hosting, you put the files in public_html .. if you have another situation and are not sure, it's better to chat with your host.

The directory can be installed in the root (then you need no folder for it, just upload the CONTENTS there). If you want to put it in a folder, you create the folder and upload the CONTENTS there. Contents mean what you have after unzipping, in the folder you unzipped: folders like admin, inc, templates etc. and files like index.php, submit.php ..
__________________
Don't forget to read our rules!
The Ad Broker - sell / buy ads. FREE listings
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT +1. The time now is 08:20 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
Theme redesigned by Dojo Design. © 2005, 2006 Dojo Design & Wtricks.com