The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Help with YouTube / PHP / vBTube coding issue
I have the vBTube hack installed:
https://vborg.vbsupport.ru/showthread.php?t=173083 What I want to do is sort the results by most recent (published) as defined in the YouTube API docs (orderby=published): http://code.google.com/apis/youtube/...tml#Difference I have located what I think is the section of code that creates the query: ... Code:
function videos_listbytag($tag = NULL,$page = 1, $per_page = 20) { /* http://www.youtube.com/dev_api_ref?m=youtube.videos.list_by_tag */ $this->request("youtube.videos.list_by_tag", array("tag" => $tag, "page" => $page, "per_page" => $per_page)); $this->parse_response(); $result = $this->parsed_response['ut_response']['video_list']; return $result; } http://svn.symfony-project.com/plugi...phpYoutube.php Now I tried to just add it on the request line like: Code:
$orderby = "published"; $this->request("youtube.videos.list_by_tag", array("tag" => $tag, "page" => $page, "per_page" => $per_page, "orderby" => $orderby)); Can someone please help me with this? |
#2
|
||||
|
||||
up please anyone if you have clue please give some answer
|
#3
|
||||
|
||||
Noby can help with this PHP API issue?
I would really appreciate the help. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|