Page 11 of 14

Posted: 2005-02-12 23:08:39
by Murnau_Vs_Buñuel
wouu i have put a tagboard (or shoutbox) in my amcphp and working very well.
-----------------------------------------------
My AMCphp List: www.MurnauVsBunuel.tk

Solution for picture size and subfolder

Posted: 2005-02-13 13:35:23
by axbl
My XML-File is in a subfolder called "amc".
I changed the parser.php to:
$xmlSource="amc/ABMovies.xml";

Now I want to save the pictures in the same folder, but in the browser the pictures are not displayed.
Also I want to have a fixed picture size of 150x250.

So I changed the main.php from:

<img src=\"".rawurlencode($arr["moviePicture"])."\" alt=\"".$arr["movieOriginalTitle"]."\" border=\"0\">

to:

<img src=\"amc/".rawurlencode( $arr["moviePicture"])."\"width=\"150\" height=\"225\" alt=\"".$arr["movieOriginalTitle"]."\" border=\"0\">

Now all pictures are displayed and have the same size.

Is there a better solution ?

Posted: 2005-02-15 07:41:32
by Guest
Hello, how can I recover information on the creation date of catalog (#$$DATE>) as well as e-mail of author (#$$OWNER_MAIL>).

Thank you & sorry for my english ! :cry:

Posted: 2005-02-15 09:58:38
by Murnau_Vs_Buñuel
Anonymous wrote:Hello, how can I recover information on the creation date of catalog (#$$DATE>) as well as e-mail of author (#$$OWNER_MAIL>).

Thank you & sorry for my english ! :cry:
Open your AMC and put in files--->properties... : name, e-mail, ICQ, WebSite, Description

Re: Solution for picture size and subfolder

Posted: 2005-02-15 10:21:44
by Guest
axbl wrote:My XML-File is in a subfolder called "amc".
I changed the parser.php to:
$xmlSource="amc/ABMovies.xml";

Now I want to save the pictures in the same folder, but in the browser the pictures are not displayed.
Also I want to have a fixed picture size of 150x250.

So I changed the main.php from:

<img src="".rawurlencode($arr["moviePicture"])."" alt="".$arr["movieOriginalTitle"]."" border="0">

to:

<img src="amc/".rawurlencode( $arr["moviePicture"]).""width="150" height="225" alt="".$arr["movieOriginalTitle"]."" border="0">

Now all pictures are displayed and have the same size.

Is there a better solution ?
very good, but i think that the best at this, will be to use percentes % for fixed picture size, because all the photos do not have the same original size.

But i dont know the code for use the percentes.

Posted: 2005-02-16 08:50:25
by Ramses
I would like to be able to post in the card the type of support (DVD, DIVX...) and to be able to make a research on the type of support?

Posted: 2005-02-16 10:40:01
by Murnau_Vs_Buñuel
Ramses wrote:I would like to be able to post in the card the type of support (DVD, DIVX...) and to be able to make a research on the type of support?
if you want show the type support look this first:
viewtopic.php?t=813&start=160

later you should edit main.php whit this codes:

(near row #385 and #608)

Code: Select all

print "<td id="r".$row."c8" width="25"><div class="head"><a title="".res_CLICKTOCHANGESORT."" href="main.php?page=1&offset=0&sort=movieMediaType&direct=";
	print (($_SESSION['orderListDirection'] == 'asc') ? 'desc' : 'asc');
	print "" target="main">".res_TYPE."</div>\n\t\t\t</td>";
(near row #425 and #646)

Code: Select all

print "<td id="r".$row."c8" class="relative"><div class="row" align="center">";
			print $arr["movieMediaType"]."</div>\n\t\t\t</td>\n\t\t";
later you should go to the languages.php and give name to res_TYPE

i don´t know to make a research on the type of support... :(


-----------------------------------------------
My AMCphp List: www.MurnauVsBunuel.tk

Posted: 2005-02-16 10:53:09
by Murnau_Vs_Buñuel
many people have sent to email, asked to me how I have done that my
catalog "displaying nice and slow". this is called transition fade effect.

here you can watch a lot of script effect tansition :http://www.boogiejack.com/transition_effects.html

Add a transition effect to your page by adding the following to the HEAD section of your web page:

Code: Select all

<meta http-equiv="Page-Enter" content="blendTrans(Duration=1)"> 
or/and

Code: Select all

<meta http-equiv="Page-Exit" content="blendTrans(Duration=1)">
put the duration that you want

i have copy this code in index.php but don´t work well.
in main.php (following to the HEAD section) work very well :grinking:

Posted: 2005-02-16 11:03:10
by Murnau_Vs_Buñuel
i have one idea.

I wanted some script or something so that any person can put different commentaries for each card from movie or individual template :cool: someone can help me?? greetings

Posted: 2005-02-17 09:54:13
by Guest
Open your AMC and put in files--->properties... : name, e-mail, ICQ, WebSite, Description
Thank you, it is ok. What I would like to know, it is how to collect this information in the file xml and to use them in script php.

thx & sorry for my english

Posted: 2005-02-17 09:59:33
by Guest
I have another question. :hihi:

About the statistics, how to make so that it is sorted alphabetically?

For example, that the three tables of statistics, is sorted respectively by: Category Country Year

Posted: 2005-02-17 10:10:52
by Guest
Anonymous wrote:
Open your AMC and put in files--->properties... : name, e-mail, ICQ, WebSite, Description
Thank you, it is ok. What I would like to know, it is how to collect this information in the file xml and to use them in script php.

thx & sorry for my english
when you put your name in the properties of AMC, later you put this scriptes for the mail, name and date. if you dont put this dates in the properties, you edit the script writtin to hand

Code: Select all

<a href="mailto:$$OWNER_MAIL">$$OWNER_MAIL</a>

Code: Select all

<title>$$OWNER_NAME</title>

Code: Select all

<p align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Ultima 
  actualización</strong>: $$DATE<br>
[/quote]

Posted: 2005-02-17 12:29:04
by Guest
Anonymous wrote:
Anonymous wrote:
Open your AMC and put in files--->properties... : name, e-mail, ICQ, WebSite, Description
Thank you, it is ok. What I would like to know, it is how to collect this information in the file xml and to use them in script php.

thx & sorry for my english
when you put your name in the properties of AMC, later you put this scriptes for the mail, name and date. if you dont put this dates in the properties, you edit the script writtin to hand

Code: Select all

<a href="mailto:$$OWNER_MAIL">$$OWNER_MAIL</a>

Code: Select all

<title>$$OWNER_NAME</title>

Code: Select all

<p align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Ultima 
  actualización</strong>: $$DATE<br>
I know already this process. But if you use values "$$ITEM_PICTURE", by example, that supposes that you export your list by the intermediary of the software.
but, if I understood operation, script php read the file xml (which is in fact a backup of your list).

my question is as follows:
How to read and used following information in the file xml ?

Code: Select all

<AntMovieCatalog Format="33" Version="3.4.3 (2004-08-22)" Date="16/02/2005 12:51:17">
    <Catalog>
        <Properties Owner="Liste DVDs" Mail="Syl_M59@hotmail.com"/>
Thx

Posted: 2005-02-18 07:45:40
by Ormus
It's probably the easiest way to just search for the string in the xml file. php should provide the functions (can't check right now...).

Posted: 2005-02-18 19:13:13
by Guest
I found a bug in amcphp1.0. When you click on an actor which have "apostrophe!!! in the name (ex:Caroline O’Connor)
the search cannot find any movie about that actor. Someone correct please. Tnx.

PHP5 Error

Posted: 2005-02-20 20:15:05
by axbl
I have installed PHP5 and the Beta1 of AMCPHP.

PHP5 works with other scripts.

But by the AMCPHP5 Beta I get many Errors:

movie.xml:629: parser error : attributes construct error in main.php5 on line 267

PHP Notice: A session had already been started - ignoring session_start() in settings.php on line 3
PHP Notice: A session had already been started - ignoring session_start() in language_deutsch.php on line 3

Does anybody know why ???

Posted: 2005-02-21 07:16:19
by Ormus
Sounds like a bad XML save. Could you please mail me the ziped XML to ormus7577@go.com? You can mail me in german btw.

Posted: 2005-02-21 15:09:18
by axbl
Thanks Ormus for the hint. It was the Year missing a blank in front ( ..."YEAR="...").
AMC/PHP4 has no problems reading it, but the XML-Interpreter of PHP5 !

Now the Movies are displayed, but the Kategories are miisin ("Wird geladen") and the pages refreshes al 3-5 seconds.

Any Idea ???

Posted: 2005-02-21 15:20:38
by Guest
Aaaah - I have posted to fast. After end and restart of the Browser all works fine (and much faster !).

Posted: 2005-02-22 07:15:10
by Ormus
Sounds good. If you find any problems or bugs please post here...