[OLD] Vaping Community Calculator STABLE ALPHA

Just tried it, and it still happens on Create Recipe
as well as Edit Recipe (is this what you call Update ?)
Couldn’t find an “Adapt Page”…

Also, at the top of the forum, can we have a link to the calculator ?
And at the top of the calculator, can we have a link back to the forum ?

1 Like

User → Vaping Discourse
Resources → Vaping Discourse

I’ll add a link to the calc here in a sec

2 Likes

Flavour comments are not implemented yet, I can make them private and have them show on the not yet made user page if that suits?

1 Like

I was doing ratings separate from comments for simplicity I don’t want to force too many hands

1 Like

Searching public recipes by flavour should be working now :tada: :crossed_fingers:

@DaveDave Can you remove the 100% flavour recipes please

1 Like

Looking better!
Now on to fixing the recipe %'s. Form values validation needs work.

Not sure how you’re validating or calculating to get a negative 200% of VG

Here’s how I got those numbers above:

No hurry on this, just put it on your growing list of shit to do :innocent:

Your inputting 300% of flavour what do you expect :rofl:

1 Like

Oh, i see, your pointing out I haven’t got around to validating the calcs on the page yet to stop negative numbers, I got ya, It’s part way done, still need to work some stuff out cheers :+1:

2 Likes

I have almost 500 flavours in my stash at ELR and I’ve never put a price in.
So unless I hunt down all these flavours on the web and put a price on it I cannot rate a flavour?
You will have to pay me a hell of a lot of money to get me to do that :wink: :roll_eyes::tired_face:

3 Likes

Flavour rating will be open to logged in users regardless

1 Like

Try now, should be checking for values under 0 and returning an error, thanks

Flavour comments should be working now, see an example here:

2 Likes

You can now delete your flavour comments in case you mess up

3 Likes

The flavour ratings have stopped working… I need to redo them

1 Like

Oh you poor guy :tired_face:

3 Likes

Im just leaving it alone for the moment, I need a break I think :smile:

4 Likes

Thanks Grubby, the validation is still broken.
see pic. It should be an acceptable recipe (I wouldn’t mix it!), but I couldn’t save it - gave me that pink warning box.

I d/l your code snippet you posted yesterday, and I’ll see if I can figure it out and send it back to you.

2 Likes

Its validating server side, the code I posted was just for the “view” maths

2 Likes