The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Custom Thread Fields Details »» | |||||||||||||||||||||||||
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
|
Comments |
#62
|
|||
|
|||
he gave up there is a similar mod for 3.5.2 that works for 3.6.0
|
#63
|
||||
|
||||
I composed a fix for everyone. Hopefully should work for everyone like it did me.
When in doubt, leave it up to me to fix da bugs If you don't wanna re-import the XML then goto your plugin manager FIND: newthread_post_start Code:
if($forms['required'] == 1) { if(empty($value)) { eval(standard_error(fetch_error('fill_in_custom_thread_field'))); } } Code:
if($forms['required'] == 1) { $forumids = explode(",", $forms['forumid']); if(in_array($foruminfo['forumid'], $forumids)) { if(empty($value)) { eval(standard_error(fetch_error('fill_in_custom_thread_field'))); } } } |
#64
|
||||
|
||||
Make sure "Allow Overwrite" is "No" and click "Import" is what you say , but if the original one is on it wont let you import the product with out overwriting the original file. So what I did was edit the code with you quoted up above. I also added the Custom thread field add on and all I see is just text boxes after the Required field...
Add a New Custom Field Enter the Forum IDs for the field to be placed in Seperate each ID with a comma, Use -1 to include all forum IDs Title: Required When I click save I get this database error.... Quote:
|
#65
|
||||
|
||||
you know what though, which I failed to mention. My addon is the code from the original hack version. You cant enter in extra forum id's seperated by columns, etc. I've never wrote my addon to reflect the most recent update of this hack with is more than 1 forum id.
So dont use my addon basically.. |
#66
|
|||
|
|||
Is there any way that the fields names can form additional top columns in the list of threads ( eg so you could have "Thread Title", "Custom Field 1" "Custom Field 2", Last Post, Replies etc) - with the entries for the fields listed below (and ideally sortable) as entries in the new thread columns?
This would be fantastic! |
#67
|
|||
|
|||
I am getting the following code when posting a new thread
Quote:
Is there a fix for this? |
#68
|
|||||
|
|||||
Quote:
Go to ur plugins edit: Custom Thread Forms [newthread_post_start] In the big text-box with the php-code, scroll down to the bottom and find: Quote:
Quote:
(make sure they are within "") You prolly might have the same problem with the custom tags and answers.. Above that area u just fixed, find: Quote:
PHP Code:
PHP Code:
(somehow placing a \ in front of them isn't working) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ I would like to see an option in type of field, like I want to have a textarea sometimes. And also the ability for an url-field. So u get: ._________ . .___________ |_link-field_| |_name-field_| for example |
#69
|
|||
|
|||
great mod harmor19,
How do i make the text of the custom field appear before the actual post content? Currently you have The content of the post here ---------------------------- Custom field text area ---------------------------- How do I make it ---------------------------- Custom field text area ---------------------------- The content of the post here |
#70
|
|||
|
|||
Is there a way to produce these tags individually like the custom profile fields works? I need to merge 2 fields wrapped in an if statment dependant on the first. I don't Need titles/questions before the fields either. It's so my members can add a proper html link without having to have HTML rights. I'll install if there is a way to do that.
Nice to see someone started a new one since the Extra Fields one went bye bye. |
#71
|
|||
|
|||
Quote:
then: change: Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|