16
February
2012

How to install plugins on 1.4.3

Hi all,
Just wrote a manual on how to install plugins to version 1.4.3 check it out here

Installing a plugin in that version is easy and all plugins from this page have been tested on different server with lighttpd and apache.

We can not guarentee that plugins will work when you buy them from third party software developers.

If you have a request for a plugin use the forum to ask use, we already testing a youtube embedder, pornhub embedder and pornhub downloader.
They will come availible with the next version of JAVS: 1.4.4

1.4.4 will only solve some bugs we found (no security bugs)

From now on we will include an upgrade folder for people using 1.4.3

People that use 1.4.2 have to stick with that version or do a reinstall with 1.4.3 or later.
This is due the changes we made to Database and folder structure for the rotating thumbs.

 

Currently we also looking for a webdesigner and a SEO professional, contact us if you want to work with us.

 

Greetings rouge

 

26
January
2012

Using htaccess to set the right requirements

Last week I explained how to set the right requirements for our video script or any video script, this week I will explain how to do this even faster.

You need to open your .htaccess file and add this on top:

php_value upload_max_filesize 200M
php_value post_max_size 200M
php_value memory_limit 210M
php_value max_execution_time 1000
php_value max_input_time 1000

Some host allow this and some don’t but now you two options to set the right requirements.

There are even more ways of settings these values but I think this is all you need.

Next week I’m explaining this for lighttpd.

24
January
2012

New Version 1.4.3 released

Hi People,

We are proud to present you version 1.4.3,This version hgas lots of new stuff and will be the future for easy video scripts.

The new feature are:

  • Admin panel (complete renewal)
  • New advertising system
  • Admin Plugin manager
  • Faster and clear php code
  • 3 Free Templates
  • 79 bugs removed since 1.4.2
  • Improved HD support
  • JAVS 1.4.3 is checked for xss and sql inject with latest security tools.
  • Sitemaps auto generated
  • Email options for users
  • Social under player
  • Jquery duplicated video check in upload form
  • Jquery signup check

This list can go on for a long time but we think you should check it out, and if you like it help us out with buying a commercial license.

We have beta tested on several servers like cirtex hosting, certified hosting and on hosting managers.
The script is working on lighttpd with streaming plugin.

The script can be downloaded here: http://justanothervideoscript.com/downloads

Plugins can be found here: http://justanothervideoscript.com/plugins

There are pictures here: http://justanothervideoscript.com/demo/photo-gallery

But the most important, the demo can be found here: http://justanothervideoscript.com/demo

 

We hope you enjoy the new release… greetings the JAVS team

 

19
January
2012

Php.ini settings for video scripts

Hi All,

This is a small blog to explain how to set the write settings for a video script. The settings theusually needed adjustment are:
upload_max_filesize, post_max_size, memory_limit, max_execution_time, max_input_time

You can make a php.ini in your root directory and add:

upload_max_filesize = 200m
post_max_size = 200m
memory_limit =  220m
max_execution_time = 1000
max_input_time = 1000

upload_max_filesize is the max MB you can upload to your server with a php session.
post_max_size is the max MB you can send with a post from a form upload.
memory_limit is the max a session of php can use to do his stuff, if you going to encode videos it need to be bigger then the max video upload size.
max_execution_time is the time a script maybe running, for video encoding this needs to be longer if you encode bigger video (also depents on cpu and memory resources)
max_input_time is the time you input data back into php (if you have encoded a video and need to update database though php)

Too add the custom php.ini file to your site open .htaccess and on the top add/replace:

RewriteEngine on
suPHP_ConfigPath /home/<USERNAMEPATH>/public_html/

 

This will set the custom php.ini file on most shared hostings like certified, HostV, Cirtex and hosting managers.
I’m currently testing these hosting companies and see if there is any trouble with JAVS 1.4.3

Greeting rouge

14
December
2011

4 Beta tester needed

Hi All,

After changing most of the admin panel and adding a ton of options there to make it easy for a admin to control there settings, video’s, users, advertisement and SEO We have a beta release for version 1.4.3

We need a couple of people that want to install the script and test it out, preferable someone that is a little experienced with php/jquery coding and LAMP server.

New Features in front-end:

Rotating thumbs for video’s
Play page: favorite, flagging and downloading wihtout reloading
Added SHA1 instead of md5
Email control: users get emails if there friend to some1 (control in admin panel)
Title get cleaned from all unwanted characters and spaces (Bug repair)

New features Admin Panel:

New Fresh Layout (needs work done)
Settings are easier to control
Video manager with lots of cool features like:

  1. Video preview
  2. Regenerate duration/thumbs
  3. Edit video title/description/category/tags
  4. Video Thumb selection
  5. Ajax/jquery search page

User Manager to search and edit
Advertising manager to easy ad your ads to the site.

As you can see we have take the admin panel to the next level and only have to build a good plugin manager…

If you want to be a beta tester leave a comment under this blog…You get a nice thank you on this site.

23
November
2011

Screenshot new Admin Panel

Hi everyone that keeps mailing me with question when the new version comes out.
The new version will be a bigger update then the comment repair of last update.

I added a thumbnail rotator with some jquery, ofcourse this required me to change a lot of stuff in encode.php and the way we store the thumbnails. The default value of thumbnail making is 12 but you can change that. I also fixed some css problems with the templates. The biggest thing I added was email function on user action. This means when a user does stuff to the video website it can send mail. You can switch on/off what you want.
Actions that result in email are:

  • When user uploads a video and admin didn’t set ‘auto accept videos’, admin will get an email
  • When user uploads a video and it’s approved (automaticly or manual) he gets an email with the link
  • When a user has an new approved video his friends and subscribers get an email
  • When admin rejects a video
  • When a user sends a PM, the receiver gets an email
  • When a user sends a friend request, the receiver gets an email

These are some big changes and more will comes, I’m currently working on the admin panel. It has a new design and the Video handling is now done with jquery.
You can then manage your video’s without reloading the page. My intensions are to delete/update video in a lightbox.

I hope a lot of your questions have been answered with this blog, because I don;t have time to answer all your question now. Below you see  screenshots of the new admin panel.

28
October
2011

Github Repository for JAVS

We are now live so I need a way to keep up all the changes and still be able to work on my local computer.

I found github.com and they offer a cvs that is operated by commandline. <- awesome for nerds :)

You can see the github and contribute to the script there. Also you can always download the latest version from it and see what I have been changing.
I will be changing a lot because there is some code I already rewrote in classes. Like the getSetting() function and the probaly the encoding for video’s.

Check it out: https://github.com/JAvideoscript/JustAnotherVideoScript

26
October
2011

Settings mod_expire and mod_compress in Lighttpd

Last post I told you how to set mod_expire in apache, users mailed me how to set it in lighttpd.

First you need to uncomment the module in modules.conf (some lighttpd configs have this modules in lighttpd.conf itself)

server.modules = (
“mod_access”,
“mod_fastcgi”,
#  “mod_alias”,
#  “mod_auth”,
#  “mod_evasive”,
#  “mod_redirect”,
“mod_rewrite”,
#  “mod_setenv”,
#  “mod_usertrack”,
“mod_expire”,
“mod_compress”,
“mod_flv_streaming”,
“mod_h264_streaming”
)

The order of the module loading is important in lighttpd, so keep this order and you will be fine.

Example1 mod_expire:

#You can add this above your rewrite rules.conf
# mod_expire - image files expire 2 days after first access
$HTTP["url"] =~ "\.(gif|GIF|jpg|JPG|png|PNG|swf|SWF|ico|ICO)$" {
expire.url = ( "" => "access 2 days" )
}
# mod_expire - includes expire 1 day after first access
$HTTP["url"] =~ "\.(css|CSS|js|JS)$" {
expire.url = ( "" => "access 1 days" )
}
# Some versions of lighttpd may require the following directives for full functionality, uncomment if needed.
etag.use-inode = "enable"
etag.use-mtime = "enable"
etag.use-size = "enable"
static-file.etags = "enable"

Example2 mod_compress:
#mod_compress stores the compressed files to your filesystem and the second time the file is requested it will be send from your disk, only this time compressed.

$HTTP["host"] == "yourdomain.ltd" {
  compress.cache-dir         = "/tmp/compress.tmp/"
  compress.filetype          = ("text/plain", "text/javascript", "text/css", "text/xml")
}

Lighttpd is a good webserver but a little harder to setup then apache, if you need more help or a professional server setup, use the contact form to contact me.

16
October
2011

Setting mod_expire, mod_deflate and mod_headers in apache

With Mod_expire you can set the time a browser keep the image and when it has to renew it (Browser caching). On many websites you get a lot of .js, .swf and .jpg files you  only want to download once. The files almost never change and so the browser can keep them for a amount of time you can set.

Example 1 (apache .htaccess):
Open your .htaccess and add something like this.
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 1 seconds”
ExpiresByType text/html “access plus 1 seconds”
ExpiresByType image/gif “access plus 2592000 seconds”
ExpiresByType image/jpeg “access plus 2592000 seconds”
ExpiresByType image/png “access plus 2592000 seconds”
ExpiresByType text/css “access plus 604800 seconds”
ExpiresByType text/javascript “access plus 216000 seconds”
ExpiresByType application/x-javascript “access plus 216000 seconds”
</ifModule>

This code will work if apache has the module expires.

With mod_deflate module provides the DEFLATE output filter that allows output from your server to be compressed before being sent to the client over the network.
Example 2 (apache .htaccess):
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript

With Mod_headers module you can provide directives to control and modify HTTP request and response headers. Headers can be merged, replaced or removed.

Example 3 (apache .htaccess):

<ifModule mod_headers.c>
<filesMatch “\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$”>
Header set Cache-Control “max-age=2592000, public”
</filesMatch>
<filesMatch “\\.(css)$”>
Header set Cache-Control “max-age=604800, public”
</filesMatch>
<filesMatch “\\.(js)$”>
Header set Cache-Control “max-age=216000, private”
</filesMatch>
<filesMatch “\\.(xml|txt)$”>
Header set Cache-Control “max-age=216000, public, must-revalidate”
</filesMatch>
<filesMatch “\\.(html|htm|php)$”>
Header set Cache-Control “max-age=1, private, must-revalidate”
</filesMatch>
</ifModule>

ALL these examples can be placed in your .htaccess file. It will speed up your website and lower the number http request.

10
October
2011

Version 1.4.1 released

I just uploaded version 1.4.1 and you can now use the version you see on JAVSdemo.com

Now I will wait for people to start using it and write some manuals, tips, tricks and  instruction video’s.

New plugins will become availible like, a better image rotator and more downloaders. I got some request to make downloaders for dailymotion, pornhub, keezmovies and  dumpert(dutch site). I will make some of these and you can download them as a plugin.

I hope you enjoy the script and leave me a thank you on the forum

Forum: http://forums.justanothervideoscript.com/