The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Adding Additional Fields to New Thread
Anyone know if there's a sane method of adding a customizeable field for new threads?
|
#2
|
|||
|
|||
i would like to know the same thing. Thanks
|
#3
|
|||
|
|||
It would really depend on what you would be adding and what you would want done with the value of each input!
I guess you could add a option to the vB posting options, where you could define a new input (input name, default value, fill in value if set, about text) that would need a edit to (newthread, newreply) to add a single function that would call (1) of (2) other functions (process, build), then you would just create a single template (custom_input_bit) to build the input to be added to the form). For processing just check if the new input has a value and if it does process it, if it's a preview then just reinsert the value or check it if its a checkbox! So a quick run down! 1. Add option to the admin panel (options) 2. create a new table to hold each input fields settings (something like profilefields) 3. add the posting values to clean them to function build_new_post() ./includes/functions_newpost.php 4. add your custom templates for different input types you want to support 5. add you <if condition...> to include your form inputs to newreply, newthread templates! 6. add the building and processing functions 7. add the function(s) calls to newthread.php, newreply.php That it! It's not really hard to do, maybe a hour of coding on the forum side, the admin panel would take longer, how long will depend on how dynamic you want the control to be! Just remember the more dynamic it is, will make your Admin job easier later! Sonia |
#4
|
|||
|
|||
I wold like the same thing, is there som one that can make a it.
|
#5
|
|||
|
|||
Like why-not replied, it would depend on your exact needs.
Did you have a look at Erwin's hack? |
#6
|
|||
|
|||
Thanks for the replay.
I need it for a site like this, white many new hacks/mods/interfaces,,,, for consols. when a new thread is maked the pople have to enter : Version : Mod date : Moded by : Produsent : Exmpel: Version : 1.0 Mod date : 24.05.05 Moded by : Ice Produsent : Sony And the info show in the first post. sorry for the bad english. |
#7
|
|||
|
|||
Have a look if you can use this: https://vborg.vbsupport.ru/showthrea...threadid=66082
PS It is fairly easy to create extra fields, adding them to search is a bit more work. But since this will probably be a custom solution for your forum, i doubt anybody want to do it for free. So maybe a Service Request is better if you can't use Erwin's hack. |
#8
|
|||
|
|||
Tanks, i have looked at his mod, but i can use that.
and using fields follow the users and not the post. and that dont work. i need to add it to the post. so the info follow the post. then il try to figer it out my selfe, but it is going to take wail then thanks any way. |
#9
|
|||
|
|||
and then ist going the right way.
Perhaps i can beat Zachery and releace this hack. lol, not I have to fix soam posting problems, but perhaps i m geting there. going on a vacation now, so cya all i august. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|