Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default The next step...

    Right, I can code PHP - better than a few people that claim they can (not on here just generally). I can do certain things like usersystems, news scripts etc... however, I tried a PHP forum and my PHP knowledge lacked things I needed to make it... simple functions I didn't know.

    So, where should I go to learn some functions (or to learn how to make some) and other things. Any links to tutorials (not basic things) or anything similar is appreciated.

    +rep to any that are good.

  2. #2
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Forums are harder than the first appear since you really never a very well designed infustrcure to be able to build out on top of them to the exstent needed.
    Personally learning php in an object orineted way, its a great asset when working on a partically big project. As always php.net will expanded on any particualar functions (the notes often conatine gold in em as well).

    If you have any partical questions though id be happy to try and help

  3. #3
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by 01101101entor View Post
    Forums are harder than the first appear since you really never a very well designed infustrcure to be able to build out on top of them to the exstent needed.
    Personally learning php in an object orineted way, its a great asset when working on a partically big project. As always php.net will expanded on any particualar functions (the notes often conatine gold in em as well).

    If you have any partical questions though id be happy to try and help
    I agree. You have to get the base correct at the start or it'll flop.

    php.net... thanks! I do have some questions... well, a question. I sort of started learning with usersystems and only seemed to see } else { being used a lot - I know there are other things can you name some and what they do?

    I'd be very grateful!

  4. #4
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Im slighly confused? Are you refering to alterntives to the if statment?

    if($somthing == 2){
    // do thise
    }else if($somthingesle ==4){
    //do this
    }else{
    / if none of the above, do this
    }

    Which could equaly be repersnted with a switch case

    switch ($somthing) {
    case 2:
    //do this
    break;
    case 4:
    // do this instead
    break;
    default:
    //do this if none of the above
    }


    Or are you refering to language constructs in general which includes everything from loops through functions and classes.

  5. #5
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by 01101101entor View Post
    Im slighly confused? Are you refering to alterntives to the if statment?

    if($somthing == 2){
    // do thise
    }else if($somthingesle ==4){
    //do this
    }else{
    / if none of the above, do this
    }

    Which could equaly be repersnted with a switch case

    switch ($somthing) {
    case 2:
    //do this
    break;
    case 4:
    // do this instead
    break;
    default:
    //do this if none of the above
    }


    Or are you refering to language constructs in general which includes everything from loops through functions and classes.
    I mean, what other statements are there... I never studied them.

  6. #6
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    The only new coding i had to learn when making a forum was ceil() which is needed to round up for my page limiting system

    All a forum really is is a few while() loops and some arrays..
    Coming and going...
    Highers are getting the better of me

  7. #7

    Default

    Quote Originally Posted by Hitman View Post
    I mean, what other statements are there... I never studied them.
    Not to be "rude" here, but you are contradicting yourself a bunch.

    You pretend to know PHP amazingly:

    "I agree. You have to get the base correct at the start or it'll flop."

    Then why did you try to code the forum? Unless you just learned that afterwords..

    I would advise you to read over PHP, Tizag, and or maybe purchase a PHP book, those are very helpful

  8. #8
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by MountainDew View Post
    Not to be "rude" here, but you are contradicting yourself a bunch.

    You pretend to know PHP amazingly:

    "I agree. You have to get the base correct at the start or it'll flop."

    Then why did you try to code the forum? Unless you just learned that afterwords..

    I would advise you to read over PHP, Tizag, and or maybe purchase a PHP book, those are very helpful
    Hi,

    I don't pretend to know PHP amazingly, I know basics and enough to make certain things. I said better than people claim they can because I've seen people using putting things like <? include 'file.php' ?> in echo tags. >_> I agree with what Mentor said - I attempted a forum once, made the base of it dodgy and it flopped. I tried coding a forum because usersystems are easy - a forum is the next thing up and would be interesting.

    Thanks.
    Last edited by Hitman; 10-01-2008 at 11:22 PM.

  9. #9

    Default

    I disagree with the "forum is the next thing up" from a user system, no way is it.

    There is a huge leap between user system -> forum.

    I didn't even attempt a forum until at least 6-8 months into my studying of PHP.

    I would keep continuing adding features to your usersystem, before heading into bigger things.

    More features is equal to more learning of how to do things.

  10. #10
    Join Date
    Jun 2005
    Posts
    2,688
    Tokens
    0

    Latest Awards:

    Default

    I agree with Caleb a forum is not the "next thing up". Undertaking a forum is a major project if done correctly. It is not a "1 week job". Back in the day when I created some forum software I spent 2 months working on it on and off.

    You could do what I did though!

    I created a fully functional Content Management System with full OOP support, template engine, plugin system etc all from scratch after about 5 months of learning!

    If you are unsure about all the statments used in PHP I would suggest re-reading the manual lol.. You shouldn't be taking on forums or advanced programming if you don't know all the structures.

    Before you take on any project do quite a bit of reading on how to program using professional programming structures. Have a look at other peoples code, see how they do it and pick up tips

    Taking on big projects at a high standard doesn't happen over night. If I were to create a huge script such as a forum, done properly I would spend a few hours thinking logically and writing down the possible table structures etc on a piece of paper.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •