**Before Making An Add on **
Please consult with me before making an add on to this hack. As it is my work and such, the add ons that you are trying to make for it may be in the next release and/or premium version.
What does this do?
This hack allows you to add more fields to your threads besides just the title and message. This is extremely usefull in order to specify certain things in a thread in a way that people are more aware of it and such. There are several types of fields you can add and several features for the hack.
What features does this hack provide?
Add extra fields to threads. These include:
Text fields
Select Drop Down Fields
Radio Fields
Checkbox Fields
Enhanced extra threadfields manager - Premium Only*new
Search through fields within forums (forumdisplay.php) - Premium Only*new
Search through fields in search.php - Premium Only
Control order in which fields are displayed
Edit thread fields via the "edit thread" page
Edit thread fields via the "edit post" page - Premium Only*new
Set the forums in which you want fields to appear in - Premium Only (light version may set forumid's, but are a tad more limited as to how many)
Show fields automatically in thread
Show fields automatically in forumdisplay
Make a field required - Premium Only
Control what forums the field is shown in
Enable/Disable system
Enable/Disable automatic showing fields in thread
Enable/Disable automatic showing fields in forum
Make the field only editable by staff - Premium Only
Control what usergroups can edit staff-only editable fields - Premium Only
Show extra fields in subscriptions - Premium Only
Show extra fields in forum index - Premium Only
Show extra fields in search results - Premium Only
Control what fields are searchable - Premium Only
Enable/Disable automatic showing fields in forum index - Premium Only
Enable/Disable automatic showing fields in search results - Premium Only
Style how your extra fields appear in threads (using html) directly from your admincp! - Premium Only*new
No template edits required! - Premium Only*new
What does this hack require?
Template Edits: 4
Products Imported: 1
5 Easy Steps Step 1. Import the following product: product-extra_threadfields.xml Step 2. Upload the files in the upload folder. Step 3. Do the edits located below Step 4. Edit the newly added options in admincp as you please Step 5. Enjoy the hack.
F.A.Q Q. How do i get extra fields to show in the "edit post" page? A. This is only available in the premium version.
Q. If i do not want the fields to be shown automatically, can i do it manually? A. You can manually show fields in threads or posts by using $thread[fieldx] in the postbit or showthread template. Replace x with the ID of the field you want. To find the ID of the field go to admincp >> Extra Threadfields >> Extra Fields Manager, and hover over a field. The number after fieldid = will be the id of your field.
Q. I updated all of the options, i installed it perfectly, i did all edits, and still the options are not showing when i go to add a new thread. What do i do? A. It is believed that you have a hack interfering with this one. Take away the edit that you did for putting $extrathreadfields inside the newthread template, and do this instead:
hey gio any luck on my issue? hope you can find it.
May i suggest using trial and error and disabling hacks (other than mines), until you see the error go away? Then let me know which hack it is that interferes.
May i suggest using trial and error and disabling hacks (other than mines), until you see the error go away? Then let me know which hack it is that interferes.
I can't manage to display extrafields in the forums display of threads (as opposed to the display of posts in a single thread)
I attached your screenshot showing the extrafields, and a screenshot of my own, showing that I was able to insert a bit of text into the thread summary, but the $extrafields variable isn't doing anything
Wow I really like this but before I install I need to make sure or check if this feature exists.
I want these extrafields to only be available when starting a thread in a certain forums. For example I only want these fields to be available in my Selling Forums and no other forums. I also would like an option to force the member to fill in that field like the cost field since my selling forum rules are you must post a selling price and by doing it this way they are forced to fill in the cost field
Sure thing. If you'd like, PM me the resulsts, this way we do not flood the thread with this.
i have uninstalled every single hack and not 1 take the error away. so unfortunatly i have to take it down sorry and thanks for trying. i really like this hack.
Great Hack. I love it :-) Perfect for my Game development site.
but... i know it is somehow possible to allow members to edit their own fields, because vb.org lets you do it for mods... if this could also be figured out, I would greatly appreciate it. :-)
when I try to install new plugins. vb.com said that the table belongs to your plugin. Any ideas on how I can get past this? I cuurently have no other plugins or products installed.