Previous Thread
Next Thread
Print Thread
Rate Thread
#207894 01/30/2001 11:07 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
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.



Sponsored Links
Entire Thread
Subject Posted By Posted
Default display preferences The Team 01/30/2001 6:07 PM
Re: Default display preferences Rick 01/30/2001 6:48 PM
Re: Default display preferences Shalazar 01/30/2001 6:49 PM
Re: Default display preferences The Team 01/30/2001 7:02 PM
Re: Default display preferences The Team 01/30/2001 7:04 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)