(06-18-2015 08:41 PM)Grey Ghost Wrote: [ -> ]when you create a new thread the option is missing to add a description.
You're looking in the wrong template. Try newthread/editpost and check with the
template edits XThreads does.
Hi,
I've tried to make a new thread field (to add the thread description using xthreads) so I've selected all the different forums I have in the "applicable forums" list. However, I can't select all the forums in the same time.
The maximum number I can select is 85. If I go with a higher number they are just ignored and when I go back to edit this thread field, I can see that they are not selected.
The problem is that I can't divid the selection in two differents thread field, in this case i obtained the following error: "The field key you have chosen is already in use for another field. Please choose an unused unique key."
How could I manage to select all the forums ?
(06-20-2015 04:07 AM)OldDuck Wrote: [ -> ]How could I manage to select all the forums ?
Read the description text for the option:
Quote:Applicable Forums
Select the forums where this custom thread field will be used. Leave blank (select none) to make this field apply to all forums.
Rôô, now you say it, I see it clearly.
Thanks for your reply.
(06-19-2015 11:09 AM)ZiNgA BuRgA Wrote: [ -> ] (06-18-2015 08:41 PM)Grey Ghost Wrote: [ -> ]when you create a new thread the option is missing to add a description.
You're looking in the wrong template. Try newthread/editpost and check with the template edits XThreads does.
As in forumdisplay_newthread template for the theme? If so the code is:
Code:
<div class="bigbutton"><a href="newthread.php?fid={$fid}"><i style="font-size: 14px;" class="fa fa-file-text fa-fw"></i> {$lang->xstyled_newthread}</a></div>
|
And adding {$threadfields['desc']} or {$extra_threadfields} anywhere in that doesn't seem to help.
Never mind, im getting there. Might be back with other issues later
Aight well I got it working for the most part. But know I have this bug:
The layout of the forum has been stretched. Particularly with this plugin ProStats for 1.8
It appears some option 'numratings' has been inserted into these tables?
I can see when you go to make a new thread, this 'numthreads' is there as plan text:
Again it appears in the table data for this page. Has xThreads added this somewhere? Or knocked some code outta place to do with this?
I had xthreads 1.65 installed, but then saw you had 1.66 available. I disabled then uninstalled it thinking that would solve the problem, obviously not...
Any ideas? I'm not sure where to look.
I mentioned a link to all the template edits XThreads makes in the post at the top of this page.
If there are any edits outside of this list, you need to remove them.
Also look at the
actual HTML (View -> Source), not what the web dev tools show and map the code back to their corresponding templates.
(06-21-2015 03:02 PM)Grey Ghost Wrote: [ -> ] (06-19-2015 11:09 AM)ZiNgA BuRgA Wrote: [ -> ]Try newthread/editpost
As in forumdisplay_newthread template for the theme?
No, I said newthread, not forumdisplay_newthread.
Well I figured out where it is coming from. This code:
PHP Code:
<option value="numratings" {$sortsel['numratings']}>{$lang->sort_by_numratings}</option>
|
Is being added to all my global templates. But only when I have xthreads enabled. It's either xthreads adding it (but what do I know, honestly) or xthreads is clashing with another plugin that's adding it or something.
I don't know. Any ideas?
Much thanks!
XThreads adds that code to the end of the forumdisplay_threadlist_sortrating template only.
If you can show how to make it add it to any other template from a clean install, I can take a look at it.
I have a problem when I try to use xthreads for thread description.
I'm following the tutorial from this topic, however, after the step 4, I have already some errors.
It appears when I want to make a new thread, the following appear:
[
attachment=1022]
The code is:
Code:
<trclass="xthreads_inputrow"><tdclass="{$altbg}"width="20%"><strong>{$tf['title']}</strong></td><tdclass="{$altbg}">{$inputfield}<smallstyle="display:block;">{$tf['desc']}</small></td></tr><optionvalue="numratings"{$sortsel['numratings']}>{$lang->sort_by_numratings}</option>
|
It seems that the spaces in the xthread code are not kept.
The template "post_threadfields_inputrow" is good however:
Code:
<tr class="xthreads_inputrow">
<td class="{$altbg}" width="20%"><strong>{$tf['title']}</strong></td>
<td class="{$altbg}">{$inputfield}<small style="display: block;">{$tf['desc']}</small></td>
</tr>
|
In the template "newthread" there is the code included:
Code:
...
</tr>
{$extra_threadfields}{$posticons}
<tr>
...
|
I have removed all my others plugins, I have also reverted all files to their initial state. The problem is still there.
I do not know if it is really related to xthread or to an other parameter of configuration on my forum as I have also a strange problem with another plugin.
Edit:
I forget to mention, the code source displayed is the following:
Code:
<!-- start: post_threadfields_inputrow -->
</ul>
</div><</ul>
</div>t</ul>
</div>r</ul>
</div> </ul>
</div>c</ul>
</div>l</ul>
</div>a</ul>
</div>s</ul>
</div>s</ul>
</div>=</ul>
</div>"</ul>
</div>x</ul>
</div>t</ul>
</div>h</ul>
</div>r</ul>
</div>e</ul>
</div>a</ul>
</div>d</ul>
</div>s</ul>
</div>_</ul>
</div>i</ul>
</div>n</ul>
</div>p</ul>
</div>u</ul>
</div>t</ul>
</div>r</ul>
</div>o</ul>
</div>w</ul>
</div>"</ul>
</div>></ul>
</div>
</ul>
</div><</ul>
</div>t</ul>
</div>d</ul>
</div> </ul>
</div>c</ul>
</div>l</ul>
</div>a</ul>
</div>s</ul>
</div>s</ul>
</div>=</ul>
</div>"</ul>
</div>{</ul>
</div>$</ul>
</div>a</ul>
</div>l</ul>
</div>t</ul>
</div>b</ul>
</div>g</ul>
</div>}</ul>
</div>"</ul>
</div> </ul>
</div>w</ul>
</div>i</ul>
</div>d</ul>
</div>t</ul>
</div>h</ul>
</div>=</ul>
</div>"</ul>
</div>2</ul>
</div>0</ul>
</div>%</ul>
</div>"</ul>
</div>></ul>
</div><</ul>
</div>s</ul>
</div>t</ul>
</div>r</ul>
</div>o</ul>
</div>n</ul>
</div>g</ul>
</div>></ul>
</div>{</ul>
</div>$</ul>
</div>t</ul>
</div>f</ul>
</div>[</ul>
</div>'</ul>
</div>t</ul>
</div>i</ul>
</div>t</ul>
</div>l</ul>
</div>e</ul>
</div>'</ul>
</div>]</ul>
</div>}</ul>
</div><</ul>
</div>/</ul>
</div>s</ul>
</div>t</ul>
</div>r</ul>
</div>o</ul>
</div>n</ul>
</div>g</ul>
</div>></ul>
</div><</ul>
</div>/</ul>
</div>t</ul>
</div>d</ul>
</div>></ul>
</div>
</ul>
</div><</ul>
</div>t</ul>
</div>d</ul>
</div> </ul>
</div>c</ul>
</div>l</ul>
</div>a</ul>
</div>s</ul>
</div>s</ul>
</div>=</ul>
</div>"</ul>
</div>{</ul>
</div>$</ul>
</div>a</ul>
</div>l</ul>
</div>t</ul>
</div>b</ul>
</div>g</ul>
</div>}</ul>
</div>"</ul>
</div>></ul>
</div>{</ul>
</div>$</ul>
</div>i</ul>
</div>n</ul>
</div>p</ul>
</div>u</ul>
</div>t</ul>
</div>f</ul>
</div>i</ul>
</div>e</ul>
</div>l</ul>
</div>d</ul>
</div>}</ul>
</div><</ul>
</div>s</ul>
</div>m</ul>
</div>a</ul>
</div>l</ul>
</div>l</ul>
</div> </ul>
</div>s</ul>
</div>t</ul>
</div>y</ul>
</div>l</ul>
</div>e</ul>
</div>=</ul>
</div>"</ul>
</div>d</ul>
</div>i</ul>
</div>s</ul>
</div>p</ul>
</div>l</ul>
</div>a</ul>
</div>y</ul>
</div>:</ul>
</div> </ul>
</div>b</ul>
</div>l</ul>
</div>o</ul>
</div>c</ul>
</div>k</ul>
</div>;</ul>
</div>"</ul>
</div>></ul>
</div>{</ul>
</div>$</ul>
</div>t</ul>
</div>f</ul>
</div>[</ul>
</div>'</ul>
</div>d</ul>
</div>e</ul>
</div>s</ul>
</div>c</ul>
</div>'</ul>
</div>]</ul>
</div>}</ul>
</div><</ul>
</div>/</ul>
</div>s</ul>
</div>m</ul>
</div>a</ul>
</div>l</ul>
</div>l</ul>
</div>></ul>
</div><</ul>
</div>/</ul>
</div>t</ul>
</div>d</ul>
</div>></ul>
</div>
</ul>
</div><</ul>
</div>/</ul>
</div>t</ul>
</div>r</ul>
</div>></ul>
</div><</ul>
</div>o</ul>
</div>p</ul>
</div>t</ul>
</div>i</ul>
</div>o</ul>
</div>n</ul>
</div> </ul>
</div>v</ul>
</div>a</ul>
</div>l</ul>
</div>u</ul>
</div>e</ul>
</div>=</ul>
</div>"</ul>
</div>n</ul>
</div>u</ul>
</div>m</ul>
</div>r</ul>
</div>a</ul>
</div>t</ul>
</div>i</ul>
</div>n</ul>
</div>g</ul>
</div>s</ul>
</div>"</ul>
</div> </ul>
</div>{</ul>
</div>$</ul>
</div>s</ul>
</div>o</ul>
</div>r</ul>
</div>t</ul>
</div>s</ul>
</div>e</ul>
</div>l</ul>
</div>[</ul>
</div>'</ul>
</div>n</ul>
</div>u</ul>
</div>m</ul>
</div>r</ul>
</div>a</ul>
</div>t</ul>
</div>i</ul>
</div>n</ul>
</div>g</ul>
</div>s</ul>
</div>'</ul>
</div>]</ul>
</div>}</ul>
</div>></ul>
</div>{</ul>
</div>$</ul>
</div>l</ul>
</div>a</ul>
</div>n</ul>
</div>g</ul>
</div>-</ul>
</div>></ul>
</div>s</ul>
</div>o</ul>
</div>r</ul>
</div>t</ul>
</div>_</ul>
</div>b</ul>
</div>y</ul>
</div>_</ul>
</div>n</ul>
</div>u</ul>
</div>m</ul>
</div>r</ul>
</div>a</ul>
</div>t</ul>
</div>i</ul>
</div>n</ul>
</div>g</ul>
</div>s</ul>
</div>}</ul>
</div><</ul>
</div>/</ul>
</div>o</ul>
</div>p</ul>
</div>t</ul>
</div>i</ul>
</div>o</ul>
</div>n</ul>
</div>></ul>
</div><option value="numratings" >Sort by: Number of Ratings</option>
<!-- end: post_threadfields_inputrow --><!-- start: posticons -->
|