The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can I pass an out put of extenal script (e.g. counter script) to the vbulletin header or footer ?
|
|
#2
|
||||
|
||||
|
well the easiest? way is to rewrite the script so it sends an image instead of textoutput and then add <img src="scriptname.php"> into your footer
|
|
#3
|
|||
|
|||
|
It did not work because it took the URL of the script as "src" instead of taking the out put as "src". I also used these methods:
PHP Code:
PHP Code:
Code:
<script language="php" src="http://localhost/workshop/script.php"> </script>
|
|
#4
|
||||
|
||||
|
It's late, so these methods might seem totally unlogical, but try them anyway
![]() PHP Code:
PHP Code:
|
|
#5
|
||||
|
||||
|
Check this page out as well, you might find a suitable function:
http://www.php.net/manual/en/function.require.php
|
|
#6
|
||||
|
||||
|
king, if you want to include it per img you have to chage the script so it sends the right headers and so on...
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|