MyBB.de Forum
Custom Thread Fields - Input Field Options - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Plugin-Diskussionen (https://www.mybb.de/forum/forum-38.html)
+--- Thema: Custom Thread Fields - Input Field Options (/thread-30790.html)



Custom Thread Fields - Input Field Options - frage7 - 20.10.2014

Hallo,

ich habe über Custom Thread Fields, Input Field Type "Options Buttons" erstellt.

Wenn ich mich nun in der Beitragserstellung befinde, kann ich unter "Values List" folgendes auswählen, bestimmen.

PHP-Code:
1{|}<img src="images/pommes.gif" alt="1 star" />
2{|}<img src="images/pommes.gif" alt="2 stars" />
3{|}<img src="images/pommes.gif" alt="3 stars" />
4{|}<img src="images/pommes.gif" alt="4 stars" />
5{|}<img src="images/pommes.gif" alt="5 stars" /> 

soweit gut.

Wenn der Beitrag dann fertig ist und dieser im Forum besichtigt werden kann, werden nur noch die Standard "rating stars" angezeigt und nicht images/pommes.gif.

Ich nehme an das zur Ausgabe im fertigen Beitrag das Feld "Display Format" zuständig ist, zurzeit sieht dieses so aus.


PHP-Code:
<tr><td style="white-space:nowrap;width:1%">{$GLOBALS['threadfields_x']['resrev_food']['title']}</td><td><ul class="star_rating float_left"><li style="width:{VALUE}%" class="current_rating"></li></ul></td></tr
 
was muss hier geändert werden damit auch die Grafiken aus "Values List" angezeigt werden?

Im Anhang habe ich einmal die beiden Anschauungen beigefügt.

Gruß,
Frage7


RE: Custom Thread Fields - Input Field Options - Jockl - 21.10.2014

Ich verstehe Dein Anliegen nicht ganz. Handelt es sich hierbei um eine Anwendung auf Basis des X-Thread Plugins?


RE: Custom Thread Fields - Input Field Options - frage7 - 21.10.2014

(21.10.2014, 19:31)Jockl schrieb: Ich verstehe Dein Anliegen nicht ganz. Handelt es sich hierbei um eine Anwendung auf Basis des X-Thread Plugins?

oh ja.. auf  X-Thread, sorry hatte ich vergessen zu benennen.


RE: Custom Thread Fields - Input Field Options - Jockl - 21.10.2014

OK, da wirst Du vermutlich auf MrBrechreiz warten müssen oder andere User, die sich mit X-Threads beschäftigen.


RE: Custom Thread Fields - Input Field Options - MrBrechreiz - 21.10.2014

Im Regelfall müsste im Display Format. {VALUE} stehen.