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?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → 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?
Well, you do need to set it somewhere, otherwise how would PunBB know what the value of it is?
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
2. Delete the cache_config.php file
thats what i havnt done! cheers
PunBB Forums → PunBB 1.2 troubleshooting → adding custom $pun_config
Powered by PunBB, supported by Informer Technologies, Inc.