Zope
  Home arrow Zope arrow Page 2 - Coffee, Conversation And ZUBB
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ZOPE

Coffee, Conversation And ZUBB
By: icarus, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 2
    2002-04-24

    Table of Contents:
  • Coffee, Conversation And ZUBB
  • On The Board
  • Speed Post
  • Lost And Found
  • A Custom Job
  • Linkzone

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Coffee, Conversation And ZUBB - On The Board
    (Page 2 of 6 )

    First of all, what the heck is ZUBB?

    In the words of its author, ZUBB, or the Zope Ultimate Bulletin Board, is "...a threaded discussion board based on ZDiscussion and UBB (Ultimate Bulletin Board)." It provides a simple, user-friendly discussion board for portal members, and includes support for features like message posting and replying, message threading, and subject/body search.

    In order to get started with ZUBB, you'll need a working Zope installation (I'm currently running Zope 2.5.0) and a copy of the latest release (currently version 0.7.1) of the package; you can download a copy from http://www.zope.org/Members/BwanaZulia/ZUBB/

    Installation is simply a matter of copying the package files to the appropriate location, and importing the ZUBB package into Zope. Copy the source archive to your Zope installation's root directory and unzip/untar it. You will see that this archive contains the following files:

    __init__.py __init__.pyc README.txt ZDiscussions.py ZDiscussions2.py ZDiscussions.zexp
    Of these, the first five files should get installed to the <Zope>/lib/python/Products/ZDBase/ directory, while the last should get installed to the <Zope>/import/ directory.

    Once that's done, restart Zope and go to the Product Management section of the Zope Control Panel. You should see ZDBase in the list of installed Products.

    You now need to import the "ZDiscussions.zexp" package into Zope. Hit the Import button on the Product Management screen, and enter the filename "ZDiscussions.zexp" in the "Import filename" field of the resulting form.



    Zope should now import the package and return you to the main Product Management screen.

    Make sure that the file is in the <Zope>/import directory of your Zope installation before performing the step above.

    Once the package has been successfully imported, it will show up in the list of installed Products in the Zope management interface. 

    You can now begin using ZDiscussions on your site. {mospagebreak title=Putting The Pieces Together} Once you've got ZUBB installed, you can use it by creating an instance of the ZDiscussions Topic object in the appropriate location in your Zope site.



    Remember to give this topic an ID and a title; this will be used as the subject for the topic thread, and you will not be able to change it later. In this case, I'll assume that the topic is "PHP versus Zope"



    Once the topic has been added, click into it and use the "Regenerate Methods" function (at the top right corner of the page) to create all the required DTML methods for the discussion board.



    Finally, view the board, either via the management interface's "View" function or by accessing the discussion board's URL in the browser, and you should see something like this:

    More Zope Articles
    More By icarus, (c) Melonfire


     

       

    ZOPE ARTICLES

    - Creating Zope Products
    - Plone Content Types With Archetypes
    - Flat User Management in Zope
    - Creating Basic Zope Applications
    - Getting started with Zope for Linux and Sola...
    - ZPT Basics (part 4)
    - ZPT Basics (part 3)
    - ZPT Basics (part 2)
    - ZPT Basics (part 1)
    - Exception Handling In DTML
    - DTML Basics (part 4)
    - DTML Basics (part 3)
    - DTML Basics (part 2)
    - DTML Basics (part 1)
    - Using Zope With Apache

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway