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
  #202  
Old 03-13-2008, 08:24 AM
raucheninhh raucheninhh is offline
 
Join Date: Jan 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

is it possible that after creating a new thread the information given in the custom fields is put on top of what the user has written in the message box?

Thanks
Reply With Quote
  #203  
Old 03-22-2008, 09:12 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working with the fix #187

Thank you a lot!
Reply With Quote
  #204  
Old 03-23-2008, 07:45 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I have a little problem because this fix is not working:

Code:
	       $custom_message .= "".$forms['title']."\r\n$value\r\n\r\n";
	       $break = "\r\n\r\n";

And with this the <br /> is showing it in the posts.

Code:
	       $custom_message .= "".$forms['title'].": $value<br /><br />";
	       $break = "<br /><br />";

Help!!!!!
Reply With Quote
  #205  
Old 03-24-2008, 12:09 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the fix for the problem ok.

PHP Code:
$custom_message .= "[b]"$forms['title'] ."[/b]<br/> $value <br /><br />";
$break "<br />"
And now to add Red Color in the $value What I have to do ???

Thank you a lot!!!
Reply With Quote
  #206  
Old 03-27-2008, 04:26 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys,

Finally here is the fix of the spaces and the red color in the answers of the custom fields.

PHP Code:
$custom_message .= "<b>"$forms['title'] ."</b><br/> <font color="Red">".$value."</font><br /><br />"
$break "<br />"
Really thank you so much to minstrel of theadminzone.com for his awesome help in this fix.

http://www.theadminzone.com/forums/s...ad.php?t=47603

So I hope this helps to someone.
Reply With Quote
  #207  
Old 04-02-2008, 06:05 AM
nhatrang nhatrang is offline
 
Join Date: Jun 2004
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be nice if this could act like the Description Thread Mod: https://vborg.vbsupport.ru/showthread.php?t=131239

I love the idea how we can add questions per forum, etc, however it does not create a column in the DB so you can call it out seperately like the MOD above.
Reply With Quote
  #208  
Old 04-05-2008, 01:48 AM
Goodman_2020 Goodman_2020 is offline
 
Join Date: Apr 2007
Location: France
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, i got a little problem...every field i create appears a second time below the first one....

and is there a way to make this hack does what he does (fields) in posts too?
Reply With Quote
  #209  
Old 04-05-2008, 12:55 PM
Mrajp Mrajp is offline
 
Join Date: Mar 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be ported over to vB 3.7?
Reply With Quote
  #210  
Old 04-08-2008, 08:35 AM
Noctavia Noctavia is offline
 
Join Date: May 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking at installing this on my forum - however concerned about the amount of errors and issues that seem to be going unanswered. Have any of the problems found solutions yet?
Reply With Quote
  #211  
Old 04-10-2008, 06:12 PM
Mrajp Mrajp is offline
 
Join Date: Mar 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it installed on vB 3.7 and have taken care of most of the html issues. Unfortunately, when using a "Text Area" style field, <br /> Tags are placed after each line entry. Yes, I know I dont have HTML turned on, I dont want it on. Below is what it places into my edit box.

Code:
Customer: --No Customer-- 
Issue Type: Configuration 
Problem: gregre<br />
gre<br />
<br />
gregre 
Resolution: gregre<br />
gre<br />
<br />
gre
Anybody know of a way to eliminate those "<br />" Tags?
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:03 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.09176 seconds
  • Memory Usage 2,314KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_php
  • (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