News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

November 18, 2019, 07:27:58 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189259
  • Total Topics: 20772
  • Online Today: 332
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 109
Total: 109

Author Topic: how TP/SMF tracks open and closed panel states  (Read 2380 times)

0 Members and 1 Guest are viewing this topic.

akuma13

  • Guest
how TP/SMF tracks open and closed panel states
« on: April 10, 2008, 10:25:14 AM »
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!


Offline Jpg

  • Hero Member
  • *****
  • Posts: 591
Re: how TP/SMF tracks open and closed panel states
« Reply #1 on: April 10, 2008, 10:27:40 AM »
It is applied with javascript in your session.
Tell your member to clear his cache, or logout then log back in.

akuma13

  • Guest
Re: how TP/SMF tracks open and closed panel states
« Reply #2 on: April 10, 2008, 11:15:02 AM »
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.


It is applied with javascript in your session.
Tell your member to clear his cache, or logout then log back in.

Offline Jpg

  • Hero Member
  • *****
  • Posts: 591
Re: how TP/SMF tracks open and closed panel states
« Reply #3 on: April 10, 2008, 11:52:02 AM »
Have them copy paste this in the address bar and then press enter/go-
Code: [Select]
javascript: shrinkHeaderLeftbar(!current_leftbar);and
Code: [Select]
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.
« Last Edit: April 10, 2008, 12:04:03 PM by Jpgâ„¢ »

akuma13

  • Guest
Re: how TP/SMF tracks open and closed panel states
« Reply #4 on: April 10, 2008, 12: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

Have them copy paste this in the address bar and then press enter/go-
Code: [Select]
javascript: shrinkHeaderLeftbar(!current_leftbar);and
Code: [Select]
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.