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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 426
  • Total: 426

Problems After Installation

Started by Artimedia, August 26, 2009, 01:47:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Artimedia

Test was successful and I went ahead and installed. I believe I made one mistake though... I did not reset the theme to the defualt theme before installing. I installed it with the my modified Blaze theme. These are the problems I'm experiencing.

1: There's no change in header. I see the top menu just as it was before TP install. for instance, there is no "Forum" link. Is this something I should configure after installation or should it appear by default?

2: Another problem in the header section is that when I go to the admin area and go to Settings & Frontpage>Frontpage, if I uncheck "Display user info and news at the top", nothing happens... The User Info and News are always there.

3: In "Panels and Blocks>Blocks" section of the Admin area, when I try to alter the position (pos) of a block, nothing seems to change. I need to position it some pixels lower to align it with the Forum frame.

4: I also seem to have problems trying to display the front pannel.... But here, I might be doing something wrong... So for now, I chose to display the forum in the front page (since I dont have a Forum link in the top menu, and all...).

For now these are the problems I found. I'll let you know if I found more, but I didn't want to go any further before clearing this out. Can this be caused because of my theme? Should I simply uninstall TP, reset the theme to default, install TP again and re-activate the theme??...

Thanks in advance! :)

Renegd98

How does it look in the default theme?

also:

Please read the Posting Guidelines.html

As for a forum link in your Blaze theme you will need to make additions/changes to your custom themes as the TP install only modifies the default theme.

Artimedia

#2
Quote from: Renegd98 on August 26, 2009, 02:30:07 AM
How does it look in the default theme?

also:

Please read the Posting Guidelines.html

As for a forum link in your Blaze theme you will need to make additions/changes to your custom themes as the TP install only modifies the default theme.

In the default theme, I can see the Forum link. Otherwise, I experience the same problems mentioned in my 1st post, except for #4 which I have already solved. so basicly, I still experience problems #2 and #3.

If I had previously reset the theme to Default and restored the theme after installing TP, would I have experienced the same problem of the Forum link not showing? How do I need to modify the Blaze theme in order to make a working link to the Forum? (I suppose this is a TP issue and not a SMF one).

I read the posting guidelines as you sugested. Not only do they seem more or less to go without saying, as I don't see how it would have improved my post that much:

* I did a Forum search with unsuccessful results before posting.
* My issue is TP related a lot more than SMF related.
* I tried to use a propper subject: Several problems have risen from what I believed to have been an impropper installation. I thought it wouldn't be wise to create a topic for each unique problem.
* Considering I believed this was a consequence of impropper install, I think this was in the right section.
* Most of the other guidelines don't even apply to my post, but other than that:

Forum Version: SMF 1.1.10
TP Version:
Theme:Blaze (V1.0) modified
Browsers: Maxthon 2.5.3; IE 8, Firefox 3.5.2; Google Chrome 2.0.172.43
Mods:
1. Allowed Groups Embedded Flash 1.2.3
2. Country Flags 1.1.1
3. Gothic Avatars Set 1 1.1
4. Gothic Avatars Set2 1
5. Horoscope Avatars 1.0
6. Sci-Fi Avatars 1.0
7. 183 High Quality Sci-Fi and Fantasy Avatars 1.0
8. BBC [you] 1.0
9. Stop Spammer 2.2
10. Anti-Bot Registration Puzzles 1.2
11. SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update 1
12. Babelfish Translater 1.0
13. Wrap Text Around Image 1.0
14. clickableImagebbcode 1.0
15. User Email System 1.3
16. Attachment Notice 1.0
17. [HTML] Permission Mod 1.01
18. Registered Links 1.0
19. AjaxChat Integration (inc ShoutBox)

Do I really need to include all this in every post I make? About the link to my website, I might have reasons not to post it publicly... But I will gladly provide it through PM, if it's regarded as necessary for specific support. I just don't want it publicly exposed, if possible.

Thank you.

G6Cad

QuoteForum Version: SMF 1.1.10
TP Version:

Missed the important part... What TP version did you install ?

Also when you are unsure the install of TP went well and need to check if it holds all code and files/folders, these are the guides you have to follow.
( Now i have to assume you have TP Beta4 as you left out that info and i cant see TP Listed in your modifications list eather. )

How do I manually install TinyPortal

Modification Instructions

Artimedia

#4
Yes, I'm sorry but I missed that part ::): It's the 1.082 Beta4 version all right!

I will look at both these links and will let you know how it went.

EDIT: Just 1 prior question: In the mod instructions, where it says "$themedir/index.template.php", shall I apply this to my modified Blaze theme (the one I'm using), or the default theme, or both??..

And what about the Babylon theme? do I need to apply the modifications there? I'm not using it... Do modifications in the Babylon, reflect in my theme?

Thanks! :up:

mc

Quote from: Artimedia on August 26, 2009, 11:36:27 AM
EDIT: Just 1 prior question: In the mod instructions, where it says "$themedir/index.template.php", shall I apply this to my modified Blaze theme (the one I'm using), or the default theme, or both??..

And what about the Babylon theme? do I need to apply the modifications there? I'm not using it... Do modifications in the Babylon, reflect in my theme?

You will not have to do the edits to the babylon theme if you are not going to use it.

The mod instructions you have mentioned, only apply to the default theme.
However, looking at them (or the babylon mod instructions), may help you with working out how to add the extra menu button to Blaze.

What you need to do, is find what template file the menu is generated in (usually done by a menu function within index.template.php), and then work out how to add an extra item to the menu.

Or, post up the code extract or attach a copy of index.template.php, and I'm sure somebody will show you what to change.

Artimedia

#6
Thanks for the helpful hint, mc! :)

I have uninstalled and then manually reinstalled TP, making all the modifications as instructed on the mod instructions page. Somehow, the panels and blocks were in the same place before I uninstalled so, I guess that uninstalling doesn't really uninstall TP at a DB level, right?.. I guess since the database is the same and only one for both smf and TP, uninstalling it doesn't succeed in restoring the DB to what it was before TP... :(

Actually, I've tried to apply the same changes both to the default "index.template.php" and the one from Blaze. The result is a messed up header, with the logo, user info, news and menu, all completely misplaced. The string for the Menu, use completely different sinthaxes, I believe. Blaze uses <li> tags and the default uses <tables> and <td> instead.

I am usually quite intuitive with code, but I am not an expert in php. Actually I'm considerably ignorant :-\. But I usually can intuitively understand the code's logic and have managed often to work it into getting to do what I need. An example of that is what I did with my modified Blaze template. Although even there, I believe I might have done one mistake or another with the header, beacuse it shows a displacement of a few pixels in Firefox...

I sure don't want to mess things up, since php is such a sensitive code (sure not like html). So, I attached both my index.template.php and style.css files so anyone can be as kind as to look at it and give me an idea of what to change, where and how. ;)

mc

Search for -

// Show the [home] button.
echo '<li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '">' , $txt[103] , '</a></li>';


Add after -

// Show the [forum] button.
echo '<li', $current_action == 'forum' ? ' id="active"' : '', '><a href="', $scripturl, '"> Forum </a></li>';


I'll give a quick explanation.
The basic link/button is contained within the <li> and <a> tags.

$current_action == 'forum' ? ' id="active"' : ''

is a shorthand version of an if..else.. statement and is the equivalent of

if ($current_action == 'forum'){
  echo 'id="active"';
} else {
  echo '';
}


It's purpose is to add the 'active' style id tag to the button for the currently active page, so the apearrance of the active page button is different (set within the stylesheer)

mc

I forgot to mention, that I hardcoded the Forum text into that extra code.

You'll see that all the other link/button names are set using $txt[nn] variable.
This is for different language purposes. If you were to use different languages, you can add extra tags to the language files, and then add a similar variable call to the forum button code.

I've never personally used multiple languages, so I'm not entirely sure how/where to add extra language tags.

Crip

Old red / yellow Blaze Theme of Crip's?
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



This website is proudly hosted on Crocweb Cloud Website Hosting.