News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

TinyPortal

Started by lurkalot, February 12, 2005, 04:43:00 AM

Previous topic - Next topic

Svannah

Quote from: agridoc on July 06, 2010, 05:22:21 PM
I see the point now.

TP 0.9.8 needed themes to be converted to work with, TP 1.0 not. it works with standard SMF themes.

So you can go one of two ways.
- Install another theme that is made to work with TP 0.9.8x, unfortunately I have no links available.
- Upgrade to TP 1.0 beta5.2 so you can work with any theme compatible with the SMF version you have. This move will need a plan and should be a major upgrade of your site.

Well I'd rather not change themes - and an upgrade can't hurt...but I am still very new to some of this stuff.  I know how to dinstall packages, but as for what it will do to my site...that I really know nothing about.  The site itself is still being set up, so currently only myself and three others are registered there.  If I had to re-do everything, that would suck, but I'd do it. 

What do you mean the move will need a plan?  Will I have to redo everything I've already got set up then?


agridoc

Installing a theme is very simple.

If TP 0.9.8.3 can be uninstalled, it's easy. If other mods are installed after TP and quite some customization has been done it needs a plan. I am speaking for big sites with quite some content, members, mods, manual customization, bridged software. This seems  not to be your case.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Svannah

#582
So a few articles, some forum boards, some calendar events - that might be ok?

And it looks like TP can be uninstalled and I don't have any other mods that I'm aware of.  Nothing else showing up in the Modules tab under Packages.

Svannah

Ok well I have a test site set up so I can mess around with settings before I apply them to my live site.  I uninstalled TP .983 and installed the beta from the link you provided...and now I can't do anything on the test site.

I get a Database Error:

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IFNULL(mem.realName,art.author) as realName FROM smf_tp_articles AS art
LEFT ' at line 2
File: /home/thedi13/public_html/grayorder/test/Sources/TPortal.php
Line: 2153

agridoc

TP.0.9.8.3 uninstalled without error messages?

Get the latest Large upgrade of SMF (1.1.11 of SMF 2.0 RC3) upload the files overwriting the old ones and run upgrade.php. That will bring back the site. Then reinstall TP 1.05.2.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Svannah

Quote from: agridoc on July 06, 2010, 07:07:57 PM
TP.0.9.8.3 uninstalled without error messages?

Get the latest Large upgrade of SMF (1.1.11 of SMF 2.0 RC3) upload the files overwriting the old ones and run upgrade.php. That will bring back the site. Then reinstall TP 1.05.2.

I assume you mean one of the installs from this page? http://download.simplemachines.org/

Which one?

agridoc

It's up to you to decide, TP 1.05.2 will work with both.

SMF 1.1.11 is more stable, has some mods not yet available for SMF 2.0.

Usually RC3 versions are close to maturity, so you may try 2.0 RC3, has quite some new features but remember there is a note
Note: As this is in development, we do not recommend running SMF 2.0 RC3 on a production site.

If your members are not expected to be hundreds soon choose the newer version.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Claine

#587
I'm getting a lot of errors.  There is two main kinds.  I'm not exactly sure where they're from but they both mention TP so this is probably a good place to start.  There is a slight variation between them, but in general they all look like this:


2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
Apply Filter: Only show the errors from this file
File: /home/kureaac1/public_html/tzelkora.com/Themes/default/Login.template.php (tp_below sub template - eval?)
Line: 69


Apply Filter: Only show the errors with the same message
8: Undefined index: tp_panels
Apply Filter: Only show the errors from this file
File: /home/kureaac1/public_html/tzelkora.com/Themes/default/Login.template.php (tp_below sub template - eval?)
Line: 69


I use SMF 2.0 RC3

MaXiForum.cz

Quote from: Bloc on July 06, 2010, 04:50:08 PM
Quote from: MaXiForum.cz on July 06, 2010, 01:44:23 PM
QuoteTinyportal.net is now closed and all support will have to happen on the SMF modsite in the future.

Hello!
Will appear another update or not?
I would like to know if TinyPortal ends...
Thanks

You already have the newest update, right here in this topic - the v1.0 beta5.2 version.

On the question if TP will end or not: I have no plans to go beyond v1.0 final at this point, IMO it works fine as it is, for what it does. Bugs and minor adjustments must be fixed of course and released, especially when SMF come out in new versions.

Thank you Bloc
And do you know that your copyright addresses to the closed site? :)

bloc

Yes, I do. This will be changed on the next update.

MaXiForum.cz

Quote from: Bloc on July 07, 2010, 11:45:53 AM
Yes, I do. This will be changed on the next update.

Ok ok thank you Bloc.
TinyPortal looks very nice :-)

IchBin™

Quote from: Claine on July 07, 2010, 01:29:12 AM
I'm getting a lot of errors.  There is two main kinds.  I'm not exactly sure where they're from but they both mention TP so this is probably a good place to start.  There is a slight variation between them, but in general they all look like this:


2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
Apply Filter: Only show the errors from this file
File: /home/kureaac1/public_html/tzelkora.com/Themes/default/Login.template.php (tp_below sub template - eval?)
Line: 69


Apply Filter: Only show the errors with the same message
8: Undefined index: tp_panels
Apply Filter: Only show the errors from this file
File: /home/kureaac1/public_html/tzelkora.com/Themes/default/Login.template.php (tp_below sub template - eval?)
Line: 69


I use SMF 2.0 RC3
I'm guessing you have a block code snippet or something causing these errors. Can you figure out when you are getting the errors? If you disable all blocks, do you still get the errors?
IchBin™        TinyPortal

tRu3_sKiTz0

Hey everyone! I just had a quick question. First off, I have been using both TP and SP for a while now because I like SP but for some reason I could never get the forum from displaying in the home page or portal page so I kept TP because it kept SP from taking over my portal page. I WAS going to uninstall both and just use ADK but now I get errors everytikme I try to unstall either one. I guess it doesn't really matter because I like the SP and I guess I need TP so I don't really wanna try to get rid of it. My question is; How do I remove the tinyportal link that is in the footer. I am not using any features from tiny portal and it seems that the website is down so I really just wanna get rid of the footer link because it is wayy up abive all the others and looks out of place and to top it off, I'
m not even using any features of tinyportal. Please help, I just wanna remove the footer link because it is unsitely and the website isnt even there anymore.

Thanks in advance!

Ken.

Removing copyright links is not a question you'll get answers for here... that's not something anyone in a support role would condone.

The new TinyPortal support site can be found here:
http://www.tinyportal.co.uk/index.php

And.. running two portals in the same SMF install is not a good idea... to easy to have conflicts between the two portals.
You should pick the one you like best and remove the other from your site.
"If you don't have a stack of failures in your shop, you aren't trying hard enough". --Richard Raffin.


tRu3_sKiTz0

#594
I wish I could but as I have stated the timy portal is the only hting keeping simple portal from sticking it all on one page but that isnt even the problem. The problem is that the TinyPortasl link is so far above everything else, is there a way I can move it down so that it is in with the rest of the links and not up above them like that ?

EDIT: Not to mention the fact that the lionk in the footer is dead anyway.

Kindred

actually, I'd bet that much of the problem actually comes from having two portals installed.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

IchBin™

To move the TP copyright:
http://www.tinyportal.co.uk/index.php/topic,30116.0.html

The footer link is not dead yet, it still leads to a splash page that leads to the new support site. The link will be changed in the next update.
IchBin™        TinyPortal

tRu3_sKiTz0

Okay, I guess at this point, I just don't see the point in sign ing up for yet another another forum when there is a support section here. Here is what my "TPBlockLayout.php file has in it.

<?php
// Version: 1.0 beta5; TPBlockLayout
// For use with SMF v2.0

function template_tp_above()
{
global $context $scripturl$settings$language $txt$options;

if(!empty($context['TPortal']['upshrinkpanel']))
echo '
<div style="float: right; margin-right: 0.5em; margin-top: -1.5em;">'
$context['TPortal']['upshrinkpanel'] , '</div>';

if($context['TPortal']['toppanel']==1)
echo '
<div id="tptopbarHeader" style="' 
in_array('tptopbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' 'clear: both;">
'
TPortal_panel('top') , '
</div>'
;

echo '
<table cellpadding="0" cellspacing="0" width="100%" style="margin: 0; padding: 0; table-layout: fixed; clear: both;">
<tr>'
;

// TinyPortal integrated bars
if($context['TPortal']['leftpanel']==1)
{
echo '
<td id="tpleftbarContainer" style="width:' 
, ($context['TPortal']['leftbar_width']) , 'px; ' in_array('tpleftbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '" valign="top">
<div id="tpleftbarHeader" style="' 
in_array('tpleftbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
$context['TPortal']['useroundframepanels']==?
'<span class="upperframe"><span></span></span>
<div class="roundframe" style="overflow: auto;">' 
''
TPortal_panel('left') , 
$context['TPortal']['useroundframepanels']==?
'</div>
<span class="lowerframe"><span></span></span>' 
'' '
</div>
</td>'
;

}
echo '
<td align="left" valign="top" ' 
$context['browser']['is_ie'] ? 'width="100%"' '' ,  '>
<div id="tpcontentHeader">'
;
  
if($context['TPortal']['centerpanel']==1)
echo '
<div id="tpcenterbarHeader" style="' 
in_array('tpcenterbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
TPortal_panel('center') , '
</div>'
;

}

function 
template_tp_below()
{
global $context $scripturl$settings$language $txt$options;

if($context['TPortal']['lowerpanel']==1)
echo '
<div id="tplowerbarHeader" style="' 
in_array('tplowerbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
TPortal_panel('lower') , '</div>';

echo '</div>
</td>'
;

// TinyPortal integrated bars
if($context['TPortal']['rightpanel']==1)
{
echo '
<td id="tprightbarContainer" style="width:' 
,$context['TPortal']['rightbar_width'], 'px;' in_array('tprightbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '" valign="top">
<div id="tprightbarHeader" style="' 
in_array('tprightbarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
$context['TPortal']['useroundframepanels']==?
'<span class="upperframe"><span></span></span>
<div class="roundframe">' 
''
TPortal_panel('right') , 
$context['TPortal']['useroundframepanels']==?
'</div>
<span class="lowerframe"><span></span></span>' 
'' '
</div>
</td>'
;

}

echo '
</tr>
</table>'
;

if($context['TPortal']['bottompanel']==1)
echo '
<div id="tpbottombarHeader" style="clear: both;' 
in_array('tpbottombarHeader',$context['tp_panels']) && $context['TPortal']['showcollapse']=='display: none;' '' '">
TPortal_panel('bottom') , '
</div>'
;

echo '<div id="tportal" class="smalltext">' tportal_version() , '</div>';
}

?>



What do I change so that I can I move it to where the rest of the links are instaed of being so far above everything else? BTW, why support a mod that doesnt have a comprehensive support thread? Just sayin... v

IchBin™

You don't have to sign up to read the link I posted for you to see how to change it. You can see that the code is at the very bottom of the file as was mentioned in the topic I linked you to. It also shows you how to move the copyright out of that file, and into the index.template.php where you want it.
IchBin™        TinyPortal

tRu3_sKiTz0

#599
OMG I'm a tard! LOL I'm so sorry for ******in at ya like that. I see it now, I don't know why I missed it before. I think I was just burnt out. Thanks man, I really appreciate it.

EDIT: Okay got it! Now it fits nicely right next to the theme copyright! I can't thank you enough, I don't know what I thought I was looking at before but it's all good now lol.

Advertisement: