**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:
The original poster of a thread fills out the required "extra" fields but can?t change them after posting his thread?
So we use your mod in a selling area and the seller must fill in "price" and "condition". But he is not able to change the price after saving his thread in the forum.
Could we alter the script in this way?
Make sure that he goes to "edit thread" and not "edit post".
I aint got a clue how it uninstalled m8....
All i did was import the product, thats how i install and update
all the hacks i have (and thats 1 or 2, ok lots then pmsl)
There is no way it could have uninstalled itself whilst importing is there?
I couldnt see it as thats never happened before....
This is strange i am the only admin so noone else could have done it either ..
I am totally baffled hence saying that i didnt uninstalled in my previous post.
The only thin i uninstalled today was one on developers hacks (top users stats)
Oh well, thanks for sorting it (nce again ) much appreciated!!
A question:
I would like the extra fields to show up under the title on forum display, but in the content body of the message in showthread. Is this possible? If so, how would I go about doing it?
A question:
I would like the extra fields to show up under the title on forum display, but in the content body of the message in showthread. Is this possible? If so, how would I go about doing it?
Thank you.
Would you mind giving me an edited screenshot (using photoshop i suppose), that shows exactly what you want?