MyBB Hacks

Full Version: Trading Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Ok, might have been something I did and not have noticed it.

Another question, Is it possible to have 2 "New Thread" pages? For example, I want "New Thread 1" to have different custom fields as "New Thread 2". So one could do something like..

"New Auction" - user would be given different custom fields that pertain to a auction only.
"New Wanted" - user can fill in fields that pertain only to wanted ads.


Just wondering if this is possible.
Not quite sure without using a different forum.
(08-09-2014 05:36 AM)codegamer Wrote: [ -> ]Just wondering if this is possible.
Depends on how much pain you're willing to bear...

Well, theoretically you could set up two links with different params and conditionals to hide certain elements.  Up to you whether you want to bother with it though.
Actaully I was able to figure out the newthread2.php and found out it could all be done. However since I had some custom fields that were REQUIRED, even though they were not being used on this newthread2.php it still wanted me to fill them in. So I ditched the idea.
Maybe you can use the Custom Modify Error feature, then make the fields not required. Using a specified parameter for each link (maybe you only need 1 newthread.php), use conditional to check it in the Custom Modify Error.
Sounds possible with one file hiding elements using conditionals, may be that is what RateU suggests Tongue
first post for simple question Biggrin
to show price 20.000.000,-  or 20.000.000,00 not like this 20,000,000.00 (default $ ).
thanks
Change the display format for the field.  See http://php.net/manual/en/function.number-format.php

Eg

Code:
<?=number_format({VALUE},3,',','.')?>

yes, that way. i ever implementation on another aplication, and success.
before i posting above, also try same way, but not success. may be coding mode or placemet still wrong. Ok i will try again later

i think before, related setting "Price" custom thread field on Text Mask Filter  ^\d+(\.\d{2})?$
I love this. I am going to be using this for exchanging posts/threads in my forum. For instance, a member wants to exchange 5 posts for 5 posts. So this will be great for it.

One question, is it possible to have like a rating system? For instance, say I complete 5 exchanges on time, can you have it so the other members gives you a thumbs up or thumbs down? Kind of like reputation, but only for exchanges.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Reference URL's