The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
What is the proper syntax for calling a function in a plugin?
Here's my issue, I'm including a file that defines a function called newsfeed(). Here's my plugin code currently: (HOOK: global_complete) Code:
ob_start(); include('magpierss/rss_parse.inc'); newsfeed("http://rss.cnn.com/rss/cnn_topstories.rss",5,"CNN HEADLINES"); $cnn=ob_get_contents(); ob_end_clean(); However, what happens, is that the feed shows up at the very top of the page, not where I put the $cnn call. Is there something I'm not doing properly? Any help is appreciated. Thanks in advance. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|