Quote:
|
Ah, I didn't see that :(
|
I have a usergroup xml file with 3 bitfield options. How can I get them to be "Yes" by default when the product is installed?
At the moment, I've set the database column default to 7, then rebuild the bitfields, which makes them all appear as "Yes" when you edit a usergroup, but you need to go into each usergorup and click "Save" to make them take effect. If you don't, they are still set as "No" in the forum, despite Usergroup Manager saying they are yes. Any ideas? |
You can either run a manual query to update the bitfield values or you will have to save each Usergroup - There is no way to set it to a default value for existing usergroups since the datastore will not contain the values for the new settings ;)
Chris |
Dang, I was afraid of that. Cool, thanks Chris :)
|
thanks, very useful.
|
I found that the product attribute of the <bitfields> on vb3.5.0 is not case sensitive while 3.5.1 is
|
Quote:
I spent the last 8 hours clicking around and found Andreas had a problem with his signature hack when vb351 came out, but since I didn't see the previous version, I don't know what he did to fix. Sorry if this was answered elsewhere. |
Yep, that does not work any longer for 3.5.1+ as the bitfield builder ignores bitfields for non-active products.
You must adjust it a bit to just use the XMLReader. |
Quote:
For the record, I gave up and moved the code to a seperate admin file and call it after installation. |
All times are GMT. The time now is 04:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|