Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-03-2008, 10:47 AM
New Pligger
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Related Videos - VidSnapr instead of WebSnapr Images

Hi!

If you want to show related videos for a site: just replace the websnapr code by:

Code:
<div id = "vs" style="float:right; padding-left:10px;padding-top:35px;"><script type="text/javascript" src="http://www.vidsnapper.com/js1/url.php?width=150&url={$url_short}"></script></div>
I use it in the link_summary.tpl located in the \templates\yget\ folder (or in any other template folder).

Installation guide:

So search for

Code:
<div class="toptitle" id="ls_thetitle-{$link_shakebox_index}">
and put the following after the code searched:

Code:
<div id = "vs" style="float:right; padding-left:10px;padding-top:35px;"><script type="text/javascript" src="http://www.vidsnapper.com/js1/url.php?width=150&url={$url_short}"></script></div>
Nice feature anyway.

By the way: the script scans the page and displays the best matching youtube video.
Reply With Quote
The Following User Says Thank You to dev55 For This Useful Post:
  #2 (permalink)  
Old 05-04-2008, 04:58 AM
New Pligger
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks dev55
Reply With Quote
  #3 (permalink)  
Old 05-06-2008, 10:05 AM
New Pligger
Pligg Version: 9.9
 
Join Date: Mar 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
any examples plz

Reply With Quote
  #4 (permalink)  
Old 05-16-2008, 01:27 PM
New Pligger
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Great thing! Better than digg.
Reply With Quote
  #5 (permalink)  
Old 05-16-2008, 02:10 PM
Casual Pligger
Pligg Version: 9.8
Pligg Template: forum
 
Join Date: Oct 2007
Posts: 51
Thanks: 9
Thanked 1 Time in 1 Post
Great script but displays the wrong video from youtube
Reply With Quote
  #6 (permalink)  
Old 05-31-2008, 01:04 AM
Bargainhunter's Avatar
Casual Pligger
Pligg Version: 9.9
Pligg Template: yget
 
Join Date: May 2008
Posts: 39
Thanks: 8
Thanked 0 Times in 0 Posts
Works except you need to over write the websnapr code, as you said, not your boxed example as you showed.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
select images for submission in development ivytony Modification Tutorials 44 11-28-2008 05:38 PM
Related links AnAlienHolakres3 Modification Tutorials 9 08-24-2008 01:29 AM
Does anyone have problems with WebSnapr not displaying images? xmlham General Help 0 07-20-2008 03:26 PM
Videos: Extraterrestrial World Contact (June 6th) Antoll Off-topic 0 01-28-2008 10:18 AM


Search Engine Friendly URLs by vBSEO 3.2.0