vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Custom Thread Fields (https://vborg.vbsupport.ru/showthread.php?t=128587)

harmor19 10-07-2006 10:00 PM

Custom Thread Fields
 
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

harmor19 10-08-2006 05:19 PM

Reserved

UltraVR 10-08-2006 06:51 PM

This is a great idea. I'm going to try it when I get a chance. Good job!

Question: How many queries does this add?

harmor19 10-08-2006 07:11 PM

It only adds two to "newthread.php".

harmor19 10-08-2006 07:27 PM

New feature is being coded so if you haven't installed this yet please wait atleast 5-10 minutes.

The new feature allows you to select if the field is required or not.

chimaira 10-08-2006 07:29 PM

Have no use for this. But i can seeing it being a very usefull hack for someone... Sure is a good idea. Nice one mate.

soletrader 10-08-2006 07:45 PM

I dont see any Thread Fields Manager. Where is it located?

harmor19 10-08-2006 07:48 PM

Quote:

Originally Posted by soletrader
I dont see any Thread Fields Manager. Where is it located?

To add, edit, or delete a custom field go into your ACP
Forums & Moderators --> Threads Field Manager

I didn't want to create another category for one little link.

harmor19 10-08-2006 08:10 PM

I have updated this hack to allow fields to be required or not.

If you are upgrading overwrite every file.

soletrader 10-08-2006 09:09 PM

Doesnt exist in 3.6.0.

harmor19 10-08-2006 09:28 PM

Did you upload "cpnav_custom_thread_fields.xml" which is located in "includes/xml/" to "your_site/your_forums/includes/xml/"?

hotwheels 10-08-2006 11:18 PM

very nice work......

Comalies 10-09-2006 12:37 AM

Doesn't work on 3.6.0.

harmor19 10-09-2006 12:48 AM

Quote:

Originally Posted by Comalies
Doesn't work on 3.6.0.

What part doesn't work?

Comalies 10-09-2006 01:01 AM

I can't find any options in admin panel under Forums & Moderators and I uploaded all the files to the correct spots and imported the product. *Shrug*

harmor19 10-09-2006 02:01 AM

Quote:

Originally Posted by Comalies
I can't find any options in admin panel under Forums & Moderators and I uploaded all the files to the correct spots and imported the product. *Shrug*

I'll install 3.6.0 soon and see if I can figure it out.

harmor19 10-09-2006 02:52 AM

I forgot to change the product ID of the XML file.

For those who have downloaded this hack please download the attachment in this file and overwrite "cpnav_custom_thread_fields.xml" located in "includes/xml/"

bchertov 10-09-2006 04:10 AM

How does this differ from the 3.5 (reported to work in 3.6) Extra Threadfields Lite hack?

harmor19 10-09-2006 04:48 AM

Quote:

Originally Posted by bchertov
How does this differ from the 3.5 (reported to work in 3.6) Extra Threadfields Lite hack?

I haven't used that hack so I don't know.

novalogix 10-09-2006 08:23 AM

Harmor19,

Great mod here, just 1 little question i have in mind, can a few forums share the same custom field? In this way, i dont have to create the same field over and over again to make it work in some of the forums.

I have tried a few methods in this mod to let a few forums share them, but apparently it only reads 1 forum ID. Maybe it can be done by using a comma to concatenate the IDs.

Hornstar 10-09-2006 09:40 AM

Quote:

Originally Posted by novalogix
Harmor19,

Great mod here, just 1 little question i have in mind, can a few forums share the same custom field? In this way, i dont have to create the same field over and over again to make it work in some of the forums.

I have tried a few methods in this mod to let a few forums share them, but apparently it only reads 1 forum ID. Maybe it can be done by using a comma to concatenate the IDs.

Id love to see that feature as well. it would really save a lot of effort.

Snake 10-09-2006 10:22 AM

Wow this is great. Thansk! :D

soletrader 10-09-2006 10:47 AM

yea the thread fields manager wont show up in 3.6

paul41598 10-09-2006 11:26 AM

the hack has potential, I'd still like to see like radio buttons, checkboxes, etc. I know Geologist stopped working on extra thread fields lite, so Id rather not use that product anymore. Need something different, but along those lines

harmor19 10-09-2006 09:11 PM

Quote:

Originally Posted by soletrader
yea the thread fields manager wont show up in 3.6

Have you tried the attachment on this post?

novalogix 10-10-2006 02:46 AM

Quote:

Originally Posted by novalogix
Harmor19,

Great mod here, just 1 little question i have in mind, can a few forums share the same custom field? In this way, i dont have to create the same field over and over again to make it work in some of the forums.

I have tried a few methods in this mod to let a few forums share them, but apparently it only reads 1 forum ID. Maybe it can be done by using a comma to concatenate the IDs.

Harmor19,

I will really like to hear your view on this matter. This is important because i have been looking for a mod like your's for very long and I need a few custom fields to work on more than 10 forums on my board. Hope you can shed some light in this matter. Thanks for your work!

harmor19 10-10-2006 03:26 AM

I will make it so you can separate forum IDs with commas. The custom field will show up on the forum IDs you've typed in.

novalogix 10-10-2006 04:06 AM

Thanks for your prompt reply, I will really be looking forward to that happening. This mod has the potential to be an essential mod to vB.

3dsoft 10-10-2006 07:26 AM

Quote:

I'd still like to see like radio buttons, checkboxes
This hack could easly be a "hack of the month"!

harmor19 10-10-2006 09:05 AM

Quote:

Originally Posted by 3dsoft
This hack could easly be a "hack of the month"!

I would prefer "vHosting" get HotM because I put so much time into it.
I stayed up for hours coding it, adding features, making sure no one can circumvent areas, making sure all the input variables were cleaned.
I even put time into writing the instructions.
The one thing that could be improved is the use of joining queries where appropriate. I didn't know how to use "LEFT JOIN" when I started writing vHosting.

3dsoft 10-11-2006 05:04 PM

Quote:

I would prefer "vHosting" get HotM because I put so much time into it.
I voted for it since you prefer it. ;)

paul41598 10-11-2006 06:33 PM

I'd like to see more addons to this great hack. For example the below screenshots. I've added the ability to add the custom thread field to the thread title or leave it in the body, either or.

novalogix 10-12-2006 03:00 AM

Quote:

Originally Posted by paul41598
I'd like to see more addons to this great hack. For example the below screenshots. I've added the ability to add the custom thread field to the thread title or leave it in the body, either or.

Wow, that's nice. I am wondering if you face the same issue as me. Maybe you can help me out here, i have more than 1 field to add to more than 10 forums, in this current mod i have to create them repeatedly.

Do you know how to go around it? I am not much of a coder, but i know it is due to the forumid field in the table being a mediumint, do you think changing it to a string will help? Please advise.

PS - Harmor did say he will make the amendment to the mod, but i am guessing he will take quite a while since he got so many mods going on. :cool:

harmor19 10-12-2006 03:05 AM

I am forcing myself to add the ability to add a field to multiple forums by Saturday. If I don't then click the "Uninstall" button.

I'll add radio button, and check boxes someday.

novalogix 10-12-2006 05:33 AM

Quote:

Originally Posted by harmor19
I am forcing myself to add the ability to add a field to multiple forums by Saturday. If I don't then click the "Uninstall" button.

I'll add radio button, and check boxes someday.

Harmor,

Thanks for those assuring words, much appreciated! Even if you dont, i will still keep this mod, i will still support a good mod!

bchertov 10-12-2006 01:48 PM

Quote:

Originally Posted by paul41598
I'd like to see more addons to this great hack. For example the below screenshots. I've added the ability to add the custom thread field to the thread title or leave it in the body, either or.

How about posting your great addon, Paul?!?

paul41598 10-12-2006 02:29 PM

Quote:

Originally Posted by bchertov
How about posting your great addon, Paul?!?

Sorry, dont think its a good idea. Cant take authors code and redistribute it with open modifications without permission. Who knows, maybe we'll kinda work together on it though putting in addons

harmor19 10-13-2006 12:48 AM

Quote:

Originally Posted by paul41598
Sorry, dont think its a good idea. Cant take authors code and redistribute it with open modifications without permission. Who knows, maybe we'll kinda work together on it though putting in addons

You can do it as an add-on hack.

I have add the ability to add a field to multiple forums more easily.

novalogix 10-13-2006 02:46 AM

Harmor,

Thanks for the tremendous efforts. You have saved me from entering 40 over custom fields.

This is indeed a good mod!

SeQual 10-15-2006 03:03 PM

Is there a way to have a textarea instead of input box?


All times are GMT. The time now is 05:32 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01651 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete