(12-08-2011 05:22 AM)RateU Wrote: If you put the input textbox tag directly in the threadfields_inputrow template like that, other input type won't be displayed (textarea, listbox and etc). And, XThreads input type has a "dynamic" name, something like xthreads_key, depends on the key of the custom fields, not subject.
XThreads input fields defined in the {$inputfield} variable in the template.
What's wrong using the .myinput .textbox class? It doesn't work in IE browser?
For the Template Prefix, you can find it in edit/create forum page, not in edit/create custom fields:
AdminCP -> Forums & Posts -> Forum Management -> Edit your PR forum, scroll down the page. You'll find the Template Prefix setting there.
For the reply function, you can set the reply permission for your PR forum.
And, optionally (if you don't have it yet), you can create a new showthread template, copy paste your default showthread template to the new showthread template, and name it as prefix_showthread template (again, depends on the Template Prefix used for your PR forum. Then, style it as you want (maybe you want to remove the {$newreply} variable from the prefix_showthread template.
Thank you for the followup.
1. Have never been able to find the .textbox class.
Closest has been in /theme(1-3)/global#.css
Quote:input.textbox {
background: #ffffff;
color: #000000;
border: 1px solid #0f5c8e;
padding: 1px;
}
textarea {
background: #ffffff;
color: #000000;
border: 1px solid #0f5c8e;
padding: 2px;
line-height: 1.4;
font-family: Verdana, Arial, Sans-Serif;
font-size: 20px;
The standards which I found at
http://community.mybb.com/thread-33809.html ('thread dispay' part attached) pointed to the .trow* class and that seemed to work for textboxes.
Modifying 'textarea' didnt seem to change anything that I could find, so left as is.
2. Found ACP... 'Template Prefix', and read the 'full description' (quite helpful). Appears will need to check out
http://www.php.net/manual/en/index.php for 'variables and conditionals', but looks like you have put me on the right track.
3. Am not quite sure what is meant by...
Quote: If you put the input textbox tag directly in the threadfields_inputrow template like that, other input type won't be displayed (textarea, listbox and etc). And, XThreads input type has a "dynamic" name, something like xthreads_key, depends on the key of the custom fields, not subject.
XThreads input fields defined in the {$inputfield} variable in the template.
In particular...
'other input type',
'input name has a dynamic name' (is that the 'template pefix' ? ),
'{$inputfield} variable'
...but will look at the php.net manual.
4. The 'reply function' info looks pretty straight forward (at least from a php beginners standpoint at this stage), and will just need to get into it and see how it all works.
So, will be checking out some of the above terminolgy at php.net.
Do you have any other good php info sources ?
And, thanks again for all your help and getting me on the right track/s.