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

Reply
 
Thread Tools
Custom Thread Fields Details »»
Custom Thread Fields
Version: 1.3.0, by harmor19 harmor19 is offline
Developer Last Online: May 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.4 Rating:
Released: 10-07-2006 Last Update: 05-03-2007 Installs: 221
DB Changes Uses Plugins Template Edits
 
No support by the author.

What you can do with this hack is add multiple fields when someone creates a new thread. You can specify what fields can go in which forums.

To add, edit, or delete a custom field go into your ACP
Forums & Moderators --> Threads Field Manager

################## Updates ##################
1.0.0 - Initial Release
1.1.0 - Fixed bug
1.2.2 - Added the ability to add a field to multiple forums more easily
1.3.0 - Fixed some crucial bugs
1.4.0 - Added more features
################## Updates ##################

If you have installed this add-on on your board please click Install to the bottom right of this post
You are not permitted to redistribute this add-on on any site.
If you feel this add-on deserves Mod of the Month please click to nominate it

Show Your Support

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

Comments
  #182  
Old 12-04-2007, 03:02 PM
Razasharp's Avatar
Razasharp Razasharp is offline
 
Join Date: Feb 2005
Location: UK
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, does this hack create new fields in the database or does it just create form inputs where the data is added to the post?

I need a hack where when you click edit the actual fields can be edited seperately - can this hack do that?

Cheers.
Reply With Quote
  #183  
Old 12-04-2007, 09:33 PM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a problem w/ 3.6.8 pl2.

I have selected it to only show in one forum and I have it as a required field, now any other forum that you try to create a thread in it says go back and fill out all custom fields, so the only place you can make a thread is in that one forum, if required option is on.

please fix this!
Reply With Quote
  #184  
Old 12-04-2007, 09:47 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had the same problem as ZomgStuff.
Reply With Quote
  #185  
Old 12-05-2007, 11:29 AM
thompson thompson is offline
 
Join Date: Jul 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod. thanks.
Reply With Quote
  #186  
Old 12-05-2007, 05:15 PM
Scape-Server Scape-Server is offline
 
Join Date: Dec 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this. Nice idea Installing now!
Reply With Quote
  #187  
Old 12-12-2007, 11:54 AM
UberMensch UberMensch is offline
 
Join Date: Jun 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem as ZomgStuff and RedGTiVR6.

Please fix this, it's spoilt an otherwise very useful mod!
Reply With Quote
  #188  
Old 12-12-2007, 02:49 PM
UberMensch UberMensch is offline
 
Join Date: Jun 2006
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had a crack at fixing our problem, and the attached product appears to work.

The changes were:

In Plugin:
newthread_post_start

Replace:
PHP Code:
$forumids explode(","$forms['forumid']); 
With: (Or delete it)
PHP Code:
// $forumids = explode(",", $forms['forumid']); 
Replace:
PHP Code:
    if($forms['required'] == && empty($value))
    {
       eval(
standard_error(fetch_error('fill_in_custom_thread_field')));
    } 
With:
PHP Code:
    $forumids explode(","$forms['forumid']);

    if(
$forms['required'] == && empty($value) && in_array($foruminfo['forumid'], $forumids))
    {
       eval(
standard_error(fetch_error('fill_in_custom_thread_field')));
    } 
Save Plugin:
newthread_post_start

It works for me (vB3.6.8 PL2), could someone confirm with their board also?
Reply With Quote
  #189  
Old 12-14-2007, 12:27 AM
mjname mjname is offline
 
Join Date: Jan 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using this to collect a great deal of information for an online project. I need to know... or rather does anyone know if these fields are sorted and displayed alphabetical, numerical, or via created?
Reply With Quote
  #190  
Old 12-16-2007, 07:11 AM
jgommel's Avatar
jgommel jgommel is offline
 
Join Date: Jun 2005
Location: Ohio
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UberMensch View Post
I've had a crack at fixing our problem, and the attached product appears to work.

The changes were:

In Plugin:
newthread_post_start

Replace:
PHP Code:
$forumids explode(","$forms['forumid']); 
With: (Or delete it)
PHP Code:
// $forumids = explode(",", $forms['forumid']); 
Replace:
PHP Code:
    if($forms['required'] == && empty($value))
    {
       eval(
standard_error(fetch_error('fill_in_custom_thread_field')));
    } 
With:
PHP Code:
    $forumids explode(","$forms['forumid']);

    if(
$forms['required'] == && empty($value) && in_array($foruminfo['forumid'], $forumids))
    {
       eval(
standard_error(fetch_error('fill_in_custom_thread_field')));
    } 
Save Plugin:
newthread_post_start

It works for me (vB3.6.8 PL2), could someone confirm with their board also?
So far, your updated product xml appears to be working just fine. Thanks.
Reply With Quote
  #191  
Old 12-29-2007, 03:26 PM
chrisbeau chrisbeau is offline
 
Join Date: May 2007
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working for me but, the fields appear twice under the Message area.


Also is there a way to remove the message area and only use these fields when Posting with this section.
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 05:14 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.04979 seconds
  • Memory Usage 2,334KB
  • 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
  • (8)bbcode_php
  • (1)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
  • (1)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