View Full Version : second xspf ?
samah
06-08-2010, 01:51 PM
hello ..
I need your help guys :)
I'm using a video plugin and I want to show 2 video box
The first One will read from the first Playlist xspf and the second from xspf2
how can do that ?
I think I have to edit url handler and htaccess .. but I'm not sure .
samah
06-08-2010, 08:36 PM
your help ?!!!
any sugestions guys :( ?
samah
06-09-2010, 10:41 AM
hi ..
I do this Way ..
1- create new handler php file ( xspf_url_handler2.php )
2- Regist 2 variables in the Configuration table named as xspf2 , and use the handler file as well ( xspf_url_handler2.php )
3- duplacate the tple box ( plugin_video_box2.tpl ) and call the xspf2 I'v created ..
s2.addVariable("file","<vte:value select="{VIVVO_URL}" />xspf2/index.html");
4- hmm .. I don't know if I should change somthing on htaccess RewriteRule :rolleyes: ??
coz when I'm trying to access my xspf2 file ..http://www.MYDOMAIN.com/vivvo/xspf2/index.html still not work !
this dose not work with me :(
Is there any thing wrong or Missing ?
andor
01-04-2011, 11:13 PM
Hi Samah
Make sure you follow all the defined templates and files:
You have to duplicate the templates/_syndication/xspf.tpl file as well... In my case I'm creating a differently formatted xml document feed, so I created xspf_02.tpl
And make sure you reference this duplicated template in the xspf_url_handler2.php file here:
$template =& $sm->get_template();
$template->set_template_file(VIVVO_FS_ROOT . 'templates/_syndication/xspf_02.tpl');
If you don't do this, you're just pulling the same data, and you won't see any difference except due to search parameters you might change in the video box tpl file
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.