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.
Nevermind...we will use http://www.jquerymobile.com :-)
Hi,
To change the logo create a new logo (png, maxium width 300px and height: 200px) and upload it to:
/templates/YOUR-TEMPLATE/images/logo.png
and:
/profile/templates/YOUR-TEMPLATE/images/logo.png
In the future (stable release) this will be done directly from the administration control panel.
Hi,
When we created the script, we only had to edit meta_title, meta_description and meta_keywords in Admin -> Config, however once we added
multi-language support we thaught that its very important for SEO that pages dont have duplicate titles, description or keywords.
To change the default site_name, meta_description and meta_keywords go to Admin -> Config.
To change site_name, meta_description and meta_keywords individually for each page go to Admin -> Extend -> Languages -> YOUR-LANGUAGE -> View. The languages files will
be loaded, edit each language file and use the browse search feature (CTRL + F in firefox) and search for meta-title, meta-desc and meta-keys. Change these values to whatever matches
your site's content.
NOTE: While the above is not required, we recommend it because your site will be ranked better by search engines.
Hi,
This small HOWTO will explain how to install ffmpeg, yamdi and qt-faststart to work with Adult Script Pro on Ubuntu Maverick Meerkat 10.10 (server or desktop). You will need ssh root access for the installation.
Remove installed ffmpeg/x264:
sudo apt-get remove ffmpeg x264 x264-devel
Install requirements:
sudo apt-get update
sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html \
libfaac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev \
libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libvorbis-dev libvpx-dev \
libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev
Install X264:
cd
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --pkgname=x264 --pkgversion "2:0.`grep X264_BUILD x264.h -m1 | \
cut -d' ' -f3`.`git rev-list HEAD | wc -l`+git`git rev-list HEAD -n 1 | \
head -c 7`" --backup=no --deldoc=yes --fstrans=no --default
Install ffmpeg:
cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
--enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis \
--enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --pkgname=ffmpeg --pkgversion "4:SVN-r`LANG=C svn info | \
grep Revision | awk '{ print $NF }'`" --backup=no --deldoc=yes --fstrans=no \
--default
hash x264 ffmpeg ffplay
Install qt-faststart:
cd ~/ffmpeg
make tools/qt-faststart
sudo checkinstall --pkgname=qt-faststart --pkgversion "4:SVN-r`LANG=C svn info | \
grep Revision | awk '{ print $NF }'`" --backup=no --deldoc=yes --fstrans=no \
--default install -D -m755 tools/qt-faststart /usr/local/bin/qt-faststart
Install yamdi:
apt-get install yamdi
Applications will be installed in the following locations:
ffmpeg: /usr/local/bin/ffmpeg
yamdi: /usr/bin/yamdi
qt-faststart: /usr/local/bin/qt-faststart
For older versions of Ubuntu please see this url: http://ubuntuforums.org/showthread.php?t=786095
You can also buy our Server Setup service (49$) if you dont have time to or dont want to use
ssh, from here: http://www.adultscriptpro.com/services/ … setup.html.
Ok. Its done. Integrated in frontend upload, backend upload, csv import (option to convert videos, although it would be better with no conversion, i think the bug is in the player, i
contacted flowplayer.org and probably they will check, because the video is re-converting to HD and its already HD, but the video bitrate is 300kb and audio 32kb and its a small size file, however reconverted to a higher bitrate and audio bitrate (and samplerate), the filesize will increase).
I'm at my parents house, will get back to my place later when i'll update the archive in avangate and email (or update) installations.
Will be finished tomorrow. I tested frontend video upload, admin video upload and now i'm at csv importing. I will need to run some more tests, so i will be able to update the archive only tomorrow. I apologise for the delay.
I guess we can convert anything for h264 then :-) users that dont want h264 videos...can just disable from admin.
Do you think only 16:9 videos should be converted to mp4? (it doesnt really matter, h264 was not designed for HD only, but its how most people see h264 as HD).
Also added following fixes:
- fixed admin video edit slug and add_time bug
- fixed user guest helper bandwidth bug
- fixed admin video embed slug, thumb_url and add_time bug
I had to connect with ssh root (i couldnt find your FTP access), the archive is in /root/adultscriptpro-1.0beta3.zip.
Please let me know if there are any other bugs that i didnt update (i'll work on the CSV thing for vidz/hentai... today).
Currently there is no way to get the updates. When i fix 2-3 things, i just recreate the avangate archive. When everything is finished (a stable release) we will have a upgrade system (a client area) and a automatic upgrade system (like wordpress/joomla).
Can you please email me CSV (you only have flv, title, thumb in this csv).
Saw the image now. Will fix.
For some reason i cant see that image (the url doesnt load for me). Can you please email me the screenshot?
Hmm...so basically a option in the CSV admin part to re-encode the videos? This would do it (detect if video is flv, re-encode to flv, detect if video is h264 and re-encode to h264).
The above should work, however i will need to wait until a lot of people test (or i could leave my computer run tests with all videos i have on my box).
The vidz thing is also my *problem*. I just dont know how to fix it yet, it works for me and i cannot reproduce the bug. I will try again tomorrow and see if i can find a fix. If i dont find a fix, we can simply re-encode the videos to h264. 99% of the people out there that have flash also have a flash version that support h264+aac.
Hi,
I just finished re-designing the video conversion implementation (the main tests are finished, commands are finished, just working on the * -> php class). Here's how it works:
1. FLV. You have to options here:
a. Old FLV format (just the resizing calculations have changed here).
b. H264 with MP3 sound in FLV (will work exactly as FLV, fast-forward...everything, currently there is only one problem no fullscreen (fullscreen works in JW, so its a flowplayer bug))
A few examples for b:
symtab@symtab-laptop:/var/www/asp$ du -h Spider-man_3_trailer_480p.flv
14M Spider-man_3_trailer_480p.flv
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/Spider-man_3_trailer_480p.mov
68M /home/symtab/Work/test-videos/Spider-man_3_trailer_480p.mov
symtab@symtab-laptop:/var/www/asp$
symtab@symtab-laptop:/var/www/asp$ du -h 15.flv
2.8M 15.flv
symtab@symtab-laptop:/var/www/asp$
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/15.mp4
5.1M /home/symtab/Work/test-videos/15.mp4
symtab@symtab-laptop:/var/www/asp$
symtab@symtab-laptop:/var/www/asp$ du -h 115.flv
2.0M 115.flv
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/115.mpg
6.7M /home/symtab/Work/test-videos/115.mpg
symtab@symtab-laptop:/var/www/asp$ du -h 136.flv
16M 136.flv
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/136.mov
80M /home/symtab/Work/test-videos/136.mov
Quality is almost the same as in the original file.
2. MP4 (h264)
a. 1 pass without bitrate (using CRF) and size/aspect calculations
b. 2 pass with bitrate and size/aspect calculations
Examples for a/b:
symtab@symtab-laptop:/var/www/asp$ du -h 136.mp4
28M 136.mp4
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/136.mov
80M /home/symtab/Work/test-videos/136.mov
symtab@symtab-laptop:/var/www/asp$
symtab@symtab-laptop:/var/www/asp$ du -h Spider-man_3_trailer_480p.mp4
16M Spider-man_3_trailer_480p.mp4
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/Spider-man_3_trailer_480p.mov
68M /home/symtab/Work/test-videos/Spider-man_3_trailer_480p.mov
symtab@symtab-laptop:/var/www/asp$
symtab@symtab-laptop:/var/www/asp$ du -h 115.mp4
2.0M 115.mp4
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/115.mpg
6.7M /home/symtab/Work/test-videos/115.mpg
symtab@symtab-laptop:/var/www/asp$ du -h 5.mp4
1.8M 5.mp4
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/5.flv
2.5M /home/symtab/Work/test-videos/5.flv
symtab@symtab-laptop:/var/www/asp$
symtab@symtab-laptop:/var/www/asp$ du -h demo.flv
61M demo.flv
symtab@symtab-laptop:/var/www/asp$ du -h demo.flv
54M demo.flv (H264 + mp3 in FLV)
symtab@symtab-laptop:/var/www/asp$ du -h demo.mp4
98M demo.mp4
symtab@symtab-laptop:/var/www/asp$
symtab@symtab-laptop:/var/www/asp$ du -h /home/symtab/Work/test-videos/demo.mp4
178M /home/symtab/Work/test-videos/demo.mp4
I've tested the above (1 and 2) on 16 videos until now and it works perfectly. We should also take in consideration
that H264 (nor FLV) cant do magic, if the uploaded video is bad, then the resulting video is bad too.
All videos could be converted to h264, however only videos with width > 352 and height > 288 will be converted.
If you have any ideas/critics...please let us know.
Works for me. Just added all 5 videos from the CSV you've sent me. All videos are HD videos. All videos play on the frontend. I'm emailing you the csv.php (admin/csv/csv.php) file.
I just tested and it works for me. I can attach screenshots:
Can you please email me the CSV you are using (should have at least 3 videos)? I will test and if
the csv also works for me, then its clear, i updated something on my box that its not included in the default archive yet.
I didnt test yet. I worked on the zombaio (already done), epoch (not finished) and mass video ftp upload (done, needs testing). I will test right now and see why it doesnt work.
Hi,
I just found a bug and i think and needs fixed ASAP. Basically you can only submit the search form with the Go button click, not with the enter key.
FIX: edit templates/your-template/js/jquery.main-0.1.js and add the following code:
$("input[id='search_query']").keypress(function(e) {
e.preventDefault();
if (e.which == 13) {
var query = $("input[id='search-query']").val().replace(/\ /g, '-');
if (query != '') {
query = query + '/';
}
var action = $("form[id='search-form']").attr('action');
if (action == rel_url + '/search/community/') {
window.location = base_url + '/community/?username=' + query.slice(0, -1);
} else {
window.location = $("form[id='search-form']").attr('action') + query;
}
return false;
}
});
above the following line:
$("input[id='search-submit']").click(function(e) {
All bug fixes are also included in the BETA3 archive on avangate (also in future releases).
Initially the search_type simple was for title based search (which is slow, and mysql cannot use a key for this kind of search and even with a key it works with word*ANYTHINGHERE, not *word*) and complex was for mysql MATCH_AGAINST which is a pretty good method for searching, however after you have 10.000 its slow.
Right now search_type simple searches by tags, which is like very very fast (i cant give a aproximate number here) and complex will be for sphinx based search once done (which will also work instantly, even for 500.000 videos).
Hmm...worked for me. Here's another way to fix, edit modules/video/components/search.php and replace:
$sql_count = "SELECT COUNT(DISTINCT v.video_id) AS total_videos
FROM #__video_tags AS t, #__video AS v
WHERE t.name IN (".implode(',', $sql_add).")
OR v.title LIKE '".$this->db->escape($query)."'";
$sql = "SELECT DISTINCT v.video_id, v.title, v.slug, v.rating, v.rated_by, v.duration, v.thumb,
v.thumbs, v.total_views, v.add_time, v.ext, v.premium, u.username
FROM #__video_tags AS t, #__video AS v
WHERE t.name IN (".implode(',', $sql_add).")
OR v.title LIKE '".$this->db->escape($query)."'";
with:
$sql_count = "SELECT COUNT(*) AS total_videos
FROM #__video_tags AS t
LEFT JOIN #__video AS v ON (v.video_id = t.video_id AND v.status = 1)
WHERE t.name IN (".implode(',', $sql_add).")";
$sql = "SELECT DISTINCT v.video_id, v.title, v.slug, v.rating, v.rated_by, v.duration, v.thumb,
v.thumbs, v.total_views, v.add_time, v.ext, v.premium, u.username
FROM #__video_tags AS t
LEFT JOIN #__video AS v ON (v.video_id = t.video_id AND v.status = 1)
LEFT JOIN #__user AS u ON (u.user_id = v.user_id)
WHERE t.name IN (".implode(',', $sql_add).")
ORDER BY v.video_id DESC";
Fixed. Edit templates/your-template/video_tag.tpl.php and replace:
<div class="pagination"><ul><?php echo p('pagination', $this->pagination, RELATIVE_URL.'/recent/'); ?></ul></div>
with:
<div class="pagination"><ul><?php echo p('pagination', $this->pagination, RELATIVE_URL.'/tag/'.$this->tag.'/#PAGE#/'); ?></ul></div>
Fixed. You just need to set search_type to simple in admin (complex will be for sphinx).
Ohh..sorry, forgot about this. I will test ASAP and then provide a fix (probably will have to debug as there is no reason why it shouldnt work, unless there is something special i need to add for vidz only).