SimplePortal

Customization => Custom Coding => Topic started by: Raji on December 06, 2010, 12:55:12 AM

Title: Youtube Block from my existing Youtube Board
Post by: Raji on December 06, 2010, 12:55:12 AM
Hello there,

I have YOUTUBE section/category on my site

http://baask.com/diwwan/index.php?board=53.0

Now I  need a block to display latest 2/3 (as par admin choice) topics (having youtube video) from the above mentioned section.

Please advice how can I get my desired output?

Thanks in advance for your prompt response


Raji
Title: Re: Youtube Block from my existing Youtube Board
Post by: AngelinaBelle on December 08, 2010, 12:13:18 PM
BoardNews block -- to display latest topics from one board.
 
Is this what you want?
Title: Re: Youtube Block from my existing Youtube Board
Post by: Raji on December 08, 2010, 01:31:59 PM
Yes you are right.

Thank you so much for your response.

Now may I re size these youtube videos as par my left or right block within SP? (means just display thumbneil of these videos)

Looking forward
Raji
Title: Re: Youtube Block from my existing Youtube Board
Post by: AngelinaBelle on December 08, 2010, 02:06:54 PM
SimplePortal is not set up to resize Youtube thumbnails.
If you have a look at how portal.js does this (function sp_resize is called by the onload event), and how you can recognize youtube thumbnails in these blocks, you can probably figure out how to get sp_resize to also resize these.
 
It could get messy, though. you'll want to test on a test forum.
SimplePortal 2.3.8 © 2008-2024, SimplePortal