This is the same release as the 0.7.4 version, but with the "preview" error fixed. Some other minor changes are also done, but basically a update for that error.
- As for TP 0.7.4 there is also manual files available.
- works on SMF 1.0.5 - 1.1RC1, and updates any earlier TinyPortal version.
Update:
support for SMF 1.0.6
Download:
http://www.tinyportal.net/smf/index.php?action=tpmod;dl=item12
Let me see how this goes im downloading right now :)
Downloading...Done
Uploading...Done
Installing...Done
Everything went fine and now previews work ;D
When I apply the mod it fails :(
Am I to uninstall TP first, then re-install it?
I'm currently at this page:
The actual TP files is NOT installed - and the modifications to SMF files is not done, for these you need to upload the contents of the tp075_filesonly.zip, and apply the "TinyPortal_074_modonly.zip" package through the package manager. If you are unable to use the package manager , you will need to manually apply the changes yourself.".
Why would I have to apply the 0.74 mod files again?
It works now, I just hadn't uploaded the files :)
done :) upgraded ;)
wasn't going to, but since i had trouble installing 0.74 on top of 0.65 i became wary xD
thank you bloc! :)
looks good - only one msg in the error log:
8: Undefined index: tp-pathtothumbs2
File: /home/xxx/public_html/main/Themes/default/TPortalBlocks.template.php (eval?)
Line: 341
done and seems ok so far
Very Good.
Some lines are not support multilanguage forums :D
ps 313-321 TPortalAdmin.template.php
Quote<input name="tp_showtop" type="radio" value="0" ' , $context['TPortal']['showtop']==0 ? 'checked' : '' , '> No
<input name="tp_showtop" type="radio" value="1" ' , $context['TPortal']['showtop']==1 ? 'checked' : '' , '> Yes
</td></tr>
<tr class="windowbg2">
<td align="right">Use the WYSIWYG editor?:
</td>
<td>
<input name="tp_use_wysiwyg" type="radio" value="1" ' , $context['TPortal']['use_wysiwyg']=='1' ? 'checked' : '' , '> Yes
<input name="tp_use_wysiwyg" type="radio" value="0" ' , $context['TPortal']['use_wysiwyg']=='0' ? 'checked' : '' , '> No
missing like those strings -> $txt['tp-usewysiwyg'],$txt['tp-yes']='yes',$txt['tp-no']='no'
What language are you on..?
Greek, I corrected these lines. No problem.
Quote from: iowamf on October 24, 2005, 03:37:29 AM
looks good - only one msg in the error log:
8: Undefined index: tp-pathtothumbs2
File: /home/xxx/public_html/main/Themes/default/TPortalBlocks.template.php (eval?)
Line: 341
yup i get the same error....
smf.php?action=tpadmin
8: Undefined index: tp-pathtothumbs2
File: smf\Themes\default\TPortalBlocks.template.php (eval?)
Line: 341
Quote from: ontap on October 25, 2005, 12:28:56 AM
Quote from: iowamf on October 24, 2005, 03:37:29 AM
looks good - only one msg in the error log:
8: Undefined index: tp-pathtothumbs2
File: /home/xxx/public_html/main/Themes/default/TPortalBlocks.template.php (eval?)
Line: 341
yup i get the same error....
smf.php?action=tpadmin
8: Undefined index: tp-pathtothumbs2
File: smf\Themes\default\TPortalBlocks.template.php (eval?)
Line: 341
I get that error plus this one
8: Undefined variable: rblock
File: /home/ynohtna/websites/smforum/Themes/TP_neptune11rc1/TPortalBlocks.template.php (eval?)
Line: 1132
A language string missing..I will fix this up and update the zip file.
ynohtna, that might be something with the blocks..are your right side empty?
Installed: FANTASTIC, GREAT, BEST PHP I EVER TRIED! Hope to see a simplicity theme for tiny portal very soon, I love that theme!
Thanks a lot Bloc, I appreciate a lot your work
Ale
So that's why preview wasn't working. :)
Thanks for the update Bloc. ;)
Quote from: Bloc on October 25, 2005, 12:14:35 PM
A language string missing..I will fix this up and update the zip file.
ynohtna, that might be something with the blocks..are your right side empty?
Ya I turned off right side blocks.
Quote from: akabugeyes on October 25, 2005, 11:11:36 PM
So that's why preview wasn't working. :)
Thanks for the update Bloc. ;)
Yes. :) Took a while to figure it out, but lesson learned: always name things unique.
Quote from: ynohtna on October 26, 2005, 12:42:34 AM
Quote from: Bloc on October 25, 2005, 12:14:35 PM
A language string missing..I will fix this up and update the zip file.
ynohtna, that might be something with the blocks..are your right side empty?
Ya I turned off right side blocks.
Still..it shouldn't give errors like that. Are there many of them?
Just installed TP.ÂÃ, I actually managed to install it using the package manager, but I had to edit themes/default/index.template.php manually as package manager reported an error when trying to do this.ÂÃ, 1 error in the error log, [26-Oct-2005 13:09:13] PHP Fatal error:ÂÃ, Call to undefined function:ÂÃ, tportal_version() in /usr/home/adetbun/public_html/cottagesmf/Sources/Load.php(1642) : eval()'d code on line 427.ÂÃ, The installation seems stable though, and I have installed heliosTP, SitraTP and techeadTP without any glitches.
This installation was on the English language version of SMF 1.1 RC1, php 4.3.11 and SQL version 4.1.5-gamma.
I am VERY pleased with this installation, I have also tried Joomla/Mambo with smf but Tiny Portal is much better!ÂÃ, Mainly because I like the fact that it becoms a part of SMF, rather than SMF becoming part of the CMS.
Quote from: Bloc on October 26, 2005, 12:27:25 PM
Quote from: ynohtna on October 26, 2005, 12:42:34 AM
Quote from: Bloc on October 25, 2005, 12:14:35 PM
A language string missing..I will fix this up and update the zip file.
ynohtna, that might be something with the blocks..are your right side empty?
Ya I turned off right side blocks.
Still..it shouldn't give errors like that. Are there many of them?
I just look now, YA! lots! and I get them in multiples of four, with the same time stamp. and it happens very frequently.... I guess every page I goto. cause I have 11 pages of errors and I know I cleared the logs yesterday afternoon.
I created a new thread for this http://www.tinyportal.net/smf/index.php?topic=1147.0
I have this errors. Install Smf1.1 RC1 and TP 0.75 without any another mods.
1.
8: Undefined index: sidebar_width
File: /www/htdocs/Themes/default/TPortalBlocks.template.php (eval?)
Line: 387
2.
8: Undefined index: sidebar
File: /www/htdocs/Themes/default/TPortalBlocks.template.php (eval?)
Line: 383
3
8: Undefined index: topbar
File: /www/htdocs/Themes/default/TPortalBlocks.template.php (eval?)
Line: 379
4
8: Undefined index: mostOnline
File: /www/htdocs/Themes/default/TPortalBlocks.template.php (eval?)
Line: 405
5
8: Undefined index: mostOnlineToday
File: /www/htdocs/Themes/default/TPortalBlocks.template.php (eval?)
Line: 404
I've just done a manual update 0.74 to 0.75 and I think I may have got a little bit wrongÂÃ, :uglystupid2: I have an extra set of right blocks in the footer area on the left side. Expecting it to be a mistake with either Load or indextemplate I went through those two files again and I've still got the problem.
Could I have a little clue about where to look please?
Excellent, but I don't neet it first time.
Quote from: nokonium on October 26, 2005, 10:32:20 PM
I've just done a manual update 0.74 to 0.75 .....
I've had another go and it is still the same. I think that it could be the database fields haven't been updated. I had a look at the database fields and TP_install_manual still creates/inserts fields with tportal_ prefix, even when a custom user prefix is entered. I deleted the tportal_ tables, added my custom prefix as the option and as the default prefix then ran it again. It still created tportal_tables. It looks like the updating commands are not calling for either of those prefixes, but are using the prefix in the query. I have only updated the default theme and that is the wonky one.
I will check the install routine again, nokonium.
How I can fix errors? Help me please!
Quote from: Bloc on October 27, 2005, 09:38:53 AM
I will check the install routine again, nokonium.
Thanks Bloc
Quote from: Mavn on October 27, 2005, 03:16:33 PM
How I can fix errors? Help me please!
They are language errors - from the Themis theme I think. Check out the english language files in Themis folder, and copy over what is below the lines "// texts for the Themis theme". Index.english.php and Themes.english.php
Ok Thanks I'll trying do it!
i feel really stupid asking this, because it seems nobody else has this problem, but where is the mod_only.zip?
Its not done for TinyPortal v.0.7.5 - because it only modifies the SMF files, and that hasn't changed since TP 0.6.5 in fact.
Just use the one in this thread:
http://www.tinyportal.net/smf/index.php?topic=927.0
Quote from: nokonium on October 27, 2005, 07:08:23 AM
Quote from: nokonium on October 26, 2005, 10:32:20 PM
I've just done a manual update 0.74 to 0.75 .....
I've had another go and it is still the same.
I've now got the database updated, I had entered custom table prefix I use for the SMF tables instead of adding it to the tportal table prefix.
Still have the problem though :(
well, everything installed without any errors at all, but for some reason the default block's were set wrong.
The shoutbox was set to like menubox and they were all like that...
I fixed them all, expept for the "content' block.. what is that supposed to be?
I believe content is a menu box type, as used on this site shows.
http://www.phazm.net/hygportal/
nothing shows up (and I do have some test content) when I use menubox
Quote from: nokonium on October 29, 2005, 12:53:23 PM
Still have the problem thoughÂÃ, :(
I think that I've found the problem, but I need help to identify what I need to remove.
This is indextemplate lines 401 to 525
<?php
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
// TinyPortal integrated bars
if($context['TPortal']['rightbar']){
echo '<td style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px; background-color: #D4D4D4; padding-top: 4px;" valign="top" align="right">
<div id="rightbarHeader"', empty($options['collapse_rightbar']) ? '' : ' style="display: none;"', ' style="width: ' ,$context['TPortal']['rightbar_width'], 'px; text-align: left; padding-top: 5px;">';
TPortal_rightbar();
echo '</div></td>';
}
echo '</tr></table></div>';
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>
<table cellspacing="0" cellpadding="3" border="0" width="100%">
<tr>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;" class="smalltext">
', theme_copyright(), ' <br />', tportal_version() , '
</td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>';
// Show the load time?
if ($context['show_load_time'])
echo '
<span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';
echo '
</div>';
// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'])
{
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[';
// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
if ($context['browser']['is_safari'])
echo '
window.addEventListener("load", smf_codeFix, false);
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
for (var i = 0; i < codeFix.length; i++)
{
if ((codeFix[i].className == "code" || codeFix[i].className == "post" || codeFix[i].className == "signature") && codeFix[i].offsetHeight < 20)
codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px";
}
}';
else
{
echo '
var window_oldOnload = window.onload;
window.onload = smf_codeFix;
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
for (var i = codeFix.length - 1; i > 0; i--)
{
if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code"))
codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";
}
if (window_oldOnload)
{
window_oldOnload();
window_oldOnload = null;
}
}';
}
echo '
// ]]></script>';
}
// TinyPortal
echo '</div>';
if($context['TPortal']['fixed_width']!=0)
echo '</td>';
// TinyPortal integrated bars
if($context['TPortal']['rightbar']){
echo '<td style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px; background-color: #D4D4D4; padding-top: 4px;" valign="top" align="right">
<div id="rightbarHeader"', empty($options['collapse_rightbar']) ? '' : ' style="display: none;"', ' style="width: ' ,$context['TPortal']['rightbar_width'], 'px; text-align: left; padding-top: 5px;">';
TPortal_rightbar();
echo '</div></td>';
}
echo '</tr></table></div>';
// end
// TinyPortal
echo '</div>';
if($context['TPortal']['fixed_width']!=0)
echo '</td></tr></table>';
// end
echo '
</body>
</html>';
}
?>Please (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fnaughty%2Fmn16.gif&hash=bc15139acbcb7840953c964cd448e4de3b98bb9f)
okay, you were right, I didn't have the content enabled :)
I've removed lines 405 to 414
This
// TinyPortal integrated bars
if($context['TPortal']['rightbar']){
echo '<td style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px; background-color: #D4D4D4; padding-top: 4px;" valign="top" align="right">
<div id="rightbarHeader"', empty($options['collapse_rightbar']) ? '' : ' style="display: none;"', ' style="width: ' ,$context['TPortal']['rightbar_width'], 'px; text-align: left; padding-top: 5px;">';
TPortal_rightbar();
echo '</div></td>';
}
echo '</tr></table></div>';
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.nokonium.plus.com%2Fblack-cat%2Fwacko%2Fparanoid1.gif&hash=39920ab943a8231cd8a3a5781f56a09ce0696d3e) :-\
Ok. You just removed the code to show the rightbar then..and that get rid of the error?
Not quite, it got rid of the extra bar in the footer area, but the footer area, with the powered by and version bits, is now only across the bottom of the center section whilst both sidebars are down.ÂÃ,Â
I printed all 14 pages of the code and looked at it. I saw two sets of code for the right bar, so I looked at the two sections of code and compared them to the left bar code. The first one was the odd one, so I removed it.
Check that you actually have the line "echo '</tr></table></div>';" since it closes the middle part before the footer.
I had removed that bit. I've just replaced it and now the footer is across the whole width, also unfortunately so is the contents of the right barÂÃ,Â
I took out the wrong bit didn't I? ÂÃ, :2funny:
I think I've found out where I went wrong,
Here:
Quoteh.) search for:
echo '</td></tr></table>';
replace with:
echo '</td>';
// TinyPortal integrated bars
if($context['TPortal']['rightbar']){
echo '<td style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px; background-color: #D4D4D4; padding-top: 4px;" valign="top" align="right">
<div id="rightbarHeader"', empty($options['collapse_rightbar']) ? '' : ' style="display: none;"', ' style="width: ' ,$context['TPortal']['rightbar_width'], 'px; text-align: left; padding-top: 5px;">';
TPortal_rightbar();
echo '</div></td>';
}
echo '</tr></table></div>';
Could there have been more than 1
echo '</td></tr></table>'; ?
It seems that I had inserted the code after the footer area, (where modification 'j' goes) when it should have overwritten the existing right bar code. I think it is all correct now (I added extra comments to help me)
// The main content should go here. A table is used because IE 6 just can't handle a div.
echo '<div id="bodyarea" style="padding: 10px 8px 0px 8px;">
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>';
// TinyPortal integrated bars (left)
if($context['TPortal']['leftbar'])
{
echo '<td width="' ,$context['TPortal']['leftbar_width'], '" style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px; background-color: #D4D4D4; padding-top: 4px;" valign="top">
<div id="leftbarHeader"', empty($options['collapse_leftbar']) ? '' : ' style="display: none;"', ' style="padding-top: 5px; width: ' ,$context['TPortal']['leftbar_width'], 'px;">';
TPortal_sidebar('left');
echo '</div></td>';
}
// TinyPortal integrated bars (center)
echo '<td width="100%" align="left" valign="top" style="padding-top: 10px; padding-bottom: 10px;">';
if($context['TPortal']['centerbar'])
echo '<div>' , TPortal_sidebar('center') , '</div>';
}
// Main template
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo '</td>';
// TinyPortal integrated bars (right)
if($context['TPortal']['rightbar']){
echo '<td style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px; background-color: #D4D4D4; padding-top: 4px;" valign="top" align="right">
<div id="rightbarHeader"', empty($options['collapse_rightbar']) ? '' : ' style="display: none;"', ' style="width: ' ,$context['TPortal']['rightbar_width'], 'px; text-align: left; padding-top: 5px;">';
TPortal_rightbar();
echo '</div></td>';
}
echo '</tr></table></div>';
// Footer area - Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
Normally no more than 1..but if something goes haywire with installing, it can happen. :) i once had 9 lines of 'tpadmin' => etc. in index.php - just because it wouldn't go beyond a certain point in the package manager... :P
But recent versions of SMF stops correctly now it seems..no more part done, part un-done.
What's the solution for the "undefined index tp-path-to-thumbs2" error?
Add the string to the Tportal.english.php file for now. Just set it to '';
Sweet, no errors yet, a preview : http://www.evils0ft.net/forumportal/ . Nicely done Bloc =)
Puzzling to me.
Installed no errors but upon installing mercury I lost the TM admin and tinyportal is gone.
If I revert back to Default they are there. But not in mercury.
I found no error and was a smooth install.
I have tried to install 3 times and the results were the same.
Cybertoad.
You need Mercury TP to work with TinyPortal.
QuoteThanks I will look it over again must have missed something.
Cybertoad
Ok MY Bad, I was missed up with Mercury and Mecury TP
Install was perfect then, no problems on RC
Now i'll go test it.
Thanks
just installed 7.5 from 6.5 --- it all went well.. and no probs -- so far ;)
thanks soooo much BLoC! :smiley6600: ;D :-*
its all good at : Dreamreality : Creative Visual Tribe (http://dreamreality.org/creative/index.php)
Hi. Great Portal it is :)
Maybe a little problem
upshrinkHeader is only in the Admin visible. Ive installed it with the package manager in another space, there it is OK. Now Guests and User dont see the portal
Any ideas?
I forgot that it dont work by manualy install
Installed...no problems :)
Top Stuff Bloc
Just installed on my test system after several attempts, ended up with a lot of 0k files & it all lots great.
Now for a live site O0
dumb question but how do i just upgrade from 0.7.4?
Step by step please.
Thanks.
open your ftp program, and upload the 0.7.5 file onto your site, in the package folder, under your forum directory.
in the admin panel, go to the "packages" section, and where it says tinyportal 0.7.5, click "upgrade" or "apply mod" and it'll do it for ya ;)
Which one should I download?
Tinyportal0_75.zip (131.78 KB - downloaded 148 times.)
* TP_075_files_only.zip (111.49 KB - downloaded 67 times.)
* tp_install_manual.php (11.37 KB - downloaded 87 times.)
Tinyportal0_75.zip (131.78 KB - downloaded 148 times.) I used this one as it had the most downloads.
Uploaded, upgraded, no errors, installed.
Wooohooo. Preview works again.
All I did was download TP_075_files_only.zip, unzip, and ftp the files to my webserver overwriting the old ones. I checked my site, and it says 0.75. Checked the preview and it works! :)
you gotta one up me dontcha? LOL
Wasn't trying to one up ya lol ;D
I have uploaded and executed the manual install script and uploaded the TP_075_files_only.zip into the package directory but it is not showing up in the package manager. Does anybody have any comments on that.
Thanks
No, wrong place. :) TP075_files_only is the actual TP files, just extract that zip to your harddisk and upload the extracted files+folders into main SMF folder, they are all correct laid out already.
What you need to upload into packages folder is the TP074_mod_only.zip. located here: http://www.tinyportal.net/smf/index.php?topic=927.0
its the same for both TP 0.74 and 0.75.
I've updated to 0.75 and all is well...
I have spent the past two weeks testing, learning, screamin, and being more determined than ever to dive into the lower depths of tp... it's all good...lol
seriously, I have been doin tons of reading and want to learn php better, it certainly wont hurt...
as for any errors...they have all been self inflicted, I know what I have done and where/when I did it, sometime they can be fixed and sometimes it's just time to put on a fresh pot of coffee and reload..lol ( twice and counting)
Performed a fresh SMF install on my local machine followed by TinyPortal and I come up with the following error message:
Fatal error: Call to undefined function TPortal_init() in c:\wamp\www\Forum\index.php on line 168.
Any ideas? SMF runs fine prior to the TinyPortal installation.
Never mind... I did the manual install per the v0.7.4 version and now it works!
:'( :'( :'(
i'm sorry to say that the upgrade didn't go that well.... :'( :'(
i'm not able to enter the forum any more?
This is the error
in_array(): Wrong datatype for second argument
and
2: in_array(): Wrong datatype for second argument
File: /srv/www/htdocs/forum/Sources/BoardIndex.php
Line: 257
hm..did you have any other mods installed prior to the update? and did the install through package manager have any "failure" on any item?
ehhh nope the forum was a clean install...
I did get a error due to permissions. I fixed it later...
I also got an error updating index.template.php.
When you have failures on the test install it's advised to not continue without knowing what you're doing. :) For a quick fix, try this index.template.php file for your default theme. Just rename the old file and put this one in it's place.
This is for smf 1.1 RC1.
And if you could next time, please follow the posting guidlines it will help us help you. :) Also it will keeps the errors and fixes in their respective threads.
Guideline:
http://www.tinyportal.net/smf/index.php?topic=581.0
I used the upgrade from SMF to "reinstall" SMF.
Now the forum is working again...
I can try to install Tiny again... ::)
I think versiob 074 is working fine. So maybe i won't upgrade?
got it installed. it rawks! thanks :) duh!! I knew I should've looked some more before asking stupid questions.
It LOOKS AWESOME!!!
Hey Bloc,
Just installed the new version on a test forum running 1.1RC1...Everything went fine..it said everything was successful. I click on the "restart Forum" link. Then it gives me this error:
Fatal error: Call to undefined function: tportal_init() in /usr/home/dknoppix/domains/dknoppix.com/public_html/smf/index.php on line 168
dk
try Coping the tp files over to you new site -- or check the tp file and see if they have 0bits in them if they do then copy the files over.
tp_install_manual.php given for download.
This is not a manual for installation, but a working file to install TP manually, right?
...No laughing please..., "learning curve in progress" :idiot2:
Yes, it is. :)
Ah ok. Thanks :D
It worked.
Another Question about SMF in general. When installing any mod, it says that there are errors with the files? What's wrong? The CHMOD?
Ok, that was fun, not sure if I did everything right, but I I like it.
The only thing is I have this:
Admin
This block should be visible for admins only - no membergroups are set to be allowed to view it. As default new blocks will have all membergroups and guests checked.
And I can see it regardless if I loged in or not...
http://tierpal.com
Quote from: dknoppix on November 10, 2005, 09:17:22 PM
Ah ok. Thanks :D
It worked.
Another Question about SMF in general. When installing any mod, it says that there are errors with the files? What's wrong? The CHMOD?
Mods will only install to the default theme. So if you install a mod and it alters the code, your next mod that is looking for the original code will not find it. Thus, the failed error in the test install.
Is that a problem (Cause I did install a new skin)?
Can I just click continue?
For instance, if you install tinyportal and then you install a new theme. You won't see the tinyportal mod on your theme unless the theme has been edited for tinyportal. You won't see the full effect of TP unless you have a tp compatible theme. This goes for all the mods I've ever looked at. I don't think any harm will come from it.
Quote from: dknoppix on November 11, 2005, 12:53:52 AM
Is that a problem (Cause I did install a new skin)?
Can I just click continue?
What you should do is have a look at what the mod is going to do to the files that it fails on (usually in an xml file) and manually update them, if you can do that, you can safely run the mod with failures.
If you have themes installed that have their own copies of some of the files to be modified you will need to manually alter them as well.
Oh ! it's very good ! Thanks TinyPortal, I'll be translation SMF and TinyPortal to Vietnamese soon as soon and provide for everyon
But I'm sory, I've a big problem right now !
I go to install smf_1-1-rc1 success, after just finish I going on to install Tinyportal v.0.75 then it's note for me the install processing has been successed but after I click on the link "Restart forum to apply change" Then I've get an error:
QuoteFatal error: Call to undefined function: tportal_init() in http://localhost/smf/index.php on line 168
(I'm testing it in local using the EasyPHP (http://www.easyphp.org) program to creat vitual NETWORK before get it on the NET :laugh:)
Note: With smf_1-0-5, TinyPrtal working very good ! Don not seen this error. :D [
That's the same problem I had!
Go to the first post, and download http://www.tinyportal.net/smf/index.php?action=dlattach;topic=1109.0;attach=666
TP Files only, and upload them.
Then try to access your forums
Yes ! thanks more. I've seen it at the page 8 for the question and answer
Here's same as me:
Quote from: dknoppix on November 10, 2005, 04:05:01 PM
Hey Bloc,
Just installed the new version on a test forum running 1.1RC1...Everything went fine..it said everything was successful. I click on the "restart Forum" link. Then it gives me this error:
Fatal error: Call to undefined function: tportal_init() in /usr/home/dknoppix/domains/dknoppix.com/public_html/smf/index.php on line 168
And here is Answer:
Quote from: Ray on November 10, 2005, 04:18:28 PM
try Coping the tp files over to you new site -- or check the tp file and see if they have 0bits in them if they do then copy the files over.
does it work with spanish language???
Will Tiny Portal work with the simplicity theme - I assume it does since you developed it but I can't fugure out how
Thanks
Quote from: webhigh on November 18, 2005, 06:51:06 PM
Will Tiny Portal work with the simplicity theme - I assume it does since you developed it but I can't fugure out how
Thanks
TP enabled themes are here
http://www.tinyportal.net/smf/index.php?board=31.0
Looks like you will need to manually convert simplicity or choose anoter TP ready one
Quote from: webhigh on November 18, 2005, 06:51:06 PM
Will Tiny Portal work with the simplicity theme - I assume it does since you developed it but I can't fugure out how
Thanks
http://www.tinyportal.net/smf/index.php?topic=152.msg11692#msg11692
I guess removing my Mambo bridge and replacing with Tinyportal is going to take some doing?
Well..just removing the mambo and then making sure SMf runs correct will be it. After that TP simply installs as a mod.
If you are looking to move the mambo content over to TinyPortal, thats a major task I am afraid.
Thanks for releasing to the public!
cheers Bloc :wink:
how do i install this to work like your main site and smf 1.1rc
http://www.tinyportal.net/smf/index.php?topic=1194.0
I wanted to inquire about this installation before I proceed to see if I can expect any issues with things NOT working as opposed to just editing the files.
Current setup:
SMF 1.1RC1
Helios Multi Theme
SMF Arcade 1.2.3
User Online Today
Spoiler Tag
Gmail Field
Xbox Live Field
Xfire Field
Skype Field
I appreciate any feedback you can provide up front so I know what to expect on the test site. Thanks again.
I'm not sure which files those mods affect. But Tinyportal will probably fail on the test install if they modify the default themes index.template.php file. Only one way for you to find out though. :) Just make sure you make a complete backup of your site before hand. In some cases your mods will just need a reinstall when your done or maybe not. Its hard to say considering I don't use all those mods.
All mods will work..but your already modded Helios will need extra TP code in order to show . I think most of them mod Post.template and possibly Display.template..so they should be fine after TP is installed. It will only affect the index.template.
What can go wrong is during install..TP, as any other mod , might look for code that are now adjusted of other mods. Then it will fail there.
what about making tiny portal v0.8 available for beta testers?
:)
When he is ready he always does...unfortunately it looks a bit off because he still has to pass it through his selected beta testers group.
*waits for tp 0.8 patiently*
(i hope it comes out soon. the shrinking blocks make it worth it already, and also, i am waiting for the dowload mod since i don't like simpledownload)
everyone is :D
Quote from: IchBinÃ,â,,¢ on December 02, 2005, 08:31:44 PM
When he is ready he always does...unfortunately it looks a bit off because he still has to pass it through his selected beta testers group.
Is their a beta group??
You should know Ray, you are part of it... ;D
I will do like Ichbin mentions...becuase there is so much changes I HAVE to test it out on a select few first. And before that into this site as well.
Hi Bloc, for some reasons I work alot on local websites (and now easyphp makes thing a lot easier to test...) . If you like I will proud to test amd report you about tinyportal testing version (0.8 now). Feel free to ask about italian transaltion too...
Ale
dont know if this has been posted have had time to go through all 11 pages but watch using phpbox and rss feed both have some serious issues on my board lol.
Quote from: Bloc on December 05, 2005, 09:18:49 AM
You should know Ray, you are part of it... ;D
I will do like Ichbin mentions...becuase there is so much changes I HAVE to test it out on a select few first. And before that into this site as well.
lol I know, hey can I test the 8
Quote from: stormlrd on December 06, 2005, 04:51:53 AM
dont know if this has been posted have had time to go through all 11 pages but watch using phpbox and rss feed both have some serious issues on my board lol.
There have been some issues yes. But most of them I don't recall being TP's fault. Mind posting what your problems are?
I know..I'm a little late catching on, but I have to say this mod is absolutely fantastic! It's just what the doctor ordered to breathe life back into my forum. Great work! www.evolvedones.com (http://www.evolvedones.com/forum/index.php)
php defintily has issues it wont work with stuff other than maybe echo's
dont dare add a html block in like so ?> ...html and close out the text area like this <?
you'll get an the code block for the whole page in your edit area without the buttons try and see ;) you have to delete the block in the left center right section.
The rss feed just flat out spazed on me. Didnt even give me the chance to add a rss feed line to it just shut it all down and kicked back load.php errors and sql errors left and right, had to overwrite my whole indextemplate with an old copy to break out of the error.
one thing i can see is allowing for more than one board from the forum's posts to be displayed on the frontpage block also I would love some reviews on our setup.
The Family Forum (http://stormlrdsreality.co.uk/rhcforum)
Also is anyone else having issues with the article editor and allowing for replies to them?
The html/java block also works but not as well as id hoped, note the marque jumps, i smoothed it the best i could with breaks and stuff but oh well.
all and all a fabulous additon Bloc well done
The downloads does not work; Opera, Firefox, Internet explorer, Windows explorer; nobody works!! Please help me!!
:'( :'( :'(
I found it out... ;)
Everytime I try to install Tinyportal thru the package manager it says "No actions defined" :'( Did I made a mistake? :o
Quote from: kajitsu on December 12, 2005, 08:53:48 PM
Everytime I try to install Tinyportal thru the package manager it says "No actions defined" :'( Did I made a mistake? :o
How did you install it there..just pointing to the whole TP zip file? or just used some parts of it?..
I've downloaded the "Tinyportal0_75.zip" to my hdd, then uploaded thru the package manager, then "apply mod" and then comes the error message.
Quote from: kajitsu on December 12, 2005, 09:29:07 PM
I've downloaded the "Tinyportal0_75.zip" to my hdd, then uploaded thru the package manager, then "apply mod" and then comes the error message.
Try manual install
http://www.tinyportal.net/smf/index.php?topic=927.0
it works with 0.75 files too.
Thanks, I've tried it, but when it came to run the forum it says following:
QuoteTemplate Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Looking further into it, it says "parse error, unexpected $" on line 543... but I have no idea what I did wrong :'( I just followed the instructions.
Here's (http://home.arcor.de/kajitsu/index.template.php) the index.template.php
I didnt see where but your missing a closing bracket somewhere } as the $ indicates its looking for it.
Did you use this ")" instead of "}" this in any of your editing?
I just followed the instructions in the "TP_mod-instructions.rtf"-file. Replace, add after or add before and stuff like that. I'm really confused @_@ :buck2:
Hi there
I've been using tinyportal since the start, but I'm now having a problem. My forum is currently using SMF 1.0.5 with TinyPortal v.0.75 and all the free themes currently available. I decided to update the forum to SMF 1.1 RC1 but as always I tried it out on my test site first. Having upgraded the forum to SMF 1.1 RC1, TinyPortal dissapeared as I though it probably would. I therefore used the Package Managed to re-install TinyPortal which said it installed fine. On clicking the restart to view the forum llink - everything is now blank....no main page at all.
I've since tried everything I can to get this to work with SMF 1.1 RC1, even wiping the whole webspace and installing a brand new version of SMF 1.1 RC1. but every time I try and add Tiny Portal it comes up as a blank page. I thought it might be my database interfering with the installation so I've even tried a completely blank database, but the result is the same...just a blank page.
Any ideas why this might be happening?
thanks
DAD
Yes. This is a bug in RC1 that will make some files copied/extracted by package manager 0 in size. Simply apply TP as a mod, then BFORE starting again, upload all the TP files from the TP_manual_install through ftp, overwriting them, then start the forum.
Superb!! ;D
Thanks for the prompt reply Bloc
DAD
Quote from: kajitsu on December 13, 2005, 06:40:43 PM
I just followed the instructions in the "TP_mod-instructions.rtf"-file. Replace, add after or add before and stuff like that. I'm really confused @_@ :buck2:
Im confused also, I cant find some of the lines of text to add after or replace..its like it stops listing what file it sin about half way through the doc and I just downloaded it today.
It only modifies the default theme rhigareda. If you're trying to do it on another theme you'll have to figure out how it works. Or you can just download one of the TP themes from this site. :)
This is on a fresh install of SMF with no extra themes or antyhing like that, when I get to this part of the instructions:
d.) search for:
<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" />';
add after:
// TinyPortal
if($context['TPortal']['showtop']==1)
{
// TinyPortal end
I loose where to go next.
How come you're editing things manually? You try the manual installation method?
http://www.tinyportal.net/smf/index.php?topic=927.0
Are you saying you can find that code that it tells you to search for?
When I search for that code I find it pretty easily. Approx line 204.
if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" />';
Il ltry that other link you sent me, Dont know why I cant find the code...
I didn't found that code either, just a similar one:
<img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" />
<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';
After I went thru the TP_mod-instructions.rtf it came up with the error written above. But thanks to my BF, he looked thru it, found the error (some mismatch with 'echo' stuff) and now it works fine. :)
I got it working now. Thanks all for your help :)
I did a search and was led to this thread But 15 pages, I couldnt find why guests can see this:This block should be visible for admins only - no membergroups are set to be allowed to view it. As default new blocks will have all membergroups and guests checked.
On my TP.
Im sorry if I over looked something please point me in teh correct direction. Ty
Got it...sorry...I need the :knuppel2:
I have tinyportal 0.74 installed on my forum and i upgraded to tinyportal 0.75
while installing the upgrade i got this message any my forum is not accecable now
Fatal error: Call to undefined function: tportal_init() in D:\hshome\sabouni\uaeu.org\smf\index.php on line 172
can any body help?
thx
Its the bug in package manager of SMF1.1RC1 I assume..try to simply upload the files and overwrite them. Use tp075_filesonly.zip.
the problem was as you told me and i have uploaded all files and every thing is working well but do i have to make the modefecations that are in the rtf file or they will be done?
thx
No, they should been made already. Just the files needed replacing. Does it works like it supposed to?
yea it worked very well
but there is another problem
after i upgraded my forum from SMF1.1RC1 to SMF1.1RC2 i reialized that i cant use the tiny portal
can i install it manually or it also wont work?
thx
Installing it manually will work fine. :) I use it on my test site now.
i have installed it manually now and it is working very well
thx for the help
Quote from: Bloc on January 01, 2006, 06:12:22 PM
Installing it manually will work fine. :) I use it on my test site now.
It isn't working with RC2. How do I install it manually?
I did it today . Took me 30 seconds to do it via package manager !
Perfect job ! It was so easy.
Thanks Bloc !
Manual install
http://www.tinyportal.net/smf/index.php?topic=927.0
Thanks. I tried that, but it doesn't look like all the files are there that are needed for v0.7.5. Am I missing something?
That thread tells you how to do it. The files you need are at the beginning of this thread. :)
hi IchBin..
gonna try a fresh manual install of .7.5 on rc2 today
Do I use the .7.4 mod rtf for changing the smf files? I dont see a .7.5 mod.rtf
greetz,
T
There should be a 0.75 mod file in the package. But I think the 0.74 is similar enough.
cant find a number of find: lines :(
will look for a 0.75 mod file :)
Which files are you having a problem on?
index.template.php
for example:
e.) search for:
<b>', $context['common_stats']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats']['total_topics'], '</b> ', $txt[64], ' ', $txt[525], ' <span style="white-space: nowrap;"><b>', $context['common_stats']['total_members'], '</b> ', $txt[19], '</span><br />
', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b>
</div>
</div>';
add after:
// TinyPortal
}
// end
maybe I'm better off waiting for bloc to release the rc2 version :P
is there a tool like the old BoardMod I used to use on my yabb forums?
Quote from: core on January 04, 2006, 02:27:46 PM
maybe I'm better off waiting for bloc to release the rc2 version :P
I would think if you aren't capable of doing this, it is probably a good idea. :)
It really is close to the next release, as painful as it is. :P
Quote from: IchBinâ„¢ on January 04, 2006, 03:03:48 PM
It really is close to the next release, as painful as it is. :P
...mumble... grumble.. tease.... grumble... grumble :'(
:)
well I have a problem. Im using SMF1.0.5 and was using have been using tinyportal with helios theme. I thought I would check out the tinyportal v.75. Anyway downloaded went fine. Applying didnt. I thought maybe I did something wrong so I set theme back to default and deleted v.75 to install again. When I removed v.75 I am currently unable to access my site. Im getting this error:
Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /mounted-storage/home6/sub002/sc13148-HLNX/www/Themes/default/index.template.php on line 61
The site does not come up at all. Any suggestions? Site is P3Challenge.com
Just re-upload the original index.template.php, Load.php, index.php and Errors.php. The uninstall doesn't work 100% each time.
Hi.
I have a big problem on my site :( http://www.forten.net (http://www.forten.net).
Hven i try to install TP it gos very well, but it nothing haddening. I have installed TP on the server before, but not in the database I use now.
Hvat can be rong???
Well it loaded well, but I am unable to use the center block and front page block options. The right and left work great. I see all the updates, I just cant get a center block or front page block to work. Any Idea what is wrong? I uninstalled and reinstalled to see if that was the problem, but it wasnt. Any advice would be great. Im using SMF 1.0.5 and TPv 0.75 with helios theme.
Do you have a link to the site? Or perhaps a screenshot of the Edit Blocks screen? After adding blocks, did you remember to to turn them on? (solid red or solid green circle next to them?)
Also, Check the Frontpage Settings to see which radio button is marked there as well.
Need some urgent help! Installed TP .7.5 on Friday and had a great couple of days, not I can not access my forum at all. I get to the outside pages of the site, but can not enter forum at all.
Cannot find server
Here is my SMF 1.0.5 forum = http://www.avalanchestyle.com/forum/index.php?action=forum
I can not even get to phyMyAdmin.
I can only access the forum via FTP using SmartFTP.
Quote from: RoarinRow on January 18, 2006, 04:23:42 AM
Need some urgent help! Installed TP .7.5 on Friday and had a great couple of days, not I can not access my forum at all. I get to the outside pages of the site, but can not enter forum at all.
Cannot find server
Here is my SMF 1.0.5 forum = http://www.avalanchestyle.com/forum/index.php?action=forum
I can not even get to phyMyAdmin.
I can only access the forum via FTP using SmartFTP.
I fixed my own issue. Not sure how, but I backed up my forum even though I had this problem, then did a restore.
I just looked at my error log and I had almost 6k pages of errors. I didn't check all of them, but here is one that I copied:
Database Error: Can't open file: 'smf_members.MYI' (errno: 145)
File: /forum/Sources/TPortal.php
Line: 491
Any help would be appreciated.
Line: 491 is the line I bolded below:
// Find the posts.
$request = db_query("
SELECT
m.icon, m.subject, m.body, IFNULL(mem.realName, m.posterName) AS posterName, m.posterTime,
t.numReplies, t.ID_TOPIC, m.ID_MEMBER, m.smileysEnabled
FROM {$db_prefix}topics AS t, {$db_prefix}messages AS m
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
WHERE t.ID_BOARD = $board
AND m.ID_MSG = t.ID_FIRST_MSG
ORDER BY m.ID_MSG DESC
LIMIT $start, $limit", __FILE__, __LINE__);
$return = array();
while ($row = mysql_fetch_assoc($request))
{
I just tried and was able to get to it fine, and to go into the forum and into one of the topics.
Chances are that your host's server was having an issue, but it looks like they got it resolved now.
Quote from: Rasyr on January 18, 2006, 05:26:35 AM
I just tried and was able to get to it fine, and to go into the forum and into one of the topics.
Chances are that your host's server was having an issue, but it looks like they got it resolved now.
Thanks Rasyr! The didn't do anything. I did a repair, backup, then restore and I was able to access the forum. Appreciate the help and for checking. :)
Updated to work on SMF1.0.6. See first post for download link.
WELL, I DID THE UPGRADE AND MY SITE CRASHED. LOST EVERYTHING SO NOW IM TRYING TO DOWNLOAD A BACKUP FILE AND THAT NOT WORKING EITHER. SO, ANY SUGGESTIONS? THIS IS THE FIRST TIME IVE HAD TO USE MY BACKED UP INFO. I DO UPLOAD THAT WITH PACKAGE MANAGER RIGHT? WHEN I DO IT TELLS ME PACKAGE MANAGER DOES NOT RECOGNIZE FORMAT. ANY HELP IS APPRECIATED.
Can you give more info than just, "MY SITE CRASHED!" ?? Also, it would be easier on the eyes if you pused the caps lock button. What happened with your site? Did you check your files to see if they uploaded properly?
Since this is beta, I would advise you in the future to make a backup before doing anything with your site.
Sorry, about caps lock. My site lost all info. However, I recoved mostly everything somehow, not sure how. The database backup I thought would resolve the remaining problem, but I cant upload it in package manager. I back up my site every time I change something. Anyway, I used the "forum maintenance-backup database". The file created will not upload in package manager. Any suggestions?
ok, Im really confused. :P Somehow everything came back except my info in the right and left blocks. Does anyone find this weird? Anyway the rest is easy fix. Thanks anyway. :laugh:
When you backup from the for admin/maintenance it does not backup the TP tables in 0.75. That is why you don't have your blocks information after you did a backup restore.
French version of TP 0.75 by Garedo is availaible here:
http://smf.marckisscool.net/index.php?topic=202.0
(download attachment 'TP_french.zip')
Feel free to update the first message with this translation.
Patrice.