Announcement

Collapse
No announcement yet.

Template-Based Website

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Template-Based Website

    I am trying to create a template-based web site similar to vBulletin. Does anyone have any ideas on how to go about this?!

  • #2
    learn php....

    www.php.net

    look up include();
    Cons

    Comment


    • #3
      if you really need help you can email me or icq me and ill give you a hand....

      [email protected]
      3048210
      Cons

      Comment


      • #4
        vbulletin's template system doesnt use the include function. Using the include function would be considered a basic template system. now the join function can be used to merge documents onto php pages.

        Comment


        • #5
          very true but you have to do the basics before you do anything eles
          Cons

          Comment


          • #6
            I know PHP, but how do use the JOIN function?!

            Comment


            • #7
              http://www.php.net/manual/en/function.join.php im to lazy to explain how to use it .

              Comment


              • #8
                Oh...It is exactly the same as implode(). I know how to do that. What I want to know is how vBulletin replaces the template and replacements placeholders that are located in the templates. I try to use ereg_replace() and preg_replace() but it doesn't seem to work well.

                Comment


                • #9
                  oh it works its just slloowww...

                  I'm not familiar with how vbb does it though
                  Cons

                  Comment


                  • #10
                    really easy!
                    all the templates are stored in theh database.
                    u read a row then u eval() it and print in on the screen TADA u have a templates system

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    X