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.
Yes,thats correct.
We did it like that. Added a video in AdminPanel via URL Upload. Then we went to the manage page and added a sponsor to that Video. One by one.
What i would like to see:
When someone in Admin Panel adds a Video via single upload function, let them select a sponsor from the Sponsors list. Like in the csv upload. But it should be possible to have no Sponsor.
MY Reason for that: My wife uploads videos one by one, she selects videos from a csv/txt sponsor file and uploads them via Admin Panel . It's simply because she wants more control. Don't get me wrong, csv upload is a great function and i use it, but she does not. Women....... you know HAHAHAHA
Yeah, but it's not about AVS.
I looked around for many scripts, there's one with the same features like ASP....BUT: It costs about 1900 Dollars.
AVS is not comparable with ASP because ASP is ahead lightyears. I know that, because i used AVS nearly two years. AVS is NOT bad, but if you need more scalabilty, more features, better performance and at least the BEST: an outstanding support! If you want all that, you HAVE to switch to AdultscriptPRO!
To clarify: All features of a Script are NOTHING without support. AdultscriptPRO has really an outstanding support. I can proof that....Look into the Bug Reports Forum. The Bugs are fixed fast like Lightspeed Adrian cares! Really!
Got that working.
if somebody needs that:
<?php
header('Content-type: text/xml');
define('_VALID', true);
require '/path/to/your/bootstrap.php';
$username = $_REQUEST['login'];
$password = $_REQUEST['password'];
if ($username == '' OR $password == '') {
echo '<login result="FAIL" error="error_authentication_failed"/>';
exit;
}
#$username = md5($username);
$db = VF::factory('database');
$db->query("SELECT user_id, group_id, username, password, email, name, gender, birth_date,
country, city, zip, avatar, login_date, verified, status
FROM #__user
WHERE username = '".$db->escape($username)."'
LIMIT 1");
if ($db->affected_rows()) {
$user = $db->fetch_assoc();
$passed = FALSE;
}
if (VHash::check($password, $user['password'])) {
$passed = TRUE;
}
if ($passed === TRUE) {
$profileurl = 'http://www.mypornow.com/users/'.$user['username'];
$photo = 'http://www.mypornow.com/media/users/'.$user['user_id'].'.'.$user['avatar'];
$thumbnail = 'http://www.mypornow.com/media/users/'.$user['user_id'].'.'.$user['avatar'];
$answer .= '<login result="OK">';
$answer .= '<userData>';
$answer .= '<id>'.$user['user_id'].'</id>';
$answer .= '<name><![CDATA['.$username.']]></name>';
$answer .= '<gender>'.$user['gender'].'</gender>';
$answer .= '<location>'.$user['country'].'</location>'; //male, female or couple
$answer .= '<age>'.$user['birth_date'].'</age>';
$answer .= '<photo><![CDATA['.$photo.']]></photo>';
$answer .= '<thumbnail><![CDATA['.$thumbnail.']]></thumbnail>';
$answer .= '<details>no details</details>';
$answer .= '<level>0</level>';
$answer .= '<profileUrl><![CDATA['.$profileurl.']]></profileUrl>';
$answer .= '</userData>';
$answer .= '<friends></friends>';
$answer .= '<blocks></blocks>';
$answer .= '</login>';
echo $answer;
}
Replace all instances of mypornow.com with your domain
Yes works now.
But i wondered, why there is no Sponsor added in Adminpanel->Video
There is no Sponsor shown.
I looked into the database and mentioned that there are two columns: "sponsor" and " adv"
Does the manage video page pull the "adv" column?
To clarify: The first 1000 videos where added by "hand" in Adminpanel without massimport. After the conversion was done, we added a sponsor for the video in Adminpanel->Manage with that really awesome button on the right Those Sponsors where added to the "adv" column.
Is that intended or is it just a small "bug". Also i don't like to call it a bug, but what for ist the "adv" ?
Hi,
If i select a sponsor in admin->add video->csv import
The Sponsor is not written into the database and because of that not shown below the video.
I tried to fix it by myself by adding
adv = '".$this->db->escape($sponsor)."',
But that seems to be the wrong sponsor. I see below the video the same banner as on the right side of the video
Hi,
Users can't change their Password in the User CP.
The Script always throws an error "New password and confirmation password are not the same!"
But they are definitely the same
Tested @ the official demo also.
Tested the same in AdminPanel and that works correctly.
Just metioned:
When i upload an video via acp ( CURL ) the server does not respond to requests.
Means: The site is not accesible via httpd and loads forevever
If the video is downloaded, site gets back to normal. Background processing works.
top - 20:23:16 up 7 days, 19:43, 1 user, load average: 0.00, 0.02, 0.00
Tasks: 264 total, 1 running, 263 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8199672k total, 8086704k used, 112968k free, 277792k buffers
Swap: 995988k total, 728k used, 995260k free, 7231752k cached
Checked my lighttpd logs, but nothing is in there like "Backend died" or so.
Checked top also, but nothing remarkable, cpu load normal.
If you have a sponsor with fast servers thats no problem, but exrememoviecash is really slow
testvideo for downloading: http://www.exxxtrememovie.com/flash/cmc/5cmc-01.flv
Had a similar problem with AVS, where i added an option to curl videos. But thats History
Hmmm does the Header menu resize if i add a link ?
I don't know if that is possible.
If not, maybe making to rows OR a dropdown like: Hover over community and then opens a dropdown with Forum, Videochat.....
I don't know how it would look like if you make two rows in the header.
EDIT: I saw you put some links below the Login Menu on top. THAT looks nice.
I try to integrate http://www.flashcoms.com/products/commu … /overview/
I downloaded a trial Version of this Script and i have RED5 up and running.
My install is here:
http://media.mypornow.com/chat7/chat.htm
This Scipt has some Loginhandlers to authenticate the user and let him login.
The integration is described here: http://www.flashcoms.com/docs/7_0/chat7/#login_handlers
So i tried to modify one handler to use the ASP database:
<?php
#
# Copyright © 2004-2010 Chat software by [url=http://www.flashcoms.com]www.flashcoms.com[/url]
#
# This is the demo handler. Replace it with your custom logic.
#
$login = $_REQUEST['login'];
$password = $_REQUEST['password'];
//Connect to users database
$db = mysql_connect('localhost','dbuser','dbpass') or die(mysql_error());
mysql_select_db('databasename',$db) or die(mysql_error());
//Init request parameters
$userName = (isset($_REQUEST["login"])) ? urldecode($_REQUEST["login"]) : "";
$password = (isset($_REQUEST["password"])) ? urldecode($_REQUEST["password"]) : "";
$uid = (isset($_REQUEST["uid"])) ? urldecode($_REQUEST["uid"]) : "";
#$login = md5($login);
#$password = md5($password);
//Check if user filled login and password in the login screen (Chat authorization)
if($login != "" && $password != "")
{
# $sql = "SELECT * FROM user WHERE username='".$login."' AND password='".$password."'"; //////// This works not, because the passwd is endcrpyted :(
# $sql = "SELECT * FROM user WHERE username='".$login."'"; /// This works but no password check :(
}
//session/cookie base authorization (Auto login)
else if ($_SESSION['user_id']!="")
{
$sql = "SELECT * FROM user WHERE id='".$_SESSION["user_id"]."'";
}
// Non session/cookie based autologin authorization
else if ($uid!="")
{
$sql = "SELECT * FROM user WHERE id='".$_GET['user_id']."'";
}
else
{
echo '<login result="FAIL" error="error_authentication_failed1"/>';
exit;
}
//Select user data
$result = mysql_query($sql,$db);
$count=mysql_num_rows($result);
if($count==1)
#if(mysql_num_rows($result)==1)
{
//User found. get user info
$usersInfo = mysql_fetch_array($result);
$answer .= '<login result="OK">';
$answer .= '<userData>';
$answer .= '<id>'.$usersInfo['user_id'].'</id>';
$answer .= '<name><![CDATA['.$userName.']]></userName>';
$answer .= '<photo>'.$usersInfo['user_id'].'</id>';
$answer .= '<gender>'.$usersInfo['gender'].'</gender>'; //male, female or couple
$answer .= '</userData>';
$answer .= '</login>';
echo $answer;
exit;
}
else
{
//User not found OR authorization failed
echo '<login result="FAIL" error="error_authentication_failed"/>';
exit;
}
?>
Basically it works if i comment out the Password Check, but thats very bad.
The Problem is, that i can't encrypt the entered password to match with the Password in the ASP database.
Maybe someone wants to help me.
BTW: The XML Output is not yet completed, some work there too. But i can do that by myself.
Thank you.
Yes, sure.
Go to your demo->watch the most recent video->goto frontpage.
Now the most recent video is in the BEING WATCHED.
Hoover with your mouse over the video in the MOST RECENT.
You will see: The thumbnails do not rotate, instead the thumbnails of that video in the BEING WATCHED rotate
If a Video is NOT in watched videos, the thumbnails do not rotate.
I added a link to the header menu, but it does not appear. Cleared the cache too.
Checked the same for the footer and it works.
Is there a limit of menu links in the header?
This would be logical because there's not too much space for additional links.
Adultscriptpro writes conversion logs to tmp/logs/*
Thats GOOD! Because you can debug!
But if everything works fine and you have got a lot of videos you may want to get rid of those logs, because over time this Directory will consume much Space on your Harddrive.
I did it by setting up a Crontab via the Crond daemon.
This how-to works flawless if you're on Debian.
First login to ssh console
Then type
host371215:~# crontab -e
ENTER
You will see your existing Crons
Add:
@weekly rm /path/to/your/scriptinstallation/tmp/logs/*
Hit CTRL+X
Crontab asks you if you want to change the existing Crontab, you answer yes and hit enter.
Now Crond asks you for the filename, you do nothing but hitting ENTER
BÄM! You're done.
Explanation: @weekly means, crontab will delete that directory WEEKLY. It's on Mondays @ 00:01h, thats one Minute after Midnight from Sunday to Monday.
I know that my English is not the best, English is not my native Language.
If you have questions, do not hesitate and ASK.
Only who asks, can be helped ( old german saying )
BTW: Check if Crond is running with
host371215:~# /etc/init.d/cron
the Output should look something like
Usage: /etc/init.d/cron {start|stop|restart|reload|force-reload}.
Showing off my Site:
If you see errors or something does not work as intended, pls post here.
A suggestion:
A news Box on Frontpage, where webmaster can announce changes, new functions and so on.
Maybe it is a good idea to have a "News Box" in the Frontpage above the being watched Videos.
For example i would announce that the Site uses "a caching technique" and thats why the videos appear later on the frontpage. The "normal" user does not understand why such a technique is better for all the visitors ( loading speed, cpu load and so on ). With such a box the webmaster is able to explain that and much more like new user functions aaaaaaaaaaand soooooo on.
I know that this could be done easily by adding tables to the db and some things to the frontpage.tpl.php. But it would be nice if i can edit the content of such a box via acp and the richtext editor.
This is not Urgent ( you know Symtab ) but just a request. If this request won't be filled, i'm not angry
I was just brainstorming
Greets, Leif
Just was testing the csv mass import and mentioned an bug. Some Videos get converted to *mp4 but something goes wrong.
This is the Video:
Wow what can we say about|Wow what can we say about Layla. What a stunning girl! This youthful blond has such a soft teen like body. From her beautiful tight pussy lips to her puffy pink nipples, she goes all the way in her scorching hot videos!|Medium Boobs,Puffy Nipples,Shaved Pussy,Blonde,Long hair|http://webmastercontent.nubiles.net/layla/nubiles_layla_long.flv
Corresponding log entry:
/usr/bin/qt-faststart /srv/www/htdocs/mypornow/media/videos/mp4/1048.nometa.mp4 /srv/www/htdocs/mypornow/media/videos/mp4/1048.mp4
0 1179407873
encountered non-QT top-level atom (is this a Quicktime file?)
last atom in file was not a moov atomFFmpeg version SVN-r25323, Copyright (c) 2000-2010 the FFmpeg developers
In order to test if it is an error in the scripts converting string, i testet with manual upload in ACP via url
http://webmastercontent.nubiles.net/layla/nubiles_layla_long.flv
with NO errors. So it seems to be a bug in the importer.
To clarify: ALL other uploads via ACP and URL work as intended including the h264 conversions. I mentioned this Bug because today i tested the Mass import for the first time
I just don't want to make a new topic, so i post here:
You wrote about the InVideo ads, is this on the list for a RC or will it be implemented in a Beta Stage before the Relase ?
I played around with the content plugin for flowplayer.....thats too much for me
Ah ok, i understand.
So do i define which videos are for premium members ?
Or is there something like a category "premium" with the subcategories like "premium mature", "premium whatever" ?
Or is the whole site premium ?
Hmm, what's the difference between the Video Page and the Player Page ?
Yes happens there too.
I have this sponsor url:
http://www.linkfame.com/daringsex/go.ph … &ad=201316
when i added the sponsor the url was changed to:
http://www.linkfame.com/daringsex/go.ph … ad;=201316
Happens when you add a sponsor with a new advertising.
YEAH! THATS a good idea, better than linking dvds in the Performs field.
Everything is fine now. Limiting to 30 gives the normal speed back.
The Performs Field. For Example, if you have videosz.com as a sponsor you can link to the videos directly. Example: http://www.mypornow.com/pornstar/alexis-texas/
I did the hmtl manually, but with the ck editor it would be more comfortable.
Limiting related videos does not work.
I set Max Related Videos to 30, but the Script pulls ALL Videos from the Database.
I mentioned that because view video took longer to load as my total videos grew and scrolled through the related videos
Thats not a real bug, but better for performance to limit the videos, i think