TinyPortal

Development => Support => Installation => Topic started by: T_Kiili on February 11, 2009, 12:03:56 AM

Title: TP 1.05b manual install 1.1.8
Post by: T_Kiili on February 11, 2009, 12:03:56 AM
I try to install TP manually, but i dont get it work. PackMan in my SMF dont work.

http://docs.tinyportal.co.uk/index.php?topic=140

i use this as a guideline modifying the files, i use notepad ++ . I dont have much experience coding this stuff so:

if there reads add before or add after, do i just make a new line and put it there? here is a example:

Add after

require_once($sourcedir . '/Security.php');
// TinyPortal include
       require_once($sourcedir . '/TPortal.php');

Is it like this?

and what should i do when i moding, there comes a line what i dont have? i dont have any examples, but that happened last time when i try use 0.98tp. maybe corrupted file, or allready modded?

after i have modded all the files in the guide, i put them in my smf folder, replace the old files and then run tp manual install php in my browser and thats it?


Title: Re: TP 1.05b manual install 1.1.8
Post by: IchBin on February 11, 2009, 12:05:38 AM
If you don't have the line, it must be because it has been altered by another mod that you have installed. All of these lines exist in the DEFAULT theme.
Title: Re: TP 1.05b manual install 1.1.8
Post by: T_Kiili on February 11, 2009, 12:07:15 AM
Quote from: IchBinâ„¢ on February 11, 2009, 12:05:38 AM
If you don't have the line, it must be because it has been altered by another mod that you have installed. All of these lines exist in the DEFAULT theme.

do this affect anything for tinyportal working if i miss a line? i dont have any other mods.
Title: Re: TP 1.05b manual install 1.1.8
Post by: IchBin on February 11, 2009, 12:09:42 AM
Yes, if you don't have a line and you don't have any mods installed, download the package from SMF and compare your file to a new one and make sure it is not altered.
Title: Re: TP 1.05b manual install 1.1.8
Post by: T_Kiili on February 11, 2009, 12:28:43 AM
Okay, now i downloaded all fresh files for modding.

how about modding theme directory:

$themedir/Help.template.php

should i mod what? my default, my using one (neptune) or?
Title: Re: TP 1.05b manual install 1.1.8
Post by: IchBin on February 11, 2009, 12:38:56 AM
You should only mod the default theme. All other themes should work fine with that, with the exception that you will have to add a forum button for some themes. Most themes here already have this done for you though.
Title: Re: TP 1.05b manual install 1.1.8
Post by: T_Kiili on February 11, 2009, 01:49:03 AM
Fatal error: Cannot redeclare tportal_searchbox() (previously declared in /usr/home/int2000/d/28505/html/Sources/Load.php(1734) : eval()'d code:7) in /usr/home/int2000/d/28505/html/Sources/Load.php(1734) : eval()'d code on line 16

whats next?

EDIT

i allmost solve this, my theme dont work with this, i have to try download another theme what supports my tp and smf.

SOLVED!!

When you get that information, go to load.php file and edit " $settings = $themeData " and put it value to 1, that allow you to get your forum and you can this way change theme something what works. it gives you error for your theme folder is not correct but just ignore it.

I change theme and install new supporting my new setup, thank you T I N Y P O R T A L !