View Full Version : vBulletin CMS Widgets - Youtube Videos Search Box (Widget)
desi-boy
01-11-2010, 10:00 PM
This is a simple Youtube Videos Search Box Widget
https://vborg.vbsupport.ru/external/2010/01/95.jpg
Create a new widget
Control Panel Home > vBulletin CMS > widgets > create new widget
Widget type : Static HTML
Title : Youtube Videos Search Box or other...
Description : bla bla bla bla
SAVE WIDGET
Click on Configure
<center>
<img src="http://www.a2wt.com/images/A2web/YouTubeLogo.jpg" height=35 width=160></br>
</br>
<form id="vb_yt_search-form" action="http://www.youtube.com/results" method="get" target="_blank">
<input id="vb_yt_search-term" name="search_query" type="text" maxlength="128" />
<select id="vb_yt_searcg-type" name="search_type">
<option value="">Videos</option>
<option value="search_users">Channels</option>
</select>
<input type="submit" value="Search" />
</form> </center>
and paste this code in Enter Static HTML & click save
Manage widget in Layouts manager & thats all
Demo (http://www.justdesiz.com/content.php)
silverfox_uw
01-12-2010, 11:27 AM
does this work for the forum sidebar?
desi-boy
01-12-2010, 03:28 PM
does this work for the forum sidebar?
yes
movslow
01-12-2010, 04:13 PM
yes
Very cool, I didn't know that.
Added mine to the forum sidebar, and it works great.
Thanks.
:up:
AzzidReign
01-12-2010, 05:26 PM
Hmm, I'll have to find a way to integrate this great mod.
RedHacker
01-15-2010, 10:37 PM
How to big the size of widget....?
desi-boy
01-20-2010, 08:04 PM
How to big the size of widget....?
use any html editer and add a what do u want i mean some lines, add ur logo or add a background image
Added as forum block..Awsome man
saghir
03-02-2010, 06:42 AM
nothing to disply ???
what is side bar and how can i enable
RedHacker
03-02-2010, 06:54 AM
nothing to disply ???
what is side bar and how can i enable
Add in layout manager of cms....?
Big-Pete
03-02-2010, 08:38 AM
I'd avoid the demo!! Had a popup on your site giving me a fake "My Computer" page, You might want to get that sorted!!
Baf_Jams
03-02-2010, 11:54 AM
yeah the Demo linked me to a Fake you got Virusus not good :(
But installed the program a treat
Thanks
saghir
03-03-2010, 10:57 AM
Add in layout manager of cms....?
i dont know about layout manager of cms,
i just go Control Panel Home > vBulletin CMS > widgets > create new widget
and out their coding , thats all
but nothing display
desi-boy
03-06-2010, 09:47 AM
I'd avoid the demo!! Had a popup on your site giving me a fake "My Computer" page, You might want to get that sorted!!
yeah the Demo linked me to a Fake you got Virusus not good
But installed the program a treat
Thanks
hiii friendzz i dnt use any pop up on my site chek your computer and secrtyyy system and demo link is not falke link ...
betts02
03-06-2010, 06:06 PM
Works great on v4.0.2 in a forum block, had to insert the image to my server to show
rastaX
03-13-2010, 04:51 PM
Nice! Just the thing for my Video Section.
Thanks, installed and rated.
12xbl
03-29-2010, 12:32 PM
Thanks ..... works great !
Anybody know if it's possible to show a YouTube Video in a widget, if so how ?
regards
12xbl
Marek58
03-30-2010, 07:21 AM
Polish version
http://img706.imageshack.us/img706/6182/youtubel.jpg
<center>
<img src="http://www.localize.fr.pl/forum_opisy/YouTubeLogo1.jpg" height=35 width=160></br>
</br>
<form id="vb_yt_search-form" action="http://www.youtube.com/results" method="get" target="_blank">
<input id="vb_yt_search-term" name="search_query" type="text" maxlength="128" />
<select id="vb_yt_searcg-type" name="search_type">
<option value="">Filmy</option>
<option value="search_users">Kanały</option>
</select>
<input type="submit" value="Znajdź" />
</form> </center>
goran424
04-18-2010, 07:45 AM
Sorry to be so bold, but since I'm total newbie, can someone explain to me how to install this in forum?
It works in CMS fine but I got no clue how to place it in forum.
Thanks in advance!
fayax
06-14-2010, 09:30 PM
Installed. thanks. Hosted the image at my own site like the others I am sure.
Sorry to be so bold, but since I'm total newbie, can someone explain to me how to install this in forum?
It works in CMS fine but I got no clue how to place it in forum.
Thanks in advance!
Its a widget. It will sit on the CMS only. Not the forum - to the best of my knowledge.
"BLOCKS" are for forums - widgets for CMS.
Am I right? anyone else?
Ken Sanders
06-15-2010, 12:20 AM
Nice mod, thanks!
Theater
06-15-2010, 03:24 AM
I got this to work on the Forum Blocks thanks to simonhind (https://vborg.vbsupport.ru/member.php?u=184382) who posted up a block template on another thread, and of course to the developer of this one for his code.
First create a block template:
1. Go to Admin CP > Styles & Templates > Style Manager > Add New Template
2. Name your template whatever you want. I named mine "youtube_search" -- just remember what you called it.
3. Paste in the following code into the template:
<li>
<div class="block smaller">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_title" href="#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_title"/></a>
<span class="blocktitle"><img src="{vb:stylevar imgdir_cms}/widget-forum.png" title="{vb:raw blockinfo.title}" alt="" /> {vb:raw blockinfo.title}</span>
</div>
<div id="block_title" class="blockbody floatcontainer">
<div class="blockrow">{vb:raw content}</div>
</div>
</div>
<div class="underblock"></div>
</li>Now create your Forum Block:
1. Go to Admin CP > Forums & Moderators > Forum Blocks Manager > Add Block > Select Block Type > Custom HTML/PHP
2. Give your Forum Block a name like "YouTube Search" for example, a short description if you wish, and for Content Type select HTML.
3. Paste in the follow code in the big Content box underneath:
<center>
<img src="[Replace This Image Path]/youtube.gif" height="66" width="150"><br />
<br />
<form id="vb_yt_search-form" action="http://www.youtube.com/results" method="get" target="_blank">
<input id="vb_yt_search-term" name="search_query" type="text" maxlength="128" />
<select id="vb_yt_searcg-type" name="search_type">
<option value="">Videos</option>
<option value="search_users">Channels</option>
</select>
<input type="submit" value="Search" />
</form></center>4. Important - Make sure for "Template to Use" that you put in the name of that template you created above. For example: youtube_search
That should do the trick. I'm not a coder, but I figure I'd share my results in case it helps someone else. I have attached the YouTube logo I'm using which is a transparent GIF which should work on most light themed forums.
https://vborg.vbsupport.ru/ (http://img443.imageshack.us/i/youtubel.gif/)
goran424
07-28-2010, 03:50 PM
I got this to work on the Forum Blocks thanks to simonhind (https://vborg.vbsupport.ru/member.php?u=184382) who posted up a block template on another thread, and of course to the developer of this one for his code.
First create a block template:
1. Go to Admin CP > Styles & Templates > Style Manager > Add New Template
2. Name your template whatever you want. I named mine "youtube_search" -- just remember what you called it.
3. Paste in the following code into the template:
<li>
<div class="block smaller">
<div class="blocksubhead">
<a class="collapse" id="collapse_block_title" href="#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_title"/></a>
<span class="blocktitle"><img src="{vb:stylevar imgdir_cms}/widget-forum.png" title="{vb:raw blockinfo.title}" alt="" /> {vb:raw blockinfo.title}</span>
</div>
<div id="block_title" class="blockbody floatcontainer">
<div class="blockrow">{vb:raw content}</div>
</div>
</div>
<div class="underblock"></div>
</li>Now create your Forum Block:
1. Go to Admin CP > Forums & Moderators > Forum Blocks Manager > Add Block > Select Block Type > Custom HTML/PHP
2. Give your Forum Block a name like "YouTube Search" for example, a short description if you wish, and for Content Type select HTML.
3. Paste in the follow code in the big Content box underneath:
<center>
<img src="[Replace This Image Path]/youtube.gif" height="66" width="150"><br />
<br />
<form id="vb_yt_search-form" action="http://www.youtube.com/results" method="get" target="_blank">
<input id="vb_yt_search-term" name="search_query" type="text" maxlength="128" />
<select id="vb_yt_searcg-type" name="search_type">
<option value="">Videos</option>
<option value="search_users">Channels</option>
</select>
<input type="submit" value="Search" />
</form></center>4. Important - Make sure for "Template to Use" that you put in the name of that template you created above. For example: youtube_search
That should do the trick. I'm not a coder, but I figure I'd share my results in case it helps someone else. I have attached the YouTube logo I'm using which is a transparent GIF which should work on most light themed forums.
http://img443.imageshack.us/img443/3860/youtubel.gif (http://img443.imageshack.us/i/youtubel.gif/)
Thanks for your help, works great.
ShadowStalker
01-14-2011, 02:25 PM
Thanks a lot
oldfan
04-08-2023, 12:16 AM
dont work on 4.2.5.php 7.2
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.