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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 565
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 232
  • Total: 232

Manual Install Question

Started by jarooka, June 22, 2011, 12:06:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jarooka

Hi,

I started to do the Manual Install as there was 1 file (   ./Themes/default/index.template.php) that didn't pass the initial package install test.

No biggie... so I have the file in question saved aside.

Though I am not clear what exactly I am supposed to do now.

File it errored on =    ./Themes/default/index.template.php
(all other files passed)

Installing = TinyPortal1RC1_1.zip
SMF = 1.1.11

I just need a little direction here, this seems like an easy issue to deal with... if I knew what to do exactly.

Thanks,

J

jarooka

...and yes... I did look at the instructions, but am not clear what I am supposed to do in which file. I copied the file to the /install-failed/smf/tp folders and looked at them. Then got lost. :)

I am not a coder guy, so this is all new to me.

Thx

Jas

jarooka

well... while waiting on a response and banging my head on the desk... did the updates from 11 to 12... then 12 to 13... then 13 to 14. All went fine. So I am running 1.1.14 now for SMF.

Still stuck on the Tiny Portal thing.

IchBin

jarooka,

If you look at the manual install it tells you which files you need to edit. For instance, for SMF1.1.14 it says this about the index.template.php file:

Code (Find) Select
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))

Code (Replace With) Select
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum', 'tpadmin')))

Code (Find) Select
$current_action = 'search';

Code (Add After) Select
if (isset($_GET['dl']))
$current_action = 'dlmanager';

if (isset($_GET['board']) || isset($_GET['topic']) || $context['current_action']=='forum')
$current_action = 'forum';

if ($context['current_action']=='tpadmin')
$current_action = 'admin';


Code (Find) Select
// Show the [help] button.

Code (Add Before) Select
if($settings['TPortal_front_type']!='boardindex')
// Show the [forum] button.
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action=='forum' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=forum">'.$txt['tp-forum'].'</a>
</td>' , $current_action=='forum' ? '<td class="maintab_active_last">&nbsp;</td>' : '';


Notice how each section says "find" and then the following sections tells you to either replace, or add before, or add after.

If you follow those instructions, you don't need to know how to code. :) You just need to know how to follow instructions. :) If you get stuck, or have an error, feel free to attach the file you made with the changes you are stuck on.

jarooka

hmm.. cant attach a file. Cant post my code into a block of code tags here.

How do I get you my info, cuz your suggestion crashed my site and I had to put an pre-edited php page back on the server. Not a big deal, but I'm not getting anywhere with this either...

Thanks,
Jarooka

IchBin

Why can't you post code or attach files?

The only reason those code changes would crash your site, is if you didn't put them in your code right, or missed something.

You should always make a backup of any file you plan to edit. This way, if something goes wrong, you simple put the unedited backup you have back into place.

jarooka

says does not allow newbies to post links (so that sucks lol)

and there is no option to add attachments under the +Attachements and Other options for me...where I'm guessing it should be.

*shrug*

ZarPrime

jarooka,

Try it now Bro'.  I think you might have reached the magic number.  If not, LMK and one of us will manually add a few more posts to your profile.

ZarPrime

jarooka


Note: We do not allow the newbies user group to post links.
Please type your link out like this if you get an error about it when posting.
"yourdomain dot com"

:) bump....

jarooka

There.. now I see the option. :) (THANKS!)

attached my original file.


This website is proudly hosted on Crocweb Cloud Website Hosting.