Jump to content

Recommended Posts

Posted

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

Posted

cvs clients?

 

And you know where I am if you want me, always happy to help I just need kicking into doing stuff...

  • 4 weeks later...
Posted

I'd like to ask if anybody has ideas on how to implement a categories system. It would be easy, but for the fact that I want to do them so that you can have sub-categories and sub-sub-categories and so on. I can't figure out how to display them and such though. Help?

Posted

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).

Posted

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!

  • 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.