Topic: Pun Queries

is there a way to only show the queries for the admin and mods only?

Re: Pun Queries

Of course theres away, theres always a way lol.

Should be just a case of checking if a user is an admin or mod before echoing out queries.

Just curious as to why you would like to hide them from members/guests?

Re: Pun Queries

In footer.php, change line ~158:

if (defined('PUN_SHOW_QUERIES'))

to

if (defined('PUN_SHOW_QUERIES') && $cur_user['status'] > PUN_USER)

.

Re: Pun Queries

well i dont want it to show up for all my users that surf the forums but id like to see them