Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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.5.0, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-24-2006 Last Update: 03-27-2006 Installs: 337
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.


Brought To You By
Gio~Logist - Vbulletin Solutions & Services
http://www.giologist.com/vb


Premium Version:
http://www.giologist.com/vb/index.ph...fo&productid=1

Premium Admin Demo:
http://www.giologist.com/vb/demo/ext...ields_demo.php
Premium Demo:
http://www.giologist.com/vb/forumdisplay.php?f=33


**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

Supporters / CoAuthors

Show Your Support

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

Comments
  #152  
Old 03-11-2006, 04:00 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
Ok m8 cheers
Redownload it and try it now. Make sure you select "overwrite" when uploading xml.
Reply With Quote
  #153  
Old 03-11-2006, 04:08 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No go for launch im afraid got this error

Code:
Database error in vBulletin 3.5.3:

Invalid SQL:

CREATE TABLE `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  : Table 'thread_fields_admin' already exists
Error Number : 1050
Date         : Saturday, March 11th 2006 @ 06:07:43 PM
Script       : http://www.bashys-place.com/forums/admincp/plugin.php
Referrer     : http://www.bashys-place.com/forums/admincp/plugin.php?do=productadd
Reply With Quote
  #154  
Old 03-11-2006, 04:09 PM
dakuda dakuda is offline
 
Join Date: Jan 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any clue on my error?
Reply With Quote
  #155  
Old 03-11-2006, 04:16 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
No go for launch im afraid got this error

Code:
Database error in vBulletin 3.5.3:

Invalid SQL:

CREATE TABLE `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  : Table 'thread_fields_admin' already exists
Error Number : 1050
Date         : Saturday, March 11th 2006 @ 06:07:43 PM
Script       : http://www.bashys-place.com/forums/admincp/plugin.php
Referrer     : http://www.bashys-place.com/forums/admincp/plugin.php?do=productadd
Hm. That's not a major problem, it's just the fact that it's trying to do a query from a previos version, which it shouldn't be trying to do since you already have that. For now, just upload all files and then manually run the query:

Code:
ALTER TABLE threadfield_admin ADD COLUMN 
  `required` varchar(10) NOT NULL default 'no';
Reply With Quote
  #156  
Old 03-11-2006, 04:17 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dakuda
Any clue on my error?
What version of mysql are your running?
Reply With Quote
  #157  
Old 03-11-2006, 05:35 PM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
Hm. That's not a major problem, it's just the fact that it's trying to do a query from a previos version, which it shouldn't be trying to do since you already have that. For now, just upload all files and then manually run the query:

Code:
ALTER TABLE threadfield_admin ADD COLUMN 
  `required` varchar(10) NOT NULL default 'no';
The problem is, you renamed the field in the sql database to threadfield_admin. So the installation prozess is unable to do the update and so it fails!

So what is the correct filed name that should be updated?
Reply With Quote
  #158  
Old 03-11-2006, 05:53 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by klaush
The problem is, you renamed the field in the sql database to threadfield_admin. So the installation prozess is unable to do the update and so it fails!

So what is the correct filed name that should be updated?
Wow. Why would i do that? MAJOR typo. I will fix this now.
Reply With Quote
  #159  
Old 03-11-2006, 05:53 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I have run the query manually....

I do not have any
Extra Fields Options
I have the add field and extra fields manager but no options part
of it, any ideas....I am going to reupload the files again, this was
ok before the update!!

EDIT: reuploading has not resolved the missing options!!


Quote:
Originally Posted by gio~logist
Hm. That's not a major problem, it's just the fact that it's trying to do a query from a previos version, which it shouldn't be trying to do since you already have that. For now, just upload all files and then manually run the query:

Code:
ALTER TABLE threadfield_admin ADD COLUMN 
  `required` varchar(10) NOT NULL default 'no';
Reply With Quote
  #160  
Old 03-11-2006, 05:56 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
Hi

I have run the query manually....

I do not have any
Extra Fields Options
I have the add field and extra fields manager but no options part
of it, any ideas....I am going to reupload the files again, this was
ok before the update!!
That's because you uninstalled the product apparently.

Also, the typo has been fixed.
ZIP UPDATED!
Reply With Quote
  #161  
Old 03-11-2006, 05:59 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I aint uninstalled anything m8 i can assure you of that...
All i did was upload the files and imported the porduct/overwrite enabled.

Will try ya new zip now and let you know
Reply With Quote
Reply


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 02:19 AM.


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.05118 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_code
  • (7)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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete