• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Ad and image posting support

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Done. I added yout as Developer.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!