1
Hi all,
I'm going to
attempt to write up a Jokes Module (tentatively labeled xJokes) but at the same time write up a tutorial step-by-step(ish) on how to properly implement the XOOPS API when building a module from scratch. Hopefully this can serve as a starting point for new developers for XOOPS, such as myself, than going from place to place on the WiKi (it's still awesome for modular additions, don't get me wrong). The current crash course is fine, which is where I learned a lot of the basics, but, as we all know, the complete documentation is still much to be desired.
In this tutorial, I want to try to go though as many XOOPS API classes as possible so the would-be dev can see how it is implemented in a familar module, assuming they read from the start.
Anyways, here is what I have so far
Quote:
Here are some requirements limecity and I thought this jokes module should have:
• User submission
• Ratings
• Categories (and sub-sub...sub cats)
• Jokes
• Searchable
• Add comments
• Sort by: rank, views, comments
• Move jokes to different categories (owner/admin can do it)
• Approval system (can set groups to auto-approved)
• Notifications (by category and/or global)
• Blocks (latest joke, most popular, what else?)
What other XOOPS API classes do you think I can add in terms of the tutorial, not so much the module itself?
[edit]
Another thing that will be used is the XOOPS form generator in the admin area
[/edit]
One thing when it is done (i hope it gets done): I'm no graphics artist by any means, so it'll look quite...ugly unless the community can help with the templates.