You can use textbox input field type:
Create a custom thread fields:
Admin CP -> Configuration -> Custom Thread Fields -> Add Thread Field, or see this post for screenshot:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=291&pid=31
Setting for the custom thread field:
Now, when a user create a new thread or edit their thread, they will see a contact information textbox:
If user didn't fill their contact information, the error message will be displayed:
Now, we need to put the contact information to our template. Depends on where we want to display it.
For example, if we want to put it in
postbit template, we need to edit our
postbit and
postbit_classic template.
The variable we need to put to display the Contact Information is:
Lets say that we want to display it above the post message.
Find this code in our postbit and postbit_classic template:
Then, add the {$GLOBALS['threadfields']['contact_info']} variable above the {$post['message']} vairiable. Something like this:
The result will be like this (horizontal and classic):