Gossamer Forum
Home : Products : Links 2.0 : Customization :

Where to find?

Quote Reply
Where to find?
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.

Quote Reply
Re: Where to find? In reply to
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/

Quote Reply
Re: Where to find? In reply to
Yea...search the G-D Resource Center! Tongue

Regards,

Eliot Lee
Quote Reply
Re: Where to find? In reply to
I really tried finding the forum. There is 1 called mylinks.cgi. Apparently the author is charging $20 dollars for it. There is also 1 myfavourites by junkos but I can't find it. Can anybody give me a URL? Thanks!

Quote Reply
Re: Where to find? In reply to
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
Quote Reply
Re: Where to find? In reply to
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


Quote Reply
Re: Where to find? In reply to
GO HERE:

http://www.camelsoup.com

!!!!!!!!!!!! Tongue!!!!!!

Regards,

Eliot Lee
Quote Reply
Re: Where to find? In reply to
I went to http://www.gossamer-threads.com/scripts/resources/Links/Modifications/Version_2_x/more4.html and found nothing I found.

The most relevant is

[Search Bookmarklet] http://www.gossamer-threads.com/perl/resources/jump.cgi?ID=1069

but it is not what I need.

Thanks anyway...

Quote Reply
Re: Where to find? In reply to
I went to camelsoup and found nothing I want too. Thanks anyway for providing a resource site. I have bookmarked it.

The mod I want is to add favourites. Maybe a live example will be better... Smile

Check out
http://links.innovationstudios.com/


Quote Reply
Re: Where to find? In reply to
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
Quote Reply
Re: Where to find? In reply to
REALLY???

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
Quote Reply
Re: Where to find? In reply to
However, at the moment PortalLink 1.0 can't be accessed, neither through the Resource Center nor through Camelsoup.com: Unkown Tag: ID Tongue

Thomas
http://www.japanreference.com
Quote Reply
Re: Where to find? In reply to
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
Quote Reply
Re: Where to find? In reply to
Hmmmm I installed portal and it is working!

Thanks for all the help

Quote Reply
Re: Where to find? In reply to
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 Frown.

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Where to find? In reply to
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
Quote Reply
Re: Where to find? In reply to
Hi Drew. Are you gonna fix http://www.camelsoup.com/?view=portal??? I'm really interested in this mod Cool

Thanks

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Where to find? In reply to
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
Quote Reply
Re: Where to find? In reply to
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
Quote Reply
Re: Where to find? In reply to
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...
Code:
if (param('ssi') { &ssi(); }
Then add this:
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
});
}
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
Quote Reply
Re: Where to find? In reply to
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

Quote Reply
Re: Where to find? In reply to
In your portal_home.html template, make sure you use this:
Code:
<%if links%>
<%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
Quote Reply
Re: Where to find? In reply to
Maybe a dumb Q

have installed portal 2.0 and putportal.cgi?action=add&ID=X

it works fine BUT how do you see all your saved links

(path) to see links and navigation for deleting and so on.



Quote Reply
Re: Where to find? In reply to
In Reply To:
it works fine BUT how do you see all your saved links
just link to 'portal.cgi' itself to see the links.

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
Quote Reply
Re: Where to find? In reply to
Thank you Got it together

Works fine now

Regards Stone

Quote Reply
Re: Where to find? In reply to
How do you on the portal_link.html get this text:

12-May-2001
Welcome, stone! You have saved 3 links. Displaying 1 through 3.

into a table centred on the page

It shows outside any tables I have

Please advise

Stone

Quote Reply
Re: Where to find? In reply to
Simple matter of using appropriate HTML codes. I would suggest picking up HTML for Dummies or reviewing some online HTML tutorials.

Or for the lazy solution, you could use a WYSIWYG editor, like Front Page or Dreamweaver to customize the templates. Of course, bearing in mind that you need to preserve placement of the Links 2.0 tags:

EXAMPLE:

Code:

<%if links%>
<%links%>
<%endif%>


Regards,

Eliot Lee
Quote Reply
Re: Where to find? In reply to
Well the problem is that as far as I can see the

text doesn`t get called from the portal_link.html page

this is all there is on the page:<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<p> </p>
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><ul>
<li><font face="arial size="2"><a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" target="_blank">
<%Title%>
</a></font>



<%if Description%>
<font face="arial size="2">

<%Description%>


</font>
<%endif%>

<font 2="2" size="1" face="Verdana, Arial, Helvetica, sans-serif">(Added:
<%Date%>
) <a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">[Rate It]</a></font> <a href="<%db_cgi_url%>/portal.cgi?action=add&ID=<%ID%>"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">[Add
to favorites]</font></a> <a href="<%db_cgi_url%>/portal.cgi?action=delete&ID=<%ID%>"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">[Remove
favorites]</font></a> <a href="http://www.dkflight.dk/flightlink/cgi-bin/portal.cgi?action=login"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">[login]</font></a>
</ul></td>
</tr>
</table>





</body>
</html>

So I think it gets printed from the cgi file.

Am I wrong

Please adwise

Stone



Quote Reply
Suggestion... In reply to
Drew and all,

You might want to consider not using jump.cgi link in the PORTAL Links, as this is a really easy chance for LINK OWNERS to "bookmark" or save their link and then continually click on it. Yes, there are codes in jump.cgi to reduce abusive "clicking" of links.

But I have found that linking jump.cgi is a really easy way for LINK OWNERS to put their links in the Cool pages.

Regards,

Eliot Lee
Quote Reply
Re: Where to find? In reply to
Hi junco Yes thats what i wanted to do. Place the bookmarks om my main page.I read the script (as much as i understand)but if im not mistaking ( im using templates) all the variables are read from Site_html_templates.pl so if i wanna use the variables(tags) like <%user%> ect that are ment to work with portal links then i have to add them as a variable to site_html_templates.pl ... also the code you suplied has to be added some way into the site_html_template..
( im a beginner with perl) but am i right about this? Or can i use a other solution for calling a variable... from portal.cgi


regards alfred



regards
alfred
Quote Reply
Re: Where to find? In reply to
Hmmm is it possible to add a 'send saved links to email' sub-mod for portal?

Quote Reply
Re: Where to find? In reply to
Which version? The codes would be similar, but here's for 2.0 (untested).

Change:
Code:
if (param('action') eq 'add') { &add(); }
elsif (param('action') eq 'delete') { &delete(); }
else { &home(); }
To:
Code:
if (param('action') eq 'add') { &add(); }
elsif (param('action') eq 'delete') { &delete(); }
elsif (param('action') eq 'send') { &send(); }
else { &home(); }
Then add:
Code:
sub send {
my ($data, @links);
open (FAV, "$db_lib_path/data/portal/$user{'ID'}.db") or die ("Could not open file $user{'ID'}. $!");
$data = <FAV>;
chomp $data;
close (FAV);
if ($data) {
my @saved = split /\|/, $data;
open (DB, "$db_lib_path/data/links.db") or die ("Could not open file links.db. $!");
while (<DB>) {
chomp(my $line = $_);
foreach my $id (@saved) {
/^$id\|/ or next;
my @rec = split /\|/, $line;
push @links, [ @rec ];
}
}
close (DB);
}
my $links;
if ($#links > -1) {
foreach (@links) {
my %rec = array_to_hash(0, @{$_});
$links .= &load_template('portal_link_mail.html', { %rec, %globals });
}
} else { $links .= 'You have not saved any favorites.'; }
my $msg = qq|
Hello, $user{'Login'}! Below is listing of all your saved links:

$links

To view your favorite links online, visit:
$db_cgi_url/portal.cgi
|;
require "$db_lib_path/Mailer.pm";
my $mailer = new Mailer ({
'smtp' => $db_smtp_server,
'sendmail' => $db_mail_path,
'from' => $db_admin_email,
'subject' => 'Your saved links',
'to' => $user{'Email'},
'msg' => $msg,
'log' => ''
}) or return;
$mailer->send or return;
print header();
print &load_template('portal_mail.html', { %globals, %user });
}
Create a link template called 'portal_link_mail.html' to be used to the email. should be text-based.

Create a new template called 'portal_mail.html' to be used to confirm the email was sent.

--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Where to find? In reply to
You are very good! Can wait to try it out...

Meanwhile... i been surfing many sites using links and I found lots of people using a mod that subsitutes the ratings with images.

Where is it available? I found some rating breakdowns that is graph like images. The images I want to use is stars.

If u are telling me that I can use the stars images to replace the graph, then should I use ratings breakdown 1 or 2 found in glennu's homepage?

Many thanks!!!


Quote Reply
Re: Where to find? In reply to
Errr forgot to ans ur qn... I want to use that emailing stuff for portal v1.0. Is the code the same?

Quote Reply
Re: Where to find? In reply to
'Where is it available? '

Search the forum there's atleast a couple of posts outlining instructions for this.

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Where to find? In reply to
over 80% of the code would be the same, but you need to use a form to get the user's email address and have a hidden field called 'action' with a value of 'send'.

I suggest you go ahead and use the test version of 1.0 since it's almost the 'exact' same code as 2.0, and it's easier for me to make changes and adapt it quicker for both versions.

Code:
sub send {
my ($email, @links, $links, $msg, $mailer);
$email = param('email');
$email =~ /^.+\@.+\..+$/ or &error('invalid looking email address');
if ($old) {
my @saved = split /\|/, $old;
open (DB, "$db_lib_path/data/links.db") or &error("Could not open file links.db. $!");
while (<DB>) {
chomp(my $line = $_);
foreach my $id (@saved) {
$line =~ /^$id\|/ or next;
my @rec = split /\|/, $line;
push @links, [ @rec ];
}
}
close (DB);
}
if ($#links > -1) {
foreach (@links) {
my %rec = array_to_hash(0, @{$_});
$links .= &load_template('portal_link_mail.html', { %rec, %globals });
}
} else { $links .= 'You have not saved any favorites.'; }
$msg = qq|Below is listing of all your saved links:\n|;
$msg .= qq|\n$links\n|;
$msg .= qq|To view your favorite links online, visit:\n|;
$msg .= qq|$db_cgi_url/portal.cgi|;
require "$db_lib_path/Mailer.pm";
$mailer = new Mailer ({
'smtp' => $db_smtp_server,
'sendmail' => $db_mail_path,
'from' => $db_admin_email,
'subject' => 'Your saved links',
'to' => $email,
'msg' => $msg,
'log' => ''
}) or return;
$mailer->send or return;
print header();
print &load_template('portal_mail.html', { %globals });
}
Note, I've updated the other post as well, because I noticed a few syntax errors.

--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Where to find? In reply to
[reference to the above code, for portal v1.0]

Couldn't run ur code at first but after noticing some mistakes...

left out>>> my $in = shift;
inserted>>> $email = $in->param('email');
inserted>>> print $in->header();

the cgi files managed to be executed but the email dat was send to me says... "You have not saved and favorites"...

I think it could be something to do wif this part

In Reply To:
if ($#links > -1) {
foreach (@links) {
my %rec = array_to_hash(0, @{$_});
$links .= &load_template('portal_link_mail.html', { %rec, %globals }); } }
else { $links .= 'You have not saved any favorites.'; }
pls help and thanks in advance...




Quote Reply
Re: Where to find? In reply to
Didn't I say to use the test version of 1.0?

To use this with the original 1.0, yes you need to have that OO crap in since that's the way it was written. Aditionally, you'll need to add this:
Code:
my $old = cookie($name);
and change this:
Code:
my @saved = split /\|/, $old;
To:
Code:
my @saved = split /x/, $old;
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Where to find? In reply to
hi junco

i already asked you the bookmark sidebar question. But
a few questions more here
Where do i put the code you gave?
I already tryed it in portal.cgi and in site_html_templates.pl but that doesn't work...
And if i put the code inside a file ??? What would be the tag(s) to put in the main index(the template home.html)

The portal mod is working fine the way it was ment by the way.

Regards
alfred




regards
alfred
Quote Reply
Re: Where to find? In reply to
Hi junko! I did wat u said and it worked! Thanks!!! U are brillant... Smile

I stumbled on something, on the page that says your email has been sent, if i keep refreshing the page... and clicked on 'retry' for the prompt... the email will be sent to the address another time. Is there any way to prevent the email from being send again?

Thanks...

Quote Reply
Re: Where to find? In reply to
You could save a timestamp to a cookie called 'time' using time(). On each load the page, get the cookie with cookie('time'), and subtract value from the current time and see if it's less than the number of seconds in a day, and redirect to an error page if it is.

(or you could do the same thing as a database... but this is a bit quicker to code)

--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Where to find? In reply to
errr i dun think i able to code dat though it may be easy to u...

but i think this extra mod could be very useful. some ppl tends to click twice for submit buttons... with this mod can prevent extra msging...

Quote Reply
Re: Where to find? In reply to
Where I do not type in any email address or type in a fake email address with @... it directs me to a internal server error page. May I know which part went wrong?

This code is for sending email from portal's saved links.

In Reply To:
sub send {
my $in = shift;
my $old = $in->cookie($name);
my ($email, @links, $links, $msg, $mailer);
$email = $in->param('email');
($email =~ /^.+\@.+\..+$/) or print &error("Invalid looking email address");
if ($old) {
my @saved = split /x/, $old;
open (DB, "$db_lib_path/data/links.db") or &error("Could not open file links.db. $!");
while (<DB>) {
chomp(my $line = $_);
foreach my $id (@saved) {
$line =~ /^$id\|/ or next;
my @rec = split /\|/, $line;
push @links, [ @rec ];
}
}
close (DB);
}
if ($#links > -1) {
foreach (@links) {
my %rec = array_to_hash(0, @{$_});
$links .= &load_template('fav_mail_link.txt', { %rec, %globals });
}
} else { $links = qq|<span style="font-size: 12">You have not saved any favorites.</span>|; }
$msg = qq|Below is listing of all your saved links:\n|;
$msg .= qq|\n$links\n|;
$msg .= qq|To view your favorite links online, visit:\n|;
$msg .= qq|http://www.lazyjuice.com/searchsg|;
require "$db_lib_path/Mailer.pm";
$mailer = new Mailer ({
'smtp' => $db_smtp_server,
'sendmail' => $db_mail_path,
'from' => $db_admin_email,
'subject' => 'Your saved links',
'to' => $email,
'msg' => $msg,
'log' => ''
}) or return;
$mailer->send or return;
print $in->header();
print &load_template('fav_mail_success.html', { %globals });
}

Quote Reply
Re: Where to find? In reply to
You changed something you shouldn't have...
Code:
($email =~ /^.+\@.+\..+$/) or print &error("Invalid looking email address");
If you look in the code I provided there is no print statement before &error...

--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Where to find? In reply to
sorrie never see it is w/o the 'print'

but still... doesn''t work.

when i never type any address and click submit - it brings to internal server error

when i type a fake address, without @ and submit, it brings me to success page.

I will get an email when i entered a proper address.

*confused*

Quote Reply
Re: Where to find? In reply to
Make sure you have this subroutine:
Code:
sub error {
my $message = shift;
print header();
print &load_template ('portal_error.html', {
'message' => $message,
%globals
});
exit;
}
and make sure you have a template called 'portal_error.html' with the 'message' tag in it.

--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Where to find? In reply to
Hmmm i got an error at line 246

the print header() part

pls help me seee my script... http://www.lazyjuice.com/downloads/portal.txt

thanks...

Quote Reply
Re: Where to find? In reply to
Try changing this:
Code:
sub error {
my $message = shift;
print header();
print &load_template ('fav_error.html', {
'message' => $message,
%globals
});
exit;
}

....to....

Code:
sub error {
my $message = shift;
print $in->header();
print &load_template ('fav_error.html', {
'message' => $message,
%globals
});
exit;
}
Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Where to find? In reply to
I really wish you upgraded to one other 3 newer versions... any of them:
PortalLinks 1.0 (cookies)
    version: 2.0 posted 13-May-01
PortalLinks 2.0 (flatfile)
    version: 1.01 posted 01-May-01
PortalLinks 3.0 (mySQL)
    version: 1.0 posted 18-May-01

Now.. if you insist on using old code, couple things you need to fix:
1) you did not completely comment out the old subroutine
2) change
Code:
my ($message) = shift;
print header();
to:
Code:
my ($message, $in) = @_;
print $in->header();
3) change any instance like:
Code:
$message = "error message";
print $in->header();
print &error;
or
Code:
&error("error message");
to something like:
Code:
&error("error message.", $in);
--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Where to find? In reply to
Thanks. The code is working... :)

Quote Reply
Re: Where to find? In reply to
Hi... its me again...

In Reply To:
I really wish you upgraded to one other 3 newer versions... any of them:
PortalLinks 1.0 (cookies)
    version: 2.0 posted 13-May-01
PortalLinks 2.0 (flatfile)
    version: 1.01 posted 01-May-01
PortalLinks 3.0 (mySQL)
    version: 1.0 posted 18-May-01
Which of them doesn't have the login and reg user function? Will that be easy for me to upgrade from my old code???

and... my old portals cannot span pages... how can i include it? if it is going to be tedious... how can i set max number of links added?


Quote Reply
Re: Where to find? In reply to
version 2.0 cookie does not have the registed users function but does have page spanning (the file is named portal_2.01.txt). The only posible problem is that your users cookie may become corrupt after upgrading. To prevent that, look for codes like this in your old copy:
Code:
split /x/
or
Code:
join /x/
and make sure that in the new script you are using the same thing (the bolding code from above) to split and join on.
Further instructions are in the readme file (readme_2.01.txt).
I just had an idea for upgrading cookie to flatfile...

--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Where to find? In reply to
sorrie for not reply ur post... was tied down by my crontab being not able to work...

hmmm i think it will be quite tedious to upgrade... so how can i include a code that only allow a number of links to be saved?

Quote Reply
Re: [King Junko II] Where to find? In reply to
I don't under stand where is it????????
rexxx webmaster
Quote Reply
Re: [rexxx] Where to find? In reply to
where is what? are you refering to the code change or the file? If it's the file then it's not available right now. Hopefully it will be up again this weekend.

--Philip
Links 2.0 moderator
Quote Reply
Re: [King Junko II] Where to find? In reply to
That is great!!

Can you send me an email when you have it up??Wink
rexxx webmaster
Quote Reply
Re: [rexxx] Where to find? In reply to
Smile Well its the weekend???

Are they ready??
rexxx webmaster
Quote Reply
Re: [rexxx] Where to find? In reply to
a little more patience please.... they've got to install the server and set up accounts from scratch before doing anything... plus I work 13 hour shifts on the weekend so I don't get home til 1am, and by then most sane people are sleeping.

--Philip
Links 2.0 moderator
Quote Reply
Re: [sponge] Where to find? In reply to
hi

camelsoup.com doesn t work anymore. is there still a way to get the files for a 'portal' mod ?

tanx
Quote Reply
Re: [jigme] Where to find? In reply to
http://www.perlmad.com/scripts/portal/index.txt

Please note that these files have been virtually untouched for two years and I'm not sure if everything works anymore.

--Philip
Links 2.0 moderator
Quote Reply
Re: [sponge] Where to find? In reply to
Thanx a lot for your answer. Wink

When i go to 'http://www.perlmad.com/scripts/portal/', as explained in 'http://www.perlmad.com/scripts/portal/index.txt '

access is refused. Cool
Quote Reply
Re: [jigme] Where to find? In reply to
sorry, you just use the URL as teh base for the files listed under it. so it's http://www.perlmad.com/scripts/portal/ + portal.txt, etc.

Philip
------------------
Limecat is not pleased.
Quote Reply
Re: [fuzzy logic] Where to find? In reply to
All rightWink. Sorry to be stupid Crazy. Cheers. J.Blush
Quote Reply
Re: [sponge] Where to find? In reply to
Your mod seems to work very fine, than you very much. Wink

i tried something but unsuccessfully Unsure:

i use 2 separate 'links2' scripts in my site : 'links' (cgi-bin/links/admin/..) and 'postcards' (cgi-bin/postcards/admin/..).

then, i installed 'portal' mod in my 2 separated 'links' and 'postcards' scripts.

it would be fine if the users of 'my favorite postcards' are automatically subscribed to 'my favorite links', or vice-versa.

i tried to add simultanously the user.db file in 'cgi-bin/links/admin/data/portal/' and 'cgi-bin/postcards/admin/data/portal/' folders when i subscribe in any of the 'portal' form.

might be easy to do, but i don t know anything about programing.

Tanx if you know. Cheers. J.
Quote Reply
Re: [jigme] Where to find? In reply to
shouldn't be hard at all. Use a single users.db file. Edit portal.cgi so that whereever you have:
Code:
open (USER, "$db_lib_path/data/portal/users.db") or die ("File-Error 'users.db'. $!");
it points to the file you want to use. If you want a single users.db and single user links file for both it'd be much more work than it's worth.

Philip
------------------
Limecat is not pleased.
Quote Reply
Re: [sponge] Where to find? In reply to
your script works very fine, tank you very much !!! SmileSmileSmile

i don t understand about 'send mail'. is there a link 'send my links by mail' that the visitor must click ? or does it send automatically ? actually i don t receive anything. i use the version 2.0

and i don t understand neither what should be written in 'portal_link_mail.html'.

tanx if you can answer.