TinyPortal

Development => Support => Installation => Topic started by: akuma13 on April 10, 2008, 05:25:14 PM

Title: how TP/SMF tracks open and closed panel states
Post by: akuma13 on April 10, 2008, 05:25:14 PM
i removed the panel closing buttons from my theme but i have one user who had his left panel closed at the time i did this and it seems that user preferences get saved...  i'm curious for future reference where this info is saved and how i might reset it manually...

i know uncommenting the code and going back is an option but i'd rather learn how to get under the hood and more about how SMF/TP works...

i'm using the orange LT port by crip

www.apneatic.com/code/

thank you!

Title: Re: how TP/SMF tracks open and closed panel states
Post by: Jpg on April 10, 2008, 05:27:40 PM
It is applied with javascript in your session.
Tell your member to clear his cache, or logout then log back in.
Title: Re: how TP/SMF tracks open and closed panel states
Post by: akuma13 on April 10, 2008, 06:15:02 PM
i've logged him out and had other members log in and out again including myself - it seems stored in the database.

i've even tried it in other browsers.  really weird.


Quote from: Jpgâ,,¢ on April 10, 2008, 05:27:40 PM
It is applied with javascript in your session.
Tell your member to clear his cache, or logout then log back in.
Title: Re: how TP/SMF tracks open and closed panel states
Post by: Jpg on April 10, 2008, 06:52:02 PM
Have them copy paste this in the address bar and then press enter/go-
javascript: shrinkHeaderLeftbar(!current_leftbar);
and
javascript: shrinkHeaderRightbar(!current_righttbar);

Edit- Doesn't work.
Have them go to the default theme.
http://apneatic.com/code/index.php?theme=1
Then click the upshrink buttons.
Then go back to the normal theme.
http://apneatic.com/code/index.php?theme=6

Or, put back the code mate. <.<
It would be helpful to those that hate sidebars.
Title: Re: how TP/SMF tracks open and closed panel states
Post by: akuma13 on April 10, 2008, 07:19:22 PM
i found out what it was - i'm new to smf and had the side panel set not to show for "regsitered" users which is the class that amember brings them in as...

thank you for the tip though it's good to know how that works!

p

Quote from: Jpgâ,,¢ on April 10, 2008, 06:52:02 PM
Have them copy paste this in the address bar and then press enter/go-
javascript: shrinkHeaderLeftbar(!current_leftbar);
and
javascript: shrinkHeaderRightbar(!current_righttbar);

Edit- Doesn't work.
Have them go to the default theme.
http://apneatic.com/code/index.php?theme=1
Then click the upshrink buttons.
Then go back to the normal theme.
http://apneatic.com/code/index.php?theme=6

Or, put back the code mate. <.<
It would be helpful to those that hate sidebars.