Register   Login
     
  Latest Posts  
RE: RSS Character Limitation
by smcculloch on 3/22/2010 3:58 AM
RE: News Articles Tokens
by spirit on 3/21/2010 10:27 PM
RE: News Articles Tokens
by ray-isc on 3/21/2010 3:04 PM
RE: Can'd add photo
by rsobari on 3/21/2010 10:17 AM
Tracking image/file clicks
by spirit on 3/21/2010 8:46 AM
Catcha doesnt seem to work
by chaloum on 3/20/2010 8:16 PM
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
  Forums  
Subject: Agent Image not showing up?
Prev Next
You are not authorized to post a reply.

Page 2 of 4 << < 1234 > >>
Author Messages
Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/25/2008 8:48 PM  
I'll be looking at it over the weekend - it's the 3rd party module that needs be changed.

Scott McCulloch
Site Administrator
seaside66User is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23


7/26/2008 10:37 AM  

Hey Scott,

I found an issue with DNN 4.8.4 that may or not be related to the issue with the third party module. Here is a response I recieved from IHost Support.

Re: Avatars not being able to upload in forums.

"We did some searching on the dotnetnuke.com forums and found a good post that explains how to fix this issue. Its eems the problem is that the folder the forums modules is looking to uplaod these avatars to does not exist by default nor does it create the folder by default when uploading. In order to fix this you need to create the folders as described in the patth of the error by going into the "File Manager" under the "Admin" menu, not the File Manager in the Host menu.

Once isnide the File Manager of the Admin menu, you can create the 2 folders needed, "Forums" and then within that "UserAvatar". Once the folders are created, make sure that the permissions below the folder view are set for each role on each of the 2 folders. Once those fodlers have been created and the proper roles have been enabled with "write to" permissions, they should then be able to upload their avatars."

It's a stab in the dark. I hope it helps.

Thanks Scott,

David

bennyjUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:87


7/26/2008 11:57 AM  

In the docs that come with the PhotoUpload control it says that :

FileUpload and PhotoUpload have a property called UseHostDirectory which defaults to false now (used to default to true).

If UseHostDirectory is false then
  - files are created in the directory ~/Portals/PortalID/UserFiles/..

Now, Taking David's info I went in under admin and created u new folder named UserFiles in /Portals/0/UserFiles. I set the read write permission to all users.

Went back to my profile and try to upload the photo. I selected the pic I wanted, Scrolled down and clicked on Update, waited for the page to refresh, went back in and Nothing.

So even after creating the folder that was needed and setting the proper permissions, I still get nothing.

DelicodeUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:2

7/28/2008 2:07 AM  

Hi guys, I had a similar problem with a similar module (uploading an image in user profile) and accidentaly browsed in here about a week ago as I was linked to here from the DotNetNuke Forums.

Like I said I have been fighting with this problem for more than a week, came close to a nervous breakdown, gave up, started to work on some other issues on my site and by accident found a solution for this image problem too.

Try going to Host Settings -> Advanced settings -> Other settings and uncheck the Enable Ajax checkbox.

This worked with my problem on FCKEditor and image uploading, it may work for you too. Of course if you have some modules that require AJAX this is not a good solution but here: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/127/threadid/215869/scope/posts/threadpage/2/Default.aspx is a link to another solution for the FCKEditor problem, try that on your problem too if you wish.

Neither of these "solutions" aren't ofcourse perfect (you either disable AJAX or increase your "page weight") but if you are in a desperate situation like me it's better this way than not having the user profile images.

I also have a kind wish for the Ventrian Admins, I'm not a "paying customer" here but if my solution works for your customers and you eventually come up with a better solution (what kind of changes are required in code) could you please share it with me? I understand if that's not OK..

Good luck solving your problems..

 

seaside66User is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23


7/28/2008 7:36 AM  

Thank you! This worked... Kind of? I do have an image showing up in my user profile with the option to remove it, but it's still not showing up in my property listings of Property Agent. All I see in place of the Agents photo is [Agent:image] on the page.

Any Ideas?

Thanks again,

David
http://www.propertyatthebeach.com
http://www.northmyrtlebeachbusinesscard.com

 

Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/28/2008 7:45 AM  
Did you name your profile field "image"?


Scott McCulloch
Site Administrator
seaside66User is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23


7/28/2008 8:02 AM  

I don't remember what I named it. Where would I find it? Can I change it?

Thanks,

David

Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/28/2008 8:17 AM  
If you go into your profile, it should be the same name as what is displayed, e.g. the profile on this site is called "image", hence [AGENT:Image]

Scott McCulloch
Site Administrator
bennyjUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:87


7/28/2008 3:05 PM  

I don't Think I can disable ajax as this is what my chat module uses along with other modules.Scott, did you have a chance to look it over this past weekend ?

Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/28/2008 5:23 PM  
I can confirm that it is an ajax issue, disabling it certainly works.

Scott McCulloch
Site Administrator
Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/28/2008 5:37 PM  
You can manual turn off ajax for the profile page if you have access to the database.

The control you want to set EnablePartialRendering="False" to is:-

ControlTitle="Edit User Accounts"
ControlKey="Edit"
ControlSrc="Admin/Users/ManageUsers.ascx"

Scott McCulloch
Site Administrator
Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/28/2008 5:42 PM  
Posted By Scott McCulloch on 7/28/2008 5:37 PM
You can manual turn off ajax for the profile page if you have access to the database.

The control you want to set EnablePartialRendering="False" to is:-

ControlTitle="Edit User Accounts"
ControlKey="Edit"
ControlSrc="Admin/Users/ManageUsers.ascx"


So it would be something like this:-

* Change dnn_ if you use a different objectQualifier


Scott McCulloch
Site Administrator
bennyjUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:87


7/28/2008 6:29 PM  

Still nothing! I changed it from true to false and went back in and tried but still cant get the photo to show up. I have ajax pro running on my site would that make a diff ?

bennyjUser is Offline
Registered Users
Ventrian Addict
Ventrian Addict
Posts:87


7/28/2008 6:40 PM  

ok got it! I had to log in as host and restart application, then it worked! thanks Scott!

Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/28/2008 6:57 PM  
Yep those settings are cached, so we need to clear it out by restarting the app

Scott McCulloch
Site Administrator
DelicodeUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:2

7/28/2008 11:13 PM  
Posted By Scott McCulloch on 7/28/2008 5:37 PM
You can manual turn off ajax for the profile page if you have access to the database.

The control you want to set EnablePartialRendering="False" to is:-

ControlTitle="Edit User Accounts"
ControlKey="Edit"
ControlSrc="Admin/Users/ManageUsers.ascx"



Thanks for this. :)

AlbertramsbottomUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:415


7/29/2008 12:01 AM  
Isnt it [Agent:Picture] I am sure thats how main works

Sorry I havent read all the posts so I might be talking out of my arse

www.classcampers.com
www.worldscheapesthomes.co.uk
www.beebiplayer.co.uk
www.internetinsurancequotes.co.uk
www.vwbussales.co.uk
Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/29/2008 12:06 AM  
[Agent:XXX] is the name of the profile field, some people have called it image, others have called it picture

Scott McCulloch
Site Administrator
seaside66User is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:23


7/29/2008 6:54 AM  

Still not showing up.... If I login and go to the profile page, the name of the photo upload section on the profile page is image. If I go to the listing page of a condo that I listed, in place of where my image should be appearing, I get [AGENT:image].

David

Scott McCullochUser is Online
Administrators
Ventrian Master
Ventrian Master
Posts:17205


7/29/2008 7:09 AM  

Here is what I did:-

  • Uploaded the Profile Module
  • Created a new custom field called "Image" of type PhotoUpload (field type provided by profile module)
  • Made modification to disable partial rendering (see above)
  • Went to host -> host settings -> restart application
  • Made sure my template was using [AGENT:Image]

This was on DNN 4.8.2, are you sure the owner of the property has an image uploaded? Is it a superuser account? Maybe try a normal portal account?


Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Page 2 of 4 << < 1234 > >>

Forums > Modules > Property Agent > Agent Image not showing up?



ActiveForums 3.7