Hello,
is there a way to create a custom spark client with a default server setting?
someone can download the client and have nothing to do than to login with
a username and password? it will be much easier for the user.
greetings, xex
Hello,
is there a way to create a custom spark client with a default server setting?
someone can download the client and have nothing to do than to login with
a username and password? it will be much easier for the user.
greetings, xex
Sure, you can sign up for the skinning service, which you can “hard code” the server in.
One of its features: Restrict the server address the client connects to. This allows the client to only make connections to a server you specify.
Great!
Thanks you!
Or you can setup the account with a logon script… below is how I do it on our site.
@echo Off
:CHECK
IF EXIST “%USERPROFILE%\Spark\spark.properties” GOTO END
:PROFILE
CLS
ECHO.
ECHO Setting up new Spark user profile - Please wait!
IF NOT EXIST “%USERPROFILE%\Spark” mkdir “%USERPROFILE%\Spark”
CD “%USERPROFILE%\Spark”
SET SPARKPREFS="%USERPROFILE%\Spark\spark.properties"
ECHO server=SERVERNAME!!! >> %SPARKPREFS%
ECHO idleTime=5 >> %SPARKPREFS%
ECHO windowTakesFocus=false >> %SPARKPREFS%
ECHO spellCheckerEnabled=true >> %SPARKPREFS%
ECHO passwordSaved=true >> %SPARKPREFS%
ECHO username=%USERNAME% >> %SPARKPREFS%
ECHO showHistory=true >> %SPARKPREFS%
ECHO lastUpdateCheck= >> %SPARKPREFS%
ECHO defaultChatLengthTimeout=300 >> %SPARKPREFS%
ECHO autoLoginEnabled=true >> %SPARKPREFS%
ECHO chatNotificationOn=true >> %SPARKPREFS%
ECHO timeDisplayed=true >> %SPARKPREFS%
ECHO showEmptyGroups=false >> %SPARKPREFS%
ECHO toasterPopup=true >> %SPARKPREFS%
ECHO startOnStartup=true %SPARKPREFS%
ECHO startHidden=true %SPARKPREFS%
:END
Also have it deployed through a startup script that add’'s a VERSION folder and sets the version in there… this way it is easy to push new clients as they come
@echo off
:CHECK
IF EXIST “%ProgramFiles%\Spark\Version\Spark_2_0_4.txt” GOTO END
:INSTALL
CLS
ECHO.
ECHO Installing/Upgrading Spark Instant Messaging client - Please wait!
SERVER\FILELOCATION\Spark_2_0_4.exe -q
:VERSIONSET
CD %PROGRAMFILES%\Spark
IF NOT EXIST “%PROGRAMFILES%\Spark\Version” mkdir Version
cd version
echo Version: Spark_2_0_4 > Spark_2_0_4.txt
:END
Is there a way to configure the advanced settings like this ?
Message was edited by: Cassads
i copied and pasted into a batch file and logged in and ran it. the only settings it set for me were the username and servername.
i did see that the file was created in the user’'s profile
neither the auto login or save password checked and in the preferences nothing was changed from the default settings.
also, when i click on the “login” settings in preferences, it does not show the settings?
i have the latest version of spark 2.0.7
its an xp pro sp2 machine.
maybe the batch is not running properly?
any ideas?
It seems that they don’‘t actually propagate to the client and I haven’'t quite figured out why…
After setting the preferences within the client the config file is the same… so I’'m not sure what i am missing. If I figure it out I will post it up here.
-Tim