View Full Version : Major Additions - Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!)
Gio~Logist
10-28-2008, 10:00 PM
Brought To You By
ModernvB - Vbulletin Solutions & Services
http://www.modernvb.com
Premium Modification:
http://www.modernvb.com/vb_products.php?&vb_products=moreinfo&productid=1
https://vborg.vbsupport.ru/external/2008/10/4.jpg (http://www.modernvb.com/vb_products.php?&vb_products=moreinfo&productid=1)
**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 *newWhat 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:
Search for:
<!-- / subject field -->Add below:
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">$extrathreadfields</table>Enjoy the hack.
Credits:
CMX_CMGSCCC (https://vborg.vbsupport.ru/member.php?u=41269) - Big thanks! Could not have done it without you!
Don't forget to click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=194918)
Gio~Logist
10-29-2008, 12:10 PM
Decided to make another thread to better manage feature requests, support, etc.
Here are some screenshots.
schlottkej
10-29-2008, 06:04 PM
Another solid release :)
ssslippy
10-29-2008, 08:16 PM
Is it possible to have the text put into the thread instead of into the title?
Gio~Logist
10-29-2008, 10:01 PM
Is it possible to have the text put into the thread instead of into the title?
Yea, you just have to change the location of where you make the postbit edit :) For the light version at least, premium does it automatically so you'd have to edit the code. Pm me if you're using that one.
StormBreaker
11-02-2008, 10:44 AM
This mod is awesome! will be very useful for my new forum :)
How can i make something like the image below in my forum...
https://vborg.vbsupport.ru/
You can`t type the title or Message before checking the box!
Thank you.
Repentless
11-02-2008, 12:12 PM
Great mod, thanks!
Gio~Logist
11-05-2008, 02:28 PM
This mod is awesome! will be very useful for my new forum :)
How can i make something like the image below in my forum...
http://img219.imageshack.us/img219/521/ppqh7.jpg
You can`t type the title or Message before checking the box!
Thank you.
That's a bit different from this modification. What they probably do is create a fieldset and wrap the forum description in it and then add some new value that they just check for in a plugin and output an error if it's not clicked. Would require custom coding.
CraiovaOnLine
11-05-2008, 03:32 PM
i am interested in that above to
please give us some pointers
Gio~Logist
11-10-2008, 03:49 PM
i am interested in that above to
please give us some pointers
I may be coding something up like this for a release, i'll keep you guys posted.
3Motions
11-19-2008, 09:46 PM
Does anyone know where to get a similar mod but not limited to certain features by a bogus light/premium restriction?
oferelijah
12-01-2008, 04:37 AM
i have some problem..
i firefox the "Make a field required" woreks only in firefox, in IE its dont work
why?
i am running 3.7.3
codershark
12-01-2008, 05:53 AM
the feature "Edit thread fields via the "edit post" page - Premium Only *new" doesnt work for me in pro version ...
Gio~Logist
12-01-2008, 02:06 PM
i have some problem..
i firefox the "Make a field required" woreks only in firefox, in IE its dont work
why?
i am running 3.7.3
Funny enough, that wasn't discovered until recently. Goes to show how many people use ie these days :p Was getting the same issue for search in the premium version but that's fixed, need to address required fields and path up the light as well asap.
the feature "Edit thread fields via the "edit post" page - Premium Only *new" doesnt work for me in pro version ...
Shoot me over a pm or email via the premium support website (http://www.giologist.com/vb) and we'll work on troubleshooting. Chances are there's a conflicting modification or customization.
zmickzalois3
12-03-2008, 02:57 PM
good evening
I have a problem with the id of the forum!
in the part of Extra Threadfields in pca / Forum to include this in
http://www.ptp-images.com/img/wchrd84c3.jpg
is limited to 70 id, I was 470 a how to please extend the list of id?
merci
zmickzalois3
12-03-2008, 09:01 PM
it's good I have found
in fact we must change the varchar in the base to give
So those who m'interresse and forum / vachar (200) <= I've amended varchar (480)
which gives an example of the change in the sql
DROP TABLE IF EXISTS vb5z1_thread_fields_admin;
CREATE TABLE `vb5z1_thread_fields_admin` (
`title` varchar(100) NOT NULL default '',
`fieldid` int(10) unsigned NOT NULL auto_increment,
`description` varchar(200) NOT NULL default '',
`forums` varchar(480) NOT NULL default '',
`type` varchar(100) NOT NULL default '',
xxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxx
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
I have a good add much more to the varchar accept my 480 class
Wholesale settle a 480 as it accounted for more than 148 id max, (must add,)
So roughly 480 + 478 = 958 So I had a 1000 change to be on
giving
`forums` varchar(1000) NOT NULL default '',
LordNinja
12-05-2008, 01:20 AM
Q. How do i get extra fields to show in the "edit post" page?
A. This is only available in the premium version.
Do you mean I can't edit the extra fields after a thread is started?
movslow
12-05-2008, 05:19 PM
Did all 4 template edits, uploaded said files and imported product. No dice.
Changed newthread template as per the instructions if another mod is possibly interferring and still not showing.
:confused:
jlew24asu
12-05-2008, 05:53 PM
can this be used for one specific forum as opposed to all?
arakasi
12-05-2008, 06:02 PM
Q. How do i get extra fields to show in the "edit post" page?
A. This is only available in the premium version.
Do you mean I can't edit the extra fields after a thread is started?
No, you can edit everytime the extra fields in posts, but not with the edit button. You must edit the Thread in Thread Options.
Works great for me.
can this be used for one specific forum as opposed to all?
You must set every Forum ID indicate for all extra fields do you create.
jlew24asu
12-05-2008, 06:18 PM
You must set every Forum ID indicate for all extra fields do you create.
:confused:
oferelijah
12-07-2008, 07:37 AM
Funny enough, that wasn't discovered until recently. Goes to show how many people use ie these days :p Was getting the same issue for search in the premium version but that's fixed, need to address required fields and path up the light as well asap.
When do you think this will be fixed? i want to install it.
i installed it on my test site when i discoverd that issue
NetRover
12-07-2008, 10:48 AM
Hi Gio, glad someone brought this thread to life as I've never spotted it before.
If I enabled this for just one forum only and then the thread was moved to another forum would it still carry the extra info across?
wickedstangs
12-07-2008, 12:41 PM
Very Nice...Thank You
yotsume
12-07-2008, 02:30 PM
I bought the premium version however I am waiting for the next release with bug fixes and additions that I posted on your site.
Any chance on getting some news as to when you might release an updated version and what will be in the new version?
YsTyle
12-07-2008, 02:35 PM
can i set who can look at the extra field by groups?
another question:
how can i make the extra fields shown like that:
extrafield1
extrafield2
extrafield3
instead of extrafield1 extrafield2 extrafield3
thanks :)
MissKalunji
12-09-2008, 05:10 PM
what's the difference with this one and the previous one released?
jlew24asu
12-10-2008, 11:19 AM
can this be used for one specific forum as opposed to all?
I dont see how to set the Forum ID in the screen shots. how is this done?
LordNinja
12-16-2008, 02:28 AM
Are extra fields searchable on free version, like vBulletin native Prefixes?
laskos
12-19-2008, 08:20 PM
would you be able to have it so members can add a url in the boxes?
Nizwa
12-19-2008, 08:37 PM
Please Gio~Logist
Check PM , i'm contacting you for todays
laskos
12-19-2008, 09:18 PM
can i set who can look at the extra field by groups?
another question:
how can i make the extra fields shown like that:
extrafield1
extrafield2
extrafield3
instead of extrafield1 extrafield2 extrafield3
thanks :)
did you manage to get it to display like this? if not can the code who did this please tell me/us how to do it please :)
oferelijah
12-20-2008, 06:52 AM
i have some problem..
i firefox the "Make a field required" woreks only in firefox, in IE its dont work
why?
i am running 3.7.3
When do you think this will be fixed? i want to install it.
i installed it on my test site when i discoverd that issue
??????
JRayers
12-26-2008, 02:57 AM
Is it possible to have a set of input fields for New Thread and then a different set of input fields for Post Reply? I guess something along the lines of Sitepoint Marketplace where you can post a price and other details in the initial post, but then anyone that replies can only make a comment.
Brycestro
12-30-2008, 01:08 PM
can the developer of this give an update on how this is progressing in terms of the fixes people have requested here? Sounds like a great hack that I'm wanting to buy but needs a few loose ends fixed up before going into production by the looks.
SpeedyHire
01-09-2009, 08:40 AM
did you manage to get it to display like this? if not can the code who did this please tell me/us how to do it please :)
anyone got a fix for this yet
pipin
01-13-2009, 05:26 PM
can i set who can look at the extra field by groups?
another question:
how can i make the extra fields shown like that:
extrafield1
extrafield2
extrafield3
instead of extrafield1 extrafield2 extrafield3
thanks :)
change in template showthread_extra_fields
<b>$threadfield[title]:</b> $thread[fieldvalue]
to
<b>$threadfield[title]:</b> $thread[fieldvalue]<br />
Stickers
01-17-2009, 08:40 PM
Can i also make link fields.. like :
link 1: boy
link 2: girl
kud0gfx
01-18-2009, 09:36 PM
Bought the PRO version, it worth it!
stwilson
01-19-2009, 03:53 PM
Is there any way to have the extra threadbits form show on specific calendars? I would like to capture some additional information on new entries to the calendar and extra threadbits looks like it would work. Can anyone suggest a hack to have it show on my default calendar?
sub_ubi
01-26-2009, 09:24 AM
Any luck on 3.8?
MissKalunji
01-27-2009, 05:40 PM
working fine on mine so far
Gio~Logist
02-04-2009, 01:33 AM
Are extra fields searchable on free version, like vBulletin native Prefixes?
Only in the Premium version at the moment. Premium version offers search both on Forum Display and Search.php.
can this be used for one specific forum as opposed to all?
Each Thread Field has an options for the forums in which you'd like them to appear in.
Q. How do i get extra fields to show in the "edit post" page?
A. This is only available in the premium version.
Do you mean I can't edit the extra fields after a thread is started?
They're editable in the Light version via "Edit Thread".
Bought the PRO version, it worth it!
Glad you like it. Going to make a few changes to the light version as well for a few minor bug fixes and updates soon hopefully. Been real busy on the Premium version and other products. But i know some people really would like to get more of a kick of this thing before buying ;)
Everyone loves "free trials", heh.
daydie
02-26-2009, 05:06 PM
When i edit the thread manually, i cant change the test fieldi have inserted, they dont show.
Please help.
daydie
02-27-2009, 12:57 PM
i have just installed a new template and they dont show, i dont want to uninstall and install, if i do i will lose all previouse added thread fields?
daydie
02-27-2009, 01:21 PM
My bad, i just needed to edit template edits.
sleepyboy2004
04-21-2009, 07:14 PM
Anything for 3.8 yet.... I would like to buy if it works fine...
canada369
04-22-2009, 09:16 PM
Okay so I found a small problem with this mod. It sets the SQL table with max character limits of about 200. So if you wish to have more options for your boxes you need to edit the SQL table to have a max character limit alot higher. I personally use 2000 just to be safe.
Thanks for the product!
rase2
05-19-2009, 03:48 PM
any luck on 3.8?
Gio~Logist
06-06-2009, 08:18 PM
Should work just fine on 3.8 ;) I haven't done much updating to the light version but the premium has held strong through all versions, and the overall code concept is similar (just a bit more complex of course :p).
1Unreal
07-04-2009, 03:44 AM
Perfect. Running on vB 3.8 :)
Darkmx
10-29-2009, 05:57 PM
thanks, its very usefull this hack, sorry for my bad english...
baderandsonsco
12-07-2009, 07:50 PM
Just installed. Exactly what I was looking for! One question though: Is there a way to have the custom fields come up in all replies to the original thread? I'm using this as a survey type tool and it's only coming up in the original thread.
ps2wiz
12-09-2009, 08:07 AM
Any future updates for VB 4?
Ricsca
02-18-2010, 08:01 AM
Any future updates for VB 4?
up....up.........
raistlinthewiz
03-15-2010, 11:01 AM
any updates for vb4?
ps2wiz
03-16-2010, 04:48 AM
Any future updates for VB 4?
up....up.........
any updates for vb4?
Some confusing information here:
http://www.provb.org/showthread.php?t=3422
rmcdaniels
03-27-2010, 05:30 PM
Is there a way to stop the fields from appearing in the last post section of the forum view page? It makes my forum view page huge:
http://www.carolinahondas.com/site-feedback-suggestions/
s810car
07-03-2010, 07:14 AM
I figured out a way to port this, now it was a REAL pain to do, but if anyone's interested in a decently usable vb4 version of this, PM me here on site (the LITE only, and this isn't a true port rather a working modification to vb4 which means any request has to edit the current code as I will not make a product, I have no interest in stepping on the authors toes, and still crossing my fingers for a much better vb4 version of ETF lite by the author when he has the time to commit to a free version of his awesome script)
SpanishHarlem
10-10-2010, 12:34 AM
I just installed this on 3.8.6 and purchased the premium version.. Having problems getting it the way I want
When I make the extra fields they show up on top of each other. I am hoping to do it side by side..
I run a freebie forum and want it this way
Month Day Year
Not
Month
Day
Year.
Can you please help me figure this out.
SpeedyHire
10-10-2010, 07:35 AM
Try reading within this thread is a good start it is only 5 pages.
change in template showthread_extra_fields
SpanishHarlem
10-10-2010, 04:46 PM
Try reading within this thread is a good start it is only 5 pages.
change in template showthread_extra_fields
If it told me I wouldn't have posted.. Pro version is different then lite.
SpanishHarlem
10-11-2010, 03:59 AM
Ok.. I am not able to do the fields the way I want like this..
https://vborg.vbsupport.ru/external/2010/10/25.jpg
So I had to do a text box.. But when it's active I get double outside of the thread and inside as well. How do I get rid of the double..
https://vborg.vbsupport.ru/external/2010/10/26.jpg
Can anyone please help me. I have the premium version and would like to get this active for my members.. Thanks in advance.
SpanishHarlem
10-11-2010, 11:13 PM
Nobody can help?
ShackMaster
02-11-2011, 06:10 PM
Since you are using the premium version, have you tried asking them directly? I would be interested in knowing how good their service is if I were going to spend the money on it.
Is this fully working with the latest VB 3.8?
Hellmaster
11-18-2011, 11:00 PM
Perfect. Running on vB 3.8 :)
Cool, I'll install it soon :D
Ov3rrun
02-27-2012, 01:54 AM
is there a way to add select fields with an blank option as first on select???
Simon Lloyd
03-18-2012, 09:40 AM
Hi can someone help with a small issue, i have set the extra fields as a dropdown list and so that the first in the list isn't selected if they forget to chose one i have set the first field as "Please choose one of the following" but i dont want that to be used as a field either, so can someone help modify thisif ($vbulletin->options['extra_threadfields_active'] == '1')
{
if (is_array($_POST['fields']))
{
foreach($_POST['fields'] AS $key => $fieldvalue)
{
// check if the field type has options
if (is_array($_POST['fields'][$key]))
{
foreach($_POST['fields'][$key] AS $index => $value)
{
$value = trim($value);
// Check For Required
if (empty($value)) { unset($_POST['fields'][$key][$index]); }
}
// set up the new $fieldvalue
$fieldvalue = implode(",", $_POST['fields'][$key]);
}
if ($_POST['required'][$key] == 'yes' && empty($fieldvalue))
{
$required = $_POST['requiredfield'][$key];
eval(standard_error(fetch_error('required_field_x_ missing_or_invalid', $required)));
}
$dataman->validfields['field' . $key] = array(TYPE_NOHTML, REQ_NO);
$dataman->set('field' . $key, $fieldvalue);
}
}
}to check if the field says "please choose one of the following" that they get sent back to choose one? i have also set up an error phrase 'field_not_chosen'
Simon Lloyd
04-12-2012, 04:01 PM
I've completed the above now thanks!
Crimdog
04-22-2012, 09:13 PM
I've completed the above now thanks!
And what did you do to get it completed?
Crimdog
05-14-2012, 07:36 PM
Bump for solution sharing...
I'm looking for something similar (default is not-selected blank, and not an allowed field)
IMPho
10-05-2013, 12:23 PM
I have a minor problem...How can I show a particular field in a template???
I tried everything. Basically I want to show field no #5 in the thread title by editing the THREADBIT template.
Can anyone please help?
blind-eddie
02-17-2014, 11:40 AM
For those that install this and receive a database error...
Open the product,
Find:
Type=MyISAM
Change to:
ENGINE=MyISAM
re-upload product
Dimoks
03-30-2015, 06:39 AM
I can add fields for any forum separately?
Do you have a demo version 3.8.0 or forum 3.8.0 with Extra-Threadfields ?
Dimoks
03-30-2015, 07:07 AM
I have error after import produnct
Database error in vBulletin 3.8.6:
Invalid SQL:
CREATE TABLE IF NOT EXISTS `thread_fields_admin` (
`title` varchar(100) NOT NULL default '',
`fieldid` int(10) unsigned NOT NULL auto_increment,
`description` varchar(200) NOT NULL default '',
`forums` varchar(200) NOT NULL default '',
`type` varchar(100) NOT NULL default '',
`size` char(3) NOT NULL default '40',
`options` varchar(200) NOT NULL default '',
`display` varchar(100) NOT NULL default '1',
PRIMARY KEY (`fieldid`)
) TYPE=MyISAM;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 11
Error Number : 1064
Request Date : Monday, March 30th 2015 @ 09:04:14 AM
Error Date : Monday, March 30th 2015 @ 09:04:14 AM
Script : http://*******.com/forum/vbadmin/plugin.php?do=productimport
Referrer :
IP Address : 37.229.165.203
Username : admin
Classname : vB_Database_MySQLi
MySQL Version : 5.5.31-1~dotdeb.0-log
blind-eddie
03-30-2015, 09:45 AM
For those that install this and receive a database error...
Open the product,
Find:
Type=MyISAM
Change to:
ENGINE=MyISAM
re-upload product
****
I have error after import produnct
Database error in vBulletin 3.8.6:
Invalid SQL:
CREATE TABLE IF NOT EXISTS `thread_fields_admin` (
`title` varchar(100) NOT NULL default '',
`fieldid` int(10) unsigned NOT NULL auto_increment,
`description` varchar(200) NOT NULL default '',
`forums` varchar(200) NOT NULL default '',
`type` varchar(100) NOT NULL default '',
`size` char(3) NOT NULL default '40',
`options` varchar(200) NOT NULL default '',
`display` varchar(100) NOT NULL default '1',
PRIMARY KEY (`fieldid`)
) TYPE=MyISAM;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 11
Error Number : 1064
Request Date : Monday, March 30th 2015 @ 09:04:14 AM
Error Date : Monday, March 30th 2015 @ 09:04:14 AM
Script : http://*******.com/forum/vbadmin/plugin.php?do=productimport
Referrer :
IP Address : 37.229.165.203
Username : admin
Classname : vB_Database_MySQLi
MySQL Version : 5.5.31-1~dotdeb.0-log
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.