Default display preferences - 01/30/2001 6:07 PM
I'm trying to figure out how to enable the preferences for viewing other's pictures in their profiles, and viewing user's pictures with their posts. My site will be very visually-oriented, and I want those options enabled by default. I just did a big search, and the best hint I could find was from the Perl version, which reinforced what I found when I went code-hunting myself. It looks like I'm supposed to edit themes.inc.php, the "PicturePosts" option? The problem is, that option doesn't do anything. Users are still created with those options both set to "No" by default.
I did some hunting and grepping, and it looks to me like that option in themes.inc.php doesn't even control the option to view other user's pictures in their posts anyway. Not sure exactly how to go about this now. It looks to me like I will need to modify the query in adduser.php to set the user's defaults for those options?
I'm doing quite a bit of extension of your code, but I'm trying to keep as much of it as possible external to your code, since it looks like the PHP version is still sort of in flux. If I'm going to be installing updates frequently then I don't want to be doing hours of diff merges each time I do that.
I did some hunting and grepping, and it looks to me like that option in themes.inc.php doesn't even control the option to view other user's pictures in their posts anyway. Not sure exactly how to go about this now. It looks to me like I will need to modify the query in adduser.php to set the user's defaults for those options?
I'm doing quite a bit of extension of your code, but I'm trying to keep as much of it as possible external to your code, since it looks like the PHP version is still sort of in flux. If I'm going to be installing updates frequently then I don't want to be doing hours of diff merges each time I do that.