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
  #252  
Old 02-15-2012, 06:31 PM
miticoste miticoste is offline
 
Join Date: Jul 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Silviu View Post
Hello,

We update this for VB4.

Attach.
Hello I have installed the version of VB4 Silviu on my forum vb Version 4.1.7 does not work. Plus when I go to a page apubblicazione nuovomessaggio am I getting this error on top:

Parse error: syntax error, unexpected T_VARIABLE in /home/intrade3/public_html/www-espertionline.org/forum/newthread.php(563) : eval()'d code on line 13

In addition as shown in the image page has a few problems caused by this product.

P. S. I have not made ​​changes to the Aluna temlate forum. All I did was load the various files as shown in the installation file.

Someone can help me? This product takes a lot to me. thanks
Reply With Quote
  #253  
Old 04-03-2012, 10:08 AM
sapgaurav sapgaurav is offline
 
Join Date: Apr 2009
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can we make user or moderate staff specific. i mean this field should display in posting time to staff only and this can visible in post to everyone, i means the field editatble otpoio only to staff
Reply With Quote
  #254  
Old 05-04-2013, 12:38 PM
bestfirearmdeal bestfirearmdeal is offline
 
Join Date: Apr 2013
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way that this mod or hack can be adjusted for VB version 4.2.1? I am in need of a way to add a custom field to the threads. Thanks
Reply With Quote
  #255  
Old 11-25-2013, 02:41 PM
BarracodE's Avatar
BarracodE BarracodE is offline
 
Join Date: Sep 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this working for 4.2.1. Thank you for this plugin. It saved many hours.

I'm no vBulletin programmer but I can hack my way through. Here were my steps:

Upload the contents of the 4.X.X zip file to admin, includes, pics directories.

Admin CP -> Plugins & Products -> Manage Products -> Add/Import Product

Browse to product-custom_thread_forms.xml

Admin CP -> Plugins & Products -> Plugin Manager -> Disable Template Changes - newthread_form_complete

Admin CP -> Settings -> Options -> Custom Thread Field Settings -> Edit -> Enable Custom Thread Fields -> Yes

Admin CP -> Settigns -> Options -> Custom Thread Field Settings -> Edit -> Template Changes -> No

Admin CP -> Forums & Moderators -> Threads Field Manager -> Add a new Field

Admin CP -> Styles & Templates -> Search in Templates -> Search for newthread -> Select newthread -> Customize

--Find this code in the newthread template--
-----------------------
{vb:raw messagearea}
-----------------------

--Below Add--
-----------------------
<vb:if condition="$custom_form">
<BR>
<fieldset>
{vb:raw custom_form}
</fieldset>
<BR>
</vb:if>
-----------------------

-- Optional Steps --

--I like my new field above the text area {vb:raw messagearea} so I did this and used a new blockrow:
<div class="blockrow">
<vb:if condition="$custom_form">
<fieldset>
{vb:raw custom_form}
</fieldset>
</vb:if>
</div>

-- I also wanted my field displayed in front of the message so I updated the plugin:
Admin CP -> Plugins & Products -> Plugin Manager -> Custom Thread Forms [newthread_post_start - newthread_post_start -> Edit

-- Find
$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "$break $custom_message";

-- Replace with
$vbulletin->GPC['message'] = $custom_message."<BR><BR>".$vbulletin->GPC['message'];

Thanks again for the plugin! Hope this helps!!

Chuck
Reply With Quote
Благодарность от:
blind-eddie
  #256  
Old 03-27-2014, 06:22 AM
Lon's Avatar
Lon Lon is offline
 
Join Date: May 2010
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea how to show any of the thread field results in lets say the threadbit template?

So instead of the thread title I want to replace that with the input text.
Reply With Quote
  #257  
Old 12-16-2014, 08:58 PM
qldafwebmaster qldafwebmaster is offline
 
Join Date: Sep 2012
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this works fine for me on VB4 using barracodE fix however when if use multiple custom fields on a single forum it places the fields all on one line and not a separate line for each field im also getting a <BR><BR> code at the beginning of every thread?
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:09 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.04369 seconds
  • Memory Usage 2,273KB
  • Queries Executed 21 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete