aniDBstyle/cleancut template thread [Bugs|Features|Support]

Want to help out? Need help accessing the AniDB API? This is the place to ask questions.

Moderator: AniDB

What new features would you like to see in the templates?

Poll ended at Fri Feb 25, 2005 7:00 pm

Support for optional anime images (user added)
4
50%
Support for basic mylist reports
3
38%
Other (specify)
1
13%
 
Total votes: 8

Jake030
Posts: 24
Joined: Mon Nov 08, 2004 2:18 pm

Post by Jake030 » Mon Dec 06, 2004 10:45 am

I took a quick look at lucky's list and noticed a missing image under the Chobits first ep. Under state it is looking for filestate_.gif to go next to the
hdd image but it doesn't exist.

User avatar
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit » Mon Dec 06, 2004 4:15 pm

hmm, you are both right..
strange, i guess the info on the sdk is wrong, anyway's if they have high priority, just make a copy "wish_pri_3.gif" and rename it to "wish_pri_2.gif", it won't solve the problem in the anime page, will not show the type of the wishlisted anime, but at least the image in mylist will be the right one.
Regarding the filestate problem, just make a copy of "filestate_0.gif" and rename it as "filestate_.gif".

That should solve at least the visual part of the problem, later this evening (+01/2:00 GMT) i will try to post a fixed html and image pack to solve the issues.

Thanks for your support on my support =)

Jake030
Posts: 24
Joined: Mon Nov 08, 2004 2:18 pm

Post by Jake030 » Mon Dec 06, 2004 7:08 pm

I also noticed on the Uchuu no Stellvia ep 25 section that it was looking
for ep_state_16.gif which doesn't exist either. It's not a big deal but
I thought I would mention it anyway.

lucky644
Posts: 45
Joined: Mon Sep 20, 2004 12:31 am
Location: Canada
Contact:

Post by lucky644 » Mon Dec 06, 2004 8:23 pm

fahrenheit wrote:hmm, you are both right..
strange, i guess the info on the sdk is wrong, anyway's if they have high priority, just make a copy "wish_pri_3.gif" and rename it to "wish_pri_2.gif", it won't solve the problem in the anime page, will not show the type of the wishlisted anime, but at least the image in mylist will be the right one.
Regarding the filestate problem, just make a copy of "filestate_0.gif" and rename it as "filestate_.gif".

That should solve at least the visual part of the problem, later this evening (+01/2:00 GMT) i will try to post a fixed html and image pack to solve the issues.

Thanks for your support on my support =)
Done, replaced/renamed the files, looks better now :)

User avatar
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit » Tue Dec 07, 2004 2:17 am

as for the uchuu no stelvia issue "ep_state_16.gif", it is related to an ep state that is no longer in use by anidb, more specificly the Hanger (cliffhanger state) to solve the issue you have 2 options:

1) copy "ep_state_8.gif" and then rename to "ep_state_16.gif"
or
2) if you have an "hanger.gif" file in the images folder you can rename it to "ep_state_16.gif" to get back the old image :P

In case you are wondering:

EP_SPECIAL=1,
EP_RECAP=2,
EP_OP=4,
EP_END=8,
EP_HANGER=16

Actually in the db the only active flag is 2, ep is a recap.

i'm revising the html's, i will give an warning when they are online, but that should fix the image problems, sorry for the issues, i should have bug proofed the templates more (that means i need a better test db :P)

User avatar
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit » Wed Dec 08, 2004 2:05 pm

image pack here:
http://pwp.netcabo.pt/fahrenheit/projectos/images.zip
(fixes image problems and also introduces the image for the portuguese audio lang)

code preview of html-operatic:
http://fahrenheit.home.sapo.pt/projecto ... mylist.htm

Improvements:
- there's a message in the mylist page loading to indicate that the page is loading (no status updates though)
- click on the [+] besides the animes to expand the episodes for that anime on the mylist page.

bugs:
- clicking [+] when the anime is expand does not colapse the anime (haven't done the function yet)
- trade checkboxes are not saved when expanding a new anime (will have to rebuild the trade function a bit)
- beter yet, there is no trade, the script kaputs somewhere.

edit: edited the url of the html-operatic page...
edit: add list of improvements/bugs.
edit: updated the image pack
Last edited by fahrenheit on Thu Dec 09, 2004 1:14 am, edited 1 time in total.

Jake030
Posts: 24
Joined: Mon Nov 08, 2004 2:18 pm

Post by Jake030 » Thu Dec 09, 2004 12:07 am

Thanks for the updates. Did you mean to rename wish_pri_1.gif to wish_pri_2.gif instead of 3 to 2 ?
The anime in question was high priority instead of medium.
I also noticed a file wanting ep_state_3.gif which doesn't exist. What
is 3 supposed to stand for ? What are you planning on doing with operatic ?

User avatar
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit » Thu Dec 09, 2004 1:08 am

Actually I have no ideia what an ep state 3 would be.
Could you point to me where i could find the aXXXX.js file for that error?
Example if you have an export of your mylist online, point the url to me, or send me *.js by PM or e-mail, i have to sort these things out with examples.
Hmm, regarding the rename issue, yes you are right..
It's 0 = low (green), 1 = med (yellow) and 2 = high (red).
I was doin' it all the way arround..

Regarding html-operatic, i'm currently using just the layout of cleancut, beacuse it's easier to see what changes in the code you are doing if you have some solid ground to work with.

Ayways html-operatic will have a diferent design, based in multiple reusable windows, a simpler layout, and these new features (some will be only made available to this template):

- Expandable episodes/files inside the mylist option (operatic) [done]
- Loading infos (all) [done]
- Make producer searchable in search (adv. search in operatic - all)
- Reorder anime list alpabeticaly when English is prefered language (all) [doing]
- Selectable columns for showing in views (operatic)
- Introduction of myVotes and myTempVotes views (operatic)

For example selectable columns for the mylist view will be:
Name, Icons, eps, seen, type, rating, votes, myvotes, year and size.

Default view is: Name, Icons, eps, seen, type and rating

This will be an option avaialable only to the list owner as it implies manualy editing the "layout.js" file that will be introduced in html-operatic.

So basicaly, when i have all the code done i will then work on the visual part, till then i will be using cleancut as a base :)

Jake030
Posts: 24
Joined: Mon Nov 08, 2004 2:18 pm

Post by Jake030 » Thu Dec 09, 2004 2:22 pm

I sent an e-mail with the attachment. I'll be looking forward to html-operatic :)

User avatar
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit » Thu Dec 09, 2004 11:33 pm

I've thought about the state 3 issue and solved the question, it's simply a Special (ep state = 1) and a Recap (ep state = 2) = Special Recap (ep state = 3).

Redonwload the image pack in the first post

anyways check the link above for the code preview of html-operatic.

I now implemented the alpabeticly sort code when english is selected, kanji would be an overkill, and if i may say so, it's a nice piece of code :P

edit: new additions to html-operatic code preview:

- Producer and AnimeNfo ids searchable in adv. search.
- You can now apply multiple filters on your mylist, complete then watched will only show completed animes with the status watched.
note: i will not touch anymore in this beaviour, it gives me enough problems as it is, anyway when you get stuck press Show ALL, it resets the view

User avatar
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit » Mon Dec 13, 2004 12:46 am

http://fahrenheit.home.sapo.pt/projecto ... mylist.htm

The code is almost complete, it's only missing the MyVotes and MyTmpVotes page, which takes me about 10minutes to make :P

I implemented during this time this:

- Expandable Episode/File Information on Mylist;
- Sort animes alphabetically when english is prefered language;
- Producer and AnimeNfo ids searchable in adv. search;
- Multiple Status filters on mylist;
- Loading page info;
- Layout selection via options;
- Introcuction of MyVotes and MyTmpVotes;
- Some layout corrections.

lucky644
Posts: 45
Joined: Mon Sep 20, 2004 12:31 am
Location: Canada
Contact:

Post by lucky644 » Mon Dec 13, 2004 12:55 am

fahrenheit wrote:http://fahrenheit.home.sapo.pt/projecto ... mylist.htm

The code is almost complete, it's only missing the MyVotes and MyTmpVotes page, which takes me about 10minutes to make :P

I implemented during this time this:

- Expandable Episode/File Information on Mylist;
- Sort animes alphabetically when english is prefered language;
- Producer and AnimeNfo ids searchable in adv. search;
- Multiple Status filters on mylist;
- Loading page info;
- Layout selection via options;
- Introcuction of MyVotes and MyTmpVotes;
- Some layout corrections.
Sounds good :)

PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW » Mon Dec 13, 2004 2:01 am

wooo, looks nice!

Jake030
Posts: 24
Joined: Mon Nov 08, 2004 2:18 pm

Post by Jake030 » Tue Dec 14, 2004 5:27 pm

Keep up the good work :D

User avatar
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit » Wed Dec 15, 2004 1:08 pm

added one more function:

sort ascending/descending by [column name].
(to example check the url in a above post)

Still haven't done the myvotes page.

anyway code is done, i will now start on the visual part :)

Locked