TinyPortal

Development => Support => Topic started by: Martine M on February 12, 2011, 11:14:56 AM

Title: Tinyportal 10rc1 novice questions
Post by: Martine M on February 12, 2011, 11:14:56 AM
Hallo, I am new here and it is also the first time I set up a forum.
So far I did fine as I may say so  :), forum is set up and running.
And I don't see any problems at the forum and the portal.

But I have some questions, I posted this on the SMF support forum and they refered me to this portal,
as they are almost certain it is Tiny Portal causing this.
I will attach the index.template.php from the Mesh directory here as they asked at SMF to.

I installed SMF 1.1.13 and Theme : Mesh  1.14, Tinyportal 10rc1 and Simple Audio Video Embedder 1.0.12

when I go in admin board and go to Forum maintenance - Forum error log.

I get many pages with these kind of errors.

8: Undefined index: rightbar
Bestand: /home/unitedtu/public_html/Themes/mesh_114/index.template.php
Regel: 988

8: Undefined index: centerbar
Bestand: /home/unitedtu/public_html/Themes/mesh_114/index.template.php
Regel: 974

8: Undefined index: leftbar
Bestand: /home/unitedtu/public_html/Themes/mesh_114/index.template.php
Regel: 948

And there is this to at Forum maintenance - Detailed version check

SMF File   Your Version   Current Version
SMF Package   SMF 1.1.12   SMF 1.1.12
Sources   1.1.12   1.1.12
AutoEmbedMediaPro.php   ??   ??
Default Templates   1.1.12   1.1.12
shout.template.php   ??   ??
Language Files   1.1.9   1.1.9
TPShout.english.php   1.0 beta5   ??
TPdlmanager.english.php   1.0 beta5   ??
TPgallery.english.php   ??   ??
TPhelp.english.php   1.0 beta5   ??
TPmodules.english.php   1.0 beta5   ??
TPortal.english.php   1.0 beta5   ??
TPortalAdmin.english.php   1.0 beta5   ??
Current Templates   1.1   1.1.12


Hope someone can help me here.
Thanks in advance.
Title: Re: Tinyportal 10rc1 novice questions
Post by: ZarPrime on February 12, 2011, 12:12:11 PM
Hello enitram,

Welcome to the TP Support Site.

Unless I am mistaken, the Mesh theme is one of Bloc's older themes but I'd have to see a link to your site to be sure.  In versions of TinyPortal prior to 1.0, most notably TP 0.9.8, themes needed to be edited to work properly with TinyPortal.  Those 3 errors that you mention list variable calls that are no longer in the latest version of TinyPortal.  This is why you are getting the errors.

Bloc made some of his themes with an option in "Theme Configuration --> Current Theme" to turn on or off TinyPortal support.  I don't know if this particular theme had that option or not but if it is there, you might try turning it off and see if the errors are still there.  Otherwise, you will likely need to switch to a more modern theme.

The latest version of TinyPortal does not require special versions of themes to work.  In other words, any theme that works fine with SMF 1.1.x should work fine with the latest TinyPortal.  I'm also wondering, if this is your first Forum, where you might have found that theme as I don't believe it is available at either the SMF Forum theme site or at Bloc's site.  Also, if this is indeed Bloc's old theme, you may be able to ask about it over at his site though he is concentrating primarily on themes for the latest version of SMF now.  The link to Bloc's site is --> http://www.blocweb.net/index.php?action=forum

ZarPrime
Title: Re: Tinyportal 10rc1 novice questions
Post by: Martine M on February 12, 2011, 12:42:15 PM
Thank you ZarPrime

The link to forum site is
http://united-tutorials-registration.com/index.php
it's a closed forum
Do you have to go in to the forum ? Then i can give you access.

The Mesh theme I took from the smf forum under themes for 1.1.12
I wanted to give you the link, but can't load the smf theme page at the moment.

There is indeed an option in "Theme Configuration --> Current Theme" to turn on or off TinyPortal support.
And I turned it on.

I'll try turning it it of in a sec and let you know if I still got errors.



Title: Re: Tinyportal 10rc1 novice questions
Post by: Martine M on February 12, 2011, 12:43:37 PM
here is the link to the theme on smf

http://custom.simplemachines.org/themes/index.php?lemma=218
Title: Re: Tinyportal 10rc1 novice questions
Post by: Martine M on February 12, 2011, 12:48:06 PM
I turned it of, but can't keep it turned off, so I turned it back on
cause when turned off the button to go to the forum is gone.
So when I am on the portal I can't get to it.
Title: Re: Tinyportal 10rc1 novice questions
Post by: Martine M on February 12, 2011, 12:56:13 PM
I am in touch with Bloc now, he is helping me, if you like I'll let you know if we have a solution ?
Title: Re: Tinyportal 10rc1 novice questions
Post by: ZarPrime on February 12, 2011, 12:59:46 PM
Hmmm, yeah that would probably happen.  Did you at least check after turning TinyPortal support off, whether those errors disappeared?

On this particular issue, I would suggest that you register over at Bloc's site and post about this over there.  If nothing else, he may be able to tell you how to manually add a Forum tab/button back into the theme when TP support is turned off in the current theme settings.  Bloc's site is here --> http://www.blocweb.net/index.php?action=forum

ZarPrime

Edit:  Sorry, I posted before seeing your response.  Yes, please let us know what you and Bloc come up with. ;)
Title: Re: Tinyportal 10rc1 novice questions
Post by: Martine M on February 12, 2011, 01:38:19 PM
Bloc helped me out, the errors are gone

He said (what you aid to) that the theme has some old code that targets TinyPortal 0.9 - thats what the "rightbar" errors are - TinyPortal v1.0 doesn't need this code at all.

He gave me a modified index.template.php and it is working.

I'll attach it here so you maybe can compare it with my previous attachment and see what is changed ?

Support Edit:  The index.template.php file attached to this post is an updated file from Bloc to remove the calls to TinyPortal version 0.9.8 so that the Mesh theme will work properly with TinyPortal version 1.0 RC1.
Title: Re: Tinyportal 10rc1 novice questions
Post by: ZarPrime on February 12, 2011, 01:47:06 PM
Yeah, I pretty much know what he did without even looking and comparing the files.  I remember this theme from quite awhile ago and it is, and was, one of his nicest themes.  I kind of hope he updates it eventually for the latest version of SMF.  We'll leave the edited index.template.php file up here in case anyone else comes across the issue.

Thanks for letting us know that you guys worked out the issue and I will mark this topic solved. O0

ZarPrime
Title: Re: Tinyportal 10rc1 novice questions
Post by: Martine M on February 12, 2011, 01:51:36 PM
I  still have this though

Current Templates   1.1   1.1.12
Language Files    1.1.9   1.1.13

But Bloc toled me for now to ignore it as he has to update the templates later on.

Thanks ZarPrime for your help to.
Title: Re: Tinyportal 10rc1 novice questions
Post by: ZarPrime on February 12, 2011, 01:54:01 PM
Yeah, that would be normal, especially since you just upgraded to SMF 1.1.13.  I wouldn't worry about that if everything else is working fine.  NP on the help. O0 ;)