alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0" encoding="UTF-8"?>
<baseElement>

    <adminmoduleconfig>
<!--
 Default url pattern for admin, you dont have to change anything here
 Note: make change to this property is for advanced users only ( if you
 change this value, you MUST change the value in file web.xml
-->
        <url_pattern>/mvnforumadmin
    </adminmoduleconfig>
    <usermoduleconfig>
        <url_pattern>/mvnforum
    </usermoduleconfig>
    <mvnforumconfig>

<!--
 NOTE: MVNFORUM_HOME is a folder that cannot be accessed from the web,
       you could create a folder mvnForumHome in your WEB-INF and
       set MVNFORUM_HOME to point to this folder. Please note that the
       example is for the Windows system, for the *nux system, it look like this:
       MVNFORUM_HOME   = /home/tomcat/mvnForumHome
-->
        <mvnforum_home>c:\Software\jetty\webapps\mvnforum\WEB-INF\mvnForumHome

<!-- 
     NOTE: the mvnforum_log is used to view the log file in Admin area only.
     You have to config it in its correct place (jlo_logging.xml or log4j.properties)
-->
        <mvnforum_log>c:\Software\jetty\webapps\mvnforum\WEB-INF\mvnForumHome\log\mvnforum.log
        <webmaster_email>youremail@yourdomain.com
        <logo_url>http://www.mvnForum.com
        <supported_locales>en;vi;ru;zh_CN;zh_TW;es;fr;it;de;da;lv;sr;sh;si;nl;ar;ko;pt_BR;ja;el;tr;no;bg
        <default_locale_name>en
<!--
 NOTE: DEFAULT_GUEST_NAME: set default name of a virtual Guest user.
       IMPORTANT: It will be overriden with the data from the database, if it exists (for the Guest user).
-->
        <default_guest_name>Guest
        <default_guest_timezone>0

<!--
 NOTE: this release supports realm/customized authentication, if you would like to
       use this feature, then uncomment and set DISABLE_PASSWORDLESS_AUTH = false
-->
        <enable_login_info_in_cookie>true
        <enable_login_info_in_session>true
        <enable_passwordless_auth>false
        <enable_login_info_in_realm>false
        <enable_login_info_in_customization>false

        <require_activation>false

        <enable_search>true
        <enable_login>true
        <enable_new_member>true
        <enable_new_post>true
        <enable_rss>true
        <enable_watch>true
        <enable_attachment>true
        <enable_avatar>true
        <enable_emoticon>true
        <enable_captcha>true
        <enable_listmembers>true
        <enable_show_last_login>true
        <enable_admin_can_change_password>true

        <enable_online_users>true

        <!-- if enable this option, duplicate online users will be shown (as in RC3 and before) 
             if disable it, then the online user will be shown only once with the number of his session
        -->
        <enable_duplicate_onlineusers>true
        <enable_invisible_users>true

        <enable_private_message>true

        <!-- If this option is enabled, Only user with permission AdminSystem
             can send a message to all registered users in the forum.
         -->
        <enable_public_message>true
        
        <enable_message_attachment>true

        <!-- if enable this option, then guest and all users can always view image attachment -->
        <enable_guest_view_image_attachment>false

        <!-- If enabling, show the most active threads/members on index page and list forums-->
        <enable_most_active_threads>true
        <enable_most_active_members>true
        <enable_site_statistics_overview>true
        
        <!-- if equals false, then use RC2-style (like listforums) index page -->
        <enable_portal_like_index_page>true 

<!--
 Set the default watch option:
 1 : live watch
 2 : hourly watch
 0 or 3 : daily watch
 4 : weekly watch
-->
        <default_watch_option>0

<!--
 Set the default moderation option:
 0 or 1 : no moderation
 2 : thread and post moderation
 3 : thread only moderation
 4 : post only moderation
-->
        <default_moderation_option>0

<!--
 NOTE: MAX_ATTACHMENT_SIZE : set the maximum attachment file size
       MAX_ATTACHMENT_SIZE = -1  means no limit on the attachment file size
       You can use suffixes "K" or "KB" to specify the size in kilobytes,
       "M" or "MB" to specify it in megabytes. Otherwise, the size is in bytes.
       Example: MAX_ATTACHMENT_SIZE = 1024 : maximum size is 1024 bytes = 1 KB
       Example: MAX_ATTACHMENT_SIZE = 1KB  : same as previous
-->
        <max_attachment_size>1024

        <max_message_attachment_size>1024

        <max_favorite_thread>100
        <max_private_message>100
        <max_edit_days>3
        <max_attach_days>1
        <max_delete_days>1
        <rows_per_page>10
        <rows_per_rss>15
        <hot_topic_threshold>10

        <max_chars_in_short_summary>100
        <max_chars_in_long_summary>1000
        <max_chars_in_rss>400

<!--
These 2 below values will prevent flooding per IP per hour
If set to 0, it means no limit
Ex: a computer (IP) can register maximum 2 account per hour
-->
        <max_posts_per_hour>20
        <max_members_per_hour>2
        <max_logins_per_hour>5
        <max_messages_per_hour>5
<!--
 NOTE: MAX_IMPORT_SIZE: set the maximum import file size
       MAX_IMPORT_SIZE = -1  means no limit on the import file size
       You can use suffixes "K" or "KB" to specify the size in kilobytes,
       "M" or "MB" to specify it in megabytes. Otherwise, the size is in bytes.
       Example: MAX_IMPORT_SIZE = 1MB      : maximum size is 1 MB = 1024 KB

 NOTE: To disable storing backup files on server, set ENABLE_BACKUP_ON_SERVER = false
       In the current release, this parameter is ignored (always true).
-->
        <enable_backup_on_server>true
        <max_import_size>4096000
    </mvnforumconfig>

    <mvnforumfactoryconfig>
        <member_implementation>com.mvnforum.db.jdbc.MemberDAOImplJDBC
        <onlineuser_implementation>com.mvnforum.auth.OnlineUserFactoryImpl
        <authenticator_implementation/>
        <requestprocessor_implementation>com.mvnforum.RequestProcessorDefault
        <lucene_analyzer_implementation>org.apache.lucene.analysis.standard.StandardAnalyzer
    </mvnforumfactoryconfig>
</baseElement>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.