Gossamer Forum
Home : Products : Links 2.0 : Customization :

Is there a code that I can use...

Quote Reply
Is there a code that I can use...
To show the URL's actual address? I tried using: <%db_cgi_url%> but it shows me this: http://www.sweet-madness.net/cgi-bin/... instead of the actual URL and I can't find the right code.

Last edited by:

Ames: Dec 10, 2002, 1:57 PM
Quote Reply
Re: [Ames] Is there a code that I can use... In reply to
Try <%URL%>. You can also make it <a href="<%URL%>"><%URL%></a> to make the URL a hyperlink.


Leonard
aka PerlFlunkie
Quote Reply
Re: [Ames] Is there a code that I can use... In reply to
Of course, using <%URL%> for the only link, you will lose the hit tracking feature.
========================================
Buh Bye!

Cheers,
Me

Last edited by:

Stealth: Dec 10, 2002, 9:20 PM
Quote Reply
Re: [Stealth] Is there a code that I can use... In reply to
No, I'm just going to post the URL, no linking, will that still cause me to lose hits?
Quote Reply
Re: [Ames] Is there a code that I can use... In reply to
It won't cause you to 'loose hits' as in traffic, but it will cause you to stop tracking the outward going hits (i.e to the links in your database).

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Is there a code that I can use... In reply to
I think what he wants to do is go ahead and use jump.cgi, which will count clicks, but also have the URL of the link along with the listing. This works fine, I have it on my site; I set the <%URL%> to appear smaller and lighter than other text, under the description. The only way he would 'lose hits' is if someone cut & paste the url into the address bar (unlikely), instead of clicking on the hyperlinked title.

When I use a search engine, I like it when the URL is shown in addition to the linked title, so I know if the link goes to a site I've already been to.


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Dec 11, 2002, 12:56 PM
Quote Reply
Re: [PerlFlunkie] Is there a code that I can use... In reply to
Okay, this is entirely different question, but I'm too lazy to make another post. Anyway, I'm trying to install the Yahoo Style SubCategory Listings Mod by Widgetz and in the instructions it says:

That's it for the CGI Work. No(w?) you need to add the place holder for the new field to your category database (links/cgi-bin/admin/data/categories.db). To do this just add a | (see note 3 above) to the end of each record in your database.



That means that I need to edit each of my databases right (categories.db, email.db, links.db, etc.)? Or is it just the categories.db? And if it's so, which program do I use to edit them? Because I'm having a hard time opening the .db files with Notepad, everytime I do, I just have a blank page.

Well, I just want to thank everyone that's been helping me, I really appreciate it. Smile
Quote Reply
Re: [Ames] Is there a code that I can use... In reply to
all kinds of options

<A HREF="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" TARGET=New class=mLink8 onmouseover="window.status=' Click here to Visit <%clean_title%>'; return true" onmouseout="window.status=' '; return true"><%Title%></A>



<A HREF="<%db_cgi_url%>/jump.cgi?ID=<%ID%>" TARGET=New class=mLink8 onmouseover="window.status=' Click here to Visit <%URL%>'; return true" onmouseout="window.status=' '; return true"><%URL%></A>

do a search for clean_title and I have a class=mlink8


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [Ames] Is there a code that I can use... In reply to
Whenever you add a new field to the links.def or the category.def, you gotta update something. In this case, you need to update the categories.db. Add the pipe "|" either manually or using a script that is here somewhere. Unless you have a LOT of categories, just do it manually; open the db in a text editor, Notepad should work. be sure you download your current db, make a copy (backup), then open the downloaded one and edit it. If you are opening the one that came in the .zip, it will be blank. Save and upload...



A good, free text editor is Text Pad.


Leonard
aka PerlFlunkie