MeetingPlace Documentation

MeetingPlace Documentation *

Description *

Features *

Installation *

Running *

Description

This is a script to run a completely automated site like armeniansconnect.com. The script encompasses all aspects of this particular meeting place site. The script has full administrational controls as well as allowing users to upload pics and share messages via each users private message board. It allows for editing of user information at any time by users. It has 3 type of operation, one is a non member area, which allows for limited viewing of people info, the second is a free membership option that allows full access but can optionaly pop up a new window that asks the member to "donate". The third is (if donation mode is set by the admin) a "members who have donated" option where the members no longer see the annoying popup. This system currently uses PayPal for all donations, however I can script new modules as needed for any buyer.

Features

Visitor Features
Admin Features

Installation

Standard Version

Installation of this script is moderately difficult. If you are not well versed in CGI installations, please use our FREE Installation option.

First thing you will want to do is layout on paper where you want different parts of this system located on your server. The things you will need to decide on are:

Location of directory this script will reside in. (both server path and URL)
URL of image directory for script used images.
A Main URL. (http://yourdomain.com)
Location of users directory. (both server path and URL)
URL of chat directory.
Server path of sendmail.


Once you have decided all this and written it down, let's open Configs.pm in a text editor and change the top section variables concerning paths and URL's to suit your decisions.

Once that has been done, let's move to section 2, which is some basic info. Change these variables to suit your needs. (admin password and email address)

Now let's move on to section 3 and modify these variables to your liking. These affect the look and feel of your website.

Section 4 is merely your paypal payment email address and a product name. Modify these to suit your needs.

Save Configs.pm in plain text format.

Now, go to the chat folder and look for popup.js, open this is in a text editor and look for instances where it says perlcoders or OurSite and change them to suit your setup and site.

Save popup.js in plain text format.

Okay, now that the configuration is complete, let's move on to uploading the different parts of this script.

In this archive there are 3 folders. (main, chat, scriptimages)

In the configuration steps above, you were asked to write down locations and URLS. They will be paramount to a successfull install now.

The main folders contents, (not the folder, just its contents), should be uploaded in ASCII mode to the $scriptdir location you specified.

The scriptimages folder contents, (not the folder, just its contents), should be uploaded in Binary Mode to the $scriptimages location you specified.

The chat folders content should similarly be upload to the $chatdirurl location you specified.

Now we want to change permissions (chmod) on all .cgi, .pm, .pl files to 755

Next change permissions on the data directory that resides in $scriptdir location to 777.

You should now have a working script.


MySQL Version

Running

The index.cgi is the script that is called by new visitors to the site. This should have been placed in the root html directory and your webserver set properly to recognize index.cgi as the sites starting page. Don't worry if this was not done, simply go back and make sure it is correct, then continue.

If your admin or you do not know how to set your webserver to see index.cgi as a starting page, refer to the troubleshooting section at the bottom of this page. I have been kind enough to detail it for you.

Once index.cgi is properly running, thats all you need to worry about on the visitors end. The rest will handle itself easily. For the Admin area, simply point your browser to admin.cgi, login and follow the online help that is built into the script by clicking the little [?] symbol on the left side top of the admin panel at any page.

Next before opening the site, you will want to modify the html the script generates to look the way you want it to look. This script uses simple HTML templates. The html code is NOT hardcoded into the script like so many newbie programmers do to avoid extra work.

Changing these templates is as easy as opening them in any html editor you use and modifying the look. The one thing to be sure of while doing this is to make sure the proper tokens stay in the html somewhere.

Definition: Token (%token%): These are little tags that tell the script WHERE to place output in the template. These define where all script output goes in your html. So make sure of your design and usage of the tokens please.

The only templates you need to concern yourself with are the ones that are located in the $scriptdir/templates folder. Do not edit the admin templates in $scriptdir/templates/admin.


TEMPLATE TOKENS (usable tokens per page)
----------------------------------------
Please refer to the documentation in the script archive for this area.


TROUBLESHOOTING
-------------------------

Problem: I installed everything perfectly, but the script either does not run or it spits out the actual script code.

Solution: Some webserver admins fail to set the proper handlers for CGI scripts. Generally you can work around this by making (or adding to an existing) a .htaccess file in the scripts directory and adding these 2 lines:

AddHandler cgi-script .cgi
AddHandler cgi-script .pl

If this does not work you should contact your server administrator and ask him to enable CGI use in that directory.


Problem: My webserver refuses to see index.cgi as a starting page.

Solution: You can add a single line to an .htaccess file in the scripts directory that will force the webserver to see index.cgi as the starting page if the admin has it setup somewhat standard.

Below is the line to add to .htaccess

DirectoryIndex index.cgi


Problem: I can not figure out these templates.

Solution: This script uses plain old HTML templates. If you can not use an html editor like frontpage ot dreamweaver and do not understand HTML code at all, then my best suggestion would be to hire a designer.

PerlCoders has a list of preffered vendors (designers included) which we can make available to you if needed.


Problem: How do I upload the files????

Solution: Using an FTP Client like CuteFTP found at http://www.cuteftp.com


Problem: How do I get server paths???

Solution: Using a telnet client like CRT available free at http://www.vandyke.com.

Telnet into your server and use the following commands:

To locate sendmail on your server: which sendmail

To find out the path to the directory you are in: pwd

To find the path to perl: which perl


Proud suppliers of perl cgi and php applications created from the webmasters point of view. PerlCoders supplies top quality CGI scripts at membership warehouse prices every day. This is the only webmaster resource you need to build traffic and add interactive content to any website.

Need custom programming or website development? We do it all. Just use our contact form and let us know what you need.

Perlcoders.com - Copyright © 2003 by PerlCoders Group
Privacy policy       Licensing policy       Site Usage Terms
Not a member yet?
Click Here
User:
Pass:
I forgot my password
  HomePage
Current News
Our Products
Our Services
FAQ & Docs
Support
Contact
Make Money!
Affiliate Login
 
Right now get access at a special rate of only $160 which includes more than 156 of our top quality CGI scripts and get deep discounts on many others. You also get full access to our members area which is slam packed with webmaster goodies.

  · Read more...


 
Get the latest News at
the Perlcoders group.

 
What our clients say
Tell us what you think
Projects in the works
Free scripts to members
Free self help ebooks
Free Tip of the Day
Free Support
Custom programming
Myth of Caesar
Google Forum
Image Hosting
SEO Resources
SEO Forum
Cellulean
Click here to join ArticleDistribution
Click to join Article Distribution