Aug 17, 2019, 10:42 AM

News:

Backup those files BEFORE manually editing them


Redirect boards in new tab/window

Started by lesmond, May 24, 2019, 05:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lesmond

May 24, 2019, 05:32 PM Last Edit: May 24, 2019, 06:26 PM by lesmond Reason: Found an easy way
Would love to get this option with SMF, there is a mod but its old and not sure if it will work with 2.01 I have not tried it yet. :dontknow  :emb

http://custom.simplemachines.org/mods/index.php?mod=1565


:EDIT:
I found and easy way to do it.

In your redirect board, under "Full name:This is the name that will be displayed" use bbs and add the link like so
[url=https://your link here.co.uk/][b]the name here[/b][/url]
Check the box "Redirect to a web address:"

in the section "Address to redirect users to:" add any word you like not a url

You will see it will open the link in a new tab :vcool

The only person who got all his work done by Friday was Robinson Crusoe

Bigguy

Nice tip. Maybe should be moved to that board. ??

lesmond


The only person who got all his work done by Friday was Robinson Crusoe

Oldiesmann

Don't know if this still works, but the way I always did it was by entering the URL like this:

http://www.somesite.com" target="_blank
Sneaky but fun
Cincy Space - now open! https://www.cincyspace.net

lesmond

Quote from: Oldiesmann on Jun 09, 2019, 07:38 PMDon't know if this still works, but the way I always did it was by entering the URL like this:

http://www.somesite.com" target="_blank
Sneaky but fun

Dont work anymore :( looks like this after clicking the link

http://www.somesite.com%22%20target%3D%22_blank%22

The only person who got all his work done by Friday was Robinson Crusoe

Skhilled

Try this:

http://www.somesite.com" target="_blank"
Missing the end quote. ;)

lesmond

Quote from: Skhilled on Jun 10, 2019, 10:59 AMMissing the end quote. ;)
Tried it with and without, still dont work :(

The only person who got all his work done by Friday was Robinson Crusoe

Skhilled

Jun 11, 2019, 08:41 AM #7 Last Edit: Jun 11, 2019, 08:50 AM by Skhilled
Sorry, like this:

<a href="https://www.smfhelper.com" target="_blank">Visit SMFH</a>
<a href="https://www.smfhelper.com" target="_blank">Visit SMFH</a>

Click the url above OR Click the BBC Link and add https://www.smfhelper.com" target="_blank" in the website part and whatever text you want in the 2nd part. You'll get the following.

SMFJ

Bigguy


Skhilled


Oldiesmann

I thought it did work. Maybe I'm thinking of the trick to make menu links open in a new tab/window instead.
Cincy Space - now open! https://www.cincyspace.net