Page 1 of 1

adding Categorys

Posted: Thu Jan 05, 2006 3:10 pm
by focusde
Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:

how do i go about adding categorys at the present i can only put a long list of links and would like to put them in to categorys

david

Posted: Mon Jan 30, 2006 1:19 am
by WebsiteManagers
Hello David

One way to create categories is to copy some files to the category names, then link to each of them in the header.txt.

Example:
copy links.php (or links.php if you didn't rename it) => marketing.php
copy addlink.php => add_marketing.php
copy linkinfo.txt => marketing.txt
copy settings.php => settings_marketing.php
cop form.html => form_marketing.html

edit add_marketing.php and change:
require "settings.php"; to require "settings_marketing.php";
Change: form.html to form_marketing.html

edit settings_marketing.php and change:
linkinfo.txt to marketing.txt

header.txt: Link to marketing.php, index.php and any other categories you create.

Hope this helps and I caught all the needed changes.

Even easier: copy all the files to another folder and link to it from one master haeder.txt file.
Jim Hutchinson

Posted: Mon Mar 27, 2006 1:14 pm
by ntronics
That was very confusing. I thought the original poster wanted to create categories to be displayed within the category drop down list within the link exchange form. Is it a way to add the categories within the code.

Posted: Mon Mar 27, 2006 4:20 pm
by WebsiteManagers
I'm sure categories can be added to the code itself, but that would require some rewriting of the existing code. I don't have time to do that right now. Maybe Klemen can jump in here to help with it.

You can copy the files into new folders named for the categories and add them to the menu. Here's a sample:

Code: Select all

<form name="jump">
<select name="menu" onChange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
<option>Select a Destination
<option value="/">Home</option>
<option value="/links/marketing/">Marketing</option>
</select>
</form>
Jim

Posted: Sat Sep 15, 2007 12:05 am
by plugmas.com
WebsiteManagers wrote:Hello David

One way to create categories is to copy some files to the category names, then link to each of them in the header.txt.

Example:
copy links.php (or links.php if you didn't rename it) => marketing.php
copy addlink.php => add_marketing.php
copy linkinfo.txt => marketing.txt
copy settings.php => settings_marketing.php
cop form.html => form_marketing.html

edit add_marketing.php and change:
require "settings.php"; to require "settings_marketing.php";
Change: form.html to form_marketing.html

edit settings_marketing.php and change:
linkinfo.txt to marketing.txt

header.txt: Link to marketing.php, index.php and any other categories you create.

Hope this helps and I caught all the needed changes.

Even easier: copy all the files to another folder and link to it from one master haeder.txt file.
Jim Hutchinson
Sorry i´m lost. In Link Manager 1.03 dont have file like links.php and form.html ¿could you explain me?

Posted: Sat Sep 15, 2007 12:18 am
by WebsiteManagers
plugmas.com wrote:Sorry i´m lost. In Link Manager 1.03 dont have file like links.php and form.html ¿could you explain me?
If you download a fresh copy those files will be there. It contains 12 files including form.html and links.php.

Note that index.php is the admin page and can be renamed to something like __admin.php and rename links.php to index.php so you can create folders based on your categories.

Once you rename index.php you will have to do a search & replace inside the file for all instances of index.php and replace that with whatever you renamed the file to.

Example: Rename index.php to __admin.php
Open __admin.php and replace all references to index.php to __admin.php. Save and upload. You will then log into your admin using the __admin.php page.

However, you will also have a better time linking to the other categories by not requiring the file name. You can point to the folders, such as:
/games
/business
/marketing
/anything_else

Hope that helps.

Jim

Posted: Mon Mar 03, 2008 8:31 pm
by watonaka
Has anyone got this category option working? I am lost on the above suggestions as well. Anyone care to expound on the reccomendations.

Posted: Thu Mar 20, 2008 9:13 am
by Rufanuf
watonaka wrote:Has anyone got this category option working? I am lost on the above suggestions as well. Anyone care to expound on the reccomendations.
Hi all,

Firstly thanks everyone who puts these scripts together. As an amatuer webdesigner with very little script writing knowledge scripts like Linkman are a life saver.

I too am trying to think of a way I can use linkman but have the one form write to many different pages of a directory with categorys I choose to create.

To get an idea of what it is I personally think people are looking for, www.asiarooms.com has the most amazing link directory I have ever seen. Im not sure if its fully automated, and not sure it runs on php or java But all there directory pages have high PRs and there are 100's of them with 50 links a page!

Linkman has one advantage over this system it seems since the user can see thier link in place straight away if they do everything right. So it seems completely automated, rather thaqn havingg to wait on someone to verify your link. But if in Linkman only ONE form page wrote to many documents that are categories that the user creates, linkman would be the ulttmate solution for links managment.

If then Link man creates PR friendly pages (Im not sure how the use of PHP effects the desireability of links pages??) it would be a monster of a programme!

Any ideas anyone?

Only thing is!

Posted: Sun Jun 08, 2008 5:11 pm
by mjohnson
Let me start by giving thanks for the free script. It is one of the best out there, and that might be why there is so much talk about the categories deal.
The only problem with doing what is mentioned above is that the same person can submit their link to every category, only providing one link back, and their link will show on every category. Plus there will be several admin logins, one per category. This removes the effectiveness of this great script.
I would really love to use this script, but the fact of these limitations does not make an alternative.
Once again, I will say that it seems to be one of the best out there, with this exception.
Klemen - You could own the link exchange world with this script, only if you made some changes. You have the right idea and an awesome script. It just NEEDS this one additional feature. But hey, we understand that you are busy with some other stuff.

Posted: Sat Jun 14, 2008 3:05 pm
by Klemen
Well the biggest problem is that I'm serving in the army at the moment so I really have 0 time to work on the scripts during the week. Maybe in a few months when I finish I can create a mySQL version of LinkMan with categories and a bunch of exciting features.

Actually I am testing a similar script at http://www.ale5.com/ as we speak...