Gossamer Forum
Home : Products : Links 2.0 : Customization :

Ideas for Mods and Possibly the Way to do Them

Quote Reply
Ideas for Mods and Possibly the Way to do Them
Hello! I have a few ideas for mod and maybe some ways to do them. First, visit TheBIGFish.com, they don't use Links 2.0 but when you search and click on an outside link, there frame comes up with the site. The frame contains a banner ad and two links, "go back" and "close frame". I know of a script in CGI-Resources.com (i think called "Frame It!") that will make your frame pop up with a website when a visitor clicks on the specified link, but how could I tie these in with Links 2.0 so the "go back" link takes the visitor directly back to the search results page they were viewing and the "close frame" link close the and still keep the website there? Since the frame would be CGI generated, you could have the "db_script_url/search.cgi?terms=whatever&page=number". But the link would have to take the visitor directly back to the search results page he were on, wether is be page 1 or page 10 on the search results. The "close frame" link could also be done with CGI by having Links 2.0 put the link URL in it with "target=_parent" or "target=resource_window" (though the resource window gets annoying). I noticed that TheBIGFish.com has some javascript on their frame, I want to try to refrain from using it, if possible. Second, for all those that have a custumizble 404 error page. How could I put this template in the admin under "edit templates" and have it place the page in my main directory with "build all"? I can't use SSI on my 404 page so I'm trying to work with this so I can edit the template or toolbar online without having to edit with a program and upload it. I know how to get the "missing.html" into my "edit templates" section, but I don't know how to make Links 2.0 build it to my main directory as "missing.html". Third, for the External Rating System with Templates (in resource directory), I want to have a pop-up window with the rating given by the user, link back to site, etc. in it come up after the visitor is done rating. You could do this with javascript but the webmaster of the site has to place some javascript in his <head></head> and the HTML for the rating box. Could this be done another way? The reason I'm posting all this is becuase I haven't found any Mods for these, found and threads about these, and I'm not the best CGI guy in the world, though I do and try and do learn. I'll enjoying seeing all the replys to this thread! Visit my website at www.christian-search.net, God bless!
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
Try these threads on for size:

http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/002757.html
http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/002301.html
http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/001651.html
http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/002100.html

Wink

BTW: In my opinion, FrameIt is only a good product for those people who do not know how to create frames.

Regards,


------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
Those threads are nice, but all required Javascript and/or don't answer my questions and/or are not really close to the ideas for mods at all. I don't mean to be rude or mean, but my ideas are pretty good for a Mod since as far I can see, there aren't any new ones to add, most have been done. I'm planning to mess with my ideas myself. I'll post anything I come up with. God bless!
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
I hate to tell you this, but javascript is the language that creates frames. Even with FrameIt, the script uses javascript codes to create the frames.

I looked at the site you gave as an example. And it is powered by java scripts. So, the only amicable solution to your mod ideas at the present time is the use of java scripts.

Java Scripts are quite easy to use in templates and also can be used in the non-template format of LINKS 2.0.

I did answer your questions. You asked about the possibility of including features that are located on some example sites. Well, the answer is java scripts.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
isn't frameit in links 1.1?

i'm using that for my site.. just not now
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
You could do the framed page with SSI, if you have that available.

If you want I could describe it to you, but it really has nothing to do with Links itself.

Dan O.
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
Hello everyone! First, I'd like to thank all those that posted ideas or tid-bits on this thread. Since then, I have edited a nice like frame-making script for outside links, so now visitors are giving the options of going back to the exact search/category page they where on, rating the link they are viewing, or closing the frame while still having one of advertiser banners come up with the frame when they click on the link in the database. Other options I plan to add to it: have the advertiser banner refresh so a different banner comes up and give the option for the visitor to click on a link and have the frame moving to the top or side of their web viewing screen. I plan to maybe, sorta, possibly, kinda post this as a mod in the resource directory some day. As for the 404 editing template and the pop-up rating window for the external rating system with templates, that's tomorrow project. Visit my website at: www.christian-search.net, and God bless!
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
Hi,
You mentioned FrameIt. i used it before on my site, and as i recall, it does remember the referring page so that it will place that URL in the (Go Back) link .

and you can set your links in your templates like this :
<a class="link" href="http://yoursite.com/cgi-bin/frameit.pl?url=<%db_cgi_url%>/jump.pl?ID=<%ID%>">
<%Title%></a>

i think this should work .

Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
if you want a frameit type thing.. all you need to do is modify jump.cgi

find this:

Code:
# Now let's send the user to the url..
$goto ?
print "Location: $goto\n\n" :
&error ("Record not found ($in{$db_key})");

change it to

Code:
($goto) or &error ("Record not found ($in{$db_key})");

print "Content-type: text/html\n\n";
print qq~<html>
<head>
<title>VISITING BLAH...</title>
</head>
<frameset rows="65,*" framespacing="0" frameborder="0" border="0">
<frame src="frame.html" name="main" scrolling="AUTO" noresize frameborder="0" border="0" marginheight="3" marginwidth="3">
<frame src="$goto" name="main" scrolling="AUTO" noresize frameborder="0" border="0" marginheight="3" marginwidth="3">
</frameset>
</html>~;

it should be easy to make the top frame.. possibly with jump.cgi.. then there is like little other things.. that i do not want to get into Smile

[This message has been edited by widgetz (edited August 20, 1999).]
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
Hello again! Another mod, I sure this has been done but I can't find it. How can I give the webmaster submitting his or her link the option to join the newsletter, maybe a drop down list with "Yes" or "No" in it and "Would you like the join the newsletter?" next to it? Thanks for the help! God bless!
Quote Reply
Re: Ideas for Mods and Possibly the Way to do Them In reply to
BoBo,

Instead of sticking your question on the end of a thread about frames, it might get faster response if you post it in a new thread since it is not related to this thread.

------------------
Bob Connors, Moderator
Links Modification Forum
Moderator Email: moderator@orphanage.com
Personal Email: bobsie@orphanage.com
goodstuff.orphanage.com/