can you add a hide link choice in the link settings? I guess just use the Link ID hit the database for a redirect? Or can you tell me where i need to put this code to add this feature myself?

Comments

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

There is a "Display URL" setting there already. Does it not do what you want?

dsellers154’s picture

First off I want to say that this is a great module. It is much more flexible and easier to manage than some of the other module mixes I have or am currently using.

I think my request may be tied into the click tracking request that I also see in the Issues as they are both redirect of sorts requests. I do not need to count the clicks, but do need to mask the destination URL completely. So my suggestion was add a redirect to the module, add a mask URL option to the GUI, then use the linkID as the destination holder. When the viewer clicks the link, the script hits the DB to get the destination URL by the LinkID and executes the redirect. This may not be the best way, but I like to offer solution suggestions instead of just asking for mods. It did make sense to me while i was pacing around my office trying to figure out a solution

The above solution could eventually be routed through the click count code that some others were requesting.

As a separate note: It seems that some of the link preferences may conflict with the view prefs?

I REALLY hope this makes sense.

THanks for the quick response

nancydru’s picture

That is probably the way the click tracking will work, but only the basic framework is there now. Every time I try to work on this I send myself into blonde mode. Robert has this near the top of his list.

rmiddle’s picture

The way I was plaining on doing click counting was to assign a Javascript handler to the link. So even though it would show it as a url when clicked it would count. We you want is something like a link something like this. http://example.com/weblinks/goto/121 and when you go there it redirects to example.org. I believe that code is already in the system and not documented.

Thanks
Robert

dsellers154’s picture

is there a specific way to enable it? I am an idea guy, not so good with the nuts and bolts.

rmiddle’s picture

In theory it would just be a mater of changing a template file to instead of using the URL to use weblinks/goto/*nid but I just tested it and since it wasn't being used or tested it has broken over the last few months. I will look into this some over the weekend and hopefully will have something you can use.

Thanks
Robert

nancydru’s picture

I originally envisioned a setting for this - I think it was "Links lead to URL or Web Link node" would be "URL," "node," or "redirect."

nancydru’s picture

Hmm, I was just looking at the code in 6.x-2.x and am wondering if we need that setting any more...

dsellers154’s picture

so is there a line i can uncomment to enable the goto redirect functionality?

nancydru’s picture

dsellers154’s picture

Do you ever get really excited about new patches, revisions and updates and try to share it with your friends or family? and they look at you like you are speaking a foreign language or are maybe from mars or something? I think its funny that if I showed your reply to anyone I know, they would have no idea what it is, yet I can, and im sure anybody else reading this chain can pretty much read down the lines like reading a book.

So, I am currently running 5.x, and am not sure when I will upgrade because some of the modules i use have not been ported yet. I have not had this problem yet. Will you back port it to 5.x as well? or will i need to fully upgrade to 6.x before I can use...

DS

nancydru’s picture

nancydru’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No, this will not be back-ported, sorry.