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)

wolfe 09-30-2007 11:16 PM

bump

reddyink 10-01-2007 04:13 AM

Custom fields section is empty with just heading Custom fields in new thread page. I added new feilds through Add new fields form and also when I query through Execute Sql Query window. Records are showing up. but not showing up in form I tried forum ID -1 and also empty. Fields are not showing up. I also enabled settings in Vbbulletin options.

wolfe 10-01-2007 10:06 AM

m8 did you edit the templates because sometimes auto edit does not work.

applyimage 10-02-2007 12:21 PM

Hi, where do we find forum id's? :)

wolfe 10-02-2007 02:22 PM

m8 example http://www.url.com/forumdisplay.php?f=71 the number after the f is the forum id.

toucan42 10-10-2007 05:12 PM

Anyone know if this is working on 3.6.8?

Fungsten 10-11-2007 06:17 PM

Quote:

Originally Posted by toucan42 (Post 1357005)
Anyone know if this is working on 3.6.8?

Yes it does.

indie 10-12-2007 07:53 PM

Do the results become a part of the actual post or are they stored in a separate table that is part of this mod and displayed in the post? I ask because if this mod is removed it is important that the results are not removed from the post. Thanks

osousous 10-12-2007 10:46 PM

When I try and import the product I get an error: "XML Error: No error at Line 0"

I have followed the instructions exactly and am running 3.6.8.

Any idea why this might be?

osousous 10-13-2007 07:01 PM

Anybody?

osousous 10-14-2007 10:26 PM

Ok change of tactic - how much would it cost me to get this working on my site?:rolleyes:

wolfe 10-14-2007 11:21 PM

m8 attach your xml file will take a look

osousous 10-15-2007 04:54 PM

Quote:

Originally Posted by wolfe (Post 1360173)
m8 attach your xml file will take a look

I haven't edited it. It is the same one you download for the mod.

TJFweb 11-09-2007 06:26 AM

Is it possible to have fields insert themselves into the title of the thread? For example, I want users to have to specify a category from a drop-down box. Can it insert this into the title of the thread, i.e. so it appears on the forumdisplay as:

[CATEGORY] Post title

???

mjname 11-27-2007 08:20 AM

I love this hack... but so far I can only get custom feilds to show up in the new thread I can't get the actual feilds to show up. I've been through the directions 3 times, I'm running 3.6.8 and I've edited the newthread template.

any other ideas. I've also read this entire post history all 12 pages. WOW

I think this mod is so desireable it needs it's own developement forum.

Anyway if anyone can help please do so

au.2dogsdiving.com

mjname 11-27-2007 08:37 AM

neer mind I deleted the custom feilds, re-installed the product and it now works, actually it works too well I have two sets of the same feild. LOL I need to go and remove my edits to the newthreds template. Thanks again!

mjname 11-27-2007 09:44 AM

Me Again

Quick question is there anyway to get radio button to be multiple select? It seems like this should be an easy customization? or to have to radio options one multiple on single select.

RedGTiVR6 11-27-2007 07:51 PM

One bug that I've just noticed.

If you have a long question in the thread field manager, it doesn't warp and hold width according to the forum width. It will stretch outside of the boundaries offered by the forum.

Is there a way to fix this eles where bychance?

RedGTiVR6 11-27-2007 07:53 PM

Quote:

Originally Posted by TJFweb (Post 1378910)
Is it possible to have fields insert themselves into the title of the thread? For example, I want users to have to specify a category from a drop-down box. Can it insert this into the title of the thread, i.e. so it appears on the forumdisplay as:

[CATEGORY] Post title

???

I'd like to know this as well...for instance, I'm trying to use this for bug reporting. i'd like to have two fields auto populate the thread title: Issue Description and Version...posted like this:

Issue Description - Version

I can do this with the form hack I'm using, but if I can do this with this hack it might just replace that hack.

Also, as a nice added feature, it would be cool if you could display a larger text box for longer, more detailed fields. Though I realize this might be outside of the scope of this mod, it's a thought I thought I would throw out there.

C.Birch 12-01-2007 09:57 AM

hi does anyone know how to edit this so the info shows at $template_hook[postbit_userinfo_right_after_posts] and not with the post itself?

Razasharp 12-04-2007 03:02 PM

Hi, does this hack create new fields in the database or does it just create form inputs where the data is added to the post?

I need a hack where when you click edit the actual fields can be edited seperately - can this hack do that?

Cheers.

ZomgStuff 12-04-2007 09:33 PM

I found a problem w/ 3.6.8 pl2.

I have selected it to only show in one forum and I have it as a required field, now any other forum that you try to create a thread in it says go back and fill out all custom fields, so the only place you can make a thread is in that one forum, if required option is on.

please fix this!

RedGTiVR6 12-04-2007 09:47 PM

I had the same problem as ZomgStuff.

thompson 12-05-2007 11:29 AM

nice mod. thanks.

Scape-Server 12-05-2007 05:15 PM

Thanks for this. Nice idea ;) Installing now!

UberMensch 12-12-2007 11:54 AM

I have the same problem as ZomgStuff and RedGTiVR6.

Please fix this, it's spoilt an otherwise very useful mod!

UberMensch 12-12-2007 02:49 PM

I've had a crack at fixing our problem, and the attached product appears to work.

The changes were:

In Plugin:
newthread_post_start

Replace:
PHP Code:

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

With: (Or delete it)
PHP Code:

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

Replace:
PHP Code:

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

With:
PHP Code:

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

    if(
$forms['required'] == && empty($value) && in_array($foruminfo['forumid'], $forumids))
    {
       eval(
standard_error(fetch_error('fill_in_custom_thread_field')));
    } 

Save Plugin:
newthread_post_start

It works for me (vB3.6.8 PL2), could someone confirm with their board also?

mjname 12-14-2007 12:27 AM

I'm using this to collect a great deal of information for an online project. I need to know... or rather does anyone know if these fields are sorted and displayed alphabetical, numerical, or via created?

jgommel 12-16-2007 07:11 AM

Quote:

Originally Posted by UberMensch (Post 1399886)
I've had a crack at fixing our problem, and the attached product appears to work.

The changes were:

In Plugin:
newthread_post_start

Replace:
PHP Code:

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

With: (Or delete it)
PHP Code:

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

Replace:
PHP Code:

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

With:
PHP Code:

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

    if(
$forms['required'] == && empty($value) && in_array($foruminfo['forumid'], $forumids))
    {
       eval(
standard_error(fetch_error('fill_in_custom_thread_field')));
    } 

Save Plugin:
newthread_post_start

It works for me (vB3.6.8 PL2), could someone confirm with their board also?

So far, your updated product xml appears to be working just fine. Thanks.

chrisbeau 12-29-2007 03:26 PM

Working for me but, the fields appear twice under the Message area.
https://vborg.vbsupport.ru/

Also is there a way to remove the message area and only use these fields when Posting with this section.
https://vborg.vbsupport.ru/

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 03:15 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.01703 seconds
  • Memory Usage 1,837KB
  • 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
  • (8)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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