• Welcome to Simple Machines Community Forum. Please login or sign up.

Redirection Boards

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

Previous topic - Next topic

Oldiesmann

Quote from: Diamondcomputer on April 24, 2007, 09:58:27 AM
There are no additions in my board menu it installed fine but
wheres the beef ????


Cozmo

Admin -> Manage Boards
Click Modify next to a board
Check the box next to "Make this board a redirection board"
The other options will appear after you check the box :)

Quote from: Exsharaen on April 24, 2007, 11:09:36 AM
Broken package? I tried to install in SMF 1.1.2 and found that it couldn't install: not a valid package or may be broken...

I do really hope SMF 2.0 will make this a default feature... (phpBB3 does).

Probably a minor typo in package-info.xml. I'll take a look at it and update it.
Michael Eshom
Cincy Space - now open!

GravuTrad

really no problem for me with it.

Have you tried to redownload it?
On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

Oldiesmann

One thing I just thought of...

If you're trying to download it directly through the package manager, it probably won't work, because the package manager is still using the "mods.simplemachines.org" address, which redirects to the new URL, and SMF wasn't designed to handle this. Change the URL for the package server to http://custom.simplemachines.org/mods and try again.
Michael Eshom
Cincy Space - now open!

El Reclutador 2003

Is there any way to install this mod on SMF 1.1.2?
http://www.dr3team.net    http://www.dr3team.com


sharks

is it possible to redirect without a new window opening? it would be great to allow redirection to another board/post, without leaving the current page itself :)

alex_zmn

Quote from: sharks on May 13, 2007, 04:59:57 AM
is it possible to redirect without a new window opening? it would be great to allow redirection to another board/post, without leaving the current page itself :)

I am not using this mod but I just saw the screenshots and I suppose you can leave the column target for the url blank. I believe you are using _blank in that box, which means that it would open in a new window. Hope that makes some sense. But I am not sure about the same.

Anyways, congrats to the developers for this mod. I am also planning to use it soon enough in my website.

Oldiesmann

Quote from: El Reclutador 2003 on May 12, 2007, 08:53:32 PM
Is there any way to install this mod on SMF 1.1.2?

Are you running into problems? The mod is already compatible with SMF 1.1.2.

Quote from: sharks on May 13, 2007, 04:59:57 AM
is it possible to redirect without a new window opening? it would be great to allow redirection to another board/post, without leaving the current page itself :)

Just leave the "target" field blank if you want it to open in the same window :)
Michael Eshom
Cincy Space - now open!

El Reclutador 2003

Quote from: Oldiesmann on May 19, 2007, 12:09:43 PM
Quote from: El Reclutador 2003 on May 12, 2007, 08:53:32 PM
Is there any way to install this mod on SMF 1.1.2?

Are you running into problems? The mod is already compatible with SMF 1.1.2.

Yes sorry, now it runs ok :) Thanks!!
http://www.dr3team.net    http://www.dr3team.com


Hadrian

Hi i am getting this error too

/Sources/Subs-Boards.php  Test failed

i am not a tecky so any help on this need to be simple ........LOL

ShadowStriker

How do you manually modify it in a different theme?

Sakae

Works like a charm for me (1.1.2). Good job.
http://www.tigrelog.com.br
l: simple p: machines

NeoItalian

Hey, I'am French !

I must make modifications in the "BoardIndex.template.php" but which requires to replace is not there in my file:

Quote</operation>
   </file>
   <file name="$themedir/BoardIndex.template.php">
      <operation>
         <search position="replace"><![CDATA[
            <td class="windowbg2">
               <b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
]]></search>
         <add><![CDATA[
            <td class="windowbg2"', $board['is_redirect'] && $modSettings['redirect_hide_columns'] ? ' colspan="2"' : '' , '>
               <b><a href="', $board['href'], '" name="b', $board['id'], '"', ($board['is_redirect'] && $board['redirect_target'] != '') ? ' target="' . $board['redirect_target'] . '"' : '' , '>', $board['name'], '</a></b><br />
]]></add>
      </operation>

My "BoardIndex.template.php" = http://dl.free.fr/bV9k0Qss/BoardIndex.template.php

---------------------------------------------------------------------------------------------------------------------

Similar for my "MessageIndex.template.php", the modifications cannot be done because I do not find its in my file:

Quote<file name="$themedir/MessageIndex.template.php">
      <operation>
         <search position="replace"><![CDATA[
            <td class="windowbg2">
               <b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b><br />
]]></search>
         <add><![CDATA[
            <td class="windowbg2"', $board['is_redirect'] && $modSettings['redirect_hide_columns'] ? ' colspan="2"' : '', '>
               <b><a href="', $board['href'], '" name="b', $board['id'], '"', ($board['is_redirect'] && $board['redirect_target'] != '') ? ' target="' . $board['redirect_target'] . '"' : '' , '>', $board['name'], '</a></b><br />
]]></add>
      </operation>


My "MessageIndex.template.php" = http://dl.free.fr/Xq4MKyzH/MessageIndex.template.php

I'm SMF 1.1.2 and Theme Dilbermc !

Thanks !

sendoor

Hi,
Once we post a message its redirect to that board. Can We change like redirect to the post? How?

Exochat

Can you not put a URL redirection into the BOARD NAME box?? that way it will redirect you to any webpage by clicking the board name without even installing a MOD.


dexterion

I am very sorry if this has been brought up before but after an hour of forum searching I hope I'm safe posting.

Is there any chanse this mod could be extended to redirection topcis? (I have a topic with some details that I want linked on a few more boards but not all, e.g. not a global announcment) The funcion of moving a topic and having a "ghost" topic linking to the new location is exactly what I want but want to be able to do it manually (e.g. have the option to do it when I press "New Topic")...

Again, sorry if this has been brought up before.

Thanks,
dex of hxxp:www.team-evo.co.uk [nonactive]

The Kruzzen Guy

my footer area shows this

"$txt['redirected_click'] = '1 redirected click'; $txt['redirected_clicks'] = ' redirected clicks'; $txt['redirect_count_clicks'] = 'Count all clicks?'; $txt['redirect_count_clicks_desc'] = 'This will keep track of how many times the board redirects your users'; $txt['redirect_enable'] = 'Make this board a redirection board'; $txt['redirect_enable_desc'] = 'This will redirect any user attempting to access this board to a URL of your choice'; $txt['redirect_location'] = 'URL to redirect user to'; $txt['redirect_hide_columns'] = 'Hide "posts" and "topics" for redirection boards'; $txt['redirect_no_child'] = 'Redirection boards can\'t have child boards!'; $txt['redirect_no_url'] = 'Redirection boards must have a URL!'; $txt['redirect_reset_clicks'] = 'Reset click count'; $txt['redirect_reset_clicks_desc'] = 'This will reset the click count to 0.'; $txt['redirect_target'] = 'Target for the URL'; $txt['redirect_target_desc'] = 'The target for the redirection link (ie _blank)'; "

when i upload the mod, on my other forum (with the same theme) it doesnt...

see: http://www.freemasonhq.com [nofollow]
Thanks,
~Shawn

My SMF Forums:
All-Topics [nofollow] | Freemasonry & Co-Masonry [nofollow] | Weather & Climate Change [nofollow]

ES23

Hi!I need help here.I am using SMF 1.1.3 currently and I tried to install the latest version of Redirection Board.I faced an error for the Sources/Suns-Boards:

   Type     Action     Description
1.    Execute Code    RedirectPdb.php    
2.    Execute Modification    ./Sources/BoardIndex.php    Test successful
3.    Execute Modification    ./Sources/Load.php    Test successful
4.    Execute Modification    ./Sources/ManageBoards.php    Test successful
5.    Execute Modification    ./Sources/MessageIndex.php    Test successful
6.    Execute Modification    ./Sources/Subs-Boards.php    Test failed
7.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
8.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
9.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
10.    Execute Modification    ./Themes/babylon/BoardIndex.template.php    Test successful
11.    Execute Modification    ./Themes/babylon/MessageIndex.template.php    Test successful
12.    Execute Modification    ./Themes/classic/BoardIndex.template.php    Test successful
13.    Execute Modification    ./Themes/classic/MessageIndex.template.php    Test successful
14.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
15.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful

I've tried to use the SMF Package Parser to work this out and install manually but I was returned by the response:


ERROR: The package-info.xml file is invalid!

Debugging Information
Error message: String could not be parsed as XML
Source: /home/groups/modparser/htdocs/index.php:133
Errors encountered while parsing XML file:

Stack Trace:
#0 /home/groups/modparser/htdocs/index.php(133): SimpleXMLElement->__construct('')
#1 /home/groups/modparser/htdocs/index.php(94): parsePackageInfoXML('/tmp/smf_xml/pa...', 'install', 'all')
#2 /home/groups/modparser/htdocs/index.php(735): parseArchive('/tmp/phpqhWTUh', 'install', 'all')
#3 {main}

XML File:



***********Can someone please help me???A step by step installation procedure help will be appreciated.Does anyone has a solution for this???

jeffest123

Quote from: ES23 on July 19, 2007, 01:15:16 AM
6.    Execute Modification    ./Sources/Subs-Boards.php    Test failed
I'm getting the same error. Really a shame because this mod is exactly what I've been looking for.

CraftyLion

I'm trying to get my redirect to open in a new window but even thought I include _blank into the Target for the URL, it still opens in the same window. Help someone?

Cool999

SMF Ver- 1.1.3

I am getting error when i click On Apply Mod-

apply Mod
This package is already installed, and no upgrade was found!

You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.

Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.

Install Actions
Installations actions for "Redirection Boards":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.



But i m not getting the Option in the Boards, so its already installed???????


Please Help

Thanks


Advertisement: