The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
I found it under Admin -> Extend -> Module Manager -> Premium -> config -> +Player
I forgot about this section, thanks!
I know you have to select under the Video's /admin/index.php?q=video/edit&id=## in the admin panel whether it will be for mobile or not. I'd say you need to run a query which will switch that value in the tables for each video to support mobile or not. I'm not a database admin/programmer though so good luck!
use apache streaming is more stable
No thanks. If anything, I'd switch to nginx
config={"key":"#$158ae7b30c36e62c71d","logo":null,"clip":{"autoPlay":false,"autoBuffering":true,"bufferLength":3,"accelerated":true,"scaling":"scale","provider":"lighttpd","duration":30},"playlist":[{"url":"http://localhost/asp/media/videos/tmb/000/002/274/1.jpg","duration":3,"autoPlay":false,"autoBuffering":true,"bufferLength":3,"accelerated":true,"scaling":"scale","provider":"lighttpd"},{"url":"http://domain.net/media/videos/flv/11.flv","main_video":true,"autoPlay":false,"autoBuffering":true,"bufferLen...tpd":{"url":"http://domain.net/modules/premium/player/flowplayer.pseudostreaming-3.2.9.swf"},"popup":{"url":"http://domain.net/modules/video/player/flowplayer.content-3.2.8.swf","display":"none","top":5,"left":5,"right":5,"bottom":5,"width":640,"height":460,"closeButton":false,"backgroundGradient":"none","backgroundColor":"#000000","border":0,"html":"<a href=\"http://domain.net/premium/register/\"><img src=\"http://localhost/asp/templates/default-pink/images/premium.jpg\" /></a>"}},"playerId":"player"}As you can see http://localhost is being called for certain things such as the thumbnail. I'd like to know where to change localhost. I found
define('THUMB_URL', MEDIA_URL.'/videos/tmb');but I don't know where MEDIA_URL is defined.
Any advice would be helpful.
Can you show a screenshot of the "ASP logo"? I have no idea what you mean.
I'd have to say that people get into this thinking it'll be easy and, well, that's bullshit. You need to know system admin stuff (I've been a Linux system admin for 3 years), and web design/development. Or, you need to pay someone to do it for you, which, well, costs A LOT. Then, the server required to support it, the time it takes, etc. Plus, there are 100s of these tube sites and no one is making it unique enough.
Clicking on the 0 button/link under Albums next to the PornStar : http://imgur.com/xHM5j shows "Invalid admin pornstar component specified!"
http://domain.net/admin/index.php?q=por … lbums&id=2 is the URL.
Any ideas what this means and how to fix it?
Comment the server.username and server.groupname with # in the lighttpd.conf file and then restart lighttpd.
Done. Works. Thanks!
hello,
I did everything here, but when trying to play the video it says:
200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip] 'http://kosimak.com:81/stream/ff3c91b6fdb93253420edefdf3da8c4c/4f1dcfb0/flv/3.flv''
any idea?
Make sure to set server.document-root = "/home/USER/public_html" in the /etc/lighttpd/lighttpd.conf for anyone getting 404 issues.
However, I now am experiencing an issue with loading content from http://127.0.0.1:8080/media/videos/flv/8.flv. 403 Forbidden to be exact.
I have
server.username = "lighttpd"
server.groupname = "lighttpd"
in the conf.
But changing the videos folder and everything in it to lighttpd:lighttpd does nothing. Still 403.
I know I'm late on this, but do it.
Do you guys have any special setup? Like, are you using lighttpd to stream with apache? Is it just all on apache? Or all on lighttpd?
Can't seem to get this line working:
wget -c ftp://ftp.videolan.org/pub/x264/snapsho … 64.tar.bz2
Keeps giving me the error below. Retries and then eventually gives up.
--2012-06-29 22:07:10-- ftp://ftp.videolan.org/pub/x264/snapsho … 64.tar.bz2
(try:13) => `last_x264.tar.bz2'
Connecting to ftp.videolan.org|88.191.250.2|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/x264/snapshots ... done.
==> SIZE last_x264.tar.bz2 ... 554057
==> PASV ... couldn't connect to 88.191.250.2 port 39041: Connection timed out
Retrying.
Use http:// mirrors and not ftp://. I had the same problem.
So I have a question about this. The script looks for ffmpeg in /usr/bin, not /usr/local. I COULD create symlinks, but I wanted to be sure I wasn't missing something painfully obvious.
Thank you sooo much! The logic is understood.
Got a problem. Since the upload button in the menu still shows, I'd like to know the best method of achieving it's hidden status for Registered/non-premium users. I've looked in the extend\plugins\menu_main.plugin.php file and found where it handles some of the upload button, but I'm not sure what would be the best method of hiding it using the VAuth::group('Premium') method.
Any insight would be appreciated.
Thanks again!
Wow! It's identical to the one I wrote. Just what I needed. Thanks!
Correct, which is what I'm doing. I'll work on this later, thanks again.
Awesome. Thanks.
I may not have explained what I'm trying to do properly. I want to REMOVE the upload button and link from the site if they are not Premium.
Can I use VAuth::check('Premium'); ?
After research, I've found what I need I think but still have some questions.
I want to disable the Upload button and link for a user who is not premium. When a non-premium user clicks it, it just takes them to the home page and says you're already logged in.
Therefor, I want to use modules/user/components/login.php to set a cookie saying whether a user is premium or not.
In login.php at line 105 I see:
if (isset($remember) && $remember == 'on') {
VCookie::set('username', md5($user['username']), (30*86400));
VCookie::set('password', $user['password'], (30*86400));
}I can set it to:
if (isset($remember) && $remember == 'on') {
VCookie::set('username', md5($user['username']), (30*86400));
VCookie::set('password', $user['password'], (30*86400));
VCookie::set('premium', $user['premiumornot'], (30*86400));
}But the premiumornot section is what I'm wondering about. How does the software check for premium? If someone can clarify I can set this up.
Changing a user to premium within the admin panel shows:
Query: INSERT INTO user_premium SET user_id = 4, start_date = '', end_date = '', credit = 0, status = '1' LIMIT 1
Error Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 7
Error Number: 1064
At which point all of my users disappear from http://domain.com/admin/index.php?q=user 's listing. I only see anonymous. EDIT: They are back. *shrug*. SQL error still exists.
I checked PHPMYADMIN and it shows the users still there and I can use them to log in to the site and admin panel.
Server version: 5.1.63-cll MySQL Community Server (GPL)
PHP 5.3.13 (cli) (built: Jun 30 2012 12:37:21)
Linux HOSTNAME 2.6.18-028stab070.14 #1 SMP Thu Nov 18 16:04:02 MSK 2010 x86_64 x86_64 x86_64 GNU/Linux