No announcement yet.

How to put this in the menu?

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to put this in the menu?

    I made this little screen scrape to see how many users there are in my (external) Videochat:
    PHP Code:
    $output file_get_contents($url); 
    The link to the Videochat in the header-template is:
    <a href="">Videochat</a>
    I would like to put the PHP in there so it shows up like 'Videochat (4)' with the '4' being the amount of users in the chat. I know how to put the brackets around the PHP but I can't just copy/paste the PHP in there because the number simply won't show up.

    So how do I do this?

    Thanks in advance!

  • #2 is the site for modifications. If you need help with coding, your best bet it to post over there.

    You cannot put php in a template, so you are going to have to put it in a plugin. If you need help with that, then like I said, you should post for help over on

    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
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help


    • #3
      lynne is right, why u guys ask modification related question here?


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