A Small Fix For Phpmotion site in YOUTUBE GUIDE PLUGIN

This is forum to report Nuevoplayer 5 possible bugs and issues and to publish Nuevoplayer 5 fixes and updates.

A Small Fix For Phpmotion site in YOUTUBE GUIDE PLUGIN

Postby nomoreturn » Sun Aug 14, 2011 6:44 am

Hello i just perchasd YOUTUBE GUIDE PLUGIN for Phpmotion site Here is my site demo link http://pakmotion.com/videos/7053/I-Love ... na-kapoor-
its a great plugin . I have a small problem after installing it . At the end of video its shows guide but with no thumbs i mean to say its totally blank and i fixed it and now its working perfect if you guys have same problem with this plugin then just try to change this in guideyt.php

if ( isset($_GET['key'])) {
$id = trim($_GET['key']);

To


if ( isset($_GET['key'])) {
$id = trim($_GET['id']);

Note : Make a Backup First in case of some thing went wrong
Pakmotion.com
nomoreturn
 
Posts: 39
Joined: Thu Apr 21, 2011 12:01 am
Location: Pakistan

Re: A Small Fix For Phpmotion site in YOUTUBE GUIDE PLUGIN

Postby dargre » Tue Aug 16, 2011 12:07 am

No man, what you wrote is not correct. Default code is right.
Maybe that's why you have a problem with 4 related videos on guide.

config file calls: "guideyt.php?key=".$id."
so request param is 'key' and not id.

if ( isset($_GET['key'])) {
$id = trim($_GET['key']);

is correct.
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am

Re: A Small Fix For Phpmotion site in YOUTUBE GUIDE PLUGIN

Postby nomoreturn » Tue Aug 16, 2011 1:37 am

Thanks for reply but with default i dont have video thumbs and if i changed i got thumbs
Pakmotion.com
nomoreturn
 
Posts: 39
Joined: Thu Apr 21, 2011 12:01 am
Location: Pakistan

Re: A Small Fix For Phpmotion site in YOUTUBE GUIDE PLUGIN

Postby dargre » Tue Aug 16, 2011 2:26 am

As I wrote, original part of code is correct.
Your code also works but not properly. In case of your code $id is defined, but is empty.
So always same mysql query is executed as $id is always same....

I've looked at guideyt.php detaily and tweaked mysql query for related, which does search based on video title, as one based on tags is not enough for such script like Motion.

I have Nuevoplayer php motion demo site: http://motion.nuevolab.com
There's not much videos, so related vids often cannot be found - then random vids are taken.
And it looks that such code works as expected.

I've reuploaded guideyt plugin (for phpmotion) with new "guideyt.php" file - so you can try.
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am

Re: A Small Fix For Phpmotion site in YOUTUBE GUIDE PLUGIN

Postby nomoreturn » Tue Aug 16, 2011 11:13 pm

dargre thanks for being so help full i re upload the original and its works some time and most of time i dont have any thumbs just have blank boxes
Pakmotion.com
nomoreturn
 
Posts: 39
Joined: Thu Apr 21, 2011 12:01 am
Location: Pakistan


Return to Nuevoplayer 5 Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron