Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

MyLinks2 Updated

(Page 1 of 2)
> >
Quote Reply
MyLinks2 Updated
I've started a new thread, the other was getting rather long.

MyLinks2 has been updated with the following features:

1) Ability to move multiple links.
2) Choice of email content type (text or html).
3) Ability to turn checking on/off for email/name on the recommend link page.
4) Ability for public/non-registered users to recommend links.
5) Any folder can now be set as default.
6) Links::init_date added (just for Klaus Wink)
7) my_recommended column added to count recommendations.
8) User list has been sped up significantly - some icky queries were making it very slow.

This plugin includes a new template as well as database changes. When installing, choosing to overwrite any existing templates should be fine as long as you modified the originals using the Links SQL template editor as it will have created your custom templates in /default/local - the plugin installs templates into /default.

Make sure you backup your SQL data!

===============================================
For reference here is a link to the original thread....

http://gossamer-threads.com/...;;page=unread#unread
Quote Reply
Re: [Paul] MyLinks2 Updated In reply to
I just went to download the new version and it says Last Updated: 2003-04-02 (I was expecting it to be at the top of the list) - is this the new one?
Quote Reply
Re: [afinlr] MyLinks2 Updated In reply to
Cool, I didn't even know I could do that Wink

It was the new one - anyway I've updated the date...thanks.
Quote Reply
Upgrading In reply to
Hi Paul,

How are you meant to upgrade to mylinks 2 from mylinks 1? There is an upgrade script (my_upgrade.cgi) that should be run, but with regard to uninstalling and installing it seems rather ambiguous. If one uninstalls the mylinks 1, then this will delete all of the tables. Sorry if I'm missing something, but is there an easy way to upgrade?
Quote Reply
Re: [cwi] Upgrading In reply to
You can install MyLinks2 without removing the original MyLinks. Once you have done that you can run the little upgrade script which will import your data into MyLinks2, then you can uninstall MyLinks.

Make a backup first though just in case.
Quote Reply
Re: [Paul] Upgrading In reply to
Thanks for the quick response Paul.

When I uninstall mylinks 1, I do a full uninstall, no?
Quote Reply
Re: [cwi] Upgrading In reply to
If you are finished with the plugin then yes you can do a full uninstall.
Quote Reply
Re: [Paul] Upgrading In reply to
Thanks Paul, it works great.
Quote Reply
Only One Line Changed In reply to
Hi Paul,

Not sure if you need to know, but I had problems saving the profile changes unless altered line 382 of MyLinks.pm to cope with using the script in dynamic mode with URL sessions:



# Delete anything suspicious.
my $cpass = delete $input->{CPassword};
for (qw/Username Validation Status d s do/) {
delete $input->{$_} if (exists $input->{$_});
}
Quote Reply
Re: [cwi] Only One Line Changed In reply to
Hmm, I was under the impression that the code I used ($db->modify($input)) automatically discarded unrequired data. The code you quoted above only removes anything that could be "tampered" with.

What was the error you got?

Last edited by:

Paul: May 20, 2003, 7:45 AM
Quote Reply
Re: [Paul] Only One Line Changed In reply to
In Reply To:
Hmm, I was under the impression that the code I used ($db->modify($input)) automatically discarded unrequired data. The code you quoted above only removes anything that could be "tampered" with.

What was the error you got?


I think that the insert query used to save the user data was trying to insert '1' into the 'd' column and the session name into the 's' column, which of course don't exist.
Quote Reply
Re: [Paul] MyLinks2 Updated In reply to
Hi Paul,

Sounds great - what is the new template for and what is the name?

I have already made some pretty comprehensive template changes - I guess that is ok ref. your comments - but there are some updates that I will need to do in order to make the new functionality work I guess..

Is there a template changelog by any chance?

Thanks for the Links::init_date Smile

Cheers
Klaus

http://www.ameinfo.com
Quote Reply
Re: [klauslovgreen] MyLinks2 Updated In reply to
The new template is for multiple link moving.

It's called:

my_folder_multi.html

There's no changelog I'm afraid :(
Quote Reply
Re: [Paul] MyLinks2 Updated In reply to
Paul, does MyLinks add a link to the left side of the Admin Panel (Home)? I gave this a trial but then removed it but have just noticed that there's now a MyLinks Users link on the left panel of the Home page.
Quote Reply
Re: [rayhne] MyLinks2 Updated In reply to
That link is from the original mylinks I think.
Quote Reply
Re: [Paul] MyLinks2 Updated In reply to
So I can safely remove it then.....thank you. :)
Quote Reply
Re: [Paul] Upgrading In reply to
Hi Paul

my_upgrade.cgi where is it located? since it is not in the original package.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [Paul] MyLinks2 Updated In reply to
Hello Paul,

How to buy script (MyLinks2) with Paypal?

Thank you


Michel

Quote Reply
Re: [mick31] MyLinks2 Updated In reply to
Please download the plugin from your admin panel and you'll see instructions.
Quote Reply
Re: [Paul] MyLinks2 Updated In reply to
I did that, but I am in France.

I wish to pay with Paypal.

The other solution (Amazon.co.uk) is not good for France.

You have a solution?

Thank you

Quote Reply
Re: [mick31] MyLinks2 Updated In reply to
All the details for paying with paypal are listed when you download the plugin. You need to visit the URL presented....

http://www.adsql.com/perl/my_order.cgi
Quote Reply
Re: [katabd] Upgrading In reply to
Hi

There seem to be two problem in the new release, I think

1- The my_upgrade.cgi file is not in the package so upgrading from the old version is not easy..

2- The Users Page does not display any users although there are several registered users with links in their MyLinks.

Does Paul or someone else that is using this plug in has an answer please?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Upgrading In reply to
Unfortunately I deleted the upgrade script after I'd used it - otherwise I would send it to you. I don't think you'll see the users in the list until after you've upgraded as the new version is using different databases.

Edit: I found the script - http://www.gossamer-threads.com/...i?post=238659#238659

Last edited by:

afinlr: Jul 20, 2003, 6:01 AM
Quote Reply
Re: [afinlr] Upgrading In reply to
Thanks

I did the upgrade and it worked.

BUT still the Users page shows no user...

Is it too much trouble if I ask you to PM the HTML code you use in the template..

I think the default one may have some mis entries in it.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [Paul] MyLinks2 Updated In reply to
Hi Paul

The upgrade went smooth..

All users data were imported to the new tables.. I verifies several users with valid public folders and links..

BUT the users List still comes out blank with 0 users..

Any ideas.

Laura gave me here template and the tags she uses are the same one I have on mine..!!Mad
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
> >