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)

Audentio 12-29-2007 11:10 PM

Id donate to whoever can come up with a working 3.7 version. Found a few errors when I installed it, most of them mentioned already.

gbox master 01-18-2008 11:04 PM

Quote:

Originally Posted by wolfe (Post 1348920)
is it possible to completely remove the message box in the forums im using this mod in so i can just have custom fields and also is it possible to make an image box that automatically parses it with the img tags

also would it be possible to display the same fields when i post is edited instead of just the text in the message box like the new boxes ? so i can completely remove the message box from the relevant forums


i second that
if you guys could make that then it would be a winner i think
no message box just the custom fields :up:

gbox master 01-18-2008 11:26 PM

i try'ed to install this hack
but i get a database error when i want to put something in

Database error in vBulletin 3.6.8:

Invalid SQL:

INSERT INTO custom_thread_forms
(
forumid,
title,
required,
prefixed,
opentag,
closetag,
textboxsize,
textboxmax,
textboxdesc
) VALUES (
'4',
'',
'1',
'1',
'',
'',
'33',
'55',
'test card'
);

MySQL Error : Unknown column 'prefixed' in 'field list'
Error Number : 1054
Date : Saturday, January 19th 2008 @ 02:25:08 AM

can some one help me out with this ?
or does some one knows why and what this error means

DrKNickel 01-19-2008 12:02 PM

Working 3.7 Version would be great :)

StakingAces 01-19-2008 04:39 PM

My users have <br/>/<br/> posted next to all of the fields. Anyway I can remove this? Here is the code I have, please tell me what to edit. Thank you.

if($vbulletin->options['custom_thread_fields_enabled'])
{
$getcustomthreadfields = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "custom_thread_forms");
while($forms = $db->fetch_array($getcustomthreadfields))
{

$custom_formid = "custom_$forms[custom_formid]";
$value = $vbulletin->input->clean_gpc('p', $custom_formid, TYPE_STR);

if($forms['required'] == 1 && empty($value))
{
eval(standard_error(fetch_error('fill_in_custom_th read_field')));
}

if($forms['fieldtype'] == 1)
$value = nl2br($value);


$forumids = explode(",", $forms['forumid']);

if(!empty($value))
{
if(in_array($foruminfo['forumid'], $forumids) OR $forms['forumid'] == "-1" )
{
$custom_message .= "".$forms['title'].": $value<br /><br />";
$break = "<br /><br />";
}
}

}

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

StakingAces 01-20-2008 12:26 AM

Anyone help with this?

StakingAces 01-21-2008 06:15 AM

Please?

SaltyOnionBalls 01-24-2008 02:27 AM

What do I edit to make it so the custom message shows on top of the regular message?

forumrunt 03-09-2008 04:07 PM

Quote:

Originally Posted by marcoasura (Post 1138417)
Can I move the filed to the message box same as bleow image

http://img147.imageshack.us/img147/967/newthreadrf1.png

This is exactly what I need!

3Motions 03-10-2008 07:14 PM

So I'm guessing this mod is no longer supported?


All times are GMT. The time now is 01:58 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.01916 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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