• Welcome to Simple Machines Community Forum. Please login or sign up.
November 30, 2021, 09:45:18 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Redirected Boards in a new Tab [Now 2.0 Gold compatible !]

Started by Kermit, December 23, 2008, 07:42:21 AM

Previous topic - Next topic

Kermit

Link to Mod

Redirected Boards in a new Tab

Version: 1.2 Date 2011-6-26
Compatibility: 2.0


With this little mod you can choose,which redirected boards should be opened in a new tab and which not

You can choose it through AdminCP -> Boards -> Modify -> Enable to open redirected boards in a new tab


Ps: Thx Blue Dream for his assistance by fixing a little bug





You may get support or submit questions and comments in the modification's support thread at the SMF site.


My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Burke ♞ Knight


virajsam

Quote from: Duncan85 on December 23, 2008, 07:42:21 AM
Link to Mod

Redirected Boards in a new Tab

Version: 1.0 Date 2008-12-16
Compatibility: SMF 2.0 Beta 4


With this little mod you can choose,which redirected boards should be opened in a new tab and which not

You can choose it through AdminCP -> Boards -> Modify -> Enable to open redirected boards in a new tab


Ps: Thx Blue Dream for his assistance by fixing a little bug





You may get support or submit questions and comments in the modification's support thread at the SMF site.

please if you can make this to work on smf 1.7 . so i can use it . im begging you please make a mode to it .   :-\ ; :D

Kermit

Quote from: virajsam on January 02, 2009, 07:41:21 AM
Quote from: Duncan85 on December 23, 2008, 07:42:21 AM
Link to Mod

Redirected Boards in a new Tab

Version: 1.0 Date 2008-12-16
Compatibility: SMF 2.0 Beta 4


With this little mod you can choose,which redirected boards should be opened in a new tab and which not

You can choose it through AdminCP -> Boards -> Modify -> Enable to open redirected boards in a new tab


Ps: Thx Blue Dream for his assistance by fixing a little bug





You may get support or submit questions and comments in the modification's support thread at the SMF site.

please if you can make this to work on smf 1.7 . so i can use it . im begging you please make a mode to it .   :-\ ; :D

I would say no,redirected boards are a default feature in SMF 2.0,that's why i don't plan,to make the mod 1.1.7 compatible
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Angie on Dialysis

Quote from: Duncan85 on January 02, 2009, 08:53:23 AM
I would say no,redirected boards are a default feature in SMF 2.0,that's why i don't plan,to make the mod 1.1.7 compatible
That's confusing since there is manual install instructions you can download to use for 1.1.7...

Kermit

Quote from: Angie of AKC on January 29, 2009, 03:21:31 AM
Quote from: Duncan85 on January 02, 2009, 08:53:23 AM
I would say no,redirected boards are a default feature in SMF 2.0,that's why i don't plan,to make the mod 1.1.7 compatible
That's confusing since there is manual install instructions you can download to use for 1.1.7...

You can use that install instructions,if the related mod is compatible with the related forum version,otherweise it won't work
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Angie on Dialysis

Quote from: Duncan85 on January 29, 2009, 03:24:15 AM
Quote from: Angie of AKC on January 29, 2009, 03:21:31 AM
Quote from: Duncan85 on January 02, 2009, 08:53:23 AM
I would say no,redirected boards are a default feature in SMF 2.0,that's why i don't plan,to make the mod 1.1.7 compatible
That's confusing since there is manual install instructions you can download to use for 1.1.7...
You can use that install instructions,if the related mod is compatible with the related forum version,otherweise it won't work
So since I am using 1.1.7 and it says there are manual instructions then I should be able to do this? (I am aware with other themes there is more editing involved but my fiance is pretty smart at figuring it out so I let him do it)

Marcus Forsberg

Swedish translation:


$txt['redirect_new_board'] = 'Öppna omdirigerade tavlor i nya flikar';
$txt['redirect_new_board_desc'] = 'Om du aktiverar detta alternativ, kommer tavlor som omdirigerar till en URL-adress att öppnas i en ny flik.';


darth_dionysus

This works GREAT in RC1-1!  Thank you so much!

imrich

September 06, 2009, 10:21:57 AM #9 Last Edit: September 06, 2009, 10:28:03 AM by imrich
I just installed this in 2.0 RC 1.2

Seems to be working, except for some reason it skipped the classic theme.

It seems to have skipped the changes for ./Themes/classic/

I checked and these files are not write protected. I also did not get any errors in my logs.

Any reason why it would skip the classic theme?

It did change the default theme... do I need to manually apply this to other standard SMF themes such as 'classic'?

update: it appears that during install the 'test failed' for additional themes such as 'classic'. I guess I'm surprised that classic and the babylon SMF themes failed.

imrich

I'm experimenting with the default theme for now. This mod seems to work for SMF 2.0 RC 1.2 for regular (parent) boards, it redirects just fine to a new page.

However for child boards, it doesn't seem to work. Yes I have checked the 'Enable to open redirected boards in a new tab' for the child board.  In this case, the parent is a normal smf forum, and the child is a redirect.

Any ideas on why this is happening?

Kermit

For your first message (mostly) all mods install automatically on default theme for other themes you should install it manually and for the child boards it works correctly,you may want to check the codes in your MessageIndex.template.php
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

imrich

Will there be a new release for this mod for SMF 2 RC2?

Thanks!

Kermit

Quote from: imrich on November 09, 2009, 02:56:59 PM
Will there be a new release for this mod for SMF 2 RC2?

Thanks!



Sure,i'm quite busy nowadays,as soon as i have some time,i will look into this
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Hoodie

Thanks for updating us and letting us know that there WILL be an update for it..

Kermit

Quote from: Automotive Nation on November 18, 2009, 06:20:04 PM
Thanks for updating us and letting us know that there WILL be an update for it..

Update is done and new package is uploaded
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Hoodie


imrich

Thanks for this update, it installed nicely for me under RC2.

A couple of questions, shouldn't the install for 2.x be the same as 2 RC2? It seems there the 2.x install uses the 1.x install, but the 2 RC2 install has it's own xml?

Also, your version number still shows as 1.0 (which was the previous version too). I only mention it incase someone else is wondering if they have the udpated version installed already.

Also, I install this and with IE8 it seems to redirect to a new browser window, instead of a new tab in the current browser, is that expected? In firefox it seems to open a new tab.

Kermit

Quote from: imrich on November 19, 2009, 03:17:28 PM
Thanks for this update, it installed nicely for me under RC2.

A couple of questions, shouldn't the install for 2.x be the same as 2 RC2? It seems there the 2.x install uses the 1.x install, but the 2 RC2 install has it's own xml?

Template files are different in comparing with old versions of 2.x


Quote
Also, your version number still shows as 1.0 (which was the previous version too). I only mention it incase someone else is wondering if they have the udpated version installed already.

I changed it


Quote
Also, I install this and with IE8 it seems to redirect to a new browser window, instead of a new tab in the current browser, is that expected? In firefox it seems to open a new tab.



It's something with IE8 then,there is nothing much ,that i could do about this
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

imrich

Thanks for your input.

I found that if I changed IE8 to set "Let internet explorer decide how pop-ups should open" under Internet options, Tabs settings, it works well.

Advertisement: