|
Pages: [1]
TinyPortal - Installation Instructions for 2.0 RC2-3
2381 Views
Print
Installing TinyPortal v1.0 RC1 for SMF2.0 RC2
File Edits ./index.php Code: (Find) [Select] require_once($sourcedir . '/Security.php');Code: (Add After:) [Select] // TinyPortal includeCode: (Find:) [Select] // Is the forum in maintenance mode? (doesn't apply to administrators.)Code: (Add Before:) [Select] // TinyPortalCode: (Find:) [Select] // Action and board are both empty... BoardIndex!Code: (Replace With:) [Select] // first..if the action is set, but empty, don't go any furtherCode: (Find:) [Select] '.xml' => array('News.php', 'ShowXmlFeed'),Code: (Add After:) [Select] 'tpadmin' => array('TPortalAdmin.php', 'TPortalAdmin'),./Sources/Load.php Code: (Find:) [Select] $settings = $themeData[0];Code: (Add After:) [Select] if (!empty($context['TPortal']['front_type'])){Code: (Find:) [Select] // Start the linktree off empty..Code: (Replace With:) [Select] // Start the linktree off empty..not quite, have to insert forumCode: (Find:) [Select] // Build up the linktree.Code: (Replace With:) [Select] // Build up the linktree (adding TPortal forum index)Code: (Find:) [Select] // The theme is the forum's default.Code: (Add After:) [Select] ./Sources/Subs.php Code: (Find:) [Select] 'help' => array(Code: (Add Before:) [Select] 'forum' => array(Code: (Find:) [Select] 'help' => array(Code: (Add After:) [Select] 'tphelp' => array(Code: (Find:) [Select] 'calendar' => array(Code: (Add Before:) [Select] 'tpadmin' => array(Code: (Find:) [Select] // Now we put the buttons in the context so the theme can use them.Code: (Add Before:) [Select] Code: (Find:) [Select] function redirectexit($setLocation = '', $refresh = false)Code: (Replace With:) [Select] function redirectexit($setLocation = '', $refresh = false, $tp_not = false)Code: (Find:) [Select] // Put the session ID in.Code: (Add Before:) [Select] // TinyPortal./Sources/Security.php Code: (Find:) [Select] // Require a user who is logged in. (not a guest.)Code: (Add After:) [Select] ./Sources/Errors.php Code: (Find:) [Select] // We don't have $txt yet, but that's okay...Code: (Add After:) [Select] ./SSI.php Code: (Find:) [Select] require_once($sourcedir . '/Security.php');Code: (Add After:) [Select] require_once($sourcedir . '/TPortal.php');./Sources/QueryString.php Code: (Find:) [Select] // If $scripturl is set to nothing, or the SID is not defined (SSI?) just quit.Code: (Add Before:) [Select] // A better placeCode: (Find:) [Select] // Let's do something special for session ids!Code: (Replace With:) [Select] // Let's do something special for session ids!./Sources/Subs-Editor.php Code: (Find:) [Select] function theme_postbox($msg)Code: (Replace With:) [Select] function theme_postbox($msg, $from_tp = false)./Sources/Profile.php Code: (Find:) [Select] // Do some cleaning ready for the menu function.Code: (Add Before:) [Select] Code: SMF2RC2/tp_upgrade.php This file should be able to execute standalone. File Operations: Move the included directory "SMF2RC2/Themes" to "the root directory". Move the included directory "common/Themes" to "the root directory". Move the included directory "SMF2RC2/Sources" to "the root directory". Move the included directory "common/tp-downloads" to "the root directory". Move the included directory "common/tp-images" to "the root directory". Move the included directory "SMF2RC2/tp-files" to "the root directory". TinyPortal - Installation Instructions for 2.0 RC4
3009 Views
Print
Installing TinyPortal v1.0 RC1 for SMF2.0 RC4
File Edits ./index.php Find: Code: [Select] require_once($sourcedir . '/Security.php');Add After: Code: [Select] // TinyPortal includeFind: Code: [Select] // Is the forum in maintenance mode? (doesn't apply to administrators.)Add Before: Code: [Select] // TinyPortalFind: Code: [Select] // Action and board are both empty... BoardIndex!Replace With: Code: [Select] // first..if the action is set, but empty, don't go any furtherFind: Code: [Select] '.xml' => array('News.php', 'ShowXmlFeed'),Add After: Code: [Select] 'tpadmin' => array('TPortalAdmin.php', 'TPortalAdmin'),./Sources/Load.php Find: Code: [Select] $settings = $themeData[0];Add After: Code: [Select] if (!empty($context['TPortal']['front_type'])){Find: Code: [Select] // Start the linktree off empty..Replace With: Code: [Select] // Start the linktree off empty..not quite, have to insert forumFind: Code: [Select] // Build up the linktree.Replace With: Code: [Select] // Build up the linktree (adding TPortal forum index)Find: Code: [Select] // The theme is the forum's default.Add After: Code: [Select] ./Sources/Subs.php Find: Code: [Select] 'help' => array(Add Before: Code: [Select] 'forum' => array(Find: Code: [Select] 'help' => array(Add After: Code: [Select] 'tphelp' => array(Find: Code: [Select] 'calendar' => array(Add Before: Code: [Select] 'tpadmin' => array(Find: Code: [Select] // Now we put the buttons in the context so the theme can use them.Add Before: Code: [Select] Find: Code: [Select] function redirectexit($setLocation = '', $refresh = false)Replace With: Code: [Select] function redirectexit($setLocation = '', $refresh = false, $tp_not = false)Find: Code: [Select] // Put the session ID in.Add Before: Code: [Select] // TinyPortal./Sources/Security.php Find: Code: [Select] // Require a user who is logged in. (not a guest.)Add After: Code: [Select] ./Sources/Errors.php Find: Code: [Select] // We don't have $txt yet, but that's okay...Add After: Code: [Select] ./SSI.php Find: Code: [Select] require_once($sourcedir . '/Security.php');Add After: Code: [Select] require_once($sourcedir . '/TPortal.php');./Sources/QueryString.php Find: Code: [Select] // If $scripturl is set to nothing, or the SID is not defined (SSI?) just quit.Add Before: Code: [Select] // A better placeFind: Code: [Select] // Let's do something special for session ids!Replace With: Code: [Select] // Let's do something special for session ids!./Sources/Subs-Editor.php Find: Code: [Select] function theme_postbox($msg)Replace With: Code: [Select] function theme_postbox($msg, $from_tp = false)./Sources/Profile.php Find: Code: [Select] // Do some cleaning ready for the menu function.Add Before: Code: [Select] Code SMF2RC3/tp_upgrade.php This file should be able to execute standalone. File Operations: Move the included directory "SMF2RC4/Themes" to "the root directory". Move the included directory "common/Themes" to "the root directory". Move the included directory "SMF2RC4/Sources" to "the root directory". Move the included directory "common/tp-downloads" to "the root directory". Move the included directory "common/tp-images" to "the root directory". Move the included directory "SMF2RC2/tp-files" to "the root directory". Pages: [1] |
