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

jforum example source code file (SystemGlobals.properties)

This example jforum source code file (SystemGlobals.properties) 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.

Java - jforum tags/keywords

connection, database, database, jforum, jforum, mysql, mysql, no, note, phpbb, phpbb, phpnuke, select, should

The jforum SystemGlobals.properties source code

# ###########################
# Database settings - MySQL
# ###########################
# Connection string to the JForum database
database.jforum.url = jdbc:mysql://localhost/jforum_teste?user=root&password=root

# Database name where PHPBB tables are
# Note that the user who runst he JForum database SHOULD have SELECT access
# to the PHPBB database, as the migration tool will try to access it
# using the schema SELECT <fields> FROM .
database.phpbb = phpbb

# Prefix for PHPBB tables. If you are using PHPNUKE, you 
# probably need to change it to nuke_bb or something like that
phpbb.table.prefix = phpbb_

# Other settings for MySQL - no need to change
database.queries = mysql_queries.sql
database.driver = com.mysql.jdbc.Driver

# #####################################
# Internal settings. No need to change
# #####################################
resource.dir=${application.path}/config
config.dir=${resource.dir}
installation.config=${config.dir}/jforum-custom.conf

b.regex = (?s)\\[b:[a-z0-9]{10}\\](.*?)\\[/b:[a-z0-9]{10}\\]
i.regex = (?s)\\[i:[a-z0-9]{10}\](.*?)\\[/i:[a-z0-9]{10}\\]
u.regex = (?s)\\[u:[a-z0-9]{10}\](.*?)\\[/u:[a-z0-9]{10}\\]
quote.regex = (?s)\\[quote:[a-z0-9]{10}\\](.*?)\\[/quote:[a-z0-9]{10}\\]
quote.username.open.regex = (?s)\\[quote:[a-z0-9]{10}=['"]?(.*?[^'"])['"]?\\]
quote.username.close.regex = \\[/quote:[a-z0-9]{10}\\]
list.regex = (?s)\\[list:[a-z0-9]{10}\\](.*?)\\[/list:.:[a-z0-9]{10}\\]
color.regex = (?s)\\[color=(.*?):[a-z0-9]{10}\\](.*?)\\[/color:[a-z0-9]{10}\\]
size.regex = (?s)\\[size=(.*?):[a-z0-9]{10}\\](.*?)\\[/size:[a-z0-9]{10}\\]
code.regex = (?s)\\[code:[a-z0-9]:[a-z0-9]{10}\\](.*?)\\[/code:[a-z0-9]:[a-z0-9]{10}\\]
img.regex = (?s)\\[img:[a-z0-9]{10}\](.*?)\\[/img:[a-z0-9]{10}\\]

b.replace = [b]$1[/b]
i.replace = [i]$1[/i]
u.replace = [u]$1[/u]
quote.replace = [quote]$1[/quote]
quote.username.open.replace = [quote="$1"]
quote.username.close.replace = [/quote]
list.replace = [list]$1[/list]
color.replace = [color="$1"]$2[/color]
size.replace = [size="$1"]$2[/size]
code.replace = [code]$1[/code]
img.replace = [img]$1[/img]

Other jforum examples (source code examples)

Here is a short list of links related to this jforum SystemGlobals.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 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.