Actually just an input field! We do things like "medieval" or "alternate future" etc there.
Try it first here (I've just set up a quick demo):
http://mybb.xp3.biz/newthread.php?fid=3
Since I don't have the rating images, so the rating is just displaying the name of the rating image should be loaded.
Is that what you want?
YES! This is exactly what I want!
hi, i'm using xThreads on my new site
http://www.automotonet.com
i have a question.I want to display a field (newthread template) only if a condition is true.
For example i have 2 custom fields....fieldA and fieldB
i want to create a code to check....if condition1 is true then i want to display fieldA and if condition1 is false then i want to display fieldB
*** by the way i have another question: is it possible to use calculation into fields? for example i want to add a number X to field1 and the field2 calculate and store automatically the X*2 .
thanks
@ashkir: I'll create the tutorial soon.
(10-25-2015 09:09 PM)tempo Wrote: [ -> ]i have a question.I want to display a field (newthread template) only if a condition is true.
For example i have 2 custom fields....fieldA and fieldB
i want to create a code to check....if condition1 is true then i want to display fieldA and if condition1 is false then i want to display fieldB
The condition is based on what?
(10-25-2015 09:09 PM)tempo Wrote: [ -> ]is it possible to use calculation into fields? for example i want to add a number X to field1 and the field2 calculate and store automatically the X*2 .
So you want to store (save to db) the calculation result into field2?
(10-25-2015 09:09 PM)tempo Wrote: [ -> ]*** by the way i have another question: is it possible to use calculation into fields? for example i want to add a number X to field1 and the field2 calculate and store automatically the X*2 .
If field2 is calculated from field1, is there any need for field2 at all? Just perform the calculation when displaying the output.
The only downside on displaying the field on output is that it isnt possible to use sorting/filters on that value as it isnt in the database.
Thank you for the upgrade.
EDIT: Nevermind, missed a template edit!
Works great, thank you!