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
  #452  
Old 11-19-2006, 06:28 PM
taydu taydu is offline
 
Join Date: Oct 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

other than that, do i need to do anything else
Reply With Quote
  #453  
Old 11-19-2006, 07:38 PM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by taydu View Post
other than that, do i need to do anything else
No, I can't think of anything else you need to do. The templates edits should be it.

Good luck.
Reply With Quote
  #454  
Old 11-21-2006, 01:44 AM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the newthread and search templates, does anyone know how to arrange the checkbox selections for extrathread fields to be arranged in a vertical column as opposed to in a horizontal row? In the default look, the checkboxes look like they are connect to neighboring choices. Even being able to add a nbsp between choices would be nice.
Reply With Quote
  #455  
Old 11-21-2006, 06:50 AM
imranbaig imranbaig is offline
 
Join Date: Sep 2005
Location: India
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is one of the nicest hack I'm going to install this and also nominate.
gonna try this on 3.63 thanks.
EDIT: I made it work on one of my forum, but I'm sorry to say this does not parse html anchor tag Is there a way to include bigger large description text with html?? which also includes anchor tag.
Thanks
Reply With Quote
  #456  
Old 11-27-2006, 03:14 AM
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Location: KSA - Qatif - Al-Jarodiah
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Additional option to make a field required
This is important to me, any update to include it ?

also, is ther a way to provide fields for the user to write the source of his information he/she is writing in the thread like this :
* My Writing (radio button)
* Somebody else writing: (radio button)
Information Source URL 1: (text filed)
Information Source Title 1: (text filed)
Information Source URL 2: (text filed)
Information Source Title 2: (text filed)
Information Source URL 3: (text filed)
Information Source Title 3: (text filed)
Information Source URL 4: (text filed)
Information Source Title 4: (text filed)

then in the thread viewing it will show sources titles with urls on them.
?

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

Quote:
Originally Posted by johnstires View Post
For the newthread and search templates, does anyone know how to arrange the checkbox selections for extrathread fields to be arranged in a vertical column as opposed to in a horizontal row? In the default look, the checkboxes look like they are connect to neighboring choices. Even being able to add a nbsp between choices would be nice.

You might read previous post. This has been answered before and only one page back I think.

In the showthread_extra_fields template, replace the contents with this:

Code:
<div><b>$threadfield[title]:</b> $thread[fieldvalue]</div>
Reply With Quote
  #458  
Old 12-17-2006, 10:57 PM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mac27 View Post
You might read previous post. This has been answered before and only one page back I think.

In the showthread_extra_fields template, replace the contents with this:

Code:
<div><b>$threadfield[title]:</b> $thread[fieldvalue]</div>
I am looking to do this in the search template, not the showthread. See this link for how messy the checkbox structure is:

http://www.onereef.com/forums/search.php

Ideally I would like the check boxes to line up nicely in 2-3 columns.

Example:

Field Title:
X option 1 X option 2 X option 3
X option 4 X option 5 X option 6
X option 7 X option 8 X option 9
X option 10 X option 11 X option 12

X= a check box

I have isolated it down to this in the template:

Code:
<if condition="$threadfield['type'] == 'checkbox' ">
			<div>$checkboxstr</div>  
<input type="hidden" name="thread_fields_admin[$threadfield[fieldid]]" value="$threadfield[fieldid]">
</if>
$checkboxstr calls my checkbox options. But I have no clue how to alter $checkboxstr.
Reply With Quote
  #459  
Old 12-20-2006, 08:44 AM
amkge amkge is offline
 
Join Date: Jan 2005
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im getting this error when I click on either Extra Field Manager or Add an Extra Field

Quote:
Unable to add cookies, header already sent.

File: /vhost/vhost5/f/r/e/freecannabis.com/www/forum/admincp/threadfields_admin.php
Line: 2
Please help !

Thanks, looks great, cant wait to get it working
Reply With Quote
  #460  
Old 12-21-2006, 06:28 PM
spoiey spoiey is offline
 
Join Date: Apr 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I convert the "text box" to phrase any text as a hyperlink?'Assuming the description would be for entering websites/sources
Reply With Quote
  #461  
Old 12-25-2006, 12:39 AM
zylstra zylstra is offline
 
Join Date: Aug 2004
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a Custom Post Field mod, as opposed to this one for threads? Thanks!
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:17 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.07402 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
  • (5)bbcode_code
  • (5)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