I been surfing many links sites to get ideas on how I should build mine. I seen a mod that allows one to add favourites sites (using cookies). Where can I find such a mod? Thanks.
May 6, 2001, 6:27 AM
Veteran (19537 posts)
May 6, 2001, 6:27 AM
Post #2 of 66
Views: 15541
Hmm I wonder?
Maybe the resources center or maybe camelsoup.com or maybe even a quick search would produce something!!!!!!
Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/
Maybe the resources center or maybe camelsoup.com or maybe even a quick search would produce something!!!!!!
Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/
May 7, 2001, 6:36 AM
Veteran / Moderator (1203 posts)
May 7, 2001, 6:36 AM
Post #5 of 66
Views: 15549
Ahh but you didn't try the resource center like both Paul and Eliot suggested. If you did you'd have found it here (Portal Links):
http://www.gossamer-threads.com/...rsion_2_x/more4.html
Glenn
Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
http://www.gossamer-threads.com/...rsion_2_x/more4.html
Glenn
Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
May 7, 2001, 7:10 AM
Novice (11 posts)
May 7, 2001, 7:10 AM
Post #6 of 66
Views: 15600
I also am looking for that mod But the portal links mod you found, i also found, has a bad url for the files that goes with it. So what to do with it . I don't know how the portal.txt is build so i cant add something in it cause i don't have one. That's a problem for someone who hasn't that much experience with perl.
regards alfred
regards alfred
May 7, 2001, 8:43 AM
Veteran / Moderator (1203 posts)
May 7, 2001, 8:43 AM
Post #10 of 66
Views: 15610
That example uses the Portal links mod from:
http://www.camelsoup.com
which does do what you were asking for!
Glenn
Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
http://www.camelsoup.com
which does do what you were asking for!
Glenn
Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
May 7, 2001, 8:43 AM
Veteran (17240 posts)
May 7, 2001, 8:43 AM
Post #11 of 66
Views: 15495
REALLY???
LOOK AT THE FOLLOWING SECTION OF THAT WEB PAGE:
Free Modifications
1.Category Link Template
2.Link Comparison
3.PortalLinks 1.0
4.NewsLinks
5.Dynamic External Templates
6.Info.cgi
7.Info.cgi w/ hit counts
8.Organized Link Detail Pages
9.Horizontal Category Links
ARE YOU BLIND???? Time for an eye appointment!
Want to see a fricken example?
Go to the following web site:
http://www.japanreference.com
Yes, uses mylinks.cgi...however, the portal.cgi works the same way!
Regards,
Eliot Lee
LOOK AT THE FOLLOWING SECTION OF THAT WEB PAGE:
Code:
Free Modifications
1.Category Link Template
2.Link Comparison
3.PortalLinks 1.0
4.NewsLinks
5.Dynamic External Templates
6.Info.cgi
7.Info.cgi w/ hit counts
8.Organized Link Detail Pages
9.Horizontal Category Links
ARE YOU BLIND???? Time for an eye appointment!
Want to see a fricken example?
Go to the following web site:
http://www.japanreference.com
Yes, uses mylinks.cgi...however, the portal.cgi works the same way!
Regards,
Eliot Lee
May 7, 2001, 9:15 AM
Veteran (1220 posts)
May 7, 2001, 9:15 AM
Post #12 of 66
Views: 15516
However, at the moment PortalLink 1.0 can't be accessed, neither through the Resource Center nor through Camelsoup.com: Unkown Tag: ID
Thomas
http://www.japanreference.com

Thomas
http://www.japanreference.com
May 7, 2001, 10:26 AM
Veteran / Moderator (1936 posts)
May 7, 2001, 10:26 AM
Post #13 of 66
Views: 15769
Sorry for the confusion folks... the files are where they always were. Directory browsing was just turned off.
The files are located here:
http://www.camelsoup.com/...templates/portal.txt
http://www.camelsoup.com/...ates/portal_add.html
http://www.camelsoup.com/...s/portal_delete.html
http://www.camelsoup.com/...rtal_delete_all.html
http://www.camelsoup.com/...tes/portal_home.html
http://www.camelsoup.com/...es/portal_error.html
http://www.camelsoup.com/...tes/portal_link.html
and here:
http://www.findinghim.com/...templates/portal.txt
http://www.findinghim.com/...ates/portal_add.html
http://www.findinghim.com/...s/portal_delete.html
http://www.findinghim.com/...rtal_delete_all.html
http://www.findinghim.com/...tes/portal_home.html
http://www.findinghim.com/...es/portal_error.html
http://www.findinghim.com/...tes/portal_link.html
and in the forum...
PortalLinks 2.0 is located here:
http://www.camelsoup.com/source/portal.txt
http://www.camelsoup.com/source/portal_add.html
http://www.camelsoup.com/...e/portal_delete.html
http://www.camelsoup.com/...rtal_delete_all.html
http://www.camelsoup.com/...ce/portal_error.html
http://www.camelsoup.com/source/portal_form.html
http://www.camelsoup.com/source/portal_home.html
http://www.camelsoup.com/source/portal_link.html
http://www.camelsoup.com/...ce/portal_login.html
http://www.camelsoup.com/...e/portal_logoff.html
http://www.camelsoup.com/source/portal_reg.html
note: version 2.0 hasn't been updated yet, so there's a few template/tag issues. read the threads on 2.0 for the fix.
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
The files are located here:
http://www.camelsoup.com/...templates/portal.txt
http://www.camelsoup.com/...ates/portal_add.html
http://www.camelsoup.com/...s/portal_delete.html
http://www.camelsoup.com/...rtal_delete_all.html
http://www.camelsoup.com/...tes/portal_home.html
http://www.camelsoup.com/...es/portal_error.html
http://www.camelsoup.com/...tes/portal_link.html
and here:
http://www.findinghim.com/...templates/portal.txt
http://www.findinghim.com/...ates/portal_add.html
http://www.findinghim.com/...s/portal_delete.html
http://www.findinghim.com/...rtal_delete_all.html
http://www.findinghim.com/...tes/portal_home.html
http://www.findinghim.com/...es/portal_error.html
http://www.findinghim.com/...tes/portal_link.html
and in the forum...
PortalLinks 2.0 is located here:
http://www.camelsoup.com/source/portal.txt
http://www.camelsoup.com/source/portal_add.html
http://www.camelsoup.com/...e/portal_delete.html
http://www.camelsoup.com/...rtal_delete_all.html
http://www.camelsoup.com/...ce/portal_error.html
http://www.camelsoup.com/source/portal_form.html
http://www.camelsoup.com/source/portal_home.html
http://www.camelsoup.com/source/portal_link.html
http://www.camelsoup.com/...ce/portal_login.html
http://www.camelsoup.com/...e/portal_logoff.html
http://www.camelsoup.com/source/portal_reg.html
note: version 2.0 hasn't been updated yet, so there's a few template/tag issues. read the threads on 2.0 for the fix.
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
May 9, 2001, 4:02 AM
Veteran / Moderator (18436 posts)
May 9, 2001, 4:02 AM
Post #15 of 66
Views: 15491
Hi Drew. Are the links at http://www.camelsoup.com/ meant to work now? I was trying to view more info about the mods, but it just gives a 404 error
.
Andy
webmaster@ace-installer.com
http://www.ace-installer.com

Andy
webmaster@ace-installer.com
http://www.ace-installer.com
May 9, 2001, 11:28 AM
Veteran / Moderator (1936 posts)
May 9, 2001, 11:28 AM
Post #16 of 66
Views: 15451
For those of you who are still having difficulties accessing portal 1.0 and 2.0, they are now available through ftp...
ftp://ftp.camelsoup.com/pub/PortalLinks_1.0/ for PortalLinks 1.0
ftp://ftp.camelsoup.com/pub/PortalLinks_2.0/ for PortalLinks 2.0
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
ftp://ftp.camelsoup.com/pub/PortalLinks_1.0/ for PortalLinks 1.0
ftp://ftp.camelsoup.com/pub/PortalLinks_2.0/ for PortalLinks 2.0
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
May 10, 2001, 4:53 AM
Veteran / Moderator (18436 posts)
May 10, 2001, 4:53 AM
Post #17 of 66
Views: 15379
Hi Drew. Are you gonna fix http://www.camelsoup.com/?view=portal??? I'm really interested in this mod
Thanks
Andy
webmaster@ace-installer.com
http://www.ace-installer.com

Thanks
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
May 10, 2001, 10:09 AM
Veteran / Moderator (1936 posts)
May 10, 2001, 10:09 AM
Post #18 of 66
Views: 15298
that's about my least priority... just use the ftp links above. installation instructions are in the readme.txt file.
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
May 11, 2001, 4:49 PM
Novice (11 posts)
May 11, 2001, 4:49 PM
Post #19 of 66
Views: 15382
i have a question regarding the portal mod. I want to use the "my favorites" list in my home page. When i look at portal_links.htm i see a <%Description%> tag to read the User links. My question is how can i use that tag in my home page....or what code do i need for using the tags within portal_links.htm , on my homepage.
regards alfred
regards
alfred
regards alfred
regards
alfred
May 12, 2001, 1:42 AM
Veteran / Moderator (1936 posts)
May 12, 2001, 1:42 AM
Post #20 of 66
Views: 15356
Do you mean a 'bookmark' sidebar on your main Links index page, rather than going to portal.cgi to view the links? If so, than it's quite simple...
off the top of my head...
add a parameter to the top of the script...
Then add this:
my $max = 5;
my @links = split /\|/, $old;
my (@display, $output);
open (LINKS, "$db_lib_path/data/links.db") or die $!;
while () {
chomp (my $record = $_);
foreach (@links) {
$record =~ /^$_\|/ or next;
my @values = split /\|/, $record;
push @display, [ @values ];
}
}
close (LINKS);
my $saved = $#display + 1;
my $links = '';
my $i = 0;
foreach (sort { ${$a}[$db_title] cmp ${$b}[$db_title] } @display) {
my %rec = &array_to_hash(0, @{$_});
$links .= &load_template ("bookmark_link.html", { %rec, %globals });
$i++;
last if ($i = $max);
}
print header();
print &load_template("bookmark_home.html", {
'saved' => $saved,
'links' => $links,
%globals
});
}That should display the first 5 saved links, alphabeticly. The code could be a little off because I've been reworking 1.0 a lot.
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
off the top of my head...
add a parameter to the top of the script...
Code:
if (param('ssi') { &ssi(); }Code:
sub ssi { my $max = 5;
my @links = split /\|/, $old;
my (@display, $output);
open (LINKS, "$db_lib_path/data/links.db") or die $!;
while () {
chomp (my $record = $_);
foreach (@links) {
$record =~ /^$_\|/ or next;
my @values = split /\|/, $record;
push @display, [ @values ];
}
}
close (LINKS);
my $saved = $#display + 1;
my $links = '';
my $i = 0;
foreach (sort { ${$a}[$db_title] cmp ${$b}[$db_title] } @display) {
my %rec = &array_to_hash(0, @{$_});
$links .= &load_template ("bookmark_link.html", { %rec, %globals });
$i++;
last if ($i = $max);
}
print header();
print &load_template("bookmark_home.html", {
'saved' => $saved,
'links' => $links,
%globals
});
}
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
May 12, 2001, 8:19 AM
User (105 posts)
May 12, 2001, 8:19 AM
Post #21 of 66
Views: 15328
Hi Drew.
How can you include this... when there are saved links, there will be a extra tag at the bottom to delete all saved links. Make it unavailable to be seen by somebody who has no saved links.
It is quite silly when i view my favorites and see no saved link and see the tag to delete all favorites (I included it)
Thanks
How can you include this... when there are saved links, there will be a extra tag at the bottom to delete all saved links. Make it unavailable to be seen by somebody who has no saved links.
It is quite silly when i view my favorites and see no saved link and see the tag to delete all favorites (I included it)
Thanks
May 12, 2001, 8:45 AM
Veteran / Moderator (1936 posts)
May 12, 2001, 8:45 AM
Post #22 of 66
Views: 15260
In your portal_home.html template, make sure you use this:
<%links%>
<a href="portal.cgi?action=delete&ID=all">Delete All</a>
<%endif%>--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Code:
<%if links%> <%links%>
<a href="portal.cgi?action=delete&ID=all">Delete All</a>
<%endif%>
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
May 12, 2001, 9:09 AM
Veteran / Moderator (1936 posts)
May 12, 2001, 9:09 AM
Post #24 of 66
Views: 15394
There is no tag for navigation. I'm not too creative when it comes to designing templates so I've left the templates with only the bare minimum. just copy your layout from other templates.
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com