Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

[Closed] Skin Question
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: [Closed] Skin Question
#16804
Re:Skin Question 2 Years, 8 Months ago  
Sorry nem0, but the way that Rainlendar2 uses codes is always with lua.
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#16805
Re:Skin Question 2 Years, 8 Months ago  
Jorge_Luis wrote:
Sorry nem0, but the way that Rainlendar2 uses codes is always with lua.

its okey ,i used ur port as reference to make the other skin ,could u please check it and tell what is wrong cuz rainlendar cant see it and always give an error about skin.xml is not found ,also tell me how to encode the skin into r2skin format ???
cl.ly/172O3q2M111i1z3a0x2r
nem0
Senior Boarder
Posts: 49
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthday: 10/28
Last Edit: 2012/03/06 07:06 By nem0.
The administrator has disabled public write access.
Dont Let UR Dreams be Just .... A DREAMS.
DA
 
#16809
Re:Skin Question 2 Years, 8 Months ago  
a) First, explain "how to encode the skin into r2skin format ":
You can see this about "How can I create new skins?":
www.rainlendar.net/cms/index.php?option=com_kunena&Itemid=42&func=view&catid=3&id=14707#14708

b) Please use the standard double-quotes "xx" (or use standard single-quotes 'xx'), instead use other kind-quotes.

c) About "dress.xml" :
I changed some values to make images to match the correct place.

d) About "element.xml" :
You are duplicate-define some elements, e.g. <bitmap id="bitmap.b00" file="images/b00.png" />

e) About "dress.lua" :
time = os.date("%I:%M")
--> it will get a time-string "time" e.g. time="09:05"

_, _, tHour, tMin = time:find("(%d+)%d+)")
--> it will get two string "tHour" "tMin" e.g. tHour="09" tMin="05"

tHour = tonumber(tHour)
tMin = tonumber(tMin)
--> it will get two numbers "tHour" "tMin" e.g. tHour=9 tMin=5, but you defined the bitmap's id is like "bitmap.b00", you always need two digits, so please deleted them

Rainlendar_SetItemValue(window, "dress.hour", "element", "bitmap.b".. tHour)
--> it will rewrite <image id="dress.hour" x="18" y="171" element="bitmap.b00" /> as <image id="dress.hour" x="18" y="171" element="bitmap.b09" />



Attach the file that i had modified(because can only attach 120k file, so not including images)
File Attachment:
File Name: Dress_01.zip
File Size: 2177
anoob
Platinum Boarder
Posts: 508
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
Last Edit: 2012/03/06 12:26 By anoob.
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
#16812
Re:Skin Question 2 Years, 8 Months ago  
I LOVE YOU MAN ,You & JOURGE have done such a wonderfulllllllllll job helping me ,i think it didn't work because of the fucken MAC smart quoting thing plus the other things of-course but i think that was the major reason why it didn't work but still am soooooo thankful for both of you ,just a last couple a questions

*why when i write a letter after or b4 X=100 or Y=100 it reset to 0 in both direction ? ,what i mean is i want the clock to be locked to right and when the number changes it doesn't move but instead it expand to the left.

*why the thin fonts donít work ? ,something like code light ,at least it looks thicker on mac than on windows.

*how to convert skin from ini to xml ,the 1st topic dont help in anyway for the newpies and not even the rainlendar help ? (SOLVED).
nem0
Senior Boarder
Posts: 49
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthday: 10/28
Last Edit: 2012/03/08 14:52 By nem0.
The administrator has disabled public write access.
Dont Let UR Dreams be Just .... A DREAMS.
DA
 
Go to topPage: 123
get the latest posts directly to your desktop