Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Thread Descriptions
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #51
RE: Thread Descriptions
(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.

My Blog
06-19-2015 11:09 AM
Find all posts by this user Quote this message in a reply
OldDuck Offline
Junior Member
**
Posts: 4
Joined: Jun 2015
Post: #52
RE: Thread Descriptions
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 ?
(This post was last modified: 06-20-2015 04:08 AM by OldDuck.)
06-20-2015 04:07 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #53
RE: Thread Descriptions
(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.

My Blog
06-20-2015 12:09 PM
Find all posts by this user Quote this message in a reply
OldDuck Offline
Junior Member
**
Posts: 4
Joined: Jun 2015
Post: #54
RE: Thread Descriptions
Rôô, now you say it, I see it clearly.

Thanks for your reply.
06-20-2015 12:13 PM
Find all posts by this user Quote this message in a reply
Grey Ghost Offline
Junior Member
**
Posts: 10
Joined: Nov 2014
Post: #55
RE: Thread Descriptions
(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 Tongue


[Image: TVGF_signature.png]
(This post was last modified: 06-21-2015 03:14 PM by Grey Ghost.)
06-21-2015 03:02 PM
Find all posts by this user Quote this message in a reply
Grey Ghost Offline
Junior Member
**
Posts: 10
Joined: Nov 2014
Post: #56
RE: Thread Descriptions
Aight well I got it working for the most part. But know I have this bug:

[Image: 4HaI0DM.png]

The layout of the forum has been stretched. Particularly with this plugin ProStats for 1.8

[Image: xsDQSGy.png]

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:

[Image: jxCBrbI.png]

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.

[Image: TVGF_signature.png]
06-21-2015 03:52 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #57
RE: Thread Descriptions
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.

My Blog
(This post was last modified: 06-21-2015 06:57 PM by ZiNgA BuRgA.)
06-21-2015 06:55 PM
Find all posts by this user Quote this message in a reply
Grey Ghost Offline
Junior Member
**
Posts: 10
Joined: Nov 2014
Post: #58
RE: Thread Descriptions
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!


[Image: TVGF_signature.png]
06-21-2015 09:01 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #59
RE: Thread Descriptions
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.

My Blog
06-21-2015 10:09 PM
Find all posts by this user Quote this message in a reply
OldDuck Offline
Junior Member
**
Posts: 4
Joined: Jun 2015
Post: #60
RE: Thread Descriptions
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:
   

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:
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<!-- 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 -->

(This post was last modified: 06-29-2015 09:43 AM by OldDuck.)
06-29-2015 08:12 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: