


Search (advanced search) | ||||
Use this Search form before posting, asking or make a new thread.
|
08-18-2012, 09:40 PM
(This post was last modified: 08-18-2012 09:42 PM by Mayne.)
Post: #1
|
|||
|
|||
[GET] Video Sharing - Adfly + Facebook script
How to instal.
When u download my script - create a database and import database from MySQL folder. Copy all files from folder "upload" to your root. After that you need to put 777 write permition on folder cache. After that change your database info in db.php. In thumbs folder there is play button. When user add video my script get thumbnail from youtube and overlay this play button so on facebook it looks like u shared youtube clip. Make this thumb folder 777 too. Now I will paste here file list end explain what every file does so you can add your code Demo is here Code: http://www.mmo4um.com/ Code: http://i.imgur.com/mv1Hd.png Cache.class and clear - files for caching system db.php - file for database conection earnmoney.php - page where you can promote your work getvideo.php - when u insert Youtube link this file add all information to database and create a new page for your video headerl.php - this files generates links in header so if user is loggedout then he can see register link - if he is logged in then he can see my videos Welcome note... Insert.php - file for inserting youtube link l.php - file for login proces login.php - Login page and landing page after registration logout.php - loggut myvideos.php - I made this file so users can se their own videos. On every video page I made posted by (123456) so when u click there u can see all videos from one person register.php - register (with captcha integrated) RENAME ME clip delete.php - you need to rename this file and insert your adfly id there. With this file you can delete videos. when u find video u want to delete just copy number of video and paste there - click submit and it will be deleted video.php - file where your visitors can watch 1 video after go trough adfly.. on video.php I include facebook like button share button, linkedin, reddit, twitter and you can send video on email After this u just register like every other user paste urls on insert pages and u can share your videos and earn a lot of money (or 36$ like me) Magic Button : |
|||
08-20-2012, 05:20 PM
Post: #2
|
|||
|
|||
RE:
script dont work for me
|
|||
08-21-2012, 10:24 AM
(This post was last modified: 08-21-2012 11:38 AM by Curse Juan.)
Post: #3
|
|||
|
|||
RE:
i love the script and how it works, i was wondering if you can implement a force share facebook button, :)
below is the code btw: Code: <div id="fb-root" class="fb_reset"><script type="text/javascript">//hdwindow.fbAsyncInit = function() {FB.init({appId: 'APP ID', status: true, cookie: true, xfbml: true});FB.Event.subscribe('edge.create', function(href, widget) {document.getElementById('share').style.display = "block";document.getElementById('liked').style.display = "none";});/* All the events registered */FB.Event.subscribe('auth.login', function(response) {// do something with response});FB.getLoginStatus(function(response) {if (response.session) {// logged in and connected user, someone you know}});};(function() {var e = document.createElement('script');e.type = 'text/javascript';e.src = document.location.protocol +'//connect.facebook.net/en_US/all.js';e.async = true;document.getElementById('fb-root').appendChild(e);}());function streamPublish(name, description, hrefTitle, hrefLink, userPrompt){FB.ui({method: 'stream.publish',message: '',attachment: {name: 'Top Blue Linkable Text Shared On user Wall',caption: 'Add Caption Text Here',description: ('Site Description HERE'),href: 'http://www.YOUR-SITE.com',media: [{ 'type': 'image', 'src': 'http://IMAGE-URL.com', 'href':'http://www.YOUR-SITE.com'}],href: 'http://www.YOUR-SITE.com'},action_links: [{ text: 'Add action Link text', href: 'www.YOUR-SITE.com' }],user_prompt_message: 'Message text'},function(response) {if (response and& response.post_id) {window.location = "http://www.REDIRECT-AFTER-SHARE.com";} else {alert('You must share this to view content');streamPublish();}});}</script><center><p align="center"></p><p align="center"><img onclick="streamPublish()" src="IMAGE-CLICKED-FOR-POPUP.gif" border="0"></p><div style="position: relative; width: 400px; height: 100px;"><div></div></div></center></div> here is a demo of my own viral script made by a noob btw :P demo: http://viralvidzhaven.com/fbchallenge/ success page: http://viralvidzhaven.com/fbchallenge/co...tions.html i hope you can implement the code ;) EDIT: I got errors on the homepage :( Warning: fopen(/cache//) [function.fopen]: failed to open stream: No such file or directory in /home/a8617043/public_html/cache.class.php on line 65 Warning: fwrite(): supplied argument is not a valid stream resource in /home/a8617043/public_html/cache.class.php on line 66 Warning: fclose(): supplied argument is not a valid stream resource in /home/a8617043/public_html/cache.class.php on line 67 something around this section of the cache.class.php $handle = fopen($this->cacheFile, 'w' ); fwrite ($handle, $html ); fclose ($handle); please help @Mayne |
|||
08-21-2012, 10:22 PM
Post: #4
|
|||
|
|||
RE:
Can we do this.When user click on play button then that is auto liked on facebook or auto share on fb wall?Can we just overlay a same play button but actually a hidden like button so when user click that he will like and player actual button is show once again.
|
|||
08-22-2012, 03:11 AM
Post: #5
|
|||
|
|||
RE: | |||
08-22-2012, 07:20 AM
Post: #6
|
|||
|
|||
RE:
you register with your adfly id and you are set.
|
|||
08-22-2012, 07:55 AM
Post: #7
|
|||
|
|||
RE:
any fixes?
|
|||