TinyPortal

Development => Support => Installation => Topic started by: cru on August 06, 2007, 04:19:33 AM

Title: just want something cleared before installing
Post by: cru on August 06, 2007, 04:19:33 AM
hi all!

1. i have a test site, and im willing to learn to install manually the latest tp version on my 1.1.3

now i notice in the "INSTALLING THE FILES FROM THE MANUAL PACKAGE" instructions in number 6.

6. Browse to the folder where you have the tinyportal manual install package extracted, upload all the files from the package to your forum folder. (make sure it's the same folder you have the SMF files in)

... there are at least 2 folders in the tp installer with the same folder name in my root folder namely., SOURCES , THEMES.

following instruction number 6 would replace the current folders? or do i have to make a tp folder where i can put the tp files?

TIA!
Title: Re: just want something cleared before installing
Post by: tick on August 06, 2007, 04:22:24 AM
The files that are in the TP sources file go into the the smf sources files.  Open up the TP sources and put those files inside the smf sources.  Not the folder itself just the files inside it.
Title: Re: just want something cleared before installing
Post by: tick on August 06, 2007, 04:38:19 AM
Sure thing.  If you have any more questions dont hesitate to ask.  But please we do ask our users to search first .  You will find that just about any question you may have has been answered before. Thanks Tick
Title: Re: just want something cleared before installing
Post by: cru on August 06, 2007, 06:11:39 AM
i get this error after the manual install...

template parse error.
what's wrong with this code? (/Themes/default/index.template.php)

// TinyPortal
384:        }
385: //  end
386:
387: echo '

388: <table id="upshrinkHeader2"', empty($options['collapse_header']) ? '' : ' style="display: none;"', ' width="100%" cellpadding="4" cellspacing="0" border="0">

389: <tr>';
Title: Re: just want something cleared before installing
Post by: G6Cad on August 06, 2007, 06:48:47 AM
can you post 10 more lines of code from the template, 10 lines before and 10 lines after the error line
Title: Re: just want something cleared before installing
Post by: cru on August 06, 2007, 11:37:18 AM
here it is..

//Welcome Ads
if (function_exists("show_welcomeAds"))
{
$ads = show_welcomeAds();
if(!empty($ads))
{
echo '<td class="windowbg2">';
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
echo '</td>';
}
unset($ads);
}
echo '

</tr>
</table>
</td>
</tr>
</table>';
';
// TinyPortal
       }
//  end
echo '

<table id="upshrinkHeader2"', empty($options['collapse_header']) ? '' : ' style="display: none;"', ' width="100%" cellpadding="4" cellspacing="0" border="0">
<tr>';

// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<td width="90%" class="titlebg2">
<span class="smalltext"><b>', $txt[102], '</b>: ', $context['random_news_line'], '</span>
</td>';
echo '
<td class="titlebg2" align="right" nowrap="nowrap" valign="top">
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
<a href="', $scripturl, '?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0 1ex;" alt="" /></a>
<input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="', $txt[182], '" style="width: 11ex;" />
<input type="hidden" name="advanced" value="0" />';


the error is

Parse error: syntax error, unexpected T_STRING in .../Themes/default/index.template.php on line 388
Title: Re: just want something cleared before installing
Post by: G6Cad on August 06, 2007, 11:39:32 AM
Remove the '; right over the //TinyPortal

';
// TinyPortal
       }
//  end
echo '
Title: Re: just want something cleared before installing
Post by: cru on August 06, 2007, 11:47:30 AM
wow! great support here!!!
i did it!!!!!!

it worked now!!!