Raymond Camden's Blog Rss

Galleon 2.2

9

Posted in ColdFusion | Posted on 05-15-2008 | 4,297 views

I just released Galleon 2.2, which has a feature that folks have been asking for since 1.0. Users can now edit their own posts. This is thanks to Todd Rafferty. He did all the work for it and I just had to mod a line or two. My main objection to the ability for folks to edit messages was because I was worried folks would use it for abuse, but Todd added an automatic 'message edited' type when a user edits a message.

Anyway, enjoy.

Comments

[Add Comment] [Subscribe to Comments]

Having issues with application.permission.allowed(application.rights.CANVIEW, url.forumid, request.udf.getGroups())

When I try to login to the admin using admin/admin, I keep getting dumped to http://localhost:8500/galleon2/index.cfm with a message showing "Sorry, but there are no conferences available."

Right after I created two conferences, this started to happen. application.rights.CANVIEW is some alphanumeric char (7EA5070B-9774-E11E-96E727122408C03C)

any recommendations?
So to be clear, when you had one conference, it worked?
I was creating a conference in the admin. Then, I wanted to check out how it looked like. Once I signed out, it kept throwing that message.
If I get rid of this line, in \forumFolder\index.cfm:

<cfset data = application.permission.filter(query=data, groups=request.udf.getGroups(), right=application.rights.CANVIEW)>

I can see the conference. Ofcourse, this defeats the purpose.
Sorry, the short answer was no.
Just a quick note. search.cfm, line 157: has the following
window.onload = function() {document.getElementById("searchForm").searchterms.focus();}

which throws a javascript error. You might want to add id="searchForm" on line 53.
Odd - so question, when you edited your conferences, did you get READ access to "Everyone"? If you did not explicitly select it, then it won't be visible.
Fixed the JavaScript issue. Thanks.
I played with that too. If the access was set to admin and you logged in as an admin, shouldn't you see the conference?
Well, I'm talking groups, not users here. I believe I called it Forum Administrators. They should have Read access to the conference. Do they?

[Add Comment] [Subscribe to Comments]