Allow users to post images in the forum???

Author Message

Neo Pixel

Monday 23 February 2009 12:34:43 pm

Hi,

How do I allow users to post images inside the built in forum?

Thanks in advance :-)

Asking stupid questions so you don't have to!

Yannick Komotir

Wednesday 25 February 2009 1:46:46 am

Hi,

Changes the forum topic and forum reply content classes structures by adding an image attribute.

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Jean-Yves Zinsou

Thursday 26 February 2009 2:55:43 am

Don't forget to customize the matching template too ;-)

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Neo Pixel

Wednesday 04 March 2009 2:23:25 am

Thanks for the information but how do I add an image attribute, what's the file name and where is it???

Asking stupid questions so you don't have to!

justin kazadi

Thursday 05 March 2009 1:18:18 am

Hi Neo ,

like has mentionned by Yannick:

Changes the forum topic and forum reply content classes structures by adding an image attribute. 

you said

.... but how do I add an image attribute, what's the file name and where is it???

to perform this go to the backoffice (admin interface):

1.click on the administration tab
2.click on the classes on the left menu
3.click on the right of the forum reply to modified it 
4.you will see the form for this content class
5.select the datatype image in select field at the bottom of the form 
5.click on add an attribute

repeat these step for the forum topic content class.

don't forget to clean all the caches.
i think this can help you.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:12:45
Script start
Timing: Jan 18 2025 22:12:45
Module start 'layout'
Timing: Jan 18 2025 22:12:45
Module start 'content'
Timing: Jan 18 2025 22:12:45
Module end 'content'
Timing: Jan 18 2025 22:12:45
Script end

Main resources:

Total runtime0.0141 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.0078152.6250
Module start 'layout' 0.00430.0028 740.632839.4453
Module start 'content' 0.00710.0048 780.078193.4609
Module end 'content' 0.01190.0021 873.539138.3047
Script end 0.0140  911.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002115.2089140.0002
Check MTime0.00107.0541140.0001
Mysql Total
Database connection0.00075.229110.0007
Mysqli_queries0.002416.760830.0008
Looping result0.00000.078010.0000
Template Total0.001611.410.0016
Template load0.00096.053410.0009
Template processing0.00085.356310.0008
Override
Cache load0.00064.097810.0006
General
dbfile0.00128.373680.0001
String conversion0.00000.049240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs