TinyPortal

Development => Support => Topic started by: MsMudia on March 26, 2009, 04:28:57 PM

Title: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: MsMudia on March 26, 2009, 04:28:57 PM
Hi,

it's my first post here - until now I could solve my problems on my own. Now I have a problem which I don't get solved...  :(

I have a live forum with SMF 1.1.7 and TP 0.9.8 - and wanted to update to SMF 1.1.8 with TP 1.0. I've done this in a testforum and everything went alright. I used again the theme DarkBreak and I transferred the language files into the theme. Until today everything was ok. Now I decided to use another theme, because it fits better to my Homepage, which I want to integrate into the portal later. I chose the theme "Manuscript" which was uploaded today by Bloc in a new TP-Version. (Fine, very fine!!  :up:)
Again I transferred the language files into the folder (into default - the Manuscript theme does not use language files, it pulls the data from the default!!) - but until now I cant see the admin menu in the TP block! When I switch to english language, it's shown - but not in german language. But the files are identical! (e.g. TPortalAdmin.english php - TPortalAdmin.german_informal.php and the language chosen in forum is also german_informal!)

In the attached file you see what I get when I am in admin-start-page (the links for Shoutbox, DL Manager and Articles are shown - I'm missing the links above: Moduls, settings, etc.) When I edit a block, 2 further menu-links are suddenly shown: moduls and bars. I'm very confused!! What can this be?? As said, in the DarkBreak theme I can see all in the right way... It must be a theme problem of Manuscript...

Can anybody help??? Bloc maybe??

Btw: sorry if you have difficulties to understand the problem - but my motherlanguage is german...  :-\

Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: Ken. on March 26, 2009, 05:23:57 PM
Hi MsMudia, Welcome to TinyPortal.

See if this helps:
Blank Admin Panel or Text missing? (http://docs.tinyportal.co.uk/index.php?topic=34)
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: MsMudia on March 26, 2009, 09:49:02 PM
Thanks, but that's not the problem... The language was english and it is all correct shown when I use english. (I can't use UTF8, because the database is Iso and MySQL 4 doesn't support UTF 8...)

So I think - because it works with the theme DarkBreak - that it is a problem of the theme "Manuscript". Which files could be missing??? The difference between Manuscript and other themes is that most of the things are pulled from default theme, so you don't have so much to change if you're using mods...

Any idea what could be the problem??
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: MsMudia on March 27, 2009, 12:09:19 AM
Ok - I found the mistake! There are 2 different language files in the download area:

TP_1beta3_German_ISO.zip
and
tp105_german.zip

I chose the first one because of the ISO. Now I had the idea to compare those two files and I saw that some things are missing in the first one.
The first one began:

Quote// Navigation links called from source files
$txt['tp-modules'] = 'Module';
$txt['tp-adminnews1'] = 'News';
$txt['tp-settings'] = 'Einstellungen';
$txt['tp-adminpanels'] = 'Leisten und Blöcke';
$txt['tp-adminheader1'] = 'Einstellungen & Startseite';
$txt['tp-left'] = 'Links';
$txt['tp-right'] = 'Rechts';
$txt['tp-center'] = 'Oberer';
$txt['tp-front'] = 'Vorder';
$txt['tp-top'] = 'Kopf';
$txt['tp-bottom'] = 'Fuss';
$txt['tp-lower'] = 'Unterer';
...

The second one began:
Quote
//TPortalAdmin
// SVN Rev67
$txt['tp-admincredits1'] = 'Credits';
$txt['tp-admincredits2'] = 'Alle, die geholfen haben TinyPortal zu dem zu machen, was es heute ist.';
$txt['tp-adminfrontpage1'] = 'Hauptseite';
$txt['tp-adminfrontpage2'] = '';
$txt['tp-adminheader1'] = 'Einstellungen & News';
$txt['tp-adminheader2'] = 'Administriere deine TinyPortal-Installation von hier.';
$txt['tp-adminheader3'] = 'Die Einstellungsseite erlaubt dir eine Anzahl von bestimmten Optionen zu setzen. Weitere spezifische Einstellungen findest du in den relevanten Managment-Sektionen.';
$txt['tp-adminheader4'] = 'Artikel';
$txt['tp-adminheader5'] = 'Artikel können entweder PHP -oder HTML-basierend erstellt werden. Du kannst sie editieren und ebenso die visuellen Optionen für jeden Artikel. Dort kannst du viele visuelle Eigenschaften des Artikels an/abschalten. Ein bestimmtes Theme auszuwählen ist ebenfalls möglich. Außerdem kannst du hier Kategorien für die Artikel erstellen und editieren.';
$txt['tp-adminheader6'] = 'Artikel und Kategorien verwalten, neue HTML- oder PHP-basierende Artikel erstellen.';
$txt['tp-adminheader7'] = 'Blöcke';
$txt['tp-adminheader8'] = 'Blöcke haben viele Optionen, die Übersicht wird dir einige davon aufzeigen, das Öffnen einer einzelnen Block-Editierungsseite noch viele weitere. Der ShoutBox Block hat seine eigene Verwaltungsseite, ebenfalls in dieser Sektion.';
$txt['tp-adminheader9'] = 'Blöcke verwalten - verschieben, erstellen, löschen und editieren.';
$txt['tp-adminmodules2'] = '';
...


Maybe the first one is not ready yet?? Or it's a mistake... So if anyone likes to chose the german language, he should take the tp105_german.zip!!!
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: ZarPrime on March 27, 2009, 12:59:48 AM
MsMudia,

Thanks for finding this.  G6 usually handles the language files here.  I'm sure she will will take a look at this the next time she logs in.  Is it working OK for you with the older file?

ZarPrime
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: G6Cad on March 27, 2009, 08:47:39 AM
Will contact the translator and point to this topic.
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: MsMudia on March 27, 2009, 10:18:31 AM
Quote from: ZarPrime on March 27, 2009, 12:59:48 AM
Is it working OK for you with the older file?

Oh, it's an older one??? But it's also version 1.0... Do you think there is a difference between the versions?
At the moment it's working fine - but I didn't have the time yet to test all functions... was late last night...  ;)

Ok, so I'm waiting - maybe the translator will correct the file - than I will use that one.


Quote from: G6 on March 27, 2009, 08:47:39 AM
Will contact the translator and point to this topic.

That's fine, than I needn't post in the "bug-area"...
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: MsMudia on March 27, 2009, 12:49:16 PM
At the moment I'm testing a little bit - and you are right: it doesn't work with the older version...  :(

For example in the blocks and panels section: the content for the field "type" is missing (it's completely empty).

There are also other bugs - so we can't use these German files!! Maybe we will have the corrected TP_1beta3_German_ISO.zip soon - meanwhile I use the English language...  ;)
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: SeKa on March 27, 2009, 12:57:41 PM
Hi all,

MsMudia iÃ,´m the translator of the German language files for TP1beta3, which means 1.0.75. This version is NOT compatible with 1.0.5. The files are propper translated. For 1.05 you have to use the second older file. IÃ,´m using also this release, because the beta3 is realy a beta - so we have to wait till Bloc is going on with a new release or well working update.

I hope that helps...
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: MsMudia on March 27, 2009, 08:43:45 PM
Ähm - I AM using TP 1.0 Beta 3!! I downloaded the TP1_beta3.zip and when I regard the unzipped files it says for example in the TPortal.template.php:

Quote
// Version: 1.0.7; TPortal

// TPortal template - for frontpage.

whereas the language files (for example the TPortalAdmin.english.php) says:

Quote
// Version: 1.0.5; TPortalAdmin

//TPortalAdmin
// SVN Rev67

Sorry... I don't understand that... For what are the TP 1.0 Beta 3 German files, if there is only 1.0.5 in English version?? Confusing. I don't know now what to do...
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: G6Cad on March 27, 2009, 08:46:54 PM
The version numbers should also be updated yes, but thats not what translates the text strings.
Beta3 package from the download section are for Beta3 regardless the version number inside the files.

Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: MsMudia on March 27, 2009, 09:33:01 PM
Ok - I understand...

And now I tried to switch to GERMAN (NOT German_informal) and: I could see all links in the menu... I copied all files again, renamed them to German_informal - and: everything is ok...

Maybe it was really my fault and I forgot to rename one file from German to German_informal...  :uglystupid2: Sorry....

But another thing I found:
I downloaded the German ISO-file, but when I open the files it says:

Quote
// German-utf8  V. 1.0 by SeKa

and this: gültig is UTF8 and not really ISO isn't it?? It must be gÜltig I think... Can this cause problems?

Sorry for nerving...  8)
Title: Re: SMF 1.1.8 / TP 1.0 Theme problem??
Post by: SeKa on March 27, 2009, 10:53:37 PM
No, thats my fault MsMudia. Sorry about, i have signed a string over the translated files, so everybody knows who ist to contact for feedback or issues. I forgot only to change that during copy&paste. The strings are ok, and what it should be.