maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Customize N900 Conversations (https://talk.maemo.org/showthread.php?t=36618)

godofwar424 2011-03-05 19:11

Re: Customize N900 Conversations
 
Quote:

Originally Posted by Garcel (Post 961361)
Sorry for being a noob here. But i can't find instructions where to put the attached theme sms on the file box. or should i type something on the terminal. Can anyone teach me how? thanks.

You need to copy the files to this location and then restart your conversations a couple of times for your theme to be applied.

Firstly I have copied the files to my N900 via USB and put them in root directory of the Mass Storage.

Code:

cp -f /home/user/MyDocs/MessagingWidgetsSMSConversation.css /usr/share/rtcom-messaging-ui/html/
cp -f /home/user/MyDocs/MessagingWidgetsSMSConversation.js /usr/share/rtcom-messaging-ui/html/
cp -f /home/user/MyDocs/MessagingWidgetsSMSConversation.html /usr/share/rtcom-messaging-ui/html/

Secondly, assuming that there are no files for IM, here is how you create them.

Code:

cp -f MessagingWidgetsSMSConversation.css MessagingWidgetsChatConversation.css
cp -f MessagingWidgetsSMSConversation.js MessagingWidgetsChatConversation.js
cp -f MessagingWidgetsSMSConversation.html MessagingWidgetsChatConversation.html

Hope this helps :)

If you don't want to use the terminal, then you can always get a program like WinSCP as long as you have OpenSSH installed on your N900

Copy the files to the /usr/share/rtcom-messaging-ui/html directory via wifi :)

godofwar424 2011-03-05 19:12

Re: Customize N900 Conversations
 
Quote:

Originally Posted by Alfred (Post 961375)
sorry bout that, will be more attentive in the future

Sorry I didn't mean to snap, just had a long day.

If you need anything else feel free to ask :)

Ill try and help :P

godofwar424 2011-03-05 19:15

Re: Customize N900 Conversations
 
Quote:

Originally Posted by arora.rohan (Post 961370)
There is this bug..when i get a new sms..the screen doesnt auto scrolls up :( !
i tried to fix it myself...but couldn't..anyone knows how to fix it?

There are some themes that have a fix for this bug but I havent been able to extract the bugfix from the Jscript files :(

Hopefully niqbal or somebody else with more knowledge of Jscript will be able to tell us what needs to be done so me and others can fix our themes.

Harick 2011-03-05 20:28

Re: Customize N900 Conversations
 
3 Attachment(s)
it's me again, hi

well, couple of modifications

first, new layout with both, self and other's avatar on left

second, now you can choose from a bunch of nice bubbles color and layouts to make your own custom iphony conversation.

explanation:

it's kind of complicated, but like they say, there is no easy path to heaven.

EDIT.: now there is a variant for IM too, the steps are the same, but bubbles images in IM variant goes inside the IM folder, this way you can have 2 different schemes for the 2 different conversations

first choose a BG, there is light and black background, if you want another just edit the body background-color in the css file

second, choose a layout, there are 8 differents
- both sides (left for self, right for other)
- both side with small gap
- both side with avatars
- both side with avatars and small gap
- left side (both messages are on left side)
- left side with small ga
- left side with avatars
- left side with avatars and small gap
now you got 3 files (html, css, and js) (plus an IM folder if you are going to customize chat) copy them into the /usr/share/rtcom-messaging-ui/html

third, choose from the Bubbles folder a color for your bubble (from self folder) and a color for the other bubble (others folder)

finaly, copy the png images you choose into the right folder
for SMS conversation
Code:

/usr/share/rtcom-messaging-ui/html
for Chat
Code:

/usr/share/rtcom-messaging-ui/html/IM

and thats it, you have a custom iphone-like conversation



any bug/question just ask

Garcel 2011-03-05 20:33

Re: Customize N900 Conversations
 
Quote:

Originally Posted by godofwar424 (Post 961381)
You need to copy the files to this location and then restart your conversations a couple of times for your theme to be applied.

Firstly I have copied the files to my N900 via USB and put them in root directory of the Mass Storage.

Code:

cp -f /home/user/MyDocs/MessagingWidgetsSMSConversation.css /usr/share/rtcom-messaging-ui/html/
cp -f /home/user/MyDocs/MessagingWidgetsSMSConversation.js /usr/share/rtcom-messaging-ui/html/
cp -f /home/user/MyDocs/MessagingWidgetsSMSConversation.html /usr/share/rtcom-messaging-ui/html/

Secondly, assuming that there are no files for IM, here is how you create them.

Code:

cp -f MessagingWidgetsSMSConversation.css MessagingWidgetsChatConversation.css
cp -f MessagingWidgetsSMSConversation.js MessagingWidgetsChatConversation.js
cp -f MessagingWidgetsSMSConversation.html MessagingWidgetsChatConversation.html

Hope this helps :)

If you don't want to use the terminal, then you can always get a program like WinSCP as long as you have OpenSSH installed on your N900

Copy the files to the /usr/share/rtcom-messaging-ui/html directory via wifi :)

Thanks. If I want my default theme. what shold i do? And i don't know how to work on the potrait files where to put it. Again. sorry for being such a noob.

godofwar424 2011-03-05 21:15

Re: Customize N900 Conversations
 
Quote:

Originally Posted by Garcel (Post 961417)
Thanks. If I want my default theme. what shold i do?

I would advise you to backup the originals before you do any midifications. Here is how to do this :)

Backup

Code:

mv MessagingWidgetsSMSConversation.css MessagingWidgetsSMSConversation.css.bak
mv MessagingWidgetsSMSConversation.js MessagingWidgetsSMSConversation.js.bak
mv MessagingWidgetsSMSConversation.html MessagingWidgetsSMSConversation.html.bak
mv MessagingWidgetsChatConversation.css MessagingWidgetsChatConversation.css.bak
mv MessagingWidgetsChatConversation.js MessagingWidgetsChatConversation.js.bak
mv MessagingWidgetsChatConversation.html MessagingWidgetsChatConversation.html.bak

Restoring your backup

Code:

mv MessagingWidgetsSMSConversation.css.bak MessagingWidgetsSMSConversation.css
mv MessagingWidgetsSMSConversation.js.bak MessagingWidgetsSMSConversation.js
mv MessagingWidgetsSMSConversation.html.bak MessagingWidgetsSMSConversation.html
mv MessagingWidgetsChatConversation.css.bak MessagingWidgetsChatConversation.css
mv MessagingWidgetsChatConversation.js.bak MessagingWidgetsChatConversation.js
mv MessagingWidgetsChatConversation.html.bak MessagingWidgetsChatConversation.html

Hope this helps :)

If you get stuck let me know and I will try and explain it better or many upload a vid of the process or a script.

Garcel 2011-03-05 21:19

Re: Customize N900 Conversations
 
Thanks.one last question. How to make potrait work? where should i put the files?

godofwar424 2011-03-05 21:24

Re: Customize N900 Conversations
 
Quote:

Originally Posted by Garcel (Post 961443)
Thanks.one last question. How to make potrait work? where should i put the files?

You dont need to do anything to use these themes in portrait.

If you mean you want portrait mode enabled, then you need the CSSU installed and then the force-portrait enabled in transitions.ini

geojoking 2011-03-05 21:38

Re: Customize N900 Conversations
 
Quote:

Originally Posted by Harick (Post 961323)
ok, for first and last name you have to edit the js file.

anyway, here you have two versions, just extract the version you want inside html folder

first one its like default (i.e. first name then last name)

second is the other way around (last name then first name)

Thank you ! :)

iscio 2011-03-05 21:47

Re: Customize N900 Conversations
 
Quote:

Originally Posted by Harick (Post 961304)


ok, i fixed the b999m, but please test it, shouldn't be empty spaces



wow it works very very well...you are great. thank you very much


All times are GMT. The time now is 15:39.

vBulletin® Version 3.8.8