Topic: adding custom $pun_config

my code

if ($pun_config['o_featured_clan'] == '1')
{

dosnt seem to work. It dosnt seem to search the database for 'o_featured_clan' when it is there and is 1?? do i have to set it anywhere?

Sorry. Unactive due to personal life.

Re: adding custom $pun_config

Well, you do need to set it somewhere, otherwise how would PunBB know what the value of it is? tongue
To add a new config variable:
1. insert a new row in the config table, with conf_name being the name of the variable (in this case o_featured_clan) and the value being whatever you want the value to be (in this case 1)
2. Delete the cache_config.php file

Re: adding custom $pun_config

Smartys wrote:

2. Delete the cache_config.php file

thats what i havnt done! cheers

Sorry. Unactive due to personal life.