MyBB-Plugins Forums
Extra thread fields 1.1 - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.4.x (http://forums.mybb-plugins.com/Forum-MyBB-1-4-x)
+---- Forum: Paid Plugins (http://forums.mybb-plugins.com/Forum-Paid-Plugins)
+---- Thread: Extra thread fields 1.1 (/Thread-Extra-thread-fields-1-1)

Pages: 1 2 3 4 5 6 7


RE: Extra thread fields 1.0 - Seeker - 10-05-2009

Glad to "re-discover this one; I finally need to use it. Smile


RE: Extra thread fields 1.0 - Diogo Parrinha - 10-05-2009

I'm glad you like Smile


RE: Extra thread fields 1.0 - combus - 01-10-2010

Do you think it'd be possible to use this to set "tags" for the threads, and add them as meta data on the page?


RE: Extra thread fields 1.0 - ryanpcarr - 01-10-2010

I kinda skimmed over this topic, but is there a chance you could include more input types. What I mean by this is drop down menu, radio buttons and check boxes.

I have modified the new thread template to include fields like these but its global and I only want it to be for a specific thread.


RE: Extra thread fields 1.0 - Diogo Parrinha - 01-10-2010

You can change in the settings which forums are affected, but not which threads. I won't include other input fields for now as I have no need for them and only a few users actually use this plugin.
Thank you


RE: Extra thread fields 1.0 - habs - 01-17-2010

wow.. poor me.. i just figure it out -__-

this plugin is awesome.. glad you invent it, nervo! Big Grin
i've tested it and i have a few suggestions:
1. could you make a multiple setting for each field? in configuration panel, it only has 1 setting which only set WHOLE fields to ONE targeted forum. How if you show all field and put EDIT and there will be a field to put "id" of which forum we want to show the custom field.
2. could you add "max char limit" for this?
3. i found that "textarea" is the same as "text", i can't find the diff. So, what is the text/textarea diff from your setting? is it bug?
4. could you describe how to show this custom field under the thread title on thread body?

thanks.


RE: Extra thread fields 1.0 - Seeker - 01-18-2010

(01-17-2010, 04:26 AM)habs Wrote: ...this plugin is awesome.. glad you invent it, nervo! Big Grin

Me too, I've been testing it today, and it's really nice.


#####

4. could you describe how to show this custom field under the thread title on thread body?

This is the template variable
Code:
{$thread['primary_tag_name']}
This code will put a tag (custom field) data "big and bold" up in the table head, right after the thread title:
In Edit Template: showthread (~line 29, depending on your previous edits)
Code:
<strong>{$thread['subject']} / {$thread['primary_tag_name']}</strong>

EDIT: the "/" looks fine if the custom field has data, but looks awkward when left alone at the end of the thread title /


RE: Extra thread fields 1.0 - Diogo Parrinha - 01-18-2010

Just use the var {$thread['nameoffield']}
However, if not sanitized, it can lead to XSS attacks.
I'm going upload 1.1 in a moment. It will escape all custom fields in showthread and forumdisplay


RE: Extra thread fields 1.1 - Diogo Parrinha - 01-18-2010

Updated to 1.1 with new features Smile


RE: Extra thread fields 1.1 - matulek - 01-19-2010

Hey,
can you add a checkbox type?? it could help to prevent from using weird words by users.