Announcement

Collapse
No announcement yet.

Add Member Stats to Header.

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

  • Add Member Stats to Header.

    Hi,

    I wish to add the member stats

    Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br> Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a>
    To the header, but when i add this information to it for some reason it wont output the varibales... it only outputs..

    Members:, Threads: , Posts:
    Welcome to our newest member,
    Is there anyway that you can make it so it will show this data on the header template?

    Thanks
    /Steve

  • #2
    Originally posted by Stevez
    Hi,

    I wish to add the member stats



    To the header, but when i add this information to it for some reason it wont output the varibales... it only outputs..



    Is there anyway that you can make it so it will show this data on the header template?

    Thanks
    /Steve
    Those variables are not created until after the header is parsed. To change this would require editing the code. You can look at vBulletin.org to see if someone already made this modification or to request it be done by one the programmers over there.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      Thanks...
      I was afraid of this..

      Comment

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