powered by Jive Software

Spark client logo change


#1

Dear ,

I m very satisfied with spark messenger but now i need to change spark logo to my academy logo.

i m not belong from software development side i m a network administrator.

anyone can do help regarding that…?

Thanks

A Mohan Rao

+91 98260 61122


#2

You can add a branded image to the main Spark window via default.properties file, no programming needed http://community.igniterealtime.org/docs/DOC-2163

If you want to change Spark image on the login screen, then read this http://community.igniterealtime.org/docs/DOC-1360 This will involve recompiling your own Spark version.


#3

Still not able to change spark messenger logo.

kindly guide me step by step or which software needed to do this.

but i have to download the file which is provide by you…

  • build\build.xml

    • ** **src\resources\i18n\spark_i18n.properties *(for English)
  • src\java\org\jivesoftware\launcher\Installer.java

    • *src\java\org\jivesoftware\resource\default.properties (also enter

your server name for the value of HOST_NAME)

  • src\java\org\jivesoftware\resource\spark.properties (also replace

“1.0” in “Version 1.0 Release” with the version of Spark you’re building)

  • *src\plugins\fastpath\src\resources\fastpath.properties *(also replace

“1.0” in “Version 1.0 Release” with the version of Spark you’re building)

In the src\resources\images folder - replace the following files:

spark.gif

spark.ico

spark_100.jpg (100 x 100)

spark-16x16.png

spark-32x32.png

spark-60x60.png

spark-64x64.png

spark.png (244 x 188)

away.png (16 x 16)

DoNotDisturb.png (16 x 16)

message.icns http://en.wikipedia.org/wiki/Apple_Icon_Image_format

Thanks

A Mohan Rao

+91 98260 61122


#4

Check out (download) the source using any svn client (e.g. TortoiseSVN) - svn co [http://svn.igniterealtime.org/svn/repos/spark/trunk](http://svn.igniterealtime.org/svn/repos/spark/trunk) spark

Replace src\resources\images\spark.png (not sure this is the one, but it looks like this is the logo) with your own (probably of the same size).

Compile Spark project with any compiler/ide (e.g. Eclipse, NetBeans). Here’s a short guide for compiling in NetBeans http://community.igniterealtime.org/docs/DOC-1521

Then you can simply copy spark.jar from the /Spark/target folder and replace it in you existing installations. If you want to create your own installer, then this is even more complex and i can’t help here much.

P.S. i won’t give any more detailed step by step isntructions, as i don’t have that much spare time and i think i have said enough to go on on yourself.


#5

Sir,

i tried my best and try to compile spark with NETBEAN. and also download svn

files from http://svn.igniterealtime.org/svn/repos/spark/trunk with

(TortoiseSVN) svn client software .

but not able to get any success.

kindly guide me

Thanks

A Mohan Rao

+91 98260 61122


#6

but not able to get any success.
This doesn’t say much you know. Please say what exactly is not happening to you, what errors do you get or what you can’t find.


#7

Sir, i have down 2 spark svn files through svn client(TORTOISE) and

also download NETBEAN. Then what and which file need to change to

change spark logo. Then how to create that exe or rpm. Thnx A Mohan

Rao


#8

Sorry for that i m not clearly mention my previous reply. Actually i

have download spark source code one is 30 MB another is 140 MB Then

pls guide me what i do to change spark name logo and exe and rpm


#9

I will also need Java JDK installed to get Spark compiling. Read the document i have already given a url about Compiling Spark for Dummies.

You need to replace src\resources\images\spark.png and spark.gif file with your own (if you need to change the logo on the login screen). If you want to change Spark image everywhere, then you will need to change more files in the /images folder.

I can’t advise how to build an installer as i haven’t ever tried this myself. Here’s a document which describes how to build the installer with IzPack http://community.igniterealtime.org/docs/DOC-1767


#10

Ok thanks alot for help me but onethink i could not understand if i m

using windows xp and installed spark messenger. Now pls guide me what

to do to change spark logo. Pls provide steps… Thnx Mohan


#11

Sir, still i m not able to change spark mesngr logo. Kindly guide me

instruction how to from first step. Currently i m installed spark

messengr in my windows machine. And openfire is installed at linux

machine. And i also download spark source through svn which is 130 MB.

And installed java netbean. Now How to change logo. Is there any

changes of spark.exe or source. If any change of source then how to

create that exe. Now i think u better undrstand where i m doing

mistake and what is exactly my confusion. Thanks Mohan Rao +

919826061122


#12

Mr. Mohan Rao,

I dont know, whether i am authorized to help you on this but, FYI i was able to acheive the same as mentioned below.

Install Spark

Make sure that the latest version of Spark is installed on either a test machine or a single client machine that you will use to modify the install.

Find the file to edit

The next step is to find the file that you need to edit to brand spark. The following steps assume that you have installed Spark in the default directory…

Navigate to C:\Program Files\Spark\lib

Find the file ‘spark.jar’ and open it with WinRar (other archivers will work but WinRar tends to give best results)

NOTE: Open the .jar file, do NOT extract it.

Navigate the .jar file

Inside the .jar archive, navigate to…

\org\jivesoftware\resource

Locate the file named ‘default.properties’ and double click to open with Notepad / Wordpad.

NOTE: Don’t click ‘View File’ as this will not let you edit.

Edit the properties file

This file deals with the branding and main settings for your window behaviour in Spark.

The file is already very well commented, but if you’re wanting to brand Spark, pay attention to the settings marked in red on the attachment.

Note: If you are changing the image, make sure to copy it into the images folder in the root of spark.jar

Once you have made the changes that you want, Save the text file and close it.

WinRar will then tell you that the file has changed and ask you if you want to add it back into the archive. Hit YES to update your changes.

Once the archive has been updated, start Spark and your changes will be displayed

Deploy your branded Spark

Once you’re happy with the branding, all you need to do is copy your modified .jar file to all of your spark clients. This can be done with the xcopy command or in many other ways (see loads of other How-to’s)

Note: If users update their spark clients, ther spark.jar file might be overwritten. To avoid this, there is a settings in the properties file that allows you to disable updating. This ensures that your branding stays intact.

If you want to update Spark, you can push the update out from the OpenFire server, then copy the spark.jar file back again.

Conclusion

I’m sure that there are other ways to do this, but this was the easiest way that I found for a reasonably small deployment (about 20 users)

If you want to deploy your own release of Spark, check out the API dev kit at:

http://www.igniterealtime.org/projects/spark/sparkplug-kit.jsp

Thanks & Regards,

Mouli A H V K



#13

Thanks Mouli