Blog literacki, portal erotyczny - seks i humor nie z tej ziemi
IntelliLink Pro (v4.07) Setup Instructions
Files Included...
Location:
intellilink/ (main)
intellilink/ (main)
intellilink/html/
(you decide)
Files:
laddlink.cgil
laddlink_lwp.cgil
ladmin.cgil
lcron_reset.cgil
lcron_update.cgil
lintellilink.cgil
lin.cgil
linauto.cgil
lout.cgil
lrandom.cgil
lvariables.cgil
ldata.txtl
ldata(backup).txtl
llogs.txtl
lreset.txtl
lupdate.txtl
liplog.txtl
llinkadded.htmll
laddlink_head.htmll
laddlink_foot.htmll
ledit_head.htmll
ledit_foot.htmll
lgateway.htmll
lwelcome.txtl
ladmin_1.gifl
ladmin_2.gifl
ladmin_3.gifl
Setup
lOpen variables.cgi and follow instructions to set some info the CGI needs.l
lUpload the 3 graphics (admin_1.gif, admin_2.gif &
admin_3.gif) to the directory you specified in variables.cgi.l
lCustomize the header/footer of the signup and edit pages by changing the following
files: addlink_head.html, addlink_foot.html, edit_head.html,
and edit_foot.html.l
lCustomize the page people see after signing up (linkadded.html) and the
welcome e-mail (welcome.txt). Optionally use the unique info tags (more about this further down this page).l
lSet the path to perl at the top of each CGI file (except variables.cgi),
the default is #!/usr/bin/perll
lIF you have Cron and want to use it for IntelliLink, then make sure to specify the path
to your IntelliLink directory at the top of cron_reset.cgi AND cron_update.cgi.l
lCreate a directory in your cgi-bin ("cgi-bin/intellilink") and upload all
files (except the ones in the "html" folder) in ASCII mode.l
lCreate a sub-directory called "html" ("cgi-bin/intellilink/html")
and upload all files that are in your "html" folder.l
lCreate a sub-directory called "members"
("cgi-bin/intellilink/members") and change its permissions to CHMOD 777.l
lSet the file permissions of all CGI files to CHMOD 755, and for the TXT files change
them to CHMOD 777.l
How to use IntelliLink
lLink to the addlink.cgi file to let webmasters sign up. Link to edit.cgi to let them
access their accounts.l
lRun admin.cgi to login to your admin page. You can change the amount of hits a specific
site starts with each day (to give a boost), change link priorities, and more.l
lLink to out.cgi (without an ID specified) to send visitors to a random site.l
lIf you want the hit count to reset at a certain time, upload an empty reset.txt file and
then go click on one of your links (which runs out.cgi). The time you do this at will be
when the count will always reset at in the future.l
lYou can display the links with SSI or Javascript. The advantages of using SSI are that
it's faster and all browsers will support it (unlike Javascript, which might be supported
by only 95% of your visitors).l
lIf you want IntelliLink to insert links directly onto your html pages (rather than use
SSI or Javascript), skip this part and read the section on "html
tags".l
lExecuting intellilnk.cgi from your SSI (.shtml) pages (If you're not
familiar with it, go here
to find SSI tutorials):l
<!--#include
virtual="/path/to/cgi/intellilink.cgi" -->
lExecuting intellilink.cgi with javascript code:l
<script
src="http://domain.com/intellilink.cgi?java=1"></script>
It's important to put java=1
to let Intellilink know you are displaying the links with Javascript.
lThere are many values you can assign to these tags to get different results.l
Format (SSI): <!--#include
virtual="/path/to/cgi/intellilink.cgi?VALUE" -->
Format (Java): <script
src="http://domain.com/intellilink.cgi?java=1&VALUE"></script>
The following table describes each value you can assign to intellilink.cgi. Seperate
values with an ampersand sign (&).
Value (N is a number)
Description
Example
start=N
Rank number to start at.
start=10 (Displays links starting at rank #10)
end=N
Rank number to end at.
end=30 (Displays up to rank #30)
columns=N
Display links in a table with N amount of columns.
columns=2 (Seperates links into 2 columns of a table)
desc=show
Display site description beside link.
fsize=N
Size of the font for the links.
fsize=4 (makes text this size)
tmax=N
Limit the length of each link (in characters).
tmax=20 (link is cut off at 20 characters)
cat=CATEGORY
Display only links in a specific CATEGORY.
cat=Music (would display Music sites only)
(There is a page on Smart CGIs that will help you put together your SSI and
Java tags for Intellilink, click
here to go there.)
lTo display a random site, which has sent you more hits than you have sent them (In count
is bigger than Out count), execute random.cgi. This link would be used to try to send more
hits to these sites.l
SSI eg. <!--#include virtual="/path/to/cgi/random.cgi" -->
Java eg. <script
src="http://domain.com/random.cgi?java=1"></script>
lYou can display random links from only a specific category by adding
"cat=CATEGORY" to your tag. Examples:l
<!--#include virtual="/path/to/cgi/random.cgi?cat=Music"
-->
<script src="http://domain.com/random.cgi?java=1&cat=Music"></script>
The "No Linking Code" Option
Instead of using the long link code (to track hits) you can have people link to your
main page (or any page you want) by loading the inauto.cgi file on it.
With SSI: <!--#include virtual="/path/to/cgi/inauto.cgi" -->
With Java: <script
src="http://domain.com/inauto.cgi"></script>
(Doing this with a Javascript tag is not recommended, because problems have been
reported with the tracking of incoming hits.)
The way this feature works is it finds out the referring page and then compares that to
the submitted URLs in the data file. If it finds a match it counts a hit for that member.
It will even recognize the correct referrer if the submitted URL is http://www.smartcgis.com and the link to your site is
on ,
but if the link is on another domain (www.anothersite.com/links.html) it won't work. You
will have to tell your members to use the (long) link code assigned to them if this is the
case with them.
Tags
lThe files welcome.txt and linkadded.html can be
customized and they use special tags that are replaced by their unique values for each
member. A tag is a keyword inside square brackets, the following table describes each tag
you can use.l
Tag to use
Description
[id]
Replaced by the member's ID number.
[title]
Title of the member's site.
[url]
URL of their site.
[description]
Description of their site.
[email]
The member's e-mail address.
[password]
The password the member chose for their acocunt.
lgateway.html uses only the [url] tag, which is replaced by the link
visitors need to click on to continue to your site (anti-cheat gatway). If you don't have
the full protection gateway activated (in variables.cgi) you can ignore
this filel
IntelliLink "HTML Tags"
lUsing SSI and especially Javascript tags can be slow and put a load on your server,
"HTML Tags" allows you to have links placed directly on your site's pages each
time the CGI updates the stats. Go to your admin page and click on the "HTML
Tags" button to setup these pages, you will be given the special tag to copy and
paste onto your pages (those tags will tell the CGI where your links should go).l
lYou can also place random link tags on your pages, but you need to tell IntelliLink
which pages these are on. You will find this in variables.cgi. Note that
if you put multiple random link tags on one page the same link will be used for each one
(this might be improved in a future version). Here is the tag you need to place on those
pages wherever you want random links to appear: <!--start
intellilink random-->.<!--end intellilink random-->l
lUnless your server doesn't allow IntelliLink to edit files outside
of your cgi-bin, you will be able to use this feature. Changing the permission of the
pages to CHMOD 777 might help if it doesn't work. It is highly recommended that you use
"HTML Tags", it will greatly improve the speed and efficiency of IntelliLink.l
Layout Tips
lDisplay your top referrers (eg. #1 to #10) in your BEST spot (probably at top of main
page or in a frame that is always shown to visitors), this is important to keep the sites
who send you the most visitors satisfied.l
lDisplay the second best referrers (eg. #11 to #30) in your second best spot (that makes
sense, right?).l
lIf you are not sending everyone atleast the same amount of hits that they are sending
your site, you should display the random site (execute random.cgi) in a very good spot.
Maybe even in several spots, you will have to find out what's best for your site. The
random site will be displayed as long as there are sites not receiving enough hits from
you.l
lYou can display all your links on a links page (#1 to #1000 should cover it). This way
any links not displayed on your other pages will always be somewhere on your site (good
for getting small sites to link to you too).l
lIf you don't mind sending "blind hits" to your link exchanges, you can just
put noticeable text on your pages and link them to out.cgi. Anyone who
clicks on that link will be sent to a random site. Example html:
<a
href="http://yoursite.com/out.cgi">Check out this cool site!</a>
If you want to send a "blind hit" to a specific
category only, you would link to "out.cgi?cat=CATEGORY". Example html:
<a href="http://yoursite.com/out.cgi?cat=Music">Check
out this Music site!</a>
l
Upgrading to Version 4.07 (from v4.06):
lReplace variables.cgi, cron_reset.cgi and admin.cgi. The only changes to variables.cgi appear below line #277 (The "do not edit here" area at the bottom of the file). So if you feel you know enough not to screw things up, you can just copy that section and leave all your settings (variables) in the top half of that file the same.l
Upgrading to Version 4.07 (from v4.04):
lReplace variables.cgi, cron_reset.cgi, edit.cgi, and admin.cgi. The only changes to variables.cgi appear below line #277 (The "do not edit here" area at the bottom of the file). So if you feel you know enough not to screw things up, you can just copy that section and leave all your settings (variables) in the top half of that file the same.l
Upgrading to Version 4.07 (from v4.03):
lReplace variables.cgi, cron_reset.cgi, cron_update.cgi, edit.cgi, and admin.cgi. The only changes to variables.cgi appear below line #277 (The "do not edit here" area at the bottom of the file). So if you feel you know enough not to screw things up, you can just copy that section and leave all your settings (variables) in the top half of that file the same.l
Upgrading to Version 4.07 (from any other version):
lReplace all CGI files (including variables.cgi), and upload the new cron_reset.cgi
and cron_update.cgi. Change all file permissions to CHMOD 755.l
lAfter you customize them, upload all files from the "html" folder into a
sub-directory called "html" ("cgi-bin/intellilink/html").l
lUpload the new update.txt file to the same directory as the CGI files
and change its permissions to CHMOD 777.l
You might find more help at
SmartCGIs.com