![]() |
Well, I just got rid of another bug, which caused, that IP's weren't logged anymore, after activating the hack through the new setting in the admin-cp.
Just apply the following and it works again PHP Code:
|
Quote:
Now it's only 1 additional query. Could someone test Version 1.0.4, plz? It works on our forums, as it should do, but I want to make sure, that it didn't miss something in the hack-file. |
Quote:
|
Modifying the database update script as follows cleans up the display in Admin CP so that the radio buttons are aligned down the left:
Code:
UPDATE setting SET optioncode='<input type=\\"radio\\" name=\\"setting[$setting[settingid]]\\" ".iif($setting[value]==0,"checked","")." value=\\"0\\"> Do not log IP<br><input type=\\"radio\\" name=\\"setting[$setting[settingid]]\\" ".iif($setting[value]==1,"checked","")." value=\\"1\\"> Display but require administrator or moderator<br><input type=\\"radio\\" name=\\"setting[$setting[settingid]]\\" ".iif($setting[value]==2,"checked","")." value=\\"2\\"> Display publicly<br><input type=\\"radio\\" name=\\"setting[$setting[settingid]]\\" ".iif($setting[value]==3,"checked","")." value=\\"3\\"> Display directly for administrator or moderator or original poster' WHERE varname='logip'; |
THX. :)
Updated the attachment |
Nice:)
Satan |
Ummm... really dumb question... but... I am running VB Version 2.2.7... How do I do the Query thing?
I have done everything that is stated in the installation of this hack... but I am confused when it comes to "DO THE FOLLOWING QUERY". I do this through phpmyadmin right? |
ok I'm sorry I got that working. But now I have another prob. When I activate the "Display directly for administrator or moderator or original poster" I am not able to view anybodys IP addresses at all. :(
|
Maybe you just forgot to add the new template?
PHP Code:
|
Nope. I did add that template. But it still won't work. :( It's just blank.
|
All times are GMT. The time now is 01:46 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:
|