The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom You Tube Video Sidebar/Block
I have tried a few things to have a sidebar/block that has a random youtube video displayed on it.
are their any tutorials i am missing or can someone help me with this? |
#2
|
|||
|
|||
Are you creating a "Custom HTML/PHP" forum block? If so, you need to use "return" for your output instead of echo. Also, if you want it to change every time you reload the page you'd need to set the Cache Time to 0.
|
Благодарность от: | ||
MrSeth |
#3
|
|||
|
|||
So I simplified my code up a bit to this and it works, however, I'm not sure how to set the cache
|
#4
|
|||
|
|||
The cache time is a setting when you edit the block in the Forum Blocks Manager - you don't need any code for that.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|