How to Setup forum

Author Message

Mohammad Tufail

Monday 24 March 2008 3:11:20 am

Hi,
I am new to eZ publish. I want to setup a forum in my website.Currently I am using ez publish 4.0 and plain site template.
Thanks in advance.
Regards,
Mohammad Tufail

Greg McAvoy-Jensen

Monday 24 March 2008 9:17:40 am

Mohammad,

eZ Publish comes with forum functionality in the ezwebin package (plain site probably doesn't have it). Once installed, you just use "Create Here" to create a forum class node; then you can create forum topics and forum posts below it.

You could start by importing the ezwebin classes extension into your existing installation. Then you'd want to set up options for letting people track changes on the forum (I assume), which means adding logic including a workflow and ensuring cronjobs is running. The easiest way is probably to set up a complete installation of ezpublish with ezwebin, then copy over the parts you find you need.

Of course, once it's all working, you'll need to set up a user group with permission to add posts, etc.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Mohammad Tufail

Tuesday 25 March 2008 12:03:07 am

Hi Greg,

Thank you for your answer. Can i import ezwebin extension into my existing site for use. If it is possible how it can be used.

Regards,

Greg McAvoy-Jensen

Wednesday 26 March 2008 12:44:53 pm

You'll find the ezwebin packages here:
http://packages.ez.no/ezpublish/4.0/4.0.0/

At the very least you'll need the ezwebin classes (to get the forum-related classes) and the ezwebin extension package. You'll probably want the design package to copy the relevant templates for your use. Once downloaded to your local machine, you can import new packages in the admin interface setup tab (click packages).

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Rana Faheem

Thursday 17 April 2008 3:38:33 am

Hello,
for webshop after talking the order confirmation i am finding this error for paypal developer test
So i am not understanding this problem
Fatal error: Call to a member function attribute() on a non-object in /var/www/naizindagi_1/trunk/naizindagi/kernel/classes/ezorder.php on line 1590
Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.

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 16:23:18
Script start
Timing: Jan 18 2025 16:23:18
Module start 'layout'
Timing: Jan 18 2025 16:23:18
Module start 'content'
Timing: Jan 18 2025 16:23:20
Module end 'content'
Timing: Jan 18 2025 16:23:20
Script end

Main resources:

Total runtime1.2252 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.8906152.6094
Module start 'layout' 0.00680.0043 740.500039.4141
Module start 'content' 0.01111.2128 779.9141609.0156
Module end 'content' 1.22390.0013 1,388.929716.1875
Script end 1.2252  1,405.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3144160.0002
Check MTime0.00150.1264160.0001
Mysql Total
Database connection0.00080.064310.0008
Mysqli_queries1.164395.0273650.0179
Looping result0.00060.0493630.0000
Template Total1.184496.720.5922
Template load0.00240.192720.0012
Template processing1.182096.473120.5910
Template load and register function0.00010.007810.0001
states
state_id_array0.00100.084110.0010
state_identifier_array0.00200.166320.0010
Override
Cache load0.00200.1619330.0001
Sytem overhead
Fetch class attribute can translate value0.00070.055730.0002
Fetch class attribute name0.00130.102480.0002
XML
Image XML parsing0.00150.124930.0005
class_abstraction
Instantiating content class attribute0.00000.0017100.0000
General
dbfile0.00110.0876300.0000
String conversion0.00000.002040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs