aspose file tools*
The moose likes JForum and the fly likes Ad and image posting support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Ad and image posting support" Watch "Ad and image posting support" New topic
Author

Ad and image posting support

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hello, I'm a seasoned Java developer and I'm looking for a good codebase to adopt from our existing phpbb forum (http://dchome.net). Look like jforum is good enough, but seems both advertisement and image posting are unfortunately not supported. I would like to have some contributions to these areas. Just checkout the code from CVS and tracing with it. Any helps are appreciated.
[originally posted on jforum.net by ykf]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Great!! Your contribution is very welcome .

About image posting, I guess that with just some changes to the Attachments support will do the job.

Well, any questions about the code, just ask.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Rafael Steil wrote:
...
About image posting, I guess that with just some changes to the Attachments support will do the job.
...
Rafael


I think so.
BTW, I've requested developer role in your CVS. My java.net login name is samuelyung.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Anonymous wrote:
Rafael Steil wrote:
...
About image posting, I guess that with just some changes to the Attachments support will do the job.
...
Rafael


I think so.
BTW, I've requested developer role in your CVS. My java.net login name is samuelyung.


This guy is me, I forgot to login, hehe~~~
[originally posted on jforum.net by ykf]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Done. I added yout as Developer.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Rafael, is the supposed thumbnail function the same as the image posting function that I suggest? If it's the same then I implement this instead.
[originally posted on jforum.net by ykf]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Yep. When an user posts a image, a thumb is created and shown with the message. Clicking on it will show the original one.
Please note that you only have to create the thumbs if the key "attachments.images.createthumb" is set to "true". To resize an image in Java requires A LOT of memory and processor, and there are situations where the server does not support / does not allow manipulation of images, so the admin may choose to disable it.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Rafael Steil wrote:Yep. When an user posts a image, a thumb is created and shown with the message. Clicking on it will show the original one.
Please note that you only have to create the thumbs if the key "attachments.images.createthumb" is set to "true". To resize an image in Java requires A LOT of memory and processor, and there are situations where the server does not support / does not allow manipulation of images, so the admin may choose to disable it.

Rafael


I know there's an issue, so I suggest the resizing should be done at the client side (e.g. dynamically specify the width and/or height) to reduce the server loading~ :lol:
[originally posted on jforum.net by ykf]
 
wood burning stoves
 
subject: Ad and image posting support