[ Video Sharing CMS v4 ] Sanishan's changes of PHPVibe 3.3 RC 2

Started by sanishan,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sanishanTopic starter

Hi @Mario

I have complete the implement the Title and Description rewrite using  synonym   database, If you have time i could send you my Code with DB SQL files at your email. (PM your email).

If you think its good then i will share with other people.. otherwise I can't.

Also i am working on YouTube Direct Search Result Just like in 3.1 when someone click on the youtube video its import automatically in database. (only register users).

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Martin

sanishan can u please post this for us... I'm looking for the youtube search just like youtube 3.1


or if it's possible Mario to add it as a patch the current version..

also Mario I never though about that before but we are missing

Personal Messaging system between users u know?

Marius P.

Quote from: Martin on
Personal Messaging system between users u know?

I will add that and a wall upgrade to buzz as plugins, right now focusing on the framework more.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Hi @Mario!

I have created a site which is rewrite the title/description for auto import or 1by1 youtube video import

and also My customized version also create the thumbnail for upload flv/mp4 video with duration fetch.
Demo: http://taaji.com/


I am working on some issue/problems to display final thumbnail in the thumbnail area and also hide the thumbnail upload filed. BTW thumbnail image detail store in hidden filed just like you store upload video file in hidden vfile field.


Plz don't upload adult content (Thanks).

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

I saw it, cool. Did you use ffmpeg?
You should put a warning after the upload that the thumb is processing cause it takes a bit and you have the impression it fails.


Add an id for the div with class control-group that holds the thumb, hide it by default, once thumb is generated don't show it, if thumb fails, show it.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
I saw it, cool. Did you use ffmpeg?
You should put a warning after the upload that the thumb is processing cause it takes a bit and you have the impression it fails.


Add an id for the div with class control-group that holds the thumb, hide it by default, once thumb is generated don't show it, if thumb fails, show it.

Yes i am using ffmpeg, i am not to good with javascript, but i am doing my best to solve this issue,

About the warning i don't know how i can do that, because i am using upload.php file to generate thumbnail you know upload.php response in json to show us the final output, i don't know how i can send pre message to display warning that thumbnail generating in progress or etc..

about the upload field hide.. you option is great.. its could be done easily :)

Also i am planning if ffmepg did not able to get the duration of the video then its display message that uploading failed.. because ffmpeg able to determinate that file is corrupt of not.. no duration file corrupt or not supported :)

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

JQuery hide and show it's enough.
I would suggesting using 2 php files launching the thumb one after the upload via jquery, this way you know what you are dealing with, when upload finished, when thumbnail finished, and if you have a thumbnail.
Thumb generation may fail due to other issues, not only corrupted file...
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

I have made that change, hide thumb upload filed and show thumbnail if its generated...

I don't have any idea to using jquery to display message thumbnail in progress if uploading complete :(

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Martin

sanishan can u share with us the script to search from youtube?

sanishanTopic starter

Quote from: Martin on
sanishan can u share with us the script to search from youtube?

I don't have make this yet.. I will do that soon.. Right know i am working on things on phpvibe, like thumbnail generating.

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

 ??? "the script to search from Youtube" is already in the admin panel, it's a 8 lines of code copy to com_search and input it in the search results...
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
??? "the script to search from Youtube" is already in the admin panel, it's a 8 lines of code copy to com_search and input it in the search results...

I know i have already checked it.. but the problem is make this to add in database if someone click on the video, i don't want to use php to display result i want to use javascript (youtube json api) to display result to prevent from  google/search engine to display in indexed as spamming..

I hope you understand ..

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

sanishanTopic starter

This will also reduce the server resource, and javascript will use the user bandwidth to display youtube result.

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

Yes, I understand, this why I've left this out, to prevent clients from getting banned and then blaming it on us (like the hundreds of times before this release ).
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

@mario, json option is great to use using javascript.

BTW mario, your search_com is using the database to display result, your function like getYoutubeSearchVideosFeeds fetch the data from youtube directly, i want something like that using javascript..

BTW i have almost created the code, and working on jquery to add result in database (if user register only)..

Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

Youtube has js api, you can inject them dynamically as page elements, should not be complicated.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
Youtube has js api, you can inject them dynamically as page elements, should not be complicated.



I need your help, let me know what PHP function i need to use to insert youtube video in database?

like
$vid = new Vibe_Providers();

if(!$vid->isValid(_post('vfile'))){
return '<div class="msg-warning">'._lang("We don't support yet embeds from that website").'</div>';
}
$details = $vid->get_data();

OR
something like  (if you have any function which support video id inserting in database please give  it to me :) )
youtube_import($youtube_id){
insert youtube video in DB (with discription, title etc)..
}

If you have anything please give me.. i am almost done the script :(

THanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

sanishanTopic starter

Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.



youtube_import($youtube_id){



I've written a dedicated function :)
What are you doing in the video embeds class? :)
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on

youtube_import($youtube_id){



I've written a dedicated function :)
What are you doing in the video embeds class? :)

hehehe i am not doing anything.. i just moving around in  your script to understanding your coding ..

BTW its my idea.. i have made this function name.. i don't know its is in your youtube.php file :)

let me clear what i want to do..

in config_vibe.php fiel

i have defind a variable..
define( 'add', 'add' );

in index.php file
case add:
        $com_route = ABSPATH."/com/com_add.php";       
        break;

i have created a new file /com/com_add.php
and then my URL look like this..

http://website.com/add/youtubeid

in /com/com_add.php file i will use a function to insert youtube video in db and redirect to the watch URL

YouTube search function will be only for register user.

Thanks,


Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

Sounds good technically! I did the same in V2, keep it for registred only!
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

Quote from: @Mario on
Sounds good technically! I did the same in V2, keep it for registred only!

So know i need your help to fetch the youtube detail like description, keywords, title etc. and the mysql query to add data in database..

I am waiting..
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

Marius P.

You just need to pass that youtube id to that function, and it will do all the rest, grab them, add them to database.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

sanishanTopic starter

ahhh Finally able to get result from YouTube and also when someone click on video its added in database and display the video to the users :)

What i have done with this script..

1. Script able to rewrite the whole description and title using synonym
2. Ability to create thumbnail uploaded Mp4, FLV files using ffmepg
3. Search Directly from Youtube (without server side bandwidth usage - youtube json api) and when someone click on video its redirect to the watch video (after added in database). only for register users..


Next Planning:

1. Dynamic Pages system
2. Ads Management system :)


Thanks,
Free PHPVibe Professional Customized Plugin http://phpvibemod.com/
  •  

repute

Sounds great are these mods available for purchase?
  •  

Similar topics (7)