Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Michael Posted April 12, 2012 Posted April 12, 2012 Documentation about this new IP.Board 3.3 feature I'd just like to take a few minutes to give my thanks for this. I frequently have to make changes to my initdata.php file for my production and development boards, and having the option to have this file be read first and not have its constants overwritten by initdata.php makes upgrades so much easier. For those of you on 3.3 and who ever need to make changes to their initdata.php files (for things like setting the default app, the ACP timeout value, etc.), check out this document and see how you can ensure your customizations will always stick around.
Marcher Technologies Posted April 12, 2012 Posted April 12, 2012 Documentation about this new IP.Board 3.3 feature I'd just like to take a few minutes to give my thanks for this. I frequently have to make changes to my initdata.php file for my production and development boards, and having the option to have this file be read first and not have its constants overwritten by initdata.php makes upgrades so much easier. For those of you on 3.3 and who ever need to make changes to their initdata.php files (for things like setting the default app, the ACP timeout value, etc.), check out this document and see how you can ensure your customizations will always stick around. This ^ It feels so good popping the upgrade, putting a certain app as default and knowing I'm never going to have to do it again on the upgrade... Thank you :) .
Aiwa Posted April 12, 2012 Posted April 12, 2012 SWEET!! Makes upgrading that much less painless to worry about the stuff you did once 6 months ago and forgot about...
bfarber Posted April 13, 2012 Posted April 13, 2012 Yup, that's exactly why this simple but useful addition was added.
7Bya9K&Q Posted April 13, 2012 Posted April 13, 2012 Yes! Thank you. I did not realize they added this. I do not create mods or anything, but half of it is customized just for the general settings on my board. Thank you.
CrossFire-Radio Posted April 15, 2012 Posted April 15, 2012 I was reading the initdata.php file.. And seeing that it calls for "if its there" constants.php... But I can't file the file anywhere.. Where is the location of this file ? my IPB current version is 3.3.0, and I want to upgrade to 3.3.1... But cant find the constants.php file (DOH!!!), Okay I see now, you have to create the file and place it in there.... Guess it helps to read stuff... =x
Marcher Technologies Posted April 15, 2012 Posted April 15, 2012 I was reading the initdata.php file.. And seeing that it calls for "if its there" constants.php... But I can't file the file anywhere.. Where is the location of this file ? my IPB current version is 3.3.0, and I want to upgrade to 3.3.1... But cant find the constants.php file you make it at IPB root...... it is not a required file, it is an optional feature, and... what would they put in it? any "default" on these would not be any different than not having the file at all with an un-costumized initdata.php.
connorhawke Posted April 15, 2012 Posted April 15, 2012 Moreover, even if they included constants.php as an empty file, there's a higher chance that any existing uploaded custom constants.php would get overwritten during a future upload if the uploader is not careful enough.
CrossFire-Radio Posted April 16, 2012 Posted April 16, 2012 you make it at IPB root...... it is not a required file, it is an optional feature, and... what would they put in it? any "default" on these would not be any different than not having the file at all with an un-costumized initdata.php. yeah, my initdata.php file is customized though... But I did read though the doc about it... so its all good :D
wendyc Posted July 30, 2013 Posted July 30, 2013 Link in topic is broken, can anyone post the correct link please so I can read this?
Mark H Posted July 30, 2013 Posted July 30, 2013 I believe this is the one you wanted: http://www.invisionpower.com/support/guides/_/advanced-and-developers/miscellaneous/preserving-initdataphp-options-r171
Recommended Posts
Archived
This topic is now archived and is closed to further replies.