OneLobby

So Geoffrey (my brother) and I worked on OneLobby during the summer and late 2006 but haven't really done anything with it since. The plan was to make it and release it as open-source software anyway, but we never finished it! As I mentioned in a previous blog post, I'm going to release the code. There are a lot of really cool things in it, especially the permissions system, active record implementation, and template engine that geoffrey developed for it. In fact, I think almost all the code is really cool. The framework that was made for it is called FileArts, it's the one I use on all of my projects and is of course developed by Geoffrey. The version that OneLobby uses isn't quite up-to-date, but whatever! Before you get into the code, there are a lot of unfinished things to be done, mainly on the administration side of onelobby. Things that need to be done include:

  • A categories system, I was thinking something like Wikio, such that it would also work together with the tags system.
  • Most of the admin panel
  • Anything that one would expect that needed to be done with cron, eg: mass emails, etc.
  • Some other things I don't remember

If you are wondering wtf OneLobby is anyway, you can check it out over at OneLobby. OneLobby is licenses under the GPL, and if you're planning on doing anything involving its code, I'd really like to know! So, go check out the OneLobby Subversion Repository.

Comments

Hey thanks for all the help I hope I wasnt too much of a PITA.

Still stuck on #1 of prior post :D

However I must say, that is some of the nicest, most organized and well commented code I have seen in a long time!

Can you delete that test post a put on dev.onelobby, the captcha bug does not appear there so its definitely something on my end...

If you ever start actively working on this project again would you let me know?

    by Lee on Mar 20, 2007 @ 11:11am

Please can you add me on msn as i am wondering if you can help me utilize the file arts framework and use the user system you created. However i am going to require the mysql tables. Thanks I assume you can see my email in the wordpress panel.

Whoops, sorry about not including some of the arguably *key* files. lol. I don't know why they weren't added to the repository when I committed everything.

To modify the permissions, go to: /admin/permissions/

There are 3 pages of permission management: roles, objects, and a combination of the two. I think you will like the way permissions work in 1l, its kind of a fake-ACL setup. If you want a more in-depth description, just ask or check out the controllers that work with them.

I dont know if you want me to keep posting questions here (it is making a sFAQ) so until otherwise I will ask away.

Is the search function in FAQs not complete? Or is it just broken?

    by Lee on Mar 15, 2007 @ 10:55am

Yeah that sounds good.

Call me daft or whatever (you can call me Susan if you like! /Snatch Movie quote) however I grabbed the SVN of one lobby and inported the database schemas however I cannot seem to get it running, users cannot register, a bunch of query results are displayed on the homepage cannot login as admin etc. Should all of this be working or are we expected to complete those tasks. If that is the case when I do complete those tasks is there somewhere I can post the updated code so that some else doesnt have to do it again.

I hope that there is something wrong with the install and maybe you can lend some guideance or direct me to somewhere where I can get help.

Looks great and thanks for anyhelp you can lend.

-Lee

    by Lee on Mar 12, 2007 @ 1:00pm

Susan,

Sorry! I still haven't fixed the CAPTCHA script.. I'm not entirely sure what's wrong but then again I haven't really dedicated any time to fixing it (been busy, lazy, etc). So, that's why users cannot register.

The queries displayed at the bottom are a debugging mechanism, to hide them, go into:

upload/include/app/filters/debug_post_filter.php

and just comment out everything within the filter's execute function (or remove it, whatever).

Unfortunately there is no actual installer becuase this is unfinished software!

Otherwise, here is the best place to get help.

haha I assume you watch or have seen snatch before so I will not be offended by the Susan comment. I am fully aware that it is not complete software and thats why I am willing to put in the time to help along with it (if you wish that is). I noticed that I can create a new user and login at dev.onelobby.com which is the two things that I cannot do at the moment with the version that I grabbed through SVN. Is dev.onelobby.com a different version that what is on the SVn at the moment? If so is it possible to get the version that dev.onelobby.com is running? If its older then I could take a look into the captcha and figure out whats going on there.

In regards to the login issue, I changed the md5 hash for user k4st to one that I know and it still will not let me login. Thanks for the help eh! (I too am Canadian and I take every chance I can get to sterotype us while online... )

    by Lee on Mar 12, 2007 @ 4:11pm

Lee,

I've updated the SVN with two changes I just made. The files I changed were the .htaccess and k4bb.php. These changes should solve all of the problems :D

Thanks!

When you say all of the problems does that include the captcha?

Not that it matters, its free!! Thanks again!

-Lee

    by lee on Mar 12, 2007 @ 11:52pm

Mainly I meant the captcha and another problem I was having. In solving the other problem, the captcha started working. The I realized that the captcha never stopped working, it was simpy that the path to the captcha image was incorrect...

The captcha is fixed on your end though, right?

No it is not, nor can I login, It mearly returns a "Either the username or the password was invalid." error. And when I try and register I still get "Fatal error: Cannot pass parameter 2 by reference in /home/13244/domain/include/k4bb/extensions/captcha.php on line 233"

Also I set the admin password in the config file yet it will not let me login as that either.

Hope this helps

    by lee on Mar 13, 2007 @ 12:44am

Lee,

I don't even know if I made that admin password do anything.. I think I made it so that I would eventually implement it but didn't do anything past that.. LOL. I'll try to fix all that stuff later tonight, I'm off to calc class then I'll be doing econ / sociology for the rest of the day/night.

Hey thanks eh!

I'll be up most of the night so if there is anything I can do to help let me know. I was thinking too that if you just wanted to tar/zip the code from the live site and send it too me it might just be a simple solution to the current problem. The you could say things like "Hey Susan, you got the code now stop spamming my comments like your peddlin' cheap warez"... just a thought.

    by lee on Mar 13, 2007 @ 10:27pm

So I just did yet another tiny update, and everything is still working for me :P Do you have 1l running on any site so I can debug through that?

Sure fizzle.ca is the sandbox its currently living on. It can have PHP 4 or 5 whichever and its set up as /home/www/fizzle.ca/include and /home/www/fizzle.ca/html/*contents of webroot

Should be up in 2 minutes or so.... add me to msn if you want to make things easier

-Lee

    by lee on Mar 13, 2007 @ 11:22pm

So the registration and login works now after the latest revisions. I cannot create content yet... permission problem however I am sure I will figure that out..

Thanks again for your help, if you still wanna poke around then by almean be my guest.

-Lee

    by Lee on Mar 13, 2007 @ 11:33pm

Hey maybe this will sound like a dumb question but how do you select two items at the same time so you can create tag groups?

I have made sure that there are more than one entry for the tag categories as well.

    by Lee on Mar 14, 2007 @ 8:34pm

If you're viewing a single/multiple tags at once, on the right side of the page there will be other tags listed that are often used with that tag. Beside each tag name there is a little icon, click it. If you look at the url you will find you are now at /tags/tag1+tag2/. You can select as many tags as you want. Now, beside the main header "Tags: tag1, tag2" there will be a small 'save' button. Click that!

Hope this helps.

Not complete. Most of the admin panel is missing, most of the rest is done. :P

So if I build in those kind of things do you want them? I am more than willing to contribute to this project while customizing it for myself.

Let me know,

    by Lee on Mar 15, 2007 @ 2:41pm

Hey three real quick things,

Is there some sort of timer that does not allow one to make a second post within (x) number of seconds that prevents the captcha from appearing?

Secondly have you experienced the bug where you try and edit your post and get the permission denied page withing the edit box?

Thirdly what BB code does this support? Do you have a list and I can create a help entry for it and send it back.

Thanks again for your help,

    by Lee on Mar 15, 2007 @ 6:12pm

i) It only requires CAPTCHA validation once.. if there's a bug in that process then go look in the thread controller.

ii) yes I have had that bug but not for a *really* long time.. I thought I solved it a while ago. Guess not.

iii) Go into /k4bb/bbparser.php to see.

Add a Comment