Author Topic: Iafd Person e Website link (full)  (Read 24683 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #20 on: February 02, 2015, 09:01:09 am »
Nice work.

Problem is beauty error in the year of birth of actor or actress.

This is fine,
Code: [Select]
Alex Rox  ( 1979 - ???? )here is not
Code: [Select]
Alisha Bizart ???????? )because here not recorded any year of birth actor or actress.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #21 on: February 02, 2015, 01:28:50 pm »
Yes, it's nothing, i put this as exemple, see the function pTab.
ptab(String Before,String,String After,Choice,Number of space,type of space).
For year ( 1111 ,1111) You must just change the "Choice" with 1 (in the first line on write info) to write left "(". I don't know if it's clear.
Exemple:
If value of year is nothing,
with pTab('(',Value,',',1,4,'*') give : (****,
with ptab('(',Value,',',2,10,'*') give : (**********
with pTab('(',Value,',',3,5,'*') give : *****,
with ptab('(',Value,',',4,5,'*') give : nothing
with ptab('(',Value,",",5,5,'*') give : *****
You can adjust as your choice  and the data you choose to write.
« Last Edit: February 02, 2015, 01:38:02 pm by pra15 »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #22 on: February 02, 2015, 01:37:55 pm »
Yes, it's nothing, i put this as exemple, see the function pTab.
ptab(String Before,String,String After,Choice,Number of space,type of space).
For year ( 1111 ,1111) You must just change the choice with 1 to write left "(". I don't know if it's clear in the first line on write info.
Exemple:
If value of year is nothing,
with pTab('(',Value,',',1,4,'*') give : (****,
with ptab('(',Value,',',2,10,'*') give : (**********
with pTab('(',Value,',',3,5,'*') give : *****,
with ptab('(',Value,',',4,5,'*') give : nothing
with ptab('(',Value,",",5,5,'*') give : *****
You can adjust as your choice  and the data you choose to write.

Thanks for the explanation, I hope I understood that, we'll see ...
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #23 on: February 02, 2015, 02:04:03 pm »
If you're interested :
Sometimes actors have page in egafd and iafd. Script egafd write filmography of the actor in Biography Field, and iafd in awards comments. To Keep all infos of the actor and the two filmography, with iafd script i put infos over the filmography (in awards comment). File is attached.

Another script who use genre with name of Url.
if you have in URL : http://www.aaaa.com http://zzz.com http://www.ccc.com give AAA/CCC/ZZZ in genre field.
I use it just for simplify search in PVD.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #24 on: February 02, 2015, 04:24:40 pm »
Nice work, thanks for the both scripts.

If you're interested :
Sometimes actors have page in egafd and iafd. Script egafd write filmography of the actor in Biography Field, and iafd in awards comments. To Keep all infos of the actor and the two filmography, with iafd script i put infos over the filmography (in awards comment). File is attached.

It can be used next to the other, for example iafd_movie script or iafd_movie (full) script. This saves all the information transmitted in the bio box as well as in the comment box.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #25 on: February 02, 2015, 08:42:21 pm »
Code: [Select]
An other little modification to see link of websites in AKA name.

Declare on Global Variables: TabAKA : Array of string
Declare on Parse People : AkaPos and EndAkaPos as integer

then put this code just over "tabI [2] := Nomealt4;"

Code: [Select]
/////////////////////////////////////////////////////////////////////////////////////////////////
ExplodeString(Nomealt4, TabAKA, ',');
If High(TabAKA) > 1 then begin
Nomealt4 := '';
For i := 0 to High(TabAKA) do begin
AkaPos := Pos('(', TabAKA[i])+1;
If AkaPos <> 1 then begin
EndAkaPos := PosFrom(')', TabAKA[i], AkaPos);
TabAKA[i] := Copy(TabAKA[i],0,AkaPos-1) + '<link url="www.'+Copy(TabAKA[i],AkaPos,EndAkaPos-AkaPos)+'">'+Copy(TabAKA[i],AkaPos,EndAkaPos-AkaPos)+'</link>)';
end;
Case i of
0 : NomeAlt4 := TabAka[i];
else begin
NomeAlt4 := NomeAlt4 + ', ' + TabAka[i];
end;
end;
end;
end;
Logmessage('AAAA AKA: ' + Nomealt4);
////////////////////////////////////////////////////////////////////////////////////////////////

Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #26 on: February 04, 2015, 03:20:52 am »
Hello,

I add a new function in iafd_people(TABINFO): ftLine

See script for some explanations;
Function manage displaying line when you want tu put several values on the same line.
The function pTab is more easy to use now, in the most case you can use it like this : pTab('Name of value',value,'',4,0,''). See my exemple on write info.




Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #27 on: February 04, 2015, 06:30:04 pm »
Hello,

I add a new function in iafd_people(TABINFO): ftLine

See script for some explanations;
Function manage displaying line when you want tu put several values on the same line.
The function pTab is more easy to use now, in the most case you can use it like this : pTab('Name of value',value,'',4,0,''). See my exemple on write info.

Nice, great job.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #28 on: February 04, 2015, 06:57:01 pm »
Thanks.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #29 on: February 05, 2015, 09:32:28 am »
iafd_movie script
v 0.0.2.5 on 5.2.2015


Change of Distributor:

I repaired some errors and cosmetic changes in iafd_movie script. I also added the duration.

Distributor data is now transferred to the Producer field.

Distributor data can now be transferred only in custom fields, namely:
  • Distributor name only in Distributor multiselect custom field
  • The URL link to the Distributor name on web pages in IAFD Distributor1 memo custom field

Change of Studio:
  • Studio name only in IAFD Studio multiselect custom field
  • The URL link to the Studio name on web pages in IAFD Studio1 memo custom field

Change of Also Known As:
Change of Also Known As:

I fixed the transfer of Also Known As information:
rather, it was like this
Quote
18 & Eager 15: Tits! Tits! Tits!
Nymphomane Unschuld (German original, Puaka)
now is as follows
Quote
18 & Eager 15: Tits! Tits! Tits!
Nymphomane Unschuld

Full download is now in IAFD AKA memo custom field

Is also added RemoveTagsEx1 function as a cosmetic correction.

Script is the attached.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #30 on: February 05, 2015, 12:48:36 pm »
Thanks,
I'm testing it.

Works perfect, i haven't problem with creation of double actors now.

Thanks!
« Last Edit: February 05, 2015, 03:07:41 pm by pra15 »

Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #31 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.

 ???

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #32 on: February 05, 2015, 05:25:54 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.

 ???

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: [Select]
BASE_URL = 'http://www.iafd.com/';
properly
Code: [Select]
  BASE_URL = 'http://www.iafd.com';
The revised script is attached.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #33 on: February 05, 2015, 05:42:01 pm »
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.

Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #34 on: February 06, 2015, 03:44:17 pm »
Sorry, i have a little question :

Why use twice AddMoviePerson in script :
Code: [Select]
AddMoviePerson(Trim(Name), '', '', LowerCase(URL), ctActors);
AddMoviePerson(Name, '', '', URL, ctActors);

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #35 on: February 06, 2015, 07:19:06 pm »
Sorry, i have a little question :

Why use twice AddMoviePerson in script :
Code: [Select]
AddMoviePerson(Trim(Name), '', '', LowerCase(URL), ctActors);
AddMoviePerson(Name, '', '', URL, ctActors);

Sorry, this
Code: [Select]
AddMoviePerson(Name, '', '', URL, ctActors);had to be removed, I forgot to do it.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #36 on: February 07, 2015, 05:02:28 pm »
iafd_movie (full) script
v 0.2.5.0 on 7.2.2015


iafd_movie script
v 0.0.2.5 on 5.2.2015


Change of Distributor:

I repaired some errors and cosmetic changes in iafd_movie script. I also added the duration.

Distributor data is now transferred to the Producer field.

Distributor data can now be transferred only in custom fields, namely:
  • Distributor name only in Distributor multiselect custom field
  • The URL link to the Distributor name on web pages in IAFD Distributor1 memo custom field

Change of Studio:
  • Studio name only in IAFD Studio multiselect custom field
  • The URL link to the Studio name on web pages in IAFD Studio1 memo custom field

Change of Also Known As:
Change of Also Known As:

I fixed the transfer of Also Known As information:
rather, it was like this
Quote
18 & Eager 15: Tits! Tits! Tits!
Nymphomane Unschuld (German original, Puaka)
now is as follows
Quote
18 & Eager 15: Tits! Tits! Tits!
Nymphomane Unschuld

Full download is now in IAFD AKA memo custom field

Is also added RemoveTagsEx1 function as a cosmetic correction.

Change of Comments:

In addition to the already mentioned here are a few cosmetic changes in the comment box for the transmission of Comments information.


Script is the attached.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #37 on: February 08, 2015, 12:35:24 am »
thanks

Offline pra15

  • Power User
  • ****
  • Posts: 164
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #38 on: February 08, 2015, 10:42:17 pm »
I made a little script to modify URL iafd with two //.

But i can't replace the existing URL, just add an other good URL. Do you know if we can remove by script an existing URL ?
« Last Edit: February 08, 2015, 11:16:06 pm by pra15 »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Iafd Person e Website link (full)
« Reply #39 on: February 09, 2015, 08:12:30 am »
I made a little script to modify URL iafd with two //.

But i can't replace the existing URL, just add an other good URL. Do you know if we can remove by script an existing URL ?

We do not yet, it was already speaking about here, but it was
not the answer to the question. If it is possible to replace the existing url address
Code: [Select]
http://www.iafd.com//person.rme/ with this url address,
Code: [Select]
http://www.iafd.com/person.rme/ it might work.



Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


 

anything