TinyPortal

Development => Support => Topic started by: Lorazz on October 30, 2009, 02:14:24 PM

Title: Strange issue: Display size of blocks with Opera and Safari
Post by: Lorazz on October 30, 2009, 02:14:24 PM
Hey there,

again, i have some problems and unfortunately i've not been able to fix them by myself.

first of all:
Link to my site: http://www.nilenia.de
SMF version: 1.1.10
TP version: v1.0 beta 4
Theme name and version: Outline Omega 1.1.5
Browser Name and Version: Firefox 3.5.4, Opera 10.0 Build 1750
Mods installed: Load default language
Related Error messages: --

Not that we got that, the problem is as follows:
When browsing my site using Internet Explorer or Firefox everything is fine.
But when i check the site with firefox and opera there is a problem with displaying the blocks with my menus, shoutbox etc located in the left panel. it looks kinda cut off to a minimal size, as shown on the following screenshots for better understanding.

Normal view with IE and FF:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fcore.nilenia.de%2Ftp%2Fnormal.jpg&hash=66a687fbddb66e6f18507842ef9ed54a8e466874)

Messed view with Opera and Safari:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fcore.nilenia.de%2Ftp%2Fmessed.jpg&hash=91abc59b24722c4f8ae49404cfc90b8a28767ff3)

I tried with installing a completely fresh SMF/TP on a subdomain, same problem.
And regardless what theme i use: it even happens using the default theme.
I also tried with nothing but the left panel block enabled - still the same.

I hope that someone of you has some idea on that issue.

Another minor issue i encountered is that the tp-build-in shoutbox module redirects to the forum index after posting a shout.
I have the shoutbox located in a left panel block and the forums right of it in the middle of the page. (just like it is on here tp.net)
Is there any possibility to make the shoutbox directing back to the place you came from before posting into it?
i know that this are two issues in a single post, i hope you're ok with that, else tell me and i'll open another thread.

thanks!
Title: Re: Strange issue: Display size of blocks with Opera and Safari
Post by: Lorazz on October 30, 2009, 02:53:16 PM
okay... i'm too stupid. just figured it out...
for some reason the value for width for the left panel (in tpadmin panel section) was empty. i just set it to 20% and now it looks fine.

but the problem regarding the shoutbox still remains.
Title: Re: Strange issue: Display size of blocks with Opera and Safari
Post by: Zetan on October 30, 2009, 03:19:26 PM
Perhaps this will help. Login/shoutbox Redirect (http://www.tinyportal.net/index.php?topic=23213.msg188221#msg188221)


Now.. where's the search? ;)
Title: Re: Strange issue: Display size of blocks with Opera and Safari
Post by: Lorazz on October 30, 2009, 03:34:37 PM
there is no such code, i've only got this one:


if(!empty($modSettings['queryless_urls']))
redirectexit('action=forum');
else
redirectexit(strip_tags($_POST['tp-shout-url']),false,true);
Title: Re: Strange issue: Display size of blocks with Opera and Safari
Post by: Zetan on October 30, 2009, 03:48:35 PM
I guess then it has been updated since that was posted.. which means our team support link is also out of date for this version.

Play with the code you have.. I can't check it from work, but it's likely to be in this line:



if(!empty($modSettings['queryless_urls']))
redirectexit('action=forum');



Have you checked both files mentioned in Bloc's post and used the Search? I don't use the shoutbox so I'm not sure if this is a new issue, or one with a working solution.
Title: Re: Strange issue: Display size of blocks with Opera and Safari
Post by: IchBin on October 30, 2009, 03:59:20 PM
http://www.tinyportal.net/index.php?topic=30750.msg245721#msg245721
Title: Re: Strange issue: Display size of blocks with Opera and Safari
Post by: Lorazz on October 30, 2009, 04:15:00 PM
thank you, i'll place my question at the initial topic then.  :)
Title: Re: Strange issue: Display size of blocks with Opera and Safari
Post by: IchBin on October 30, 2009, 08:30:30 PM
The link I gave you has the answer. There was no need to post your question if you followed my code changes.