Gossamer Forum
Home : Products : Links 2.0 : Customization :

MY LINKS

(Page 4 of 4)
> >
Quote Reply
Re: MY LINKS In reply to
Does that mean that for all of the new subroutines I would have to change the way the tags are implemented?
Quote Reply
Re: MY LINKS In reply to
Great, i got part of it to work. One slight problem. What tag do i use to display the link in the site_html_my_add page. For some reason it won't display it when i use ${$tags}{'links'} or $links. However in the site_html_my_home page it will display the link.
Quote Reply
Re: MY LINKS In reply to
Gregario,

You need to use actual link variable tags, like you have in the sub site_html_link routine.

Example:

Code:
sub site_html_my_add {
# --------------------------------------------------------
# This routine is used to display what a link should look
# like. It's a little complex looking just because we have to
# check for blank entries..

my (%rec) = @_;

$build_detailed ?
($output = qq~<ul><li><a class="link" href="$build_detail_url/$rec{$db_key}$build_extension">$rec{'Title'}</a>~) :
($output = qq~<ul><li><a class="link" href="$build_jump_url?$db_key=$rec{$db_key}">$rec{'Title'}</a>~);

if ($rec{'Description'}) { $output .= qq~ <span class="descript">- $rec{'Description'}</span>\n~; }
if ($rec{'isNew'} eq "Yes") { $output .= qq~ <small><sup class="new">new</sup></small>~; }
if ($rec{'isPopular'} eq "Yes") { $output .= qq~ <small><sup class="pop">pop</sup></small>~; }

$output .= qq~ <small class="date">(Added: $rec{'Date'} Hits: $rec{'Hits'} Rating: $rec{'Rating'} Votes: $rec{'Votes'}) <a href="$build_rate_url?ID=$rec{'ID'}">Rate It</a></small>
</ul>
~;

return $output;
}

Hope this helps.

Good luck.

Regards,

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


Quote Reply
Re: MY LINKS In reply to
gregorio.. if i wasn't so lazy.. i'd just make the subs for you Wink

i'm planning on doing them tommorrow when i get home from school..

but do this..

Code:
~;

if (${$tags}{'links'}) {
print qq~Links:<br>${$tags}{'links'}~;
}
else {
print qq~No Links!~;
}
print qq~

jerry
Quote Reply
Re: MY LINKS In reply to
new version which hasn't been released yet.. im still in the process of "encrypting" further..

http://www.hexapods.com/...in/links/mylinks.cgi

right now it only saves space for links 1-2000 or something.. everything else is almost the same.. i am trying to get it down to at least 1-3 characters for each link..

you guys know why i'm doing this right?

there is only a limit on cookies. < 2k per cookie

jerry
Quote Reply
Re: MY LINKS In reply to
Take your time, Jerry. We know you want to do this right.

------------------
Will
Webmaster
FishHoo! Search index for Fishermen
www.fishhoo.com
Quote Reply
Re: MY LINKS In reply to
Can somebody E-mail me the procedure to add my links to an existing links setup? I copied the mylinks.cgi but I don't know how to adapt the rest of the links infastructure to mylinks.cgi. My e-mail address is:

jonathan@infoprimer.com

Thanks,

Jonathan
Quote Reply
Re: MY LINKS In reply to
Instructions for setting up the template files are located in another MY LINKS Topic in this forum.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: MY LINKS In reply to
hmm mine aint displaying the results for some reasons it says
%link_result% does not exist
Quote Reply
Re: MY LINKS In reply to
<%link_results%>

jerry
Quote Reply
Re: MY LINKS In reply to
Hi looks like a great mod but mine ain't displaying either I have tried

<%links%>

and

<%link_results%>

Help needed please

Thanks

Dc

Smile
Quote Reply
Re: MY LINKS In reply to
You need to use <%links%> in the my_home.html template file.

Most likely you have not configured the sub site_html_my_home routine correctly in your site_html_templates.pl file.

Regards.

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: MY LINKS In reply to
Sorry to bother you

but I am using <%links%>

my code in the template file is

sub site_html_my_home {
my $tags = shift;
print &load_template ('my_home.html', {
%$tags,
%globals
});
}


I do not understand perl, but I have changed and checked this, I have checked cookies etc but cannot see what I am doing wrong, going bald pulling my hair out.

Thanks for your help

Dc

Smile
Quote Reply
Re: MY LINKS In reply to
Well, these are the codes I have in that sub:

Code:
sub site_html_my_home {
# --------------------------------------------------------
# This routine shows the layout of the MY Link Home Page

my $my_link;
my $tags = shift;
print &load_template ('my_home.html', {
%$tags,
%globals
});
}

And My LINKS works just fine in my directory.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: MY LINKS In reply to
Hi!

So, guys, Jerry, I'm LOST!

Can I put mylinks.cgi working on a non SQL Links set up??

Isn't ANY step by step instructions to this great mod??? I've read all the posts and I can only see things like "do this!" "no wait, I just changed it, now do this" "no wait, change this again"....

I'm definetly lost and I wanna use this mod asap, thanks!! ;)



Quote Reply
Re: MY LINKS In reply to
Yes, it definitely works with Links 2.0, and, believe it or not, it's actually pretty easy to install once you figure out all the dialogue.

I can't remember how I did it right now, but read the thread(s) and you should find that you need only a few pieces - the script and the templates, if I recall correctly.

AnthroRules originally posted the templates somewhere in here, and I think I saw another set posted just recently by someone else.

Hope this helps. Smile

Quote Reply
Re: MY LINKS In reply to
Yes...A link to someone's version of the template files was linked twice in the past two days. I moved my My Links template files to a password protected directory because I am using tons of unique tags that were causing problems for people.

Regards,

Eliot Lee
Quote Reply
Re: MY LINKS In reply to
I submitted my version of the MyLinks templates to the resource center yesterday. They haven't been added yet. Meanwhile, just scroll down the page to the thread titled mylinks templates. Hm... I wonder if a link is in there...

--Drew
Quote Reply
Re: MY LINKS In reply to
You can find a link to the templates and script put together in this thread;

http://207.105.53.169/...ust&Number=49644

Jimmy Crow
http://www.homewithgod.com/
Quote Reply
Re: MY LINKS In reply to
hi,
i'm looking for mylinks addon,
n i have serach for a few pages too but still can't find it.
can anybody tell me where can i get?
thanks!:)



Quote Reply
Re: MY LINKS In reply to
The MyLinks mod has been withdrawn from the forum and is no longer available.

Thomas
http://www.japanreference.com
Quote Reply
Re: MY LINKS In reply to
I think I remember widgets (jerrysu), the author of the mod, posting in the forum about a week ago that you could purchase the script from him for $20 which included the install

Jimmy Crow
http://www.homewithgod.com/
Quote Reply
Re: MY LINKS In reply to
i'm so disappoinment.........sigh..................... :(

Quote Reply
Re: MY LINKS In reply to
Its available again, see the following thread:
http://www.gossamer-threads.com/...it=25&Old=3weeks

-Morbius

http://www.mimanet.com
> >