Announcement

Collapse
No announcement yet.

PHP/HTML Noob

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

  • PHP/HTML Noob

    So I have two quick questions hopefully. I'm using vbulletin 5 build 28. I've created page layouts and I'm trying to add a couple things to my front page. What I don't understand is the php and html modules. I don't understand where I'm at and what the module gives me... meaning... when I place a static html module on the page and go to edit the code... do I need to put in the html/head/body etc? For the php module... what is that doing for me?

    I couldn't figure out how to call my php script I need to run from inside the static html... so I just put the no kidding web address in an iframe. I know that's probably not the way to do it, but that's why I'm here asking the question :P

    Any help or suggestions would be greatly appreciated.

    My forums: www.theonetriune.com


    Thanks a lot!
    -Luke

  • #2
    Did you look at the manual for those two modules?
    http://www.vbulletin.com/docs/html/s...er_modules_PHP
    http://www.vbulletin.com/docs/html/s...les_statichtml

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment


    • #3
      Lynne, please feel free to smack me in the face for not looking for a manual...

      - - - Updated - - -

      Thank you.

      - - - Updated - - -

      Ok, so I tried both examples in the manual for the PHP module and neither of them worked.

      Basically my steps:
      Click edit page
      Add module
      Drag the php module down
      edit the module
      type in

      echo "Hello ";

      Save the page

      Watch nothing happen haha.

      I tried the other one as well.
      echo "Hello ". vB5_User::get('username') .", how are you doing today?";

      Any ideas?

      Comment

      Related Topics

      Collapse

      Working...
      X