Announcement

Collapse
No announcement yet.

Widget PHP Direct Execution using vbulletin vars

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

  • Paul M
    replied
    or you can just add global $vbulletin to the top of the widget php and use them as normal.

    Leave a comment:


  • ashy
    replied
    sorry, i found the answer, just for someone may ask the same
    you should use as bellow

    vB::$vbulletin->**

    Leave a comment:


  • Removed-836727
    replied
    Which variables do you need?

    Yes it's possible, you can access the vbulletin Object with vB::$vbulletin, you can execute DB Queries with vB::$db

    Leave a comment:


  • ashy
    started a topic [CMS] Widget PHP Direct Execution using vbulletin vars

    Widget PHP Direct Execution using vbulletin vars

    Hi all
    is the Widget PHP Direct Execution totally separated from the vbulletin system?

    how can i use vbulletin internal variables within a Widget PHP Direct Execution

    thanks


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