Previous Thread
Next Thread
Print Thread
Rate Thread
#206994 12/15/2000 5:19 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
short and sweet (about to leave):

"theme.inc.php" says:
// Allow users to add a picture to their profile
$theme['PictureView'] = "on";


whereas "showprofile.php" says:
// If we are allowing the view of pictures, let's see if this person wants to
// see it
$Pictureview = $theme[pictureview];
if ($theme[pictureview]) {
if ($user[U_PictureView] == "on") {

end result: no picture on Profile page... ever.
Easy for me to change the theme code, but just wanted
you to know this is the default setup. []/w3timages/icons/smile.gif[/]




Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Thanks for the fix[]/w3timages/icons/smile.gif[/].

-------------------
Scream
WWWThreads Developer


UBB.threads Developer
Joined: Oct 1999
Posts: 44
Journeyman
Journeyman
Offline
Joined: Oct 1999
Posts: 44
Jay,

I can not get a picture to show in showprofile.php. Can you tell me what to change in order to shoe the picture?

Thanks,
Tommy


red_xiii #206997 12/21/2000 11:48 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
To be safe, I would put both lines

$theme['PictureView'] = "on";
$theme['pictureview'] = "on";

in "theme.inc.php". The problem is that, currently,
"showprofile.php" expects the "on"/"off" to be in
$theme[pictureview]. I suspect future versions of
"showprofile.php" will be looking at $theme[PictureView].


--
Jay Glascoe | Software Developer | COBITE

Joined: Oct 1999
Posts: 44
Journeyman
Journeyman
Offline
Joined: Oct 1999
Posts: 44
Thanks for the help Jay!

Tommy


Sponsored Links

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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)