Topic: manifest.xml troubles

hi,

i'm trying to do some modifications to my manifest.xml file, but it seems that something is going wrong.

when i install this extension, none of the hooks are recognized (not inserted into the db) and the install/uninstall code is not run/recognized

http://punbb.informer.com/unofficial/pu … nifest.xml

thats my latest manifest.xml

~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

Re: manifest.xml troubles

if i check the output from teh parse_xml function i get the folowing ...

Array ( [extension] => Array ( [content] => [attributes] => Array ( [engine] => 1.0 ) [id] => qq [title] => Quotable Quotes [version] => 1.0 [description] => Will add a quotable quotes to any punbb page [author] => Maikel Punie [minversion] => 1.3.2 [maxtestedon] => 1.3.2 [open] => Array ( [content] => $schema = array( 'FIELDS' => array( 'id' => array( 'datatype' => 'SERIAL', 'allow_null' => false ), 'txt' => array( 'datatype' => 'TEXT', 'allow_null' => false ), 'author' => array( 'datatype' => 'VARCHAR(64)', 'allow_null' => false ), ), 'PRIMARY KEY' => array('id'), ); $forum_db->create_table('qq', $schema); $new_config = array( 'o_qq_switch' => 'false' ); foreach($new_config as $key => $value) { if (!isset($forum_config[$key])) { $query = array( 'INSERT' => 'conf_name, conf_value', 'INTO' => 'config', 'VALUES' => '\''.$key.'\', \''.$value.'\'' ); $forum_db->query_build($query) or error(__FILE__, __LINE__); } } ]>   Array ( ) ) ) 
~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

Re: manifest.xml troubles

are you reinstalling extension after making changes in manifest.xml?

YonasH's repository + Extensions Directory = PunBB Extensions Online Library (in progress....)

Away. I will be back soon.

Re: manifest.xml troubles

yeah i first uninstall and then install the extension ..

~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

Re: manifest.xml troubles

You are missing a closed bracket on the install's CDATA end tag.

Wrong:

]></install>