PDA

View Full Version : Enable Debugmode just for your PC


Dark_Wizard
10-13-2005, 10:00 PM
This is a port of Xenon's hack from vBulletin 3.0.x with his permission. This allows developers (and anyone else that needs it) to enable debug mode just for them while creating hacks.

nexialys
10-14-2005, 12:51 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=82835" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=82835</a>

simply add your setting to this How-To would do the trick...

Dark_Wizard
10-14-2005, 01:29 PM
https://vborg.vbsupport.ru/showthread.php?t=82835

simply add your setting to this How-To would do the trick...

Hmmm...

Jenta
10-14-2005, 01:31 PM
nexialys
always the first and always something negative
do u sit on the homepage hitting refresh to be the first to bash a hack the second its released?

btw, thanks dark wizard
will look at this later as i always wanted a click to turn on debug mode :)

theArchitect
10-14-2005, 10:58 PM
Very cool. I dont use debug much, but when I do I will be glad of this.

deathemperor
10-15-2005, 09:27 AM
is the any way to enable debugmode just for PC for dynamic IPs ? perhaps just for userid = XX ?

Dark_Wizard
10-15-2005, 10:14 AM
is the any way to enable debugmode just for PC for dynamic IPs ? perhaps just for userid = XX ?

Dynamic IP's would require you to update the config.php file every time your IP changes. As for userid you could do that but the script already sets a cookie for you, you could just eliminate the step to add the link in adminfunctions_navpanel or just set the script to run only if userid = ? where ? is your userid.

deathemperor
10-20-2005, 04:23 AM
just set the script to run only if userid = ? where ? is your userid.

this sounds to be the simplest one but the problem is I can't find the best place to put it so that it will be enabled globally. Your suggestions would be much appriciate.