Jump to content

Attention All Codemonkeys


Cap'n Refsmmat

Recommended Posts

I'm working on a new wiki software along with dave (maybe aeternus as well), mainly to use for SFN's OpenScience wiki (if we can do it fast enough).

Anyways, I'd like to ask if there are any experienced PHP and MySQL developers here. I mean experienced as in able to do coding without referring to a dozen tutorials on the way. Also you ought to know how to deal with security issues if necessary.

 

If you would like to join us, and you know you have enough time and will to work on the project, register at SourceForge and tell me your account name. I will add you.

If you turn out to be a crappy coder, I'll just boot you out. Don't join unless you know you can do it.

 

Moderators: dave approved this post, so don't tell me it's advertisement

Link to comment
Share on other sites

  • 4 weeks later...

The easiest way of doing it is by having a 'parent' field in the database. You might have something like this:

 

+-------------+---------------+-----------+
| Category ID | Name          | Parent ID |
+-------------+---------------+-----------+
| 1           | Mathematics   | 0         |
| 2           | Physics       | 0         |
| 3           | Calculus      | 1         |
| 4           | Analysis      | 3         |
| 5           | Thermal       | 2         |
| 6           | Fractals      | 1         |
+-------------+---------------+-----------+

 

So here, 0 is our base category and then you can see which category belongs to which tree. In this case:

 

- Mathematics
`- Calculus 
  `- Analysis
`- Fractals
- Physics
`- Thermal

 

The code for actually parsing this lot isn't too hard, but you do have to use recursion (obviously).

Link to comment
Share on other sites

Aha! It works! Thanks Aeternus (he got it to me on IRC).

 

Anyways, if someone here knows good Smarty, HTML, and CSS I'd like to upgrade the default style of scWiki. It looks a bit boring, I must say.

 

 

After this, all I have to do is the admin control panel (it's half-done) and bugfixes and scWiki should be done!

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.