TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 468
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 93
  • Total: 93

Adding the stinkin forum button seems to have been lost in my head

Started by Bluto, April 12, 2010, 01:19:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bluto

Site: http://srv3-blutoshosting.com/SMF_1.11_TP_1.0.5.1/index.php
TP 1.0 beta 5-1
SMF 1.1.11
Theme  Beyaz inci
Errors. A bunch from me trying to add the stinking forum button.


OK, I admit it. I am shamed by my lack of coding skills... :(
What used to be a routine coding issue, I can't seem to accomplish anymore.
What happened?
I tried all the usual methods.
Added the code to the index.template.php;
Added the $txt code to index.english.php
Nothing but the error > unable to load template above.
So, I went old school, and just added the code to index.template.php, but removed $txt string.
Still no go.
Is this a TP issue? or, just  an idiotic mistake by a half crippled man, with a quick onset of dementia?
Find attached my templates.
Thanks for an help in advance. 
B-Lute

IchBin

I don't see that you added any code to the file for a forum button. Can't tell you what's wrong if I can't see what you're doing.

Bluto

No, I just uploaded the clean files in the hope that you would point me in the right direction.

IchBin

Looks like you're using an editor that adds a lot of extra lines. All of your lines were doublespaced in mine when I opened your index.template.php file. I'd suggest you find another editor. One that doesn't automatically convert spaces to lines etc.

Try this file:

Bluto

I use notepad++, but that file was fresh, I didn't change it.
Anyway, your fix produces the same error I got: " Unable to load the 'main_above' template."
So, maybe I'm not going whacky..lol

Blue Steel

I think that a lot of these problems are occuring because Bloc has written TP1.0 Beta 5 on SMF 2 .. which has changed the default theme and style sheets. also (as far as i know) TP 1.0 Beta 5+ no longer actually changes the default SMF themes like the older TP's did. so anything that relied on those changes will look and possibly act differently if you don't modify old references

Bluto

I noticed that. Code seems to be written to fit the RC3 style.
So, I still have no answer until the theme authors update their themes. Because the 1.1.11 themes just don't jive with TP 1.0.5-1...........
On to Drupal or wordpress I suppose. To bad.....

Renegd98

Sounds to me that you have a theme issue.  Does it do this in the default theme?

If not then the issue is a theme problem. And since the latest versions of TP for 1.1xx use any theme that is compatible with SMF then you need to seek the advice of the theme creator.

Bluto

You are correct sir!
At the point I had made my original post, I had already tried 5 different themes, so I was like, wtf?
But, I tried one of Bloc's themes, then I'll know for sure. Sure enough, it works.
I'd still like to know the problem with the other one, but I'm moving on. How does adding a forum button create a "main above sub template" error?

Thanks for the help anyway guys, thought I lost my marbles there for awhile.
B-Lute

G6Cad


This website is proudly hosted on Crocweb Cloud Website Hosting.