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.

#1 2011-06-22 17:06:06

MoFo
Member
Registered: 2011-06-21
Posts: 20

XVIDEOS .csv compatibility

Xvideos offers a BIG csv file with their videos, but is it compatible with adult script pro?

Offline

#2 2011-06-22 21:20:45

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

i ask before....no man sad

Offline

#3 2011-06-22 22:40:29

MoFo
Member
Registered: 2011-06-21
Posts: 20

Re: XVIDEOS .csv compatibility

Well, if not out of the box, it should still be possible to do.

May try to write something up myself

Offline

#4 2011-06-22 23:46:42

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

if you know coding you can do anything smile

Offline

#5 2011-06-23 11:35:26

MoFo
Member
Registered: 2011-06-21
Posts: 20

Re: XVIDEOS .csv compatibility

True that. If I make it work I'll be sure to share it

Offline

#6 2011-06-23 12:19:19

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

i have download this CSV over 8 month and i cant add it in database.....first i try with phpmotion and now with ASP.....i hope work to you ,to can share with us smile

Last edited by thiva7 (2011-06-23 12:23:23)

Offline

#7 2011-06-25 13:13:34

MoFo
Member
Registered: 2011-06-21
Posts: 20

Re: XVIDEOS .csv compatibility

When was the admin supposed to come back again? smile

Offline

#8 2011-06-26 09:12:37

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: XVIDEOS .csv compatibility

The xvideos.com CSV is only specific for xvideos and it will not work with other sites. I could try to add it in the future though.

I will get back to development after 5 July. I apologise for the delay.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#9 2011-07-07 17:16:42

MoFo
Member
Registered: 2011-06-21
Posts: 20

Re: XVIDEOS .csv compatibility

No worries symtab, you've done a great job already. No hurry.

Offline

#10 2011-07-08 07:30:54

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: XVIDEOS .csv compatibility

I'm back. I can write a small csv importer for xvideos only this weekend.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#11 2011-07-08 11:31:20

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

start it tongue

Offline

#12 2011-07-29 15:50:12

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: XVIDEOS .csv compatibility

If anyone wants this, just drop me a email. It works correctly, but you need to run it from the ssh console. It will add all videos in the xvideos csv.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#13 2011-07-29 16:12:54

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

adrian i send u mail

Offline

#14 2011-07-31 14:18:17

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

Processing entry 685 ...
ErrorException [ 2 ]: strpos(): Empty delimiter ~ /home/username/public_html/domain.com/xvideos_import.php [ 158 ]

after 684 i get this message

Offline

#15 2011-07-31 22:03:42

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: XVIDEOS .csv compatibility

Find the following lines:

            if (strpos($cname, $tag) !== FALSE) {
                if (!in_array($cat_id, $cats)) {
                    $cats[] = $cat_id;
                }
            }

replace with:

if (!empty($tag)) {
            if (strpos($cname, $tag) !== FALSE) {
                if (!in_array($cat_id, $cats)) {
                    $cats[] = $cat_id;
                }
            }
}

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#16 2011-08-04 01:32:43

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

Processing entry 75802 ...
ErrorException [ 2 ]: strpos(): Empty delimiter ~ /home/user/public_html/domain.com/xvideos_import.php [ 143 ]

Offline

#17 2011-08-07 20:02:15

MoFo
Member
Registered: 2011-06-21
Posts: 20

Re: XVIDEOS .csv compatibility

I would love to try that, but since I'm getting errors with videoswiper and embedding via cron I'm afraid this will leave me without thumbs as well...

Offline

#18 2011-08-16 12:05:16

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

i ve just noticed that from the .csv importer is not count video views.

http://www.xporn4u.com/164896/fantastic … k-handjob/

Offline

#19 2011-08-16 12:09:27

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: XVIDEOS .csv compatibility

What do you mean it doesnt count views? I just viewed the video 2 times and it increased its views.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#20 2011-08-16 12:30:52

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

ok look here http://www.xporn4u.com/recent/

is not show views

Offline

#21 2011-08-16 12:48:50

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: XVIDEOS .csv compatibility

Ahhh...i understand, that happens because the video thumbs are bigger. Please edit templates/your-template/css/style.css and find:

.video img, .category img {
    padding: 1px;
    border: 1px solid #4F4F4F;
}

add after:

.video img {
width: 160px;
height: 120px;
}

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#22 2011-08-16 17:44:31

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: XVIDEOS .csv compatibility

symtab wrote:

Ahhh...i understand, that happens because the video thumbs are bigger. Please edit templates/your-template/css/style.css and find:

.video img, .category img {
    padding: 1px;
    border: 1px solid #4F4F4F;
}

add after:

.video img {
width: 160px;
height: 120px;
}

thank you adrian but is work well for chrome and IE but is not show views with mozilla

Offline

Board footer

Powered by FluxBB