Announcement

Collapse
No announcement yet.

php_include

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

  • php_include

    Hi all,

    When the code in php_include is executed.
    Which variables are referencable?

    eg: forum id/name etc... eg; $fourms[id] ??

    I specifically need to know the forum in which any particular activity is.

    The actual doing of the change is a hack, I agree.

    However, the list of variables available to the php_include
    is, I beleive, for here.



    Thx

  • #2
    well... everything in global.php is available. the phpinclude template allows you to add global functionality to your forums. sure it can be used for specific things like activity in a particular forum but these sorts of things are better added to your forumdisplay.php and/or showthread.php files so the rest of your forum doesn't have that extra code to process when it isn't being used.

    can you elaborate on what you want to do? if it's something we can help you with, great. if it isn't something we can help you with (a hack) then you will be referred to www.vbulletin.org ... but i might be able to direct you to an appropriate hack.

    Comment


    • #3
      Thx..

      All global.php thingies, ... everything I need is there so to see.


      thx buddy..

      Comment

      Loading...
      Working...
      X