Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JForum and the fly likes about avatar upload path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "about avatar upload path" Watch "about avatar upload path" New topic
Author

about avatar upload path

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
hello everyone, can you tell me where can I change the path that save all the avatar images?

I change the display path to $tomcat/webapp/ROOT/upload/forum/avatar/ and it works.

but I can not find out where to change the upload path, can you help me?
[originally posted on jforum.net by Patrick]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Currently, it is hard-coded in net/jforum/view/forum/common/UserCommon.java as

So, you need to manually change this file and recompile it.
[originally posted on jforum.net by andowson]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
thank you. I found it and changed it. it works.
[originally posted on jforum.net by Patrick]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about avatar upload path
 
Similar Threads
How to post local picture in Jforum?
Profile Page -- Avatar Anchor
Uploading the Avatar using SSO
I want to download the latest CSV Version (compiled)
How can I forbid that the user can set an image as avatar?