![]() |
hack: active cookie
hello every one
as all of you know this command and what it's do in sql Code:
update user SET cookieuser='1' it's not do it for all users we have so i make up a hack from my own but i need a help from you to finish it ( file name is cookies.php in admin folder ) PHP Code:
what do you think ? |
Quote:
Your problem is probably not the SQL command itself but what happens afterwards. Even if you run the command, your users will be able to reset it to 0 in their user cp or while registering if you don't modify relevant templates. So there is nothing wrong with the SQL command and you don't need a hack to run this command in the db. |
so what sholud i do to make it '1' for all the users ?
|
run the query update user SET cookieuser=1 then edit your register and usercp templates and remove relevant sections so that your users can not edit them back. (make them hidden form fields)
|
how about this ?
Code:
<?php |
All times are GMT. The time now is 10:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|