The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am having problems with a current mod and the only way to cure it at this point is to FORCE a user to logout and then have them relog back in. Rather than explain this to EVERY user there has gotta be an easier way of FORCING all users to logout or clear their cookies for the forum so that if they had the "REMEMBER ME" box checked they would still be required to login. Is there an SQL query or a template edit that I can run or change to make this happen?
OR even better if there is a way to change the actual TIME a user can stay logged in via the REMEMBER ME box. Like make it so that they can only stay logged in for 24 hours or however long I specify. |
#2
|
|||
|
|||
![]()
<a href="https://vborg.vbsupport.ru/showthread.php?t=163327" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=163327</a>
|
#3
|
|||
|
|||
![]() Quote:
![]() |
#4
|
||||
|
||||
![]()
Empty (truncate) the session table maybe?
|
#5
|
||||
|
||||
![]()
That would only kick users who haven't checked "Remember me" when they logged in.
|
#6
|
||||
|
||||
![]()
Ah yes, you are right.
Change the cookie path or domain to something invalid? Of course, this is assuming you can then change it back via the database so you can get back in (or reset it with tools.php). I'm sure there must be a better way though. |
#7
|
|||
|
|||
![]()
I was thinking this too but it doesn't work because when the user tries to login they automatically get logged back out as soon as they login.
|
#8
|
||||
|
||||
![]()
Restarting mysql and apache seem to do the trick pretty good for me
![]() |
#9
|
||||
|
||||
![]()
Clear the cookies. You just set empty values to the "userid" and "password" cookies. However, I'm not sure how you would control this to only once without some messy workarounds (another cookie maybe?).
|
#10
|
|||
|
|||
![]() Quote:
How would I be able to do this for every user without actually having access to their computer? Cookies are stored in their web browser. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|