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
  #232  
Old 03-21-2006, 07:03 PM
blacklancer's Avatar
blacklancer blacklancer is offline
 
Join Date: Jan 2006
Location: so cal
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm retarded!
Reply With Quote
  #233  
Old 03-22-2006, 01:18 AM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol. It's ok. Hope all goes well.

Everyone, feel free to make suggestions via PM for the premium version.
Reply With Quote
  #234  
Old 03-22-2006, 06:40 AM
Rankine Rankine is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi John, great great work.... This hack is what i need for my forum.
One question. I have a problem with admincp, if i click on extrafield's name this can be edit. Instead if i use button there is no action.
Perhaps it has had to the passage of parameters with the javascript function js_threadfields_jump (button edit/delete) however i have solved for the moment with this code :
Code:
$cell[2] .= "<a href=\"threadfields_admin.php?do=edit&fieldid=$threadfield[fieldid]\"><b>Edita</b></a> ";
          $cell[3] .= "<a href=\"threadfields_admin.php?do=delete&fieldid=$threadfield[fieldid]\"><b>Cancella</b></a>";
			
      /*$cell[2] .= "\n\t<div style=\"float: right;\">
<select class=\"bginput\" name=\"f$threadfield[fieldid]\">
<option value=\"edit\">Edit</option>
<option value=\"delete\">Delete</option></select>
<input type=\"button\" class=\"button\" value=\"".$vbphrase['go']."\" onclick=\"js_threadfields_jump($threadfield[fieldid]);\" />
</div>";*/
As you can see i have commented button and used a direct link to edit and delete. You can control if it is a problem only mine ? Thanks
P.s. Excuse me for my bad english... I'm italian
Clicked install obviously
Reply With Quote
  #235  
Old 03-22-2006, 08:22 AM
Jonathan22 Jonathan22 is offline
 
Join Date: Mar 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone got any detailed installation instructions for this hack? Some of us need a bit more guidance with step 1 and 2.

Step 1. Import the following product: product-extra_threadfields.xml (How?)
Step 2. Upload the files in the upload folder. (How?)
Step 3. Do the edits located below
Step 4. Edit the newly added options in admincp as you please
Step 5. Enjoy the hack.

Thanks,
Reply With Quote
  #236  
Old 03-22-2006, 09:28 AM
Rankine Rankine is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Jonathan :
Step1 : Import the following product : product-extra_threadfields.xml
Go into your Admin C.P. There is "Plugin System" open and you find the voice Manage Products. Click on this.
On the left there is a link Add/Import Product : Select from your hd the file product-extra_threadfields.xml and import

Step 2 : You have to upload with a Ftp client into your forum dir.
You have 2 dir admincp and includes in file... Put this dir in same place on your forum dir.
Reply With Quote
  #237  
Old 03-22-2006, 09:28 AM
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 Rankine
Hi John, great great work.... This hack is what i need for my forum.
One question. I have a problem with admincp, if i click on extrafield's name this can be edit. Instead if i use button there is no action.
Perhaps it has had to the passage of parameters with the javascript function js_threadfields_jump (button edit/delete) however i have solved for the moment with this code :
Code:
$cell[2] .= "<a href=\"threadfields_admin.php?do=edit&fieldid=$threadfield[fieldid]\"><b>Edita</b></a> ";
          $cell[3] .= "<a href=\"threadfields_admin.php?do=delete&fieldid=$threadfield[fieldid]\"><b>Cancella</b></a>";
			
      /*$cell[2] .= "\n\t<div style=\"float: right;\">
<select class=\"bginput\" name=\"f$threadfield[fieldid]\">
<option value=\"edit\">Edit</option>
<option value=\"delete\">Delete</option></select>
<input type=\"button\" class=\"button\" value=\"".$vbphrase['go']."\" onclick=\"js_threadfields_jump($threadfield[fieldid]);\" />
</div>";*/
As you can see i have commented button and used a direct link to edit and delete. You can control if it is a problem only mine ? Thanks
P.s. Excuse me for my bad english... I'm italian
Clicked install obviously
Hm. That's strange. Well, atleast you got it to work . By the way, who's John?
Reply With Quote
  #238  
Old 03-22-2006, 10:22 AM
Rankine Rankine is offline
 
Join Date: Mar 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ehm.... gio... right... However john is near yuor real name Lol.... by the way excuse me for mistake
however It's not possible to use button?
Reply With Quote
  #239  
Old 03-22-2006, 12:39 PM
Jonathan22 Jonathan22 is offline
 
Join Date: Mar 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
$threadfield[description] can be used in a template I just didn't automatically include it because i didn't think everyon would want it there.
How do I do this?
Reply With Quote
  #240  
Old 03-22-2006, 12:52 PM
Jonathan22 Jonathan22 is offline
 
Join Date: Mar 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to set a default for Radio Sets? So that if for example, you had Yes and No, Yes was automatically selected.
Reply With Quote
  #241  
Old 03-22-2006, 04:09 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 Jonathan22
How do I do this?
Insert that in the template newthread_extra_fields
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:08 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.07183 seconds
  • Memory Usage 2,331KB
  • 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
  • (4)bbcode_code
  • (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
  • (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