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
  #192  
Old 12-29-2007, 11:10 PM
Audentio's Avatar
Audentio Audentio is offline
 
Join Date: Mar 2007
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Id donate to whoever can come up with a working 3.7 version. Found a few errors when I installed it, most of them mentioned already.
Reply With Quote
  #193  
Old 01-18-2008, 11:04 PM
gbox master gbox master is offline
 
Join Date: Dec 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfe View Post
is it possible to completely remove the message box in the forums im using this mod in so i can just have custom fields and also is it possible to make an image box that automatically parses it with the img tags

also would it be possible to display the same fields when i post is edited instead of just the text in the message box like the new boxes ? so i can completely remove the message box from the relevant forums

i second that
if you guys could make that then it would be a winner i think
no message box just the custom fields :up:
Reply With Quote
  #194  
Old 01-18-2008, 11:26 PM
gbox master gbox master is offline
 
Join Date: Dec 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i try'ed to install this hack
but i get a database error when i want to put something in

Database error in vBulletin 3.6.8:

Invalid SQL:

INSERT INTO custom_thread_forms
(
forumid,
title,
required,
prefixed,
opentag,
closetag,
textboxsize,
textboxmax,
textboxdesc
) VALUES (
'4',
'',
'1',
'1',
'',
'',
'33',
'55',
'test card'
);

MySQL Error : Unknown column 'prefixed' in 'field list'
Error Number : 1054
Date : Saturday, January 19th 2008 @ 02:25:08 AM

can some one help me out with this ?
or does some one knows why and what this error means
Reply With Quote
  #195  
Old 01-19-2008, 12:02 PM
DrKNickel DrKNickel is offline
 
Join Date: Oct 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working 3.7 Version would be great
Reply With Quote
  #196  
Old 01-19-2008, 04:39 PM
StakingAces StakingAces is offline
 
Join Date: Oct 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My users have <br/>/<br/> posted next to all of the fields. Anyway I can remove this? Here is the code I have, please tell me what to edit. Thank you.

if($vbulletin->options['custom_thread_fields_enabled'])
{
$getcustomthreadfields = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "custom_thread_forms");
while($forms = $db->fetch_array($getcustomthreadfields))
{

$custom_formid = "custom_$forms[custom_formid]";
$value = $vbulletin->input->clean_gpc('p', $custom_formid, TYPE_STR);

if($forms['required'] == 1 && empty($value))
{
eval(standard_error(fetch_error('fill_in_custom_th read_field')));
}

if($forms['fieldtype'] == 1)
$value = nl2br($value);


$forumids = explode(",", $forms['forumid']);

if(!empty($value))
{
if(in_array($foruminfo['forumid'], $forumids) OR $forms['forumid'] == "-1" )
{
$custom_message .= "".$forms['title'].": $value<br /><br />";
$break = "<br /><br />";
}
}

}

$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "$break $custom_message";
}
Reply With Quote
  #197  
Old 01-20-2008, 12:26 AM
StakingAces StakingAces is offline
 
Join Date: Oct 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone help with this?
Reply With Quote
  #198  
Old 01-21-2008, 06:15 AM
StakingAces StakingAces is offline
 
Join Date: Oct 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please?
Reply With Quote
  #199  
Old 01-24-2008, 02:27 AM
SaltyOnionBalls SaltyOnionBalls is offline
 
Join Date: Nov 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do I edit to make it so the custom message shows on top of the regular message?
Reply With Quote
  #200  
Old 03-09-2008, 04:07 PM
forumrunt forumrunt is offline
 
Join Date: Sep 2007
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by marcoasura View Post
Can I move the filed to the message box same as bleow image

This is exactly what I need!
Reply With Quote
  #201  
Old 03-10-2008, 07:14 PM
3Motions 3Motions is offline
 
Join Date: Mar 2007
Location: New Mexico
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I'm guessing this mod is no longer supported?
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:30 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.04876 seconds
  • Memory Usage 2,305KB
  • 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
  • (2)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