AMCphp - 1.0 released (bugfix + history report)

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Murnau_Vs_Buñuel
Posts: 58
Joined: 2004-11-18 12:48:40

Post 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
axbl

Solution for picture size and subfolder

Post 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 ?
Guest

Post 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:
Murnau_Vs_Buñuel
Posts: 58
Joined: 2004-11-18 12:48:40

Post 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
Last edited by Murnau_Vs_Buñuel on 2005-02-15 10:27:00, edited 1 time in total.
Guest

Re: Solution for picture size and subfolder

Post 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.
Ramses
Posts: 9
Joined: 2003-10-16 20:24:10

Post 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?
Murnau_Vs_Buñuel
Posts: 58
Joined: 2004-11-18 12:48:40

Post 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
Last edited by Murnau_Vs_Buñuel on 2005-02-16 11:06:44, edited 2 times in total.
Murnau_Vs_Buñuel
Posts: 58
Joined: 2004-11-18 12:48:40

Post 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:
Murnau_Vs_Buñuel
Posts: 58
Joined: 2004-11-18 12:48:40

Post 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
Last edited by Murnau_Vs_Buñuel on 2006-11-22 17:37:14, edited 3 times in total.
Guest

Post 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
Guest

Post 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
Guest

Post 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]
Guest

Post 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
Ormus
Posts: 102
Joined: 2003-08-05 16:47:05
Contact:

Post 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...).
Guest

Post 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.
axbl
Posts: 5
Joined: 2005-02-13 13:39:59

PHP5 Error

Post 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 ???
Ormus
Posts: 102
Joined: 2003-08-05 16:47:05
Contact:

Post 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.
axbl
Posts: 5
Joined: 2005-02-13 13:39:59

Post 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 ???
Guest

Post by Guest »

Aaaah - I have posted to fast. After end and restart of the Browser all works fine (and much faster !).
Ormus
Posts: 102
Joined: 2003-08-05 16:47:05
Contact:

Post by Ormus »

Sounds good. If you find any problems or bugs please post here...
Post Reply