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
...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
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.
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:
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum', 'tpadmin')))
$current_action = 'search';
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';
// Show the [help] button.
if($settings['TPortal_front_type']!='boardindex')
// Show the [forum] button.
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '<td class="maintab_active_first"> </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"> </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.
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
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.
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*
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
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....
There.. now I see the option. :) (THANKS!)
attached my original file.
Hi... still having trouble with this. Were you able to make sense of the file I attached? I'm not having much luck editing it to get it to work, so the above file is the original.
:(
jarooka,
Not really. The text file you attached looks like it might contain the index.template.php file from the custom theme rather from the default SMF theme (?theme=1)
Did you try to install the latest version of Tinyportal when you Forum was set to the default SMF theme? This is important. If you didn't do that, please switch your Forum to that theme and try installing the latest TinyPortal again. If you still get the error that you got earlier, please attach the actual file to your next post rather than a text file that you have created.
Also, while we are at it, could you please answer the following questions ...
Link to my site: http://www.yourdomain.com
SMF version: SMF ver. here
TP version: TP ver. here
Default Forum Language: Your Default Forum Language here
Theme name and version: Theme name here
Browser Name and Version: Browser name/version here
Mods installed: Mods listed here
Related Error messages: Error message here
ZarPrime