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)

raucheninhh 03-13-2008 08:24 AM

Hi,

is it possible that after creating a new thread the information given in the custom fields is put on top of what the user has written in the message box?

Thanks

mariocaz 03-22-2008 09:12 PM

Installed and working with the fix #187

Thank you a lot!

mariocaz 03-23-2008 07:45 PM

Hi I have a little problem because this fix is not working:

Code:

              $custom_message .= "".$forms['title']."\r\n$value\r\n\r\n";
              $break = "\r\n\r\n";


And with this the <br /> is showing it in the posts. :(

Code:

              $custom_message .= "".$forms['title'].": $value<br /><br />";
              $break = "<br /><br />";


Help!!!!!

mariocaz 03-24-2008 12:09 AM

Here is the fix for the problem ok.

PHP Code:

$custom_message .= "[b]"$forms['title'] ."[/b]<br/> $value <br /><br />";
$break "<br />"

And now to add Red Color in the $value What I have to do ???

Thank you a lot!!!

mariocaz 03-27-2008 04:26 AM

Hi guys,

Finally here is the fix of the spaces and the red color in the answers of the custom fields.

PHP Code:

$custom_message .= "<b>"$forms['title'] ."</b><br/> <font color=\"Red\">".$value."</font><br /><br />"
$break "<br />"

Really thank you so much to minstrel of theadminzone.com for his awesome help in this fix.

http://www.theadminzone.com/forums/s...ad.php?t=47603

So I hope this helps to someone. :cool:

nhatrang 04-02-2008 06:05 AM

Would be nice if this could act like the Description Thread Mod: https://vborg.vbsupport.ru/showthread.php?t=131239

I love the idea how we can add questions per forum, etc, however it does not create a column in the DB so you can call it out seperately like the MOD above.

Goodman_2020 04-05-2008 01:48 AM

Hi, i got a little problem...every field i create appears a second time below the first one....

and is there a way to make this hack does what he does (fields) in posts too?

Mrajp 04-05-2008 12:55 PM

Can this be ported over to vB 3.7?

Noctavia 04-08-2008 08:35 AM

Looking at installing this on my forum - however concerned about the amount of errors and issues that seem to be going unanswered. Have any of the problems found solutions yet? :confused:

Mrajp 04-10-2008 06:12 PM

I got it installed on vB 3.7 and have taken care of most of the html issues. Unfortunately, when using a "Text Area" style field, <br /> Tags are placed after each line entry. Yes, I know I dont have HTML turned on, I dont want it on. Below is what it places into my edit box.

Code:

Customer: --No Customer--
Issue Type: Configuration
Problem: gregre<br />
gre<br />
<br />
gregre
Resolution: gregre<br />
gre<br />
<br />
gre

Anybody know of a way to eliminate those "<br />" Tags?

Ammari 04-18-2008 02:37 AM

what if i want it to include all forums, but exclude one?

MPDesignZ 04-25-2008 12:16 PM

Quote:

Originally Posted by chrisbeau (Post 1411438)
Working for me but, the fields appear twice under the Message area.
http://img520.imageshack.us/img520/7168/screenyma8.jpg

Also is there a way to remove the message area and only use these fields when Posting with this section.
http://img520.imageshack.us/img520/6642/89888354lx9.jpg

I got rid of the two areas by deleting the template addon plugin that was installed with the mod & then manually editing the template putting the code where I needed it. My only prob now is trying to get the post that was made with it to be in the same output format as the input was. For example: I have this:

Custom thread items
--------------------------------------
Custom thread items
----------------------------------
message area.
-------------------------------
submit button

when I go to submit a thread, but when I look at the thread after submission Its the opposite.

message area
---------------------------------
custom thread area
----------------------------------
custom thread area

any ideas on how to solve this?

gim 05-02-2008 03:17 AM

Does work with 3.6.7 PL1 and Aqua-Soft 3 - Aqua template :(

Allan 05-11-2008 02:38 PM

French language ;)

Translator: Allan.

mirrormill 05-12-2008 06:17 PM

Just installed this hack on my vB 3.70,
it works fine, except the message preview concatenates all the fields into one message in the default message textfield... is this the way it is? or is there something wrong?
I was expecting the message preview to disseminate the custom inputs into their respective custom fields.... ? yes ? no ?

I've hacked around with the newthread.php file before this install, trying my own hand at customizing it for the exact purpose this hack is for... but my major problem was trying to get around the preview issue, (and validation, which this hack does the ok, so i have made progress)... I thought this hack would resolve the preview issue... maybe not..?

btw i reverted to the original v. of newthread.php (pre my own hack) before i installed this hack.
I unstalled the hack and reinstalled it again.. no joy.. can anyone help?

cheers

mirrormill 05-14-2008 10:10 AM

Quote:

Originally Posted by Mrajp (Post 1487671)
I got it installed on vB 3.7 and have taken care of most of the html issues. Unfortunately, when using a "Text Area" style field, <br /> Tags are placed after each line entry. Yes, I know I dont have HTML turned on, I dont want it on. Below is what it places into my edit box.

Code:

Customer: --No Customer--
Issue Type: Configuration
Problem: gregre<br />
gre<br />
<br />
gregre
Resolution: gregre<br />
gre<br />
<br />
gre

Anybody know of a way to eliminate those "<br />" Tags?


This worked for me as a solution to this issue:
using the plugin manager edit newthread_post_start

comment out the line:

Code:

    $value = nl2br($value);
so it becomes

Code:

//  $value = nl2br($value);
as this is the line inserting the <br />s

worked for mee...

Mrajp 05-14-2008 11:07 AM

Quote:

Originally Posted by mirrormill (Post 1519208)
This worked for me as a solution to this issue:
using the plugin manager edit newthread_post_start

comment out the line:

Code:

    $value = nl2br($value);
so it becomes

Code:

//  $value = nl2br($value);
as this is the line inserting the <br />s

worked for mee...

I've noticed that the above hack works if the poster is using standard entry for their message box. However, if you have a user using the enhanced editor, doing the above hack will take out all of the line returns in the post, making the BR tags necessary.

I've since uncommented the code, and forced my users to use the enhanced message box for consistency.

Thanks for all of the help though!

NCDiesel 05-16-2008 12:30 AM

Everything seemed to install well and the custom field HTML table is showing on the newthread page, but it is blank and no fields are showing up. I have double and tripled checked the forum ID under the Threads Field Manager and everything looks OK. It is as if the $customform variable in the template is empty or undefined. Any clues?

PS I did have to manually edit the newthread template, but I cut and paste the text from the instructions verbatim and did not change it.

PSS The only thing that may be unusual about my custom field is mine is a select box with 63 values. (State and province names)

NCDiesel 05-16-2008 12:52 AM

Quote:

Originally Posted by NCDiesel (Post 1521190)
Everything seemed to install well and the custom field HTML table is showing on the newthread page, but it is blank and no fields are showing up. I have double and tripled checked the forum ID under the Threads Field Manager and everything looks OK. It is as if the $customform variable in the template is empty or undefined. Any clues?

PS I did have to manually edit the newthread template, but I cut and paste the text from the instructions verbatim and did not change it.

PSS The only thing that may be unusual about my custom field is mine is a select box with 63 values. (State and province names)


Never mind - didn't realize I had to turn on an option in the VBulletins option page. So I undid my manual template changes, turned the option on; and viola` - custom field is present. Thanks!

PS: Am running on 3.7.0

viper007 05-18-2008 05:19 AM

its not working

SpeedyHire 05-20-2008 08:07 PM

got it working fine here on 3.7.0, but wanted it to show also on the forumdisplay as my old 1 use to:)
still nice work will play about with it some more

mariocaz 05-21-2008 12:08 AM

working like a charm in 3.7 gold

oz_girl 05-27-2008 02:26 AM

Will have to try this one, fingers crossed it works for me!

GPTB 06-06-2008 03:48 PM

If someone could update this for vB 3.7 I would be absolutely delighted :)

callumbush 06-08-2008 04:08 PM

Should I use this mod, or this mod?
https://vborg.vbsupport.ru/showthrea...108888&page=40

Cheers :)

mauriceo 06-09-2008 05:40 PM

This is a plugin wich i'm exacly searching for however it could for me even better if the normal "message" feature would be removed so only the "tittle" and the "Custom Fields" would be visible and writable, is this posible by editing the plugin or is this just not possible?

amlalommah 06-09-2008 07:06 PM

thanks for u

captainron19 06-14-2008 06:08 PM

I just installed this in V 3.7.1 and I noticed that in admincp - custom thread settings - there are no choices for this product other than to enable it. I found no settings for designating whcih forums to have threads in and to set the custom fields up.

I am assuming this is not yet compatible with 3.7.1 true?

pcoskat 06-17-2008 12:43 PM

Quote:

Originally Posted by captainron19 (Post 1549351)
I just installed this in V 3.7.1 and I noticed that in admincp - custom thread settings - there are no choices for this product other than to enable it. I found no settings for designating whcih forums to have threads in and to set the custom fields up.

I am assuming this is not yet compatible with 3.7.1 true?

Any answers to this?

captainron19 06-17-2008 01:09 PM

Quote:

Originally Posted by pcoskat (Post 1551612)
Any answers to this?

Havent received any but I did find another Hack similiar to this that works in V 3.7.1 It is

https://vborg.vbsupport.ru/showthread.php?t=108888

GeoffreyXXI 06-21-2008 09:02 AM

Quote:

Originally Posted by pcoskat (Post 1551612)
Any answers to this?

you set in which forum the custom field will appear when you add a new custom field...you should see it there

OcR Envy 06-24-2008 01:26 PM

Does not work with 3.7.2

indie 07-18-2008 07:34 AM

Quote:

Originally Posted by OcR Envy (Post 1557770)
Does not work with 3.7.2

Ditto. "Thread Fields" does not show up in admincp left nav.

MrD 08-25-2008 08:16 AM

Quote:

Originally Posted by indie (Post 1578264)
Ditto. "Thread Fields" does not show up in admincp left nav.

Show under Forums&Moderators

Cyburbia 08-26-2008 07:38 PM

Tried installing it to the letter in vB 3.7. It worked, but there was one big problem: in subforums where custom fields were not assigned, users got error messages telling them to complete all custom fields, even though there were none to be entered.

kud0gfx 09-02-2008 01:53 AM

i will really use it if it was compatible with 3.7.X

mariocaz 04-19-2009 05:36 AM

this is wrking like a charm in my 3.7.6 just look for some fixes in the other pages here.

sleepyboy2004 04-20-2009 06:20 AM

Is this one out for 3.8 yet??? :(

ChurchMedia 05-25-2009 05:08 AM

Quote:

Is this one out for 3.8 yet???
Same question -- or is there a different hack that works well with 3.8?

slehmann 05-28-2009 11:07 PM

just installed and I'm having a problem. I set some custom fields for a forum but if I make them required custom fields then I get the error message in every forum to go back and fill in the custom fields. Is there a fix for this.


All times are GMT. The time now is 03:15 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.01535 seconds
  • Memory Usage 1,830KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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