TinyPortal

Development => Support => Topic started by: npereira on January 16, 2009, 07:56:50 PM

Title: Shrink or expand left right panes
Post by: npereira on January 16, 2009, 07:56:50 PM
I just noticed that this function does not work on my site.
When I click it, the status bar of IE shows an error:

Line: 216
Char: 1
Error: 'tpcurrent_leftbar' is undefined
code: 0
url refers to the page of the topic.
Title: Re: Shrink or expand left right panes
Post by: npereira on January 16, 2009, 08:15:02 PM
ok, it semas to be working every where except when your looking at a topic.
Title: Re: Shrink or expand left right panes
Post by: G6Cad on January 16, 2009, 08:16:38 PM
IE errors like that are really nothing we are to concernd about at this time.
have to remond that you are using an early beta version of a free product, and errors will be there for quite some time,
IE errors can be turned off in the browser.
Title: Re: Shrink or expand left right panes
Post by: npereira on January 16, 2009, 08:25:40 PM
Ya but I also noticed, not sure if it's related or not, but when looking at a topic, the 2 right panes I have turned on are STATS and PROFIL and they are screwed up also.
Title: Re: Shrink or expand left right panes
Post by: G6Cad on January 16, 2009, 08:30:12 PM
Seems like your custom coded right side blocks are the cause of these issues.
I only see one block that the test align center instead of left.
What browser do you have ?  That idiotic IE beta version ?
Title: Re: Shrink or expand left right panes
Post by: npereira on January 19, 2009, 01:10:35 PM
no I have IE 7, even with Safari, it does the same.

I dont understand what you mean by coded right side block...
Title: Re: Shrink or expand left right panes
Post by: npereira on January 19, 2009, 01:11:05 PM
if that's the reason, how come it only does it when Im in a topic, and no where else?
Title: Re: Shrink or expand left right panes
Post by: G6Cad on January 19, 2009, 03:40:36 PM
You have two block on the right panel, where you shoe some stars etc
The reson it only does that while you looking at a post are because you have other blocks showing only when viewing a post, so something is not right with your code you use in one or several of the blocks.

To find out what, turn the blocks off and then activate one at the time until you find the one that causes the error
Title: Re: Shrink or expand left right panes
Post by: npereira on January 19, 2009, 04:29:53 PM
This is the custom code I have in the right side blocks that show up over all the site:
The code is to show who is the Site moderators.
echo '<img src="/Themes/default/images/stargmod.gif"><img src="/Themes/default/images/stargmod.gif"><img src="/Themes/default/images/stargmod.gif"><img src="/Themes/default/images/stargmod.gif"><img src="/Themes/default/images/stargmod.gif"><br>Moderators<br>';
ssi_membergroup($groupid = 2, $additional = 0, $sort = 1, $sortorder = 1, $output_method = 'echo');


The code is to show who Donated to the site:
echo '<br><b>2009 Supporters</b><br><img src="/Themes/default/images/dollar.gif"><img src="/Themes/default/images/dollar.gif"><img src="/Themes/default/images/dollar.gif"><img src="/Themes/default/images/dollar.gif"><img src="/Themes/default/images/dollar.gif"><img src="/Themes/default/images/dollar.gif"><br>';
ssi_membergroup($groupid = 37, $additional = 1, $sort = 1, $sortorder = 1, $output_method = 'echo');
Title: Re: Shrink or expand left right panes
Post by: G6Cad on January 19, 2009, 04:37:49 PM
You have no closing on the br tag in your first code posted. Also no closing image tags


You actually have no closing to anything.
You need to close the tags on your code

Title: Re: Shrink or expand left right panes
Post by: IchBin on January 19, 2009, 06:20:46 PM
I'm not aware of any ssi_membergroup function. Where did you get that function from?
Title: Re: Shrink or expand left right panes
Post by: npereira on January 19, 2009, 06:40:32 PM
I don't understand... I am closing the img tags...

Do you mean to put in
 ?
Title: Re: Shrink or expand left right panes
Post by: G6Cad on January 19, 2009, 06:48:00 PM
No, you are not reading what we write.
Read our posts again.

Also the ssi call IchBin asks about..


Easy to check

If you turn the blocks OFF, do you have the same issues ?
Title: Re: Shrink or expand left right panes
Post by: npereira on January 19, 2009, 08:35:32 PM
Yes, I have the problem even if I turn off those 2 blocs...

I did fix the code BTW...

Quoteecho '<img src="/Themes/default/images/stargmod.gif"></img><img src="/Themes/default/images/stargmod.gif"></img><img src="/Themes/default/images/stargmod.gif"></img><img src="/Themes/default/images/stargmod.gif"></img><img src="/Themes/default/images/stargmod.gif"></img>
Moderators
';
ssi_membergroup($groupid = 2, $additional = 0, $sort = 1, $sortorder = 1, $output_method = 'echo');

Quoteecho '
2009 Supporters
<img src="/Themes/default/images/dollar.gif"></img><img src="/Themes/default/images/dollar.gif"></img><img src="/Themes/default/images/dollar.gif"></img><img src="/Themes/default/images/dollar.gif"></img><img src="/Themes/default/images/dollar.gif"></img><img src="/Themes/default/images/dollar.gif"></img>
';
ssi_membergroup($groupid = 37, $additional = 1, $sort = 1, $sortorder = 1, $output_method = 'echo');