Gossamer Forum
Home : Products : Links 2.0 : Customization :

MY LINKS II: (Cont'd)

(Page 3 of 3)
> >
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Hi,

I've been working slowly on adding My Links to my site, but without using templates (ie, just adding code into site_html.pl). Now, I've come to trying to pull the data from the cookie to display on the My Links page, and as I don't know the exact code to use, it's coming up with 'No Links!' Smile

I'm not a perl guru, so would appreciate any help anyone can give. I guess it's basically the non-template code/subroutine that I need?

Thanks again.

Cheers,
Mark
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Try using the following codes as a model for the sub site_my_links_home routine in site_html.pl file:

Code:
sub site_html_my_add {
my $tags = shift;
print qq~
<html>
<head>
<title>title</title>
<body>
if (${$tags}{'links'}) {
print qq~${$tags}{'links'}~;
}
else {
print qq~No Jokes!~;
}
print qq~
</body>
</html>
~;
}

Regards.

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




[This message has been edited by Eliot (edited December 20, 1999).]
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Eliot, I found your templates and put those up.
Now my error message is: Unkown Tag: body

------------------
www.webcamsearch.com
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
OK. I figured it out. I used the relevant codes and everything works fine.

------------------
www.webcamsearch.com
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Good...For other people...I am using a bunch of pre-defined codes (to create tags) in my template files. The relevant codes you should focus on are in the body of the files where all the MY Links tags and HTML codes are found.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
This is sweeeeet!

Thanks to all especially jerry! Keep it up!
No probs putting it all together at all.

http://www.djmixes.com/cgi-bin/mixes/mylinks.cgi

Derek


------------------
One click for your DJ mix fix...
www.djmixes.com/
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Yes. Thank you Jerry and Eliot.

------------------
Blake Webster
www.webcamsearch.com
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Jerry is the one to thank.

I did nothing.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
everyone.. (especially predator)

be aware of the ftp://ftp.pdamania.com/ version.. it is the newest copy and predator.. i could tell your copy is old because how the cookie is stored..

when you change to the new copy.. everything is gonna be messed up (the cookie..) so you have to do a delete all..

jerry
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Widgetz,

I am using the recent script from your FTP site.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Can I do a delete all with the newer one, or only with the one I have?

I tried with the newer one and it seemed to do it, although I didn't look at the cookie file.

I have the new one from pdamania.com now.

Thanks,
Derkek
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
You can do a delete all with both. The newer script is better in terms of saving cookies in the HTTP Cookie file.

Regards,



------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Hey Jerry,

For future users of this mod, can you put a note up top of which variables can be used with this mod? A lot of people are using Alex's templates and he's using extra variables which are confusing some people. It would also help the more experienced in telling them which which miscellaneous variables to remove from Alex's templates. ( FYI this is a variable for you newbies --> <%variable%> )

Also, is there some way to use this in an SSI call? I want to try to implement it on the sidebar of my index page. Smile

Later!
- Mr. Undies
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
I was unable to find the templates for the my links mod. That mod is just simply incredible Smile Could someone possibly send the templates (I tried to get them but the site is down) and also the code for the site_html_templates.pl


Thanks,

Michael

Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
you can use my templates:
http://ucmd.virtualave.net/mylinks/

--Drew
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Sorry about that...my hosting company neglected to renew my domain registration in a timely manner.

But the templates posted by the other LINKS user are fine.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
hi everyone,
i'm wondering wether is there any way that i can have mylinks installed in the server instead of cookies so i can have my own bookmark service.
registered members will have access to their own bookmarks from anywhere in the world, and will be able to bookmark unrelated site also.
please let me know about this, i'm willing to spend for this on my site.

------------------
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Jerry, I believe, was working on a member database driven Mod for this, but works only with LINKS SQL. In terms of a flat file system, your server would end up choking with the amount of requests being made to the server.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Jerry,
I'm willing to do anything to have it coz there's too many ideas that I'm going to do once it gets on my hand.... Wink
Just let me know once it's ready...

------------------
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Uh...the script has already been posted with Instructions in this Forum in the first MY LINKS Topic.

You can download the script at:

www.widgetz.com/mylinks.txt

Then search for MY LINKS in the search form (not II or contd) to find the Topic with instructions.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Sorry, forgot to mention that I actually refering to what Eliot is saying:
--------------------
Jerry, I believe, was working on a member database driven Mod for this, but works only with LINKS SQL. In terms of a flat file system, your server would end up choking with the amount of requests being made to the server.
--------------------
Yeah, i'm ready for more than the Server Choking.

------------------
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Quick questions am I right in assuming that the cookie that is set will only be veiwable under that browser.

Example : if I set add mylink using IE I won't see it under netscape.

It's not a big deal just a like to know

TIA


------------------
-------------------------
luke@thetravelhelper.com
Visit www.thetravelhelper.com
-------------------------
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
That's extremely right, I'd say!
Quote Reply
Re: MY LINKS II: (Cont'd) In reply to
Uh...that is wrong...You can set the IDs in both Netscape and IE in the same computer.

Your problem is most likely associated with the $domain variable in the mylinks.cgi script.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
> >