Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!) Details »»
Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!)
Version: 1.00, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Major Additions - Version: 3.7.x Rating:
Released: 10-28-2008 Last Update: 10-30-2008 Installs: 89
DB Changes Uses Plugins Template Edits
 
No support by the author.

Brought To You By
ModernvB - Vbulletin Solutions & Services
http://www.modernvb.com
Premium Modification:
http://www.modernvb.com/vb_products....fo&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 *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:

Search for:
Code:
        <!-- / subject field -->
Add below:
Code:
        <table cellpadding="0" cellspacing="0" border="0" class="fieldset">$extrathreadfields</table>
Enjoy the hack.

[high]Credits:[/high]
CMX_CMGSCCC - Big thanks! Could not have done it without you!

Don't forget to click INSTALL

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 04-12-2012, 04:01 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've completed the above now thanks!
Reply With Quote
  #73  
Old 04-22-2012, 09:13 PM
Crimdog Crimdog is offline
 
Join Date: Dec 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
I've completed the above now thanks!
And what did you do to get it completed?
Reply With Quote
  #74  
Old 05-14-2012, 07:36 PM
Crimdog Crimdog is offline
 
Join Date: Dec 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump for solution sharing...

I'm looking for something similar (default is not-selected blank, and not an allowed field)
Reply With Quote
  #75  
Old 10-05-2013, 12:23 PM
IMPho IMPho is offline
 
Join Date: Aug 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #76  
Old 02-17-2014, 11:40 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those that install this and receive a database error...
Open the product,

Code:
Find: 

Type=MyISAM

Change to:

ENGINE=MyISAM
re-upload product
Reply With Quote
Благодарность от:
ozzy47
  #77  
Old 03-30-2015, 06:39 AM
Dimoks's Avatar
Dimoks Dimoks is offline
 
Join Date: Mar 2006
Location: Kharkiv, Ukraine
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #78  
Old 03-30-2015, 07:07 AM
Dimoks's Avatar
Dimoks Dimoks is offline
 
Join Date: Mar 2006
Location: Kharkiv, Ukraine
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have error after import produnct


PHP Code:
Database error in vBulletin 3.8.6:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `thread_fields_admin` (
  `
titlevarchar(100NOT NULL default '',
  `
fieldidint(10unsigned NOT NULL auto_increment,
  `
descriptionvarchar(200NOT NULL default '',
  `
forumsvarchar(200NOT NULL default '',
  `
typevarchar(100NOT NULL default '',
  `
sizechar(3NOT NULL default '40',
  `
optionsvarchar(200NOT NULL default '',
  `
displayvarchar(100NOT NULL default '1',
  
PRIMARY KEY  (`fieldid`)
TYPE=MyISAM;

MySQL Error   You have an error in your SQL syntaxcheck 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  
MondayMarch 30th 2015 09:04:14 AM
Error Date    
MondayMarch 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 
Reply With Quote
  #79  
Old 03-30-2015, 09:45 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
For those that install this and receive a database error...
Open the product,

Code:
Find: 

Type=MyISAM

Change to:

ENGINE=MyISAM
re-upload product
****

Quote:
Originally Posted by Dimoks View Post
I have error after import produnct


PHP Code:
Database error in vBulletin 3.8.6:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `thread_fields_admin` (
  `
titlevarchar(100NOT NULL default '',
  `
fieldidint(10unsigned NOT NULL auto_increment,
  `
descriptionvarchar(200NOT NULL default '',
  `
forumsvarchar(200NOT NULL default '',
  `
typevarchar(100NOT NULL default '',
  `
sizechar(3NOT NULL default '40',
  `
optionsvarchar(200NOT NULL default '',
  `
displayvarchar(100NOT NULL default '1',
  
PRIMARY KEY  (`fieldid`)
TYPE=MyISAM;

MySQL Error   You have an error in your SQL syntaxcheck 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  
MondayMarch 30th 2015 09:04:14 AM
Error Date    
MondayMarch 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 
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08316 seconds
  • Memory Usage 2,337KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete