Gossamer Forum
Home : Products : Gossamer Links : Discussions :

User Mod...

Quote Reply
User Mod...
Hello all,

I'd like to know, if is possible to include in the user screen this options:

- Add more websites.
- List yours websites already registered
- Modify yours websites already registered
- Delete your websites already registered

Thanks a lot!
Luchini
http://www.buscasite.com/
Quote Reply
Re: User Mod... In reply to
when a User have editor rights, He/She can add/modify/delete their links depending on editor rights.

Quote Reply
Re: User Mod... In reply to
Hello,

Yeah I know that :). But I want that the user can list, modify and delete only sites that add by himself, and not the administration option. equal this user system http://www.mycgiscripts.com/cgi-bin/demo/linkspro/control.cgi

Thanks a lot!
Luchini
http://www.buscasite.com/
Quote Reply
Re: User Mod... In reply to
MyLinksNG should have the functionality you are looking for by the time it is complete. You can read more about it at:
Code:
http://www.gossamer-threads.com/perl/forum/showflat.pl?Cat=&Board=LSQLPlg&Number=125852&page=0&view=collapsed&sb=5
AlexJ

Quote Reply
Re: User Mod... In reply to
That Mod will only allow registered users to add/delete links in your directory. It will NOT provide comprehensive "control panel" functionality.

I've created a pretty comprehensive control panel for LINKS SQL v.1.X using jerry su's modify.cgi, which is probably the better MOD to upgrade to create a control panel.

MyLINKS won't cut the mustard...

Regards,

Eliot Lee
Quote Reply
Re: User Mod... In reply to
I would really like this as well. It would be great if someone could see all the links added by a particular user when you click on their profile.

Quote Reply
Re: User Mod... In reply to
That is easy...simply use the DETAILED PAGES for USERS instead of Links, then use the following SQL statement to pull the records from the Links table within a plug-in:

Code:

SELECT *
FROM Links, Users
Users INNER JOIN Links ON Users.UserID = Links.UserID
WHERE UserID = $userid


Define $userid as $IN->{'UserID'}.

Of course the above hard-coded SQL query could easily be totally re-written into a plug-in.

Regards,

Eliot Lee
Quote Reply
Re: User Mod... In reply to
Hi Eliot,

Please, could you send me your mod?

Thanks a lot!
Luchini
http://www.buscasite.com/
Quote Reply
Re: User Mod... In reply to
Wicked AnthroRules, heaps of respect for brilliance in sql. Many thanks.


Quote Reply
Re: User Mod... In reply to
What "Mod"? The modify.cgi Mod? This is linked in the Links SQL v.1.3 Forum. Search for modify.cgi.

In terms of the codes I provided, they are just code hacks that can be applied into a plug-in...not too hard.

Regards,

Eliot Lee
Quote Reply
Re: User Mod... In reply to
You're welcome...not too hard...very simply query to say the least...

Regards,

Eliot Lee