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
  #432  
Old 11-11-2006, 06:20 PM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing
Does anyone know how I can list my extra fields like this within the Thread

Title: Bla Bla Bla

Field 1: xxxxxx
Field 2: xxxxxx
Field 3: xxxxxx


Instead of the standard

Title: Bla Bla Bla
Fields1: xxxxxxx Field 2: xxxxxxx Field 2: xxxxx

In your post bit or post bit legacy try this:

Find this:

Code:
<if condition="$post[postcount] == '1' ">
	<div align="right">$extrafields</div>
</if>
change to this:

Code:
<if condition="$post[postcount] == '1' ">
	<div align="left">$extrafields</div>
</if>
Basically your changing the word "right" to "Left".
Reply With Quote
  #433  
Old 11-11-2006, 06:42 PM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also you can change the size of the font used.

In post bit or post bit legacy.

Find this:
Code:
<if condition="$post[postcount] == '1' ">
	<div align="right">$extrafields</div>
</if>
replace with this:
Code:
<if condition="$post[postcount] == '1' ">
	<FONT FACE="arial" SIZE="3"><div align="right">$extrafields</div></font>
</if>
To change the color of the extrafields replace with this:
Code:
<if condition="$post[postcount] == '1' ">
	<FONT FACE="arial" SIZE="3" COLOR="#000000"><div align="left">$extrafields</div></font>
</if>
Reply With Quote
  #434  
Old 11-12-2006, 12:20 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mac27
Also you can change the size of the font used.

In post bit or post bit legacy.

Find this:
Code:
<if condition="$post[postcount] == '1' ">
	<div align="right">$extrafields</div>
</if>
replace with this:
Code:
<if condition="$post[postcount] == '1' ">
	<FONT FACE="arial" SIZE="3"><div align="right">$extrafields</div></font>
</if>
To change the color of the extrafields replace with this:
Code:
<if condition="$post[postcount] == '1' ">
	<FONT FACE="arial" SIZE="3" COLOR="#000000"><div align="left">$extrafields</div></font>
</if>
This does not do what I am asking other then just moving the fields from the right to left..... I am looking to have my fields listed in this manner
Field 1: xxxxxx
Field 2: xxxxxx
Field 3: xxxxxx

rather then this way Field 1: xxxxxx Field 2: xxxxxx Field 3: xxxxxx
Reply With Quote
  #435  
Old 11-12-2006, 12:31 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This aligns the fields to the left. From your explanation that looks like what you are wanting. Is this screen shot what you are wanting? If so then what I posted does this.
Reply With Quote
  #436  
Old 11-12-2006, 12:48 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mac27
This aligns the fields to the left. From your explanation that looks like what you are wanting. Is this screen shot what you are wanting? If so then what I posted does this.
Yes your example is what I want to do but when I did your code edit all it did was just alligned the fields to the left rather then the right. I did not place them nicely top down like your posted example??? What did I do wrong?
Reply With Quote
  #437  
Old 11-12-2006, 12:50 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you wanting the fields aligned to the right or the left? Also can you show me a screen shot of what this code edit does to your fields.
Reply With Quote
  #438  
Old 11-12-2006, 12:54 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I get when I add your first code im my postbit.. I want it alligned to the left under the Title
Reply With Quote
  #439  
Old 11-12-2006, 07:18 AM
taydu taydu is offline
 
Join Date: Oct 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mac27, how do I move it in with the message???

Title:
------------------------------------------------------------
custom field1:
Custom field2:

Mesage here
.............
................

and how do i make the custome field show up in when admin edit the post ???

thanks
Reply With Quote
  #440  
Old 11-13-2006, 12:13 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
This is what I get when I add your first code im my postbit.. I want it alligned to the left under the Title
Ok here is what you need to do along with what I posted above.

In the showthread_extra_fields template, replace the contents with this:
Code:
<div><b>$threadfield[title]:</b> $thread[fieldvalue]</div>

Quote:
Originally Posted by taydu View Post
Mac27, how do I move it in with the message???

Title:
------------------------------------------------------------
custom field1:
Custom field2:

Mesage here
.............
................

and how do i make the custome field show up in when admin edit the post ???

thanks
I do not know of anyway to move the extrafields into the message. As for showing up when admin edit a thread. Once you are viewing the thread just click on "Thread Tools" then on "Edit Thread". This is the only way I know of editing the extrafields after they have been posted.

Bare with me I keep playing with this hack to see what else it can do. I am learning as I go.
Reply With Quote
  #441  
Old 11-13-2006, 12:50 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awww Thank Ya Thank ya that worked great...


Quote:
Originally Posted by mac27 View Post
Ok here is what you need to do along with what I posted above.

In the showthread_extra_fields template, replace the contents with this:
Code:
<div><b>$threadfield[title]:</b> $thread[fieldvalue]</div>



I do not know of anyway to move the extrafields into the message. As for showing up when admin edit a thread. Once you are viewing the thread just click on "Thread Tools" then on "Edit Thread". This is the only way I know of editing the extrafields after they have been posted.

Bare with me I keep playing with this hack to see what else it can do. I am learning as I go.
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:53 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.06459 seconds
  • Memory Usage 2,339KB
  • 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
  • (12)bbcode_code
  • (6)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