• The wp-calculator seems as though it could be exactly what I need.

    I find the description text hard to understand possibly because its translated from Russian. The screenshots in Russian are little hard to figure out. I am unsure how to make it work. The support web page is currently broken.

    It would be most helpful to have a simple example. Suppoese three fields a drop down (mapping to some number) a numberic text field and another field say another numeric. Add the first two and multiply by the third and put the result somewhere.

    Can some one indicate what would go in hte various calculator selections and then I should be able to work the rest out.

    http://wordpress.org/extend/plugins/wp-creator-calculator/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author ZetRider

    (@zetrider)

    Hello, keirvt!
    Unfortunately the plugin instructions translated by Google Translate, which is why it so difficult to understand.

    A simple example you can see the bottom of the page http://www.zetrider.ru/wp-creator-calculator.html

    Thread Starter keirvt

    (@keirvt)

    This is very much in Russian but looks like it might be the Russian version of http://wordpress.org/extend/plugins/wp-creator-calculator/
    Perhaps there is someone that has done something easy in English

    What is meant by “arithmetic sign”. In English it can refer to whether a variable is positive or negative but here I think it might mean equation. In which case what is the format of the equation.

    How do define an action. The meaning of the code in hte SESSION section is unclear. What are the bracketed numbers and what are the numbers to the right of the “=>” symbol ?

    A few simple English examples would help please. Perhaps I can help you by writing som better English instructions. Could you provide a few more clues please.

    Thread Starter keirvt

    (@keirvt)

    I found someone that speaks Russian and put the English and Russian transcripts in front of him. He reckoned Google Translate had done a pretty good job but didn’t understand what was meant by the text.

    Can you explain what does sign up and sign down mean?

    How and where do I put a formula that says something like take the first field add it to the second multiply by the third and put the answer in another field?

    Keirvt, I’ve got the same problems/question.

    I want to make a CO2 Calculator in which you can choose the distance, the car and it then calculates the amount of CO2 which is produced.

    Seems like this plug in is able to let me make a simple calculator like that, but I cant figure out how to program the plugin?!

    As you say, an easy example would help a lot to understand the way how to program a calculator, and which logical way of thinking is behind it.

    @zetrider; also at the end of your given page I can’t find a simple example of a calculator?!
    Can you please give us some easy instructions so we can go on with your very useful plugin?!

    Greetz, Bas
    The Netherlands.

    Thread Starter keirvt

    (@keirvt)

    Without better explanation I could waste the time and looked around for alternatives. I found Jazzy Forms plugin does the calculation function well and is under development. For your purposes Jazzy forms will do well. It isn’t very good at formating output. I found the drop downs I was using to be separated excessively. You can to override the default CSS with something of you own if appearance is important but there lies a time consuming business.

    Keirvt, thanx for the help!

    In the end I did make your PlugIn work!, but finally used Jazzy Forms instead.
    See the result here
    Thanx for the response and the tip!!

    Bas

    Thread Starter keirvt

    (@keirvt)

    Great to see you have your site working and it looks good.

    I hasten to add the plugin is not mine.

    Which theme are you using on your site? I am using “Twenty Ten” because I wanted a simple banner across the top but this theme results in a big separation between my Jazzy Form elements.
    I tried altering the CSS but is not working very well.
    Did you override the CSS? Your site’s style is the type of format I want.

    No, I didn’t override anything.
    Don’t even know exactly how to override my CSS.

    Do you mean the CSS of the template?!
    Or to put in extra CSS in the Jazzy Forms PlugIn?!

    I’m using the Weaver theme.
    Very nice and very flexible.

    Baskeluchtop, I put Jazzy Forms in my website and I can not get the data I calculate position. How have you done to make it work. Thanks for your help!

    Thread Starter keirvt

    (@keirvt)

    You need to give a bit moe information fro anyone to help you.
    What form elements have you created in your form?

    What calculations from those elements are trying to do?

    What is happening or what is not happening?
    Are there any error clues in your result field?

    Thanks for responding.

    I’ve installed Jazzy Forms. I’ve added drop down lists and the form when someone selects an item from the list at the end it must to display the sum as a result of this selection, but the form only shows me a box that says #name?. The form does not display a button that says calculate.
    You can see the result in the example page: http://nelsonjaramillo.freehostia.com/?page_id=2.

    I’ve installed Wp-Calculator-Creator with the same items that Jazzy Forms and when I run the calculation, the form gives me the following error line:
    Parse error: syntax error, unexpected ‘;’ in /home/www/nelsonjaramillo.freehostia.com/wp-content/plugins/wp-creator-calculator/action/wpcc_result.php(16) : eval()’d code on line.

    Can you help me, please.
    Thank you in advance!

    Thread Starter keirvt

    (@keirvt)

    I’ll address only the Jazzy Form problem here.

    There is no need for a calculate button because Jazzy Forms does the calculation ineractively. Make sure on the edit pages of Jazzy forms under General tab that the checkbox “Update output elements instantly” is checked.

    As soon as you complete an entry in a form element it will change your final result as you change an item. After and edit you may need to click somewhere (or refresh) on the page just to make sure the change is recognised.

    In the configuration of each drop down you assign a title which appears above the drop down and variable name (labeled ID ) that is used in the final formula calculation. In the Options box you can set what number is returned depending on what the user has selected in the drop down and that number is what is placed in the ID variable.

    It may be important for you to consider the default case at the start where the user has not yet enetered anything. My opinion is that a form should begin with a sensible value in the result box.

    Your error suggests that you have made a mistake with the variable name. The formula for the result field is using an ID name that doesn’t exist. Perhaps this is just a typing error in the formula.

    You can debug this by making the result field formula the result of just one drop down and gradually increasing the number of other drop down elements..

    You can run two browser pages simultaneously, one with the form editor and the other with the page displaying the form. Edit your Jazzy form, don’t forget to click save. Then go to the display page and click on the refresh button so see the results of your edits.

    Thank you very much!
    I try to fix this and I’ll tell what’s going on.

    keirvt: Thank you for your explanation. With the explanation that I could solve my problem with Jazzy Forms. Thanks again!

    Ah! the syntax is: Id+Id+Id (That’s all)no parenthesis.
    I hope this is helpfull to another user like me.

    Example with drop-down menu:
    Tittle: Carros de carrera
    ID: carros
    1 id: Mazda value: 100
    2 id: VW value: 90
    Tittle: Tipos de Llantas
    ID: llantas
    1 id: radiales value: 50
    2 id: negras value: 40

    Formula:
    carros+llantas

    keirvt, thank you very much, again!

    villyskov

    (@villyskovgmailcom)

    Can i use if sent-ens in a formula?

    if volumen > 5 then *100
    if volumen < 5 then * 95

    Anyone tried this?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin: wp-creator-calculator] Need an example’ is closed to new replies.