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,917
  • Total Topics: 21,308
  • Online today: 629
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 393
  • Total: 393

Eliminate panels on login screen

Started by ogmios, September 12, 2008, 03:57:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ogmios

no difference (i believe)...

$boardurl is set to http://www.mysite.........

ogmios

still trying to figure this one out and the only thing i can add to the discussion is that the 'tp_hidebars' code does not work for the action 'login2' if the 'Warning!' label is added to the login window...

for example, if a user types in a wrong password, the action 'login2' is executed an a 'password incorrect' message appears above the login fields and no tp panels show - all good...

if a user session expires, and they try to access a members only area, then the action 'login2' is executed, but now shows a 'Warning!' message at the top of the login box - tp panels do not hide in this instance... (login2 does not show in the url, but shows it being called in 'view source' - so i assume login2 is the action being called)...

not sure if there is anything possible to do to hide the tp panels for the warning!/login2 screen... any help is welcome  - and thanks for the support so far - much appreciated...

IchBin

Since I don't know anyone that uses the session timeout, you're going to have to show me the URL for that. What does the URL look like where you are having the problem of not being able to hide the sidebars.

ogmios

assuming i am saying this correctly, when i am logged in an idle for a while, i become logged off (i assume this to be that the session expired)... so after sitting idle, i come back to the screen and it looks like i'm still logged in...

then i will click on 'arcade' (for example) and then get prompted to login (but with the 'Warning!' message in the title bar)...

the URL when i am at this screen is: http://www.bluewaterbeat.org/waveforum/index.php?action=arcade (i have the action 'arcade' and 'login2' both included in the 'tp_hidebars' code)...

when i am logged in and enter the arcade, the blocks hide as they should... when i type in a wrong password, the action 'login2' is called an the blocks hide as they should... when the 'Warning!' message is applied to the login screen, the blocks do not hide (no matter what section i go into)...

you can see an example of this by going to www.bluewaterbeat.org and typing in a wrong username and password and you will see the blocks hide when it reports back that the login was incorrect (as it should)...

when you click on the arcade button, you will see the 'Warning!' login appear (because guest access is not allowed), but now the blocks do not hide...




IchBin

I will point Bloc at this topic. I understand what you're saying, but don't know enough about how TP loads if/when in those types of situations. I'll see if he can give an answer on whether its possible to do what you want.

This website is proudly hosted on Crocweb Cloud Website Hosting.