Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
Pre-forum agreement, and User Photo uploads
Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Apr 25, 2012 - 11:42 am

It was in the 5.0.5 update... Did you turn photos on in the profile options?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Focus97
Member
Free Members
Offline
Apr 25, 2012 - 12:50 pm

I must be missing something. I feel I'm pretty adept at the forum and its functions, but I can't see anything other than under Profiles -> Profile Options -> Max number of photos allowed. I've set it to 5, but this only gives the option to include a url to a photo, not a user-friendly photo-upload function using plupload or something akin to it.

Definitely running 5.05 - can you point me to where I should go?

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Apr 25, 2012 - 2:35 pm

Wow that threw me as well.
You need to visit the uploader admin panel and turn it on there. This was for backward compatibility as using the uploader removes the old profile url fields and if people were already using them then it would throw things out.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Focus97
Member
Free Members
Offline
Apr 25, 2012 - 4:32 pm

Um, you guys rock. Seriously. The photo upload feature is terrific and it's working elegantly now. Much cheers!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Apr 25, 2012 - 9:00 pm

glad it worked! thanks for the kind words!

Avatar
Focus97
Member
Free Members
Offline
May 18, 2012 - 4:56 pm

Guys - quick question (hopefully). The user photo uploads were working, but now they're not. It's strange.

My profile: http://www.ornishspectrum.com/.....rum-admin/ is visible with photos I've uploaded.

Now, though, other users are trying to upload photos, which is successful, but they cannot view them in the front end.

Here, for example: http://www.ornishspectrum.com/.....ne+Ornish/ ...even though she has photos uploaded, which I can see when I go to Edit the profile and view what's uploaded, nothing shows on the front-end.

I've verified all storage locations are ok in the back, and I know the photos are being stored in the forum-image-uploads folder, but nothing's being retrieved for the front. Any thoughts?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
May 18, 2012 - 7:42 pm

I will have to look into but right now in my dev version the file uploader is broken so I have to fix that first...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
May 18, 2012 - 9:49 pm

ah yes... there is one key ingredient here that is required that you are probably missing...

in the spProfileView.php template file in the sp theme you are using, find where the photos template tag is called... to the first argument, at the end, add

&showEmpty=1

without that, the file uploader cannot hook into the process...  I have not come up with a better way yet...

Avatar
Focus97
Member
Free Members
Offline
May 18, 2012 - 10:04 pm

Terrific! Just wired it up and it's perfect.

That's an easy fix - so a better way isn't needed, IMHO.

Many thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
May 18, 2012 - 11:03 pm

good to hear. thanks for the update.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626