NetTalk Central

Author Topic: A theme for each user, set at runtime  (Read 5340 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
A theme for each user, set at runtime
« on: February 19, 2014, 09:18:41 AM »
Hi,
How can I allow the user to set and then remember the theme it will use?
Thanks
-----------
Regards
Alberto

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: A theme for each user, set at runtime
« Reply #1 on: February 19, 2014, 03:56:38 PM »
Add themes to a drop list. Save choice to an ini file. Get value from ini file when they log in.

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: A theme for each user, set at runtime
« Reply #2 on: February 20, 2014, 12:06:36 AM »
Ok KEvin, I know, but.
Where, in which embed and what code to use to set the theme for the user?
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: A theme for each user, set at runtime
« Reply #3 on: February 20, 2014, 01:38:24 AM »
Example 3 has an example of this - the RuntimeSettings procedure in there.

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: A theme for each user, set at runtime
« Reply #4 on: February 20, 2014, 03:20:43 AM »
Sory Bruce but I cant find any RuntimeSettings procedure in example 3
-----------
Regards
Alberto

urayoan

  • Full Member
  • ***
  • Posts: 222
    • View Profile
    • AZ Rock Radio
Re: A theme for each user, set at runtime
« Reply #5 on: February 20, 2014, 11:17:22 AM »
michelis

Check the example BasicWithLogin (3)

It has a procedure called RuntimeSettings and is available via web in the menu

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: A theme for each user, set at runtime
« Reply #6 on: February 20, 2014, 11:33:15 AM »
Sory NT 6.55 installed in C6 and C9
No such a procedure
See image


[attachment deleted by admin]
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: A theme for each user, set at runtime
« Reply #7 on: February 20, 2014, 11:57:46 AM »
It's in NT7 example, probably not in the NT6 one.

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: A theme for each user, set at runtime
« Reply #8 on: February 20, 2014, 12:07:47 PM »
and may you please export it to txa for me?
thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: A theme for each user, set at runtime
« Reply #9 on: February 20, 2014, 09:42:46 PM »
Hi Alberto,

I'm not sure how to write this reply without causing offense. It is not intention to offend, but it's probably worth me noting my position.

The short answer is no, you can't have a TXA. The example is in NetTalk 7, and NetTalk 7 users have access to it. You can't just cherry-pick stuff out of NT7 that you want.

The longer answer is slightly more complex. We don't force people to upgrade - that's a choice you make. As you know we still even answer questions as best we can with regard to people on old versions. If you choose not to upgrade, then that's your choice.

On the other hand all the features being added, the work done under-the-hood, new examples added, improved documentation and so on - all this takes time and effort on my side. I've written a book, done training classes and currently doing a weekly webinar answering questions. In order to make it possible to devote this much time and energy to the product it needs to provide sufficient income otherwise I have to work on other things. In order to create this income we charge for a NetTalk upgrade every so often.

Let's assume we do an upgrade every 12 months. (We don't, but let's assume that we did.) That means a $499 upgrade is about $2 per (working) day (240 days per year). Or about 20c per hour. During that time you will likely earn $15 000 or $6.25 per hour (www.payscale.com).

I understand your logic - if you hold out long enough you can skip a version, basically halving your NetTalk cost. You're certainly not the only one. Our statistics seem to show that about a third of all NetTalk users follow this approach. In the long run though it's a false saving. It just means that fewer resources are available, which means that your programs progress more slowly.

By contrast the bulk of the community understands that to make money to need to spend a bit of money. Remaining up to date keeps you abreast with the latest developments, bug fixes, improvements and so on. Most of all it fundamentally speeds up development because income-in is directly related to effort expended.

I understand that the price is inequitable. Many people, especially in (but not limited to) South America believe they have a monopoly on bad exchange rates, and that the rest of the world is swimming in cash and therefore they deserve a free ride. That's not really true. I live in the third-world too, and it's fortunate that I do because there's no way NetTalk could be developed (for the price it is) if I had to pay US prices just to stay alive. NetTalk may be effectively cheaper for Americans, but in practice they have to pay more for just about everything else - there is no free ride wherever you go.

The point of my post is not to make you feel guilty, or to somehow pressurize you into buying an upgrade. As I said at the beginning you're welcome to stay on NT6 if that's what you want to do. You gain the benefits of this forum, user group webinars, and updated documentation without spending a penny. However to request materials from inside NT7, which you have not paid for, is stretching the bounds just a little too far.

Ultimately it's up to you. Either you think the work we are doing is valuable to you, or it's not. If it is then I politely suggest you pay your share of the cost. If it's not then please don't upgrade.

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: A theme for each user, set at runtime
« Reply #10 on: February 21, 2014, 06:08:07 AM »
Bruce,
Sory, no offence.
I love and respect your work.
I'm a self.employed programmer and certainly not a succesfull one.
You are supposing meny things about me and my country.
Juat to give you an  example, there are month in wich i earn u$200.- in argentine pesos.
$499.- is nothing for an american an may be a fortune to me.
Besides, upgrade means change many things in the app and I am alone and there are moments I am very busy trying to get more work.
I will upgrade, but I cant do it now.
Please understand.
Regards
Alberto
-----------
Regards
Alberto