TinyPortal

Development => Support => Topic started by: kildjean on January 05, 2006, 10:19:28 PM

Title: Installing TP 75 on SMF 1.1 RC2
Post by: kildjean on January 05, 2006, 10:19:28 PM
Ok this is what I have done:

1. I installed SMF on my host, normal install all went well.
2. I copied the tp_install_manual.php file (or however is written), the one in tp 75
3. I "ran" the php file and it created the tables on my smf db.
4. I went into the packages part on smf and I tried to upload the tp 75 files only, when I did this, I got an error that the files were corrupted or didnt work.
5. I uploaded successfully the TP 75 full package.
6. When I go to install the TinyPortal 75 by clicking Apply Mod I get the following error:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

So I am stuck.  I need TP in order to use a theme I want to use which is made for TP.  Can someone explain to me on a moron-proof base how I get to do this?  Ichbin has been helping me but I dont want to burden him with all this.  so if there is anymore peeps interested in helping me i'd appreciate it.

I am not new to forums, just to SMF and TP itself.  Ive been away from coding since im moviong from one country to another and been busy with other things, but i would like to get this done...

thanks;

Kil
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: IchBin on January 05, 2006, 10:21:18 PM
Have you tried uploading the TP files with an FTP program? That is the best way to do it IMO.
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: kildjean on January 05, 2006, 10:23:32 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on January 05, 2006, 10:21:18 PM
Have you tried uploading the TP files with an FTP program? That is the best way to do it IMO.

No I have not tried... where do this files go? like right onthe root of the forums?
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: IchBin on January 05, 2006, 10:24:10 PM
Yes you just upload each folder into the root of your SMF.
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: kildjean on January 05, 2006, 10:29:58 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on January 05, 2006, 10:24:10 PM
Yes you just upload each folder into the root of your SMF.

ok I uploaded them all

Now what?
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: IchBin on January 05, 2006, 10:37:09 PM
If you ran the install.php file and uploaded all the Files TP should be installed. Although, I'm not so sure it will work on RC2 as stated before.
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: kildjean on January 05, 2006, 10:42:56 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on January 05, 2006, 10:37:09 PM
If you ran the install.php file and uploaded all the Files TP should be installed. Although, I'm not so sure it will work on RC2 as stated before.

The files are uploaded but TP is not working still.  I have not uploaded any modified files yet because im having trouble fixing some of them.  Can I e-mail you a file with the ones im having trouble fixing maybe you can fix em for me?
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: kildjean on January 05, 2006, 10:50:09 PM
ok like for example:

Quote

<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" />';


When I look for this file, i cannot file the entire line in index.template.php, so i cannot change it.

another example is this other line:

Quote
', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' <span style="white-space: nowrap;">', $context['common_stats']['total_members'], ' ', $txt[19], '</span>

                     ', $txt[656], ': ', $context['common_stats']['latest_member']['link'], '
                  </div>
               </div>';

This line i just cannot find it anywhere...

I guess ill just take a break of all this til the next beta release gets "released" and try this  again... tired of this not working...

Kil

Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: Rasyr on January 05, 2006, 10:51:32 PM
Quote from: kildjean on January 05, 2006, 10:50:09 PM
ok like for example:

Quote

<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" />';


When I look for this file, i cannot file the entire line in index.template.php, so i cannot change it.


index.template.php, line 181


<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';


Quote from: kildjean on January 05, 2006, 10:50:09 PM
another example is this other line:

Quote
', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' <span style="white-space: nowrap;">', $context['common_stats']['total_members'], ' ', $txt[19], '</span>

                     ', $txt[656], ': ', $context['common_stats']['latest_member']['link'], '
                  </div>
               </div>';

This line i just cannot find it anywhere...

I guess ill just take a break of all this til the next beta release gets "released" and try this  again... tired of this not working...


try boardIndex.template.php, round about line 15 (this seems to be just about the same thing as what you posted (or at least it produces a similar result).

echo '
', $txt[19], ': ', $context['common_stats']['total_members'], ' &nbsp;ââ,¬Â¢&nbsp; ', $txt[95], ': ', $context['common_stats']['total_posts'], ' &nbsp;ââ,¬Â¢&nbsp; ', $txt[64], ': ', $context['common_stats']['total_topics'], '
', ($settings['show_latest_member'] ? '<br />' . $txt[201] . ' <b>' . $context['common_stats']['latest_member']['link'] . '</b>' . $txt[581] : '');



A lot of code in SMF changed between  version 1.1 RC1 and 1.1 RC2, so for changes to actual files, you will end up having to search around a bit, and not always in the same files that the ver 0.75 mod file tells you to.

TinyPortal ver 0.8, due to be released any time now, will actually install into 1.1 RC2, or at least it is supposed to... :)

Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: kildjean on January 05, 2006, 10:53:38 PM
??
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: Rasyr on January 05, 2006, 11:01:31 PM
Sorry, had meant to hit preview, but hit save instead - it has been edited now...

Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: kildjean on January 05, 2006, 11:11:50 PM
im gonna wait til 8.0 just tired of all the coding...
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: BlackMagicWomen on January 05, 2006, 11:14:03 PM
Topic is near my question, so i want to ask if RC2 + TinyPortal will work, and how to install TP?

Is there any benefit to install RC2, my host offer SMF 1.05 in fantastico package.

TX
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: kildjean on January 05, 2006, 11:15:39 PM
Quote from: BlackMagicWomen on January 05, 2006, 11:14:03 PM
Topic is near my question, so i want to ask if RC2 + TinyPortal will work, and how to install TP?

Is there any benefit to install RC2, my host offer SMF 1.05 in fantastico package.

TX

I frankly recommend you to wait til TP 8, as Ich said I can also smell it somehow being in the air... ;)
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: BlackMagicWomen on January 05, 2006, 11:18:57 PM
OK. Thanks for advice  ;)
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: lovesall on January 05, 2006, 11:22:36 PM
ok, so I'm installing the TP into my packages folder? That is where it's supposed to go right?

Also, how do I do a manual install? through my packages?

installing it through my ftp isn't working. It installs but my theme can't find it in the load.php file

I uninstalled it and reinstalled it through the ftp to no avail. I still get the fatal tp sidebar error
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: IchBin on January 06, 2006, 01:47:35 AM
Have you read the install guide ? It's in my sig....
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: redone on January 06, 2006, 12:02:56 PM
In most cases TP will install on any version of SMF that you are using but in the case of TP and SMF rc2 you would have to install manually rather than via the package manager.

Give time obviously bloc will have a compatible rc2 version.
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: lovesall on January 06, 2006, 04:49:26 PM
I have read and followed your guide. I still get the fatal tp sidebar error
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: feline on January 07, 2006, 12:28:14 AM
you have made all need changes for the bars?

I have made this .. and it works .. tp0.75, tp-themes and rc2

Fel
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: kip on January 09, 2006, 04:08:02 AM
Well, I got this working this weekend, I have to admit that it's not for the faint of heart.  There was a couple of large changes in index.template.php that required deviating from the manual editing guide.  I'm still not certain I have it completely right.  But it looks good on my test board.
Title: Re: Installing TP 75 on SMF 1.1 RC2
Post by: ramapoughnative on February 03, 2006, 11:57:06 PM
Could you tell what and where you made changes?