(08-21-2012 09:54 AM)ZiNgA BuRgA Wrote: [ -> ] (08-21-2012 04:56 AM)JimR Wrote: [ -> ]Just a quick question does xthreads support mathematical functions ?? E.G trdftotal=trdfprice+trdfpostal ?
If this is just for output purposes, use Template Conditionals to perform the addition.
Thanks for that, and yes it is for output purposes , but could you add the maths into a third fields blank replacement value ?
(08-21-2012 06:22 AM)RateU Wrote: [ -> ]If you trust your members, you can create an hidden custom fields to count it.
Otherwise, I think you need to do that in a plugin.
There is Input Formatter feature in XThreads 1.6. Later, I think you can use it for that.
I thought this may have worked
PHP Code:
<?php $GLOBALS['threadfields']['ptot']=$GLOBALS['threadfields']['part1p']+$GLOBALS['threadfields']['part2p'] ?>
|
(08-21-2012 05:31 PM)JimR Wrote: [ -> ]Thanks for that, and yes it is for output purposes , but could you add the maths into a third fields blank replacement value ?
You can, just make sure that this field's display order is larger than the other two.
The search button is not working. When i try to search something on the search button it will not display results but rather directs to the same page... Please help me on my problem. thank you....
If I don't misunderstand what you mean:
If you want it to be displayed on search.php, set the Enable XThreads' Inline Forum Search to No.
Just in case
Hi, can I have two trading forum? thank you
edit: I resolved it, I used another Template Prefix
additionally must creating you new trading forum and change trdf to what do you like.
We can use the same template prefix and/or the same threadfields settings for more than one forums.