My Projects
Search Blog

Categories
Archives
Useful Links
Photo Albums
RSS

Powered by
BlogCFM v1.15

Vivio Technologies Dedicated Hosting
07 March 2007
CFMBB 1.20 Release Candidate Available

Project Page for CFMBB: http://www.cfmbb.org/

I've been working on CFMBB 1.20 for a little over a month now, adding features, debugging, etc... there are a HUGE number of changes to CFMBB 1.20. User groups, restricted forums based on usergroup membership, integrated "content management", integrated file manager, integrated chat, lots of caching for better performance on busy sites, improved installation script, CAPTCHA for improved spam prevention, new topic notification options for entire site, per conference, and per forum, along with some bug fixes, modifications for Bluedragon 7 compatibility, etc.

Download CFMBB 1.20RC now!

Thanks to everyone who helped me get it to this point! And thanks to Ray for a great app to start with :)

Posted by rickroot at 10:16 AM | Link | 0 comments
27 February 2007
CFMBB 1.20 In Beta

CFMBB 1.20 is in beta now!  It includes many new features, including support for user groups, restricting forum access to specific user groups, integration of the CFOpenChat chat software, addition of basic content management features with integrated file manager (CFFM). 

Themes have been "simplified" in that the navigation is no longer included in the header/footer pages.  Previous versions of the themes included with CFMBB used wrapping tables, which aren't used any more.

Version 1.20 also includes several bug fixes, adds support for Bluedragon 7 (they've implemented a new built-in CFML function called querySort, which was the name of one of the UDFs in CFMBB, so I had to change its name to qrySort)

This is not an official release, but if you'd like to download the beta for testing, it's here.

Check out the demo here.  Username: admin, password: admin

Posted by rickroot at 1:24 AM | Link | 0 comments
Open Source NCAA Tournament Pool

My NCAA Tournament pool application has been updated.  It now works with both Galleon (untested) and CFMBB.  You can probably pretty easily modify it to work with pretty much any authentication framework.

For a demo, check out http://www.opensourcecf.com/forums/ncaapool.cfm

The project page is here:  www.opensourcecf.com/ncaapool

The brackets included are current projections from CollegeRPI.com (Jerry's February 23 brackets).  Don't come whining to me about why your team isn't in there, and don't come whining to me about why your team is seeded so low!

Posted by rickroot at 1:16 AM | Link | 0 comments
09 June 2006
CFMBB 1.01 Released

CFMBB 1.01 is now available for download here. This is a bug fix release only, and contains no new features, nor any database changes.

Here's a list of features that have been added to the Galleon 1.5 code base:

  • BBML/BBCode Support - HTML-like markup for message posters
  • Optional confirmation of accounts required - either by the user or by an admin.
  • Most settings now stored in the database and can be controlled via the admin console.
  • Improved "Theme" support.
  • Avatars - gallery, remote URL, and "gravatar" support.
  • Signatures
  • Improved thread and message moderation - many tasks can be performed without going to the administration console.
  • Members only forums - login required to view.
  • Optional support for encrypted passwords.
  • Eliminated cflogin architecture, added support for persistent cookies.
  • IP logging of user logins and message posting for future support of ban capability.
  • Support for PostgreSQL in addition to MySQL and SQL Server.
  • File attachment support
  • modified subscription model mimics phpBB
  • member directory
  • board and user configurable timezone (all dates stored in UTC)
  • preview post functionality

In addition, CFMBB 1.1, currently in alpha, will include private message support allowing users to send private messages to each other via the boards, similar to phpBB's functionality. Another feature that will probably make it into 1.1 but hasn't been implemented yet is more powerful moderator capability - the ability to set moderators for the entire site, just one conference, or on a per forum basis.

Posted by rickroot at 4:46 PM | Link | 0 comments
18 May 2006
Using coldfusion to log into a phpBB system

I wrote some code a few months ago that used coldfusion to log into a phpBB system and send a private message to a specified user.

I thought it might be nice to share, so here's the code:

<cfset from_username = "thecaniac">
<cfset from_password="******">
<cfset phpbb_root = "http://forums.hurricanes.com"><!-- no trailing slash -->
<cfparam name="form.recipient" default="thecaniac">
<cfsavecontent variable="msg">
This is an example message

Neat!
</cfsavecontent>

<!--- start php session to get original cookies --->
<cfhttp url="#phpbb_root#/index.php" method="GET" useragent="#CGI.HTTP_USER_AGENT#"></cfhttp>
<cfset headers = cfhttp.header>
<cfset cookies = getCookies(cfhttp.header)>

<!--- perform login --->
<cfhttp url="#phpbb_root#/login.php" method="POST" useragent="#CGI.HTTP_USER_AGENT#">
	<cfloop from="1" to="#arrayLen(cookies)#" step="1" index="i">
		<cfhttpparam type="cookie" name="#cookies[i].NAME#" value="#cookies[i].VALUE#">
	</cfloop>
	
	<cfhttpparam type="FORMFIELD" name="username" value="#from_username#">
	<cfhttpparam type="FORMFIELD" name="password" value="#from_password#">
	<cfhttpparam type="FORMFIELD" name="autologin" value="">
	<cfhttpparam type="FORMFIELD" name="redirect" value="">
	<cfhttpparam type="FORMFIELD" name="login" value="Log in">
</cfhttp>

<!--- get updated cookies --->
<cfset cookiesAuthenticated = getCookies(cfhttp.header)>

<cfhttp url="#phpbb_root#/privmsg.php" method="POST" useragent="#CGI.HTTP_USER_AGENT#">
	<cfloop from="1" to="#arrayLen(cookiesAuthenticated)#" step="1" index="i">
		<cfhttpparam type="cookie" name="#cookiesAuthenticated[i].NAME#" value="#cookies[i].VALUE#">
	</cfloop>
	<Cfhttpparam type="formfield" name="username" value="#from_username#" />
	<Cfhttpparam type="formfield" name="subject" value="Your access key to the Caniac's Chat Room"/>
	<Cfhttpparam type="formfield" name="message" value="#msg#">
	<!---<Cfhttpparam type="formfield" name="preview" value="Preview" />--->
	<Cfhttpparam type="formfield" name="post" value="Submit" />

</cfhttp>

<cfset results = cfhttp.filecontent>

<cfif findnocase("Your message has been sent",results) gt 0>
	Message Sent!
<cfelse>
	Message not sent!
</cfif>

<cffunction name="getCookies" output="false" returnType="array">
	<cfargument name="headers" type="String" required="yes">
	
	<cfset var cookies = arrayNew(1)>
	<cfset var thisCookie = StructNew()>
	<cfset var header = "">
	<cfset var aCookie = "">
	<cfset var crumb = "">
	<cfset var paramName = "">
	<cfset var paramValue = "">
	
	<cfloop list="#headers#" delimiters="#Chr(10)#" index="header">
		<cfif reFind("^Set-Cookie: ", header) gt 0>
			<cfset acookie = reReplace(header,"^Set-Cookie: ","","ALL")>
			<Cfset thisCookie = StructNew()>
			<cfloop list="#acookie#" delimiters=";" index="crumb">
				<cfset crumb = trim(crumb)>
				<cfset paramName = listgetat(crumb,1,"=")>
				<cfset paramValue = listgetat(crumb,2,"=")>
				<cfif paramName eq "expires">
					<cfset thisCookie.expires = paramValue>
				<cfelseif paramName eq "path">
					<cfset thisCookie.path = paramValue>
				<cfelseif paramName eq "domain">
					<cfset thisCookie.domain = paramValue>
				<cfelseif paramName eq "secure">
					<cfset thisCookie.secure = paramValue>
				<cfelse>
					<cfset thisCookie.name = paramName>
					<cfset thisCookie.value = paramValue>
				</cfif>
			</cfloop>
			<cfset arrayAppend(cookies,thisCookie)>
		</cfif>
	</cfloop>
	<cfreturn cookies>
</cffunction>

Posted by rickroot at 5:40 AM | Link | 2 comments
19 April 2006
CFMBB 1.0 RC1 Now Available

The first release candidate of CFMBB is now available for download from the CFMBB Project Page.

For discussion and a demo, visit www.cfmbb.org

Here is a complete list of major features added to Ray's Galleon 1.5

Posted by rickroot at 8:57 PM | Link | 0 comments
11 April 2006
CFMBB 0.81 Released

CFMBB 0.81 has been released.  CFMBB is a derivative of Ray Camden's Galleon Forums.  It includes many additional features.

for complete information visit http://www.cfmbb.org/

Posted by rickroot at 7:55 AM | Link | 3 comments
10 March 2006
Galleon Enhancements I'm Working On

I've been having some fun with Ray Camden's Galleon Forums application and decided to add some features to it that I like.

  • OPTIONAL BBML support - DONE
  • OPTIONAL Remote Avatar support - DONE
  • OPTIONAL Signature support - DONE
  • Subscription update URLS send you directly to new message rather than fromt page
  • OPTIONAL message save behavior that mimics phpBB (success indcation plus links to your message and back to the thread index, automatically refreshing back to your message)
  • And more...

Ray has said that he'll probably integrate these changes into the core product, and since I'm making them configurable options, you don't have to use them.

For more details, check out the Galleon Enhanced forum on this web site.

Posted by rickroot at 10:26 PM | Link | 3 comments
21 February 2006
Adding BBML support to Galleon Forums

There was a discussion on cf-talk today about message boards in coldfusion versus phpbb, easily the world's most popular message board application.

I suggested that if I ever started working on a bulletin board solution again (like I was with cfmbb), I'd probably start with Ray Camden's Galleon Forums, and then I'd add the following two features:

  • Private Messaging
  • BBML Support

Ray is not a fan of BBML / Smilies, but he said if I wrote it, he'd implement it.

So I did.

My implementation is based on Galleon 1.5 which I downloaded a week or so ago.  The changes are pretty innocuous, and you can download them here:

Here's an example thread with all the BBML in use, along with a description of the changes made is here:

I've also submitted these changes to Ray for inclusion in the main Galleon project.

Now eventually, I may dig into Galleon and add some of the other features that I want to see, like private messaging, avatars, and signatures.

Posted by rickroot at 7:38 PM | Link | 0 comments