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
  #142  
Old 07-20-2007, 10:54 AM
captainron19's Avatar
captainron19 captainron19 is offline
 
Join Date: Mar 2006
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ran into the following problem with my custom fields when installed.

First I got it set up and working just fine. The only original problem I ran into is when I copied and pasted the text
Code:
<br />
<fieldset>
<legend>Custom Fields</legend>
<table cellpadding="1" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
$custom_form
</table>
</fieldset>
after the <!-- / message area -->

When I did this the fields I set up all showed up twice when creating a new thread. I deleted the code above form the "newthread template" and it worked fine (showing the fields only once).

This week I had to switch servers for my board located at www.newjerseyboards.com and after the database transfer was complete, no members were able to post a new message. They were told they had to complete all custom fields first. I suspected it was a problem with the "Custom Fields Thread" so when I went ahead and disabled it and the problem was gone and pasting was again allowed.

So, I went into Manage products, I uninstalled the Cutom Fields Thread Product and reinstalled it but the problem re-ocurred. It only happens with a new thread and not with a reply.

For the time being I have the Custom Fields Thread option turned off until I can figure out what is going wrong.

anyone?
Reply With Quote
  #143  
Old 08-08-2007, 02:48 PM
nnjj.net nnjj.net is offline
 
Join Date: Dec 2002
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi
but he still can post the thread as well right?

and does it work on 3.6.8?

also I need it to work in some sections only not all forum
Reply With Quote
  #144  
Old 08-08-2007, 07:37 PM
hobbystoresearc hobbystoresearc is offline
 
Join Date: Jul 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems like a great Mod - something I can actually use....maybe someone can help me with a few changes I would need...

1) Anyway of making one of the profile fields the title of the post so I can remove the 'Title field'

2) Any way of putting the custom fields above the text area for the post? I saw a previous post about this but it appears the mod might have changed because my plugin code doesnt match what the post is saying to change.

3) How can I make the post look like this:

Custom Field Question
Custom Field Answer

Instead of

Custom Field Question: Custom Field Answer

I want to add the break in there so the answer goes under the question
Reply With Quote
  #145  
Old 08-15-2007, 06:07 AM
Techno05 Techno05 is offline
 
Join Date: Nov 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this feature but I can't get it above the vbeditor.. its below and I want it above.. can you help.
Reply With Quote
  #146  
Old 08-15-2007, 07:34 AM
nnjj.net nnjj.net is offline
 
Join Date: Dec 2002
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hellllllllo any one?

but he still can post the thread as well right?

and does it work on 3.6.8?

also I need it to work in some sections only not all forum
Reply With Quote
  #147  
Old 08-17-2007, 07:47 PM
rafa3l rafa3l is offline
 
Join Date: Jul 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm on 3.6.8 and the Custom Fields area is empty

// ------------------------------------------------

Sorry, now all work fine. Maybe is better make enable this by default in the vBulletin Options -> Custom Thread Fields Settings
Reply With Quote
  #148  
Old 08-17-2007, 09:49 PM
rafa3l rafa3l is offline
 
Join Date: Jul 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello all,

This is mod is wonderful, but I would like put a custom field in the title like a prefix, for example:

[customfield]
title of the thread

And the others custom fields to work inside the saved post. Maybe at the beginning and not at the end.

If this is possible I'll happy

// ------------------------------------------------

I found the solution making a few harcode changes in the plugin Custom Thread Forms [newthread_post_start]

I add this line:

$vbulletin->GPC['subject'] = "[$prefix] " . $vbulletin->GPC['subject'];

above this:

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

and this:

if($forms['title'] == "custom field title")
$prefix = $value;

below this:

$value = nl2br($value);


Regards
Reply With Quote
  #149  
Old 08-21-2007, 12:24 PM
rafa3l rafa3l is offline
 
Join Date: Jul 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sp?x View Post
Nice idea, but there will be displayed the html code like <br/><br/>.
This is because your normal user have by default html off.


But I create a custom <br /> tag in the BB code. For example:

Code:
[br]example[/br]   =   <br>example</br>

And then in the plugin:

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

Regards
Reply With Quote
  #150  
Old 08-21-2007, 01:11 PM
nnjj.net nnjj.net is offline
 
Join Date: Dec 2002
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any update?
Reply With Quote
  #151  
Old 08-24-2007, 07:53 AM
giorgiotave giorgiotave is offline
 
Join Date: Nov 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is Great.

I want use together with this. But, if i do, the first hack disappears.

The first hack, when i make many fields, don't work. User can't post.

I Think the problem is when create a non imput box.

Anyone can hel me?
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 03:45 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.05414 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
  • (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
  • (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