English > Scripts and Templates
Iafd Person e Website link (full)
pra15:
Thanks,
I'm testing it.
Works perfect, i haven't problem with creation of double actors now.
Thanks!
pra15:
I've speaked too quickly!
I have yet the problem!
Seen what happens, i think the double was create if the actor was create first with the old script iafd_movie in the database.
In a new database, if i use only the last script : no problem.
If i use first the old script to put same actors and after i use the last script there is the problem.
???
Ivek23:
--- Quote from: pra15 on February 05, 2015, 04:04:24 pm ---I've speaked too quickly!
I have yet the problem!
Seen what happens, i think the double was create if the actor was create first with the old script iafd_movie in the database.
In a new database, if i use only the last script : no problem.
If i use first the old script to put same actors and after i use the last script there is the problem.
???
--- End quote ---
This is a problem, different url address.
http://www.iafd.com//person.rme/perfid=cherrylee_w/gender=f/fanny.htm http://www.iafd.com/person.rme/perfid=cherrylee_w/gender=f/fanny.htm
It is necessary to correct the BASE_URL address:
wrong
--- Code: ---BASE_URL = 'http://www.iafd.com/';
--- End code ---
properly
--- Code: --- BASE_URL = 'http://www.iafd.com';
--- End code ---
The revised script is attached.
pra15:
It's an other problem,
with the old script with AddMoviePerson we put both the name and the transname.
With the new there's just the name.
I have modified the new script with the old method and it's ok.
But i'm not sure that is the best method. I don't want for the moment restart all my entries of the database actor!
Perhaps i'll make a script to erase all existing transname, i'll see.
I'll see for the URL too, thanks.
pra15:
Sorry, i have a little question :
Why use twice AddMoviePerson in script :
--- Code: ---AddMoviePerson(Trim(Name), '', '', LowerCase(URL), ctActors);
AddMoviePerson(Name, '', '', URL, ctActors);
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version