The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Iframe/PLUGIN... in template
If i put an iframe in a div and it included a radio... would the radio stay running or would it run when someone opens a thread etc?
Or can someone help me with making a plugin...? Ive tried using this Code:
ob_start(); include('http://www.trusthabbo.net/staff/_frontend/djSays.php'); $djsays = ob_get_contents(); ob_end_clean(); |
#2
|
|||
|
|||
Hmm...I think that's a problem because when you read the file from that URL you get HTML back and not php, so I don't think you can include it like that. Maybe you could try using readfile instead of include: http://us2.php.net/manual/en/function.readfile.php
|
#3
|
|||
|
|||
That doesn't work either :s
Is there anyway i can include the contents, and make them stay with refreshing everytime someone views a thread|? |
#4
|
|||
|
|||
Well, I'm not an HTML expert, but I think you could do it with iframes if the radio and the thread were in different frames, but I don't think it helps to put the radio in an iframe if the entire page will be reloaded. Maybe just open the radio in it's own small window?
|
#5
|
|||
|
|||
yeah im thinking tht too.. thanks
ill get an image made and link a popup radio |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|