Adult Script Pro Community Forums

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.

#26 Re: Troubleshooting » Thumbnail issue / Localhost » 2012-07-10 12:38:09

I found it under Admin -> Extend -> Module Manager -> Premium -> config -> +Player

I forgot about this section, thanks!

#27 Re: Open Discussion » How to share data between...? » 2012-07-09 19:11:37

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!

#28 Re: Documentation » [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection » 2012-07-09 18:43:17

Eri wrote:

use apache streaming is more stable

No thanks. If anything, I'd switch to nginx

#29 Troubleshooting » Thumbnail issue / Localhost » 2012-07-09 18:25:36

Tenche
Replies: 3
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.

#30 Re: Troubleshooting » A couple of problems with default theme » 2012-07-09 03:00:21

Can you show a screenshot of the "ASP logo"? I have no idea what you mean.

#31 Re: Open Discussion » So I've Noticed a Trend... » 2012-07-09 02:00:18

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.

#32 Bug Reports » [FIXED] Invalid admin pornstar component specified! » 2012-07-09 01:55:54

Tenche
Replies: 5

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?

#33 Re: Documentation » [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection » 2012-07-09 01:27:44

symtab wrote:

Comment the server.username and server.groupname with # in the lighttpd.conf file and then restart lighttpd.

Done. Works. Thanks!

#34 Re: Documentation » [HOWTO] Configure Lighttpd for Streaming and Hotlinking Protection » 2012-07-08 18:32:26

Kosimak wrote:

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.

#35 Re: Development » Flash Player Questions » 2012-07-08 12:36:52

I know I'm late on this, but do it.

#36 Re: Bug Reports » Blank Video » 2012-07-04 18:22:21

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?

#37 Re: Documentation » [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS » 2012-07-04 16:17:18

pornopowered wrote:

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.

#38 Re: Development » Premium only video uploading / Cookie question » 2012-07-04 15:35:56

Thank you sooo much! The logic is understood.

#39 Re: Development » Premium only video uploading / Cookie question » 2012-07-04 12:52:03

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!

#40 Re: Development » Premium only video uploading / Cookie question » 2012-07-01 21:12:17

Wow! It's identical to the one I wrote. Just what I needed. Thanks!

#41 Re: Development » Premium only video uploading / Cookie question » 2012-07-01 16:31:15

Correct, which is what I'm doing. I'll work on this later, thanks again.

#43 Re: Development » Premium only video uploading / Cookie question » 2012-07-01 15:12:56

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'); ?

#44 Development » Premium only video uploading / Cookie question » 2012-07-01 13:34:52

Tenche
Replies: 9

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.

#45 Bug Reports » [FIXED] Setting user to Premium / SQL error » 2012-07-01 13:18:30

Tenche
Replies: 2

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

Board footer

Powered by FluxBB