Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
How many words are in this question?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Zacca
« on: March 26, 2010, 06:27:41 pm »

opps sorry
I'v test it and it work fine  ;D
Thanks for the mod
Posted by: Ivek23
« on: March 23, 2010, 07:01:04 pm »

Thanks for the info....i'll test it  :)

How they work script
Posted by: Zacca
« on: March 20, 2010, 12:30:08 pm »

Thanks for the info....i'll test it  :)
Posted by: Ivek23
« on: March 19, 2010, 08:19:25 pm »

Let the Internet address does not interfere because it is in the script
and must be otherwise you script will not work.

Cheers
Posted by: Ivek23
« on: March 19, 2010, 08:07:07 pm »

For those who would like to have Mymovies rating in custom fields (custom section)
here is a solution

instead, the original

 //Rating

 curPos := Pos('http://www.mymovies.it/v7/img/mymonetro_incassi_sopra.png', HTML);
 curPos := PosFrom('margin:0px 11px 7px 11px">', HTML, curPos);
 if curPos > 0 then begin
  curPos := curPos + 26;
  EndPos := PosFrom('<', HTML, curPos);
  AddFieldValue(mfRating, FloatToStr(StrToFloat(Copy(HTML, curPos, EndPos - curPos)) * 2));  
  LogMessage('Rating:' + FloatToStr(StrToFloat(Copy(HTML, curPos, EndPos - curPos)) * 2));
 end else
  curPos := EndPos;
end;


paste this

 //Rating

 curPos := Pos('http://www.mymovies.it/v7/img/mymonetro_incassi_sopra.png', HTML);
 AddCustomFieldValueByName('MyMovies Rating', '0');
 curPos := PosFrom('margin:0px 11px 7px 11px">', HTML, curPos);
 if curPos > 0 then begin
  curPos := curPos + 26;
  EndPos := PosFrom('<', HTML, curPos);
 AddCustomFieldValueByName('MyMovies Rating', FloatToStr(StrToFloat(Copy(HTML, curPos, EndPos - curPos)) * 2));  
  LogMessage('Rating:' + FloatToStr(StrToFloat(Copy(HTML, curPos, EndPos - curPos)) * 2));
 end else
  curPos := EndPos;
end;

and this should work

at my work
as seen on picture



[attachment deleted by admin]
Posted by: Ivek23
« on: March 19, 2010, 01:05:14 pm »

I wonder if possible that is even mymovies.it rating to edit the script that will be visible in custom items and what to enter where.

Thanks