Internal Links Use Same Window v1.2

Started by karlbenson, October 14, 2007, 04:45:07 PM

Previous topic - Next topic

forummaker

#20
Here's one problem I noticed. I'm also using the "referral mod". When someone is registering, when it comes time to fill in the referral part, if they click on the "find referrer" link button, it opens in the same window, instead of a popup window, and there is now way to get back to the previous window. Well, you can get back to the previous window, but it will not fill in the referred box. I'll have to uninstall this mod until I can get a fix for this. I like the mod idea. Any fix for this? Thanks

Modified:
Well I uninstalled the mod and I'm still having the same issue...hmmmm. I know it's not the referral mod, I've been using it with no problem. There's something else I noticed, I'm using the default theme, visitors can click on the "plus/minus" at the top of the forum and it works to min/max the news. But, members can't. I've made sure that I've checked the box in admin to allow this feature, but it doesn't work. Wonder if there's a connection...?

karlbenson

The opening in the same window is not caused by the mod.

Although it does the same. The Opening in the same window ONLY affects links which we bbcoded.

The find/popup is not bbcoded. I believe it might be a bug with the referrals mod.

b33z

i dont care what anybody says about this mod. i installed it and it works perfect! its god sent! thanks for all the hard work!

Apllicmz

This is an outdated mod that is no longer supported by its author. Use at your own risk

can check that..



spiros

Very good mod idea, I wish someone could update it.

Tomcraft

I would also appreciate an update. :-)

Regards, Torsten

Mr. Jinx

I have been using this mod from the day it was created :)
Recently I changed my domain name from http://www.domain.com to https://domain.com
Internal links are opened in a new window.

Any idea's? Something must be wrong with this preg_match:

if(preg_match('~(?:http|ftp)(?:s)?://(?:www\.)?(.*?)$~i'.($context['utf8'] ? 'u' : ''), $internal, $match))
                $internal = '(?:http|ftp)(?:s)?://(?:www\.)?(?:'.  preg_quote($match[1], '~') .')';
        else
                $internal = preg_quote($internal, '~');


Advertisement: