how to add youtube video below header?
You can use the embed codes from youtube,just for the main page in BoardIndex.template.php and for every pages you need to use index.template.php for placing the embed codes
i will change the video daily
so i need a mod
you might want to use this one. you can do a lot with it.
http://custom.simplemachines.org/mods/index.php?mod=351
i try this but it ad the video to every page.
i just wanted to add on My Homepage (index page)
Then you'll want to edit BoardIndex.template.php and put the code you put in that mod in that file.
ok. if there is not any mod what can I do?
just tell me how/where to put the code.
and also tell me that i wanted to add News.
Left Hand Side "Youtube" Right Hand Side "News"
how can i do that?
This is an interesting way of achieving that using mods. Install this mod:
http://custom.simplemachines.org/mods/index.php?mod=2681
Or might you already have a video embedder mod like Aeva Lite or something? In any case, with one of those two mods installed, you can add a news item and paste a YouTube link as one of the news items (or the only one if you only want that one to show).
That will also allow your users to embed YouTube and many other video service URLs into posts.
i try aeva. but how can i add the youtube below header along with news?
Aeva is for adding video to post
Well, as far as I know there is no mod to add a video to the board index. I tried what I suggested out (not using aeva but the one I mentioned) and it mostly worked. I had three items in the rotation but only the youtube one worked. In any case, if you want to have a YouTube video on the board index, I believe the way to achieve that is to edit BoardIndex.template.php.
Look for:
/* Each category in categories is made up of:
Your code should go just above that.
Have you tried a portal block .... such as Tiny portal or simple portal ? That is how i did mine at one time. Then you can add the bbc code and put it where ever you like to put it.
LainaaWell, as far as I know there is no mod to add a video to the board index. I tried what I suggested out (not using aeva but the one I mentioned) and it mostly worked. I had three items in the rotation but only the youtube one worked. In any case, if you want to have a YouTube video on the board index, I believe the way to achieve that is to edit BoardIndex.template.php.
Look for:
Code: [Select]
/* Each category in categories is made up of:
Your code should go just above that.
well. i will change the video daily so editing is not a perfect idea.LainaaHave you tried a portal block .... such as Tiny portal or simple portal ? That is how i did mine at one time. Then you can add the bbc code and put it where ever you like to put it.
thanks for waisting my time. this mod is not good for a forum
Your very welcome, I aim to please via waisting your time.
I doubt MC73 wasted any of your time. If you change it daily, how are you changing it now or is that your plan? Without a mod dedicated to do what you need, you could pursue the avenue I mentioned. I don't have aeva installed so I cannot tell you if it works, but pasting in a YouTube URL in the News area worked with Simple Audio Video Embedder. It certainly took over the news area. Are you using your News as well? Without a dedicated mod to achieve what you're asking for or dedication to edit your BoardIndex.template.php file, I'm not sure what else to say.
ok. where can i request for a new mod?
Mod Requests (http://www.simplemachines.org/community/index.php?board=79.0)
Thank you very good information.
Any updates to this? I'd agree with mashby on this though, there is no straight forward way to do this without mods,
and I know of no mod that would do exactly what you are asking.
Lainaus käyttäjältä: mashby - toukokuu 26, 2011, 10:49:33 IP
I doubt MC73 wasted any of your time. If you change it daily, how are you changing it now or is that your plan? Without a mod dedicated to do what you need, you could pursue the avenue I mentioned. I don't have aeva installed so I cannot tell you if it works, but pasting in a YouTube URL in the News area worked with Simple Audio Video Embedder. It certainly took over the news area. Are you using your News as well? Without a dedicated mod to achieve what you're asking for or dedication to edit your BoardIndex.template.php file, I'm not sure what else to say.
To add to mashby's solution, place it in the Newsfader using the html or iframe code. That way you can set it to whatever size you want manually. The trick is to maintain the ratio 1.33 : 1 or widescreen.