• 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

perplexed

try opening the install.xml file in a text editor and following the instructions to edit the files yourself.  It doesn't make it easy for you like the package parser but it is still doable.  Just remember when it says 'add before' it means 'add after' and vice versa :)

soyabiatch

I would but there is nothing in there that is worth reading

QuoteThe XML mod format is quite simple to understand once you get the hang of it.

<file> - this is the name of the file we're editing
<operation> - a single step in the modification process
<search> - what to search for - the position indicates where the code we're searching for should go in relation to what we're adding:
   <search position="after"> - search for the code, and add whatever's in <add> BEFORE it (ie this should come AFTER what we're adding)
   <search position="before"> - search for the code, and add whatever's in <add> AFTER it (ie this should come BEFORE what we're adding)
   <search position="end"> - add whatever's in <add> at the end of the file
   <search position="replace"> - search for this code and replace it with whatever's in <add>
<add> - whatever we're adding (note: <add /> combined with <search position="replace"> means the code you're searching for should be removed)

If you do not pay attention to "position", the mod will not work properly and you will probably get errors...

perplexed

sorry wrong title.  If you unzip the package there is a manual install text file which tells you what to do - that looks like what you have posted above, and there are a couple of files called modification  (number).xml.  It's those files you need to be looking at.

soyabiatch

I give up, it is driving me nuts

JoshieDaMan

Quote from: quiteperplexed on April 04, 2008, 06:52:22 PM
Quote from: JoshieDaMan on April 04, 2008, 06:07:38 PM
Quote1.     Execute Code     RedirectPdb.php     
2.    Execute Modification    ./Sources/BoardIndex.php    Test successful
3.    Execute Modification    ./Sources/Load.php    Test failed
4.    Execute Modification    ./Sources/ManageBoards.php    Test successful
5.    Execute Modification    ./Sources/MessageIndex.php    Test successful
6.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
7.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test failed
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


Solution?

use the package parser to edit the failed files manually :)
I tried that before I post for a solution.=]

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

Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:

Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpu3FpaK', 'install', 'theme')
#3 {main}

XML File:

perplexed

Quote from: JoshieDaMan on April 05, 2008, 09:24:41 PM
Quote from: quiteperplexed on April 04, 2008, 06:52:22 PM
Quote from: JoshieDaMan on April 04, 2008, 06:07:38 PM
Quote1.     Execute Code     RedirectPdb.php     
2.    Execute Modification    ./Sources/BoardIndex.php    Test successful
3.    Execute Modification    ./Sources/Load.php    Test failed
4.    Execute Modification    ./Sources/ManageBoards.php    Test successful
5.    Execute Modification    ./Sources/MessageIndex.php    Test successful
6.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
7.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test failed
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


Solution?

use the package parser to edit the failed files manually :)
I tried that before I post for a solution.=]

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

Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:

Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpu3FpaK', 'install', 'theme')
#3 {main}

XML File:

see below

Quote from: quiteperplexed on April 05, 2008, 07:57:35 AM
sorry wrong title.  If you unzip the package there is a manual install text file which tells you what to do - that looks like what you have posted above, and there are a couple of files called modification  (number).xml.  It's those files you need to be looking at.

starz

this mod isn't installing right for me.  the tests are successful and it appears to install fine, but when i go to manage my board, there is no text as seen in my attachment.  i cant use the parser, as others have tried too.

im using smf 1.1.4.  tried viewing the admin panel with the core theme and my others and they all yield the same thing. i've looked at both parts of modification_1-1 and the edits required for manageboards.php been done correctly.  anyone know why no text is coming up?
Love music?  So do we.
http://mftmforum.com

PrizeLive.com

This mod isn't working for me either. It installed fine (1.1.4) but there's no option to have it setup.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

JoshieDaMan

Quote from: quiteperplexed on April 06, 2008, 05:16:58 AM
Quote from: JoshieDaMan on April 05, 2008, 09:24:41 PM
Quote from: quiteperplexed on April 04, 2008, 06:52:22 PM
Quote from: JoshieDaMan on April 04, 2008, 06:07:38 PM
Quote1.     Execute Code     RedirectPdb.php     
2.    Execute Modification    ./Sources/BoardIndex.php    Test successful
3.    Execute Modification    ./Sources/Load.php    Test failed
4.    Execute Modification    ./Sources/ManageBoards.php    Test successful
5.    Execute Modification    ./Sources/MessageIndex.php    Test successful
6.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
7.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test failed
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


Solution?

use the package parser to edit the failed files manually :)
I tried that before I post for a solution.=]

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

Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:155
Errors encountered while parsing XML file:

Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(155): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(96): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'theme')
#2 /home/sleepy1/public_html/PackageParser/index.php(784): parseArchive('/tmp/phpu3FpaK', 'install', 'theme')
#3 {main}

XML File:

see below

Quote from: quiteperplexed on April 05, 2008, 07:57:35 AM
sorry wrong title.  If you unzip the package there is a manual install text file which tells you what to do - that looks like what you have posted above, and there are a couple of files called modification  (number).xml.  It's those files you need to be looking at.
Parser mod would be better, and clean instruction for me. Is there a way to fix one for mod parser?

Joker Grafix

Okay this mod installed fine for me (SMF 1.1.4) however when I went into the boards to redirect a board it had double installed the "Would you like to make this a redirect board"

So I uninstalled it until I could get some help and it left traces of rs_rdirect or something similar behind and disabled all my boards. Using FTP and searching for the error line I was able to remove all traces of the redirect board.

Now the problem I am having is when I go to make a new board at the very bottom I still have the options to make the board redirect even though I have uninstalled the mod and removed the error traces it left behind.

Where can I find where the code for this part of the mod so I may remove it and try this mod again?

Thanks for the help.

Let me know if I need to make anything more clear.

PrizeLive.com

Quote from: Joker Grafix on April 22, 2008, 12:34:03 AM
Where can I find where the code for this part of the mod so I may remove it and try this mod again?

I would just use a package parser and find all the edits that were made to make the mod work. Just remove everything that it says was added.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Chris IOW

May 19, 2008, 07:22:26 AM #371 Last Edit: May 19, 2008, 07:25:57 AM by Chris IOW
My Install is failing on these things:

Execute Modification ./Themes/default/BoardIndex.template.php Test failed

Execute Modification ./Themes/default/MessageIndex.template.php Test failed



Can I Install and edit these files manually? If so what code do I need to add/change in these files?

Cheers

Johno69

Is there a way to have the mouseover text show how many redirects when the redirect board is a child?

It currently shows:  No New Posts (topics: 0, Posts: 0)

_Anthony_

It is included in smf 2.0

Johno69

That's good but i'm not using SMF2 due to using the joomla bridge and not wanting to break that.

So can we get it working with 1.X.X ?

_Anthony_

YOu can use this with smf 1

Chris IOW

I cant get it working either? is there a direct link for the manual install instructions?

Johno69

Quote from: MrMoney on May 24, 2008, 01:21:43 PM
YOu can use this with smf 1

Yes but the added feature I mentioned ?

Quote from: Johno69 on May 23, 2008, 11:51:18 PM
Is there a way to have the mouseover text show how many redirects when the redirect board is a child?

Krysia

Does anyone know why this mod doesn't have a "Download" link next to its name when looking at it through the Package Server (browsing) in the Admin Panel?



InsaneneSs

Can somewone tell me how do i install this mod on this themes

Outline - http://www.dzinerstudio.com/index.php?action=tpmod;dl=item52

DarkBreack - http://www.dzinerstudio.com/index.php?action=tpmod;dl=item55

When i try to install it says "MessageIndex.template.php  error"

thanks

Advertisement: