vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   New Thread Fields (https://vborg.vbsupport.ru/showthread.php?t=244576)

wolfe 06-14-2010 06:58 AM

New Thread Fields
 
hi i have tried this article https://vborg.vbsupport.ru/showthread.php?p=2001175 and its not working properly can anyone shead light on this issue i would like to add a textarea and input fields to a new thread in selected forums. thanks

Lynne 06-14-2010 02:39 PM

You should post in that thread for help. Or, if you post out here, show us exactly what you've done (please use code tags) and what the result was and what you wanted the result to be.

wolfe 07-04-2010 03:18 PM

well i want to add a few new fields really

one that auto uses the [code] Tag and another being a drop down box

so far i have

Add INFO newthread_post_start
PHP Code:

$value $vbulletin->input->clean_gpc('p'"info"TYPE_STR); 

Add NFO Process newpost_process
PHP Code:

$value $vbulletin->input->clean_gpc('p'"info"TYPE_STR);

$dataman->set('info'"[code]"'.$value.'"[/code]"); 

in the newthread template i have

HTML Code:

<div id="nfo" class="texteditor">

    <div class="editor">
        <div class="floatcontainer">
                    <textarea name="info" id="info" rows="5" cols="77">{vb:raw nfo}</textarea>
                </div>
        </div>
    </div>
</div>

and a database table


info mediumtext latin1_spanish_ci
Yes NULL

but nothings inserting on submition ? need help.


All times are GMT. The time now is 07:02 AM.

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.01047 seconds
  • Memory Usage 1,722KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete