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 2012-03-14 03:37:19

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Import has too many thumbs

After doing an import of embeds, the script "created (downloaded)" 20 thumbs where there was only 1.    I have set thumbs in #_video to '1', but they still appear in the admin video edit view which consequently gives 1 actual thumb and 19 bad images.  Where else do you need to go to correct this?

Offline

#2 2012-03-14 06:11:05

ful2fun.com
Member
From: GB
Registered: 2011-09-16
Posts: 1,040
Website

Re: Import has too many thumbs

You have To Remove That Code From Embed Video Grabbers It Will Otherwise Download 20 Thumbs And If You Provide Only One Then 19 Will We Not Displayed. I Have Same In My Site To Reduce Size of Site.



ful2fun.com
livesexpirates.com

Offline

#3 2012-03-14 19:29:09

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Import has too many thumbs

This was a CSV import.  Where is the code that needs to be removed?

Offline

#4 2012-03-15 06:26:27

ful2fun.com
Member
From: GB
Registered: 2011-09-16
Posts: 1,040
Website

Re: Import has too many thumbs

Its Limit To 20 In Every Place Maxium Change In Configuration Of Video And Check CSV Import File And Check


ful2fun.com
livesexpirates.com

Offline

#5 2012-03-15 13:31:01

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Import has too many thumbs

Symtab, can you clarify?

Offline

#6 2012-03-15 16:47:47

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

Re: Import has too many thumbs

The script should only download 1 thumb (or if you use the ; feature for thumbs, then all thumbs). Did the thumb download fail?


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

Offline

#7 2012-03-15 22:38:03

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Import has too many thumbs

No, it did the 1 download but the database is getting set to 20.  It appears that $thumbs is incrementing all the way and not breaking.  I need to look into it a bit more, but the CSV is using ; as a seperator with only 1 thumb - might be an issue.  I saw the CSV check thing when I was looking for this, but in retrospect I misread that section.

if (!is_uploaded_file($_FILES['csv']['tmp_name'])) {
					$errors[] = 'Uploaded CSV file is not a valid uploaded file!';
				}

Offline

Board footer

Powered by FluxBB