Debug on/off in admin pannel?

Mods etc.

Moderator: Integra Moderator

Debug on/off in admin pannel?

PostAuthor: Skywalker » Fri Apr 14, 2006 5:33 pm

is there a way to set debug mode on or off in the admin pannel?
could someone create this mod?
Last edited by Skywalker on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 5:25 pm
Cash on hand: 0.00

Re: Debug on/off in admin pannel?

PostAuthor: found it » Wed May 03, 2006 5:55 am

The only one I found is this 3 year old mod here..

http://www.phpbb.com/phpBB/viewtopic.ph ... sc&start=0

I have not tested it with inter but the code changes look straight forward...

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

Re: Debug on/off in admin pannel?

PostAuthor: Michaelo » Wed May 03, 2006 6:15 am

All config valuse are varchar(255) (seems a waste but)

In constants.php the code is
Code: Select all
 // ### Debug Level -- Setting now available in the ACP - Teelk. ###if ( $board_config['debug_mode'] == 1){define('DEBUG', 1);}else{define('DEBUG', 0);}  


which unless I am mistaken this should be

if ( $board_config['debug_mode'] == '1')


Mike
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

PostAuthor: macarlisle » Wed May 03, 2006 6:16 am

What are the benefits to getting the debug turned off?
Last edited by macarlisle on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
macarlisle
Members
Members
 
Posts: 33
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 11, 2006 7:16 am
Cash on hand: 0.00

Re: Debug on/off in admin pannel?

PostAuthor: found it » Wed May 03, 2006 6:30 am

i personally believe they are beter left on ....from an admin point of view...

though al ot of people think it will speed up your board and is less atrusive...

I ddont honestly know the real benefits..maybe someone else can give a better insight...


which unless I am mistaken this should be

if ( $board_config['debug_mode'] == '1')


that does look like how it should be....though i never check all the coding just that it wasnt difficult to install

[size=99px]Maybe I should have placed a warning saying 3 year old mod be very careful[/font][/size] lol

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: Michaelo » Wed May 03, 2006 6:34 am

I believe Teelk added to the first version of 1.4.1. I have updated the code in the 1.4.1 betaà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
Mike

Some people say the site is faster if Debug if off but to be honest I don't think it makes much difference... <img>
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland


Return to IntegraMOD Modifications

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Helter