News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Redirection Boards

Started by Oldiesmann, October 18, 2004, 07:01:58 AM

Previous topic - Next topic

winnet

was not updated for beta3, was not updated for rc1, it will not be to rc2. More simple then that what do you people want?
crystal clear.

Thantos

Updating mods is a boring tedious chore.  Updating for different versions of a beta release is even more annoying.  Just because he hasn't made a version for 1.1 yet doesn't mean he won't.

Uzbekistan

I am waiting for it as well. ;) Just letting you know.

L.G.S

I have found something interesting out about the board areas.

You can have redirection boards WITHOUT any modifications.

All you have to do is use HTML to link somwhere in the board title.

E.G <a href=http://www.google.com>Visit Google!</a> in the board title gives you a direct link to google!
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


SaikoJosh

I have SMF 1.1 RC 2 with SMF Arcade installed and I cannot install the redirection boards "core".

I get these errors:

Quote3.     Execute Modification     ./Sources/Load.php     Test failed
4.    Execute Modification    ./Sources/ManageBoards.php    Test failed

Digital Home Central - Products for the 21st century home (under construction).

L.G.S

Because this mod is not made for 1.1RC2
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


SaikoJosh

Quote from: L.G.S on February 05, 2006, 09:17:07 AM
Because this mod is not made for 1.1RC2

Whoops, misread "1.0 RC2" as "1.1 RC 2".

Digital Home Central - Products for the 21st century home (under construction).

L.G.S

I do that sometimes too ;)

But as a temporary solution, why not read my post which is above your first one?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


SaikoJosh

@L.G.S:

Wow, thanks for that. Saves installing a MOD. :)

Digital Home Central - Products for the 21st century home (under construction).

L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


winnet

it would be nice if someone write a piece of code to count the number of visits.
else, the redirected forum looks like a forum with zero posts, and no user are tempted to enter there.

dazultra

Quote from: L.G.S on February 05, 2006, 08:41:08 AM
I have found something interesting out about the board areas.

You can have redirection boards WITHOUT any modifications.

All you have to do is use HTML to link somwhere in the board title.

E.G <a href=hxxp:www.google.com [nonactive]>Visit Google!</a> in the board title gives you a direct link to google!
you sir are a <insert word here> genious, this works perfectly. i have also implemented this in my category titles, instead of using the link to collapse them

L.G.S

With a helping post comes another!

I didn't know it could be used for categories too :P
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


winrules

Quote from: L.G.S on February 05, 2006, 08:41:08 AM
I have found something interesting out about the board areas.

You can have redirection boards WITHOUT any modifications.

All you have to do is use HTML to link somwhere in the board title.

E.G <a href=http://www.google.com>Visit Google!</a> in the board title gives you a direct link to google!
Thanks for that!
I expanded on it a little to get rid of the link on the new posts icon on the left:
In 1.1RC2 BoardIndex.template.php:
Find:
Quote
   global $context, $settings, $options, $txt, $scripturl, $modSettings;
And Replace With:
Quote
   global $context, $settings, $options, $txt, $scripturl, $modSettings;
   //Add redirection boards into this array
   $redirect = array(boards);

Find:
Quote
            <td ' , !empty($board['children']) ? 'rowspan="2"' : '' , ' class="windowbg" width="6%" align="center" valign="top"><a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';
And Replace With:
Quote
            <td ' , !empty($board['children']) ? 'rowspan="2"' : '' , ' class="windowbg" width="6%" align="center" valign="top">';
            //If the board is in $redirect, don't link the image.
            if(!in_array($board['id'], $redirect))
               echo '<a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';

Replace boards with whatever boards you want to be redirection boards. So if you want boards id 5 and 6 then it would be "array(5, 6)".


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


jguzman

Quote from: L.G.S on February 05, 2006, 08:41:08 AM
I have found something interesting out about the board areas.

You can have redirection boards WITHOUT any modifications.

All you have to do is use HTML to link somwhere in the board title.

E.G <a href=hxxp:www.google.com [nonactive]>Visit Google!</a> in the board title gives you a direct link to google!

good call this works great.  i added a target="blank" and it's exactly what i need!

Pause

You can actually have images in place of the text also

<a href="http://www.domain.com" target="_blank"><img src="mylogo.gif" border="0"></a>
"You and me, inside that box, now." - The Doctor

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion + Wrestling Fusion Forums

WedgeTalon

Don't mean to be a downer, but I'd imagine that allowing HTML in thread text will probably be viewed as a bug by the dev team and eventually go away. Maybe they'll put in a toggle option for it, maybe not.

The best and most permanent solution, next to a redirection feature being directly implemented in the core, is to have a mod to supply the needed function.

Not trying to say you shouldn't use it, just saying that if you do, be prepared to adapt to it going away.

Oldiesmann

You've always been able to use HTML in board titles and descriptions. It's a lot safer than allowing HTML in posts because the admin has complete control over who has access to editing board descriptions, so there's less of a chance that it could be abused.

Also, the next version of this mod will include a click counter and the ability to open the redirection board in a new window. I am putting the finishing touches on the upgraded versions of the theme stuff and still have some testing to do, but if all goes well, the mod should be out either tomorrow or early next week.
Michael Eshom
Christian Metal Fans

winrules

Quote from: Oldiesmann on April 07, 2006, 09:07:31 PM
You've always been able to use HTML in board titles and descriptions. It's a lot safer than allowing HTML in posts because the admin has complete control over who has access to editing board descriptions, so there's less of a chance that it could be abused.

Also, the next version of this mod will include a click counter and the ability to open the redirection board in a new window. I am putting the finishing touches on the upgraded versions of the theme stuff and still have some testing to do, but if all goes well, the mod should be out either tomorrow or early next week.
Will it work with 1.1?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Oldiesmann

Yes, it will work with 1.1.
Michael Eshom
Christian Metal Fans

Advertisement: