Jump to content


Photo
* * * * * 1 votes

ftp upload module for free.


  • Please log in to reply
29 replies to this topic

#1 zayarln

zayarln

    Member

  • Members
  • PipPipPip
  • 81 posts

Posted 25 June 2011 - 03:43 AM

attpo.jpg



Before do anything you may need to backup your files.
===============================================================

upload all files to server via ftp.

Edit if ($handle = opendir('/home/Your-name/public_html/media/videos/vid')) at choosefolder.php

Edit templates/backend/default/leftmenu/videos.tpl

Find <li><a href="videos.php?m=embed">Embed Video</a></li>

add below <li><a href="videos.php?m=add_local">Add Video From Local Server</a></li>

Edit choosefolder.php

Find if ($handle = opendir('/home/xxx/public_html/media/videos/vid')) {

Replace with your vid location.

That all.



Before you insert video you must upload your video that you want to /public_html/media/vidoes/vid.

Then go to http://www.yourdomai...dmin/videos.php.

Click Add Video From Local Server on left menu.

Choose the video file that you want to add.(Any format of video extension.)

This mod is free for all.

Buy me somemore Beer if you like my mod. :D

Edited: to work all version of php, replace below code in choosefolder.php.

<select name="file" id="file">

<?php
if ($handle = opendir('/home/xxxxx/public_html/media/videos/vid')) {
while (false !== ($file = readdir($handle))) {
if ($file != 'index.html' && $file != 'index.php' && $file != '.' && $file != '..') {
?> <option><?php echo "$file\n "; ?></option> <?php
}
}
closedir($handle);
}

?>
</select>

If any problem, just let me know.



Smiley for Video Comment : http://forums.adultv...read.php?t=3362

Attached Files


Edited by zayarln, 16 October 2013 - 04:29 PM.

  • Damien likes this

#2 zayarln

zayarln

    Member

  • Members
  • PipPipPip
  • 81 posts

Posted 25 June 2011 - 08:43 PM

wooo! Nobody even say thank. :(

#3 Kernel

Kernel

    Senior Member

  • Members
  • PipPipPipPip
  • 342 posts

Posted 26 June 2011 - 05:13 AM

This is a great module,


I'm looking for remote convrtion module, can you build this? (i have a full feature list required. )

#4 Agenda

Agenda

    Banned

  • Banned
  • Pip
  • 16 posts

Posted 26 June 2011 - 09:20 AM

Thank you zayarln works great!
can you build external upload module? to put a direct link of a video and grab to server etc..

#5 zayarln

zayarln

    Member

  • Members
  • PipPipPip
  • 81 posts

Posted 26 June 2011 - 01:35 PM

Thank you zayarln works great!
can you build external upload module? to put a direct link of a video and grab to server etc..


Can you tell me detail?

#6 Agenda

Agenda

    Banned

  • Banned
  • Pip
  • 16 posts

Posted 26 June 2011 - 01:47 PM

check your pm

#7 jaimedelano

jaimedelano

    Junior Member

  • Members
  • Pip
  • 15 posts

Posted 26 June 2011 - 10:26 PM

Thanks, zayarln!

#8 szexbookcom

szexbookcom

    Junior Member

  • Members
  • Pip
  • 2 posts

Posted 07 July 2011 - 06:39 PM

Big up and respect to the OP! amaizing.

#9 miracle

miracle

    Junior Member

  • Members
  • Pip
  • 4 posts

Posted 20 September 2011 - 05:38 AM

Thanks I'm going to try this!

#10 sam

sam

    Junior Member

  • Members
  • Pip
  • 7 posts

Posted 15 October 2011 - 11:11 AM

this mod not work with avs 1.3?

#11 zayarln

zayarln

    Member

  • Members
  • PipPipPip
  • 81 posts

Posted 15 October 2011 - 02:57 PM

this mod not work with avs 1.3?


I never been tried.

#12 sam

sam

    Junior Member

  • Members
  • Pip
  • 7 posts

Posted 15 October 2011 - 03:10 PM

I never been tried.


is not work. video and thumb images are not showing

#13 zayarln

zayarln

    Member

  • Members
  • PipPipPip
  • 81 posts

Posted 27 October 2011 - 10:38 PM

is not work. video and thumb images are not showing


Yeah. I made for version 2.1. Needed some modification for old versions.

#14 GILBERTO

GILBERTO

    Senior Member

  • Members
  • PipPipPipPip
  • 264 posts

Posted 28 October 2011 - 04:01 AM

but this is not even working for me in 2.1 video never convert and thumbs not there

#15 romulus

romulus

    Junior Member

  • Members
  • Pip
  • 2 posts

Posted 05 November 2011 - 01:18 AM

Thanks! Just what I was looking for!!!!

#16 neomon

neomon

    Junior Member

  • Members
  • Pip
  • 10 posts

Posted 05 November 2011 - 08:28 PM

nice! thanks!!

#17 Hashi0

Hashi0

    Junior Member

  • Members
  • Pip
  • 6 posts

Posted 11 November 2011 - 12:53 AM

I have some issues with the mod, i can see "Add Video From Local Server" on the left menu, but when i klick on it nothing happens...
/siteadmin/videos.php?m=add_local
this is the ending of the path, I feel pretty lost since i've tried to fuiger out where i might have gone wrong, can you pls pm me where exactly all the components should be so i can compare them with my own?

Many thnx in advance :)

#18 zayarln

zayarln

    Member

  • Members
  • PipPipPip
  • 81 posts

Posted 11 November 2011 - 03:28 PM

PM me your ftp login detail.

I have some issues with the mod, i can see "Add Video From Local Server" on the left menu, but when i klick on it nothing happens...
/siteadmin/videos.php?m=add_local
this is the ending of the path, I feel pretty lost since i've tried to fuiger out where i might have gone wrong, can you pls pm me where exactly all the components should be so i can compare them with my own?

Many thnx in advance :)



#19 zayarln

zayarln

    Member

  • Members
  • PipPipPip
  • 81 posts

Posted 14 November 2011 - 01:01 AM

I got your info and done. Enjoy man.
Change your login detail for security reason.



I have some issues with the mod, i can see "Add Video From Local Server" on the left menu, but when i klick on it nothing happens...
/siteadmin/videos.php?m=add_local
this is the ending of the path, I feel pretty lost since i've tried to fuiger out where i might have gone wrong, can you pls pm me where exactly all the components should be so i can compare them with my own?

Many thnx in advance :)



#20 Hashi0

Hashi0

    Junior Member

  • Members
  • Pip
  • 6 posts

Posted 19 November 2011 - 11:53 AM

It works great!!! :D :D great job Mate :)

Manny Thanx! :D
compliments for the good job!

Attached Files

  • Attached File  uv.JPG   52.81KB   22 downloads
  • Attached File  pv.JPG   54.06KB   21 downloads
  • Attached File  SO.JPG   12.48KB   16 downloads
  • Attached File  BLA.JPG   17.41KB   18 downloads
  • Attached File  aff.jpg   55.97KB   23 downloads