TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,964
  • Latest: stylix
Stats
  • Total Posts: 195,966
  • Total Topics: 21,317
  • Online today: 2,241
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 828
  • Total: 828

TP 1.0 RC1 and SMF 2.0 RC4

Started by Nolt, November 03, 2010, 07:59:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nolt

Hi, I have problem with installation. When I want install TP on RC4 i get msg that this package isn't compatible with this version of SMF.

ZarPrime

Nolt,

I don't believe that Bloc has finished checking through RC1 yet to make sure that there aren't any edits needed.  However, it should install fine on SMF 2.0 RC4 (but I'm not guaranteeing that yet).  In order to do that right now, you'd need to use one of the prescribed methods ...

1.  Click "Advanced" at the bottom of the Package Manager and emulate SMF 2.0 RC3.
2.  Unzip the RC1 zipfile and edit the xml file (without looking, I think it's called package-info.xml) to install and uninstall for RC4.  Then zip it back up.

We probably won't update here until bloc gives the green light though one or more of us may go ahead and do it on our test sites.  However, I haven't done it yet on mine. ;) Let us know if everything goes OK.  Oh, be sure to backup first, as always.

ZarPrime

Nolt

Error in ~/Sources/Security.php file. I've checked and I can't find that place. Screen attached.

ZarPrime

Nolt,

Until Bloc has an update, the only info I can give you is for SMF 2.0 RC3 ...

1.  Security.php is located in the Sources folder of your SMF install.

2.  The needed edits for SMF 2.0 RC3 for that file are as follows ...

Find:

// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context;


Add After:


// TinyPortal
TPortal_init();


ZarPrime

Maxx1

Yes and I think Bloc has allot on his plate right at present, He is keeping real busy and I myself will wait a while before updating any major or active site until all bugs are worked out, on every thing including but not limited to themes and mods and the forum system!

In short I would wait before jumping into RC4 for a live site and even on their main site they advise this!

regards,
Maxx
But Mama, That's Where all the fun is!

Lesmond

in Sources/Security.php

Find: around line 172

// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context;


Add After: add this manually


// TinyPortal
TPortal_init();


What I did was to go ahead with the install, then added the above edits manually.

so it should look like this...

// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context, $scripturl;

// TinyPortal
TPortal_init();


For the package-info.xml

Find:
   <install for="2.0 RC3">
<redirect url="">Installed!</redirect>
                <require-dir name="SMF2RC2/Themes" destination="$boarddir" />
                <require-dir name="common/Themes" destination="$boarddir" />
<require-dir name="SMF2RC2/Sources" destination="$boarddir" />
                <require-dir name="common/tp-downloads" destination="$boarddir" />
                <require-dir name="common/tp-images" destination="$boarddir" />
<require-dir name="SMF2RC2/tp-files" destination="$boarddir" />
                <readme type="inline">Installing TinyPortal v1.0 beta 5 for SMF2.0 RC3</readme>
               <modification format="boardmod" type="file">SMF2RC3/tinyportal200rc3.mod</modification>
               <database>SMF2RC3/tp_upgrade.php</database>
        </install>
<uninstall for="2.0 RC3">
                <modification format="boardmod" type="file" reverse="true">SMF2RC3/tinyportal200rc3.mod</modification>
        </uninstall>
       <upgrade for="2.0 RC3" from="1.098, 1.099, 1.100">
<redirect url="">Upgraded!</redirect>
                <require-dir name="SMF2RC2/Themes" destination="$boarddir" />
                <require-dir name="common/Themes" destination="$boarddir" />
<require-dir name="SMF2RC2/Sources" destination="$boarddir" />
                <require-dir name="common/tp-downloads" destination="$boarddir" />
                <require-dir name="common/tp-images" destination="$boarddir" />
<require-dir name="SMF2RC2/tp-files" destination="$boarddir" />
                <readme type="inline">Installing TinyPortal v1.0 beta 5 for SMF2.0 RC3</readme>
               <modification format="boardmod" type="file">SMF2RC3/tinyportal200rc3b.mod</modification>
               <database>SMF2RC3/tp_upgrade.php</database>
        </upgrade>


Replace with:
   <install for="2.0 RC4">
<redirect url="">Installed!</redirect>
                <require-dir name="SMF2RC2/Themes" destination="$boarddir" />
                <require-dir name="common/Themes" destination="$boarddir" />
<require-dir name="SMF2RC2/Sources" destination="$boarddir" />
                <require-dir name="common/tp-downloads" destination="$boarddir" />
                <require-dir name="common/tp-images" destination="$boarddir" />
<require-dir name="SMF2RC2/tp-files" destination="$boarddir" />
                <readme type="inline">Installing TinyPortal v1.0 beta 5 for SMF2.0 RC4</readme>
               <modification format="boardmod" type="file">SMF2RC3/tinyportal200rc3.mod</modification>
               <database>SMF2RC3/tp_upgrade.php</database>
        </install>
<uninstall for="2.0 RC4">
                <modification format="boardmod" type="file" reverse="true">SMF2RC3/tinyportal200rc3.mod</modification>
        </uninstall>
       <upgrade for="2.0 RC4" from="1.098, 1.099, 1.100">
<redirect url="">Upgraded!</redirect>
                <require-dir name="SMF2RC2/Themes" destination="$boarddir" />
                <require-dir name="common/Themes" destination="$boarddir" />
<require-dir name="SMF2RC2/Sources" destination="$boarddir" />
                <require-dir name="common/tp-downloads" destination="$boarddir" />
                <require-dir name="common/tp-images" destination="$boarddir" />
<require-dir name="SMF2RC2/tp-files" destination="$boarddir" />
                <readme type="inline">Installing TinyPortal v1.0 beta 5 for SMF2.0 RC4</readme>
               <modification format="boardmod" type="file">SMF2RC3/tinyportal200rc3b.mod</modification>
               <database>SMF2RC3/tp_upgrade.php</database>
        </upgrade>


I will add this may not be the best way of doing things, it also may not be error free, SO PROCEED AT YOUR OWN RISK!!

Nolt

Thanks, for all anserws. I think I will wait for the public update (TP and theme I use - Argentum).

Thank you all again.

agridoc

I had announced a quick fix for TP 1.05 package and RC4 in TP Team board on November 2 and, in public, in TP topic in SMF mods board on November 3 http://www.simplemachines.org/community/index.php?topic=27642.msg2837912#msg2837912 mainly because Rafferty had already upgraded to RC4.

It's very easy to edit the /SMF2RC3/tinyportal200rc3.mod, save as /SMF2RC4/tinyportal200rc4.mod and add the necessary lines in package-info.xml so it will install and unistall in all versions.

However, I hadn't given more details, as TP 1.0 RC1 is not yet properly tested for RC4.

My test RC4 install has Babylon and Classic Themes added from RC3 files, plus a 2.0 RC3 theme by Crip.

Since November 2, I didn't notice any difference in behavior in comparison to an RC3 installation.

I saw a report by Zarprime in http://www.tinyportal.net/index.php?topic=33339.msg267364#msg267364 that, with RC4, block titles don't behave well with windowbg backgound but I could not find a difference from RC3, including the themes added. Maybe the specific site has other problems too.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

agridoc

A very recent post in http://www.simplemachines.org/community/index.php?topic=27642.msg2840458#msg2840458 from Jason kiDD, who has upgraded on November3, using the quick fix, has the same, no problems, report.

And this is, as I see, a working forum with quite some activity.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF

clothahump

Any idea when the download will be compatible with SMF 2.0 RC4?

This website is proudly hosted on Crocweb Cloud Website Hosting.