The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
There are functions that return echo values, how can I integrate them with style where I have a $content variable?
Code:
function sayhello()
{
echo 'hello';
}
Code:
eval('$content .= "' . sayhello() . '";');
Code:
$content .= sayhello(); |
|
#2
|
|||
|
|||
|
Google: "PHP Output Buffering"
|
|
#3
|
|||
|
|||
|
You would need to use a return() instead of echo.
|
|
#4
|
||||
|
||||
|
Unfortunately functions I need from adminfunctions.php and adminfunctions_stats.php only return echo values. Is there a way to handle these echo values like returns?
|
|
#5
|
|||
|
|||
|
You can use these instructions: Including External Files
|
|
#6
|
||||
|
||||
|
My Skript works, thank you for helping me.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|