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)

miticoste 02-15-2012 06:31 PM

Quote:

Originally Posted by Silviu (Post 2185205)
Hello,

We update this for VB4.

Attach.

Hello I have installed the version of VB4 Silviu on my forum vb Version 4.1.7 does not work. Plus when I go to a page apubblicazione nuovomessaggio am I getting this error on top:

Parse error: syntax error, unexpected T_VARIABLE in /home/intrade3/public_html/www-espertionline.org/forum/newthread.php(563) : eval()'d code on line 13

In addition as shown in the image page has a few problems caused by this product.

P. S. I have not made ​​changes to the Aluna temlate forum. All I did was load the various files as shown in the installation file.

Someone can help me? This product takes a lot to me. thanks

sapgaurav 04-03-2012 10:08 AM

can we make user or moderate staff specific. i mean this field should display in posting time to staff only and this can visible in post to everyone, i means the field editatble otpoio only to staff

bestfirearmdeal 05-04-2013 12:38 PM

Is there a way that this mod or hack can be adjusted for VB version 4.2.1? I am in need of a way to add a custom field to the threads. Thanks

BarracodE 11-25-2013 02:41 PM

I got this working for 4.2.1. Thank you for this plugin. It saved many hours.

I'm no vBulletin programmer but I can hack my way through. Here were my steps:

Upload the contents of the 4.X.X zip file to admin, includes, pics directories.

Admin CP -> Plugins & Products -> Manage Products -> Add/Import Product

Browse to product-custom_thread_forms.xml

Admin CP -> Plugins & Products -> Plugin Manager -> Disable Template Changes - newthread_form_complete

Admin CP -> Settings -> Options -> Custom Thread Field Settings -> Edit -> Enable Custom Thread Fields -> Yes

Admin CP -> Settigns -> Options -> Custom Thread Field Settings -> Edit -> Template Changes -> No

Admin CP -> Forums & Moderators -> Threads Field Manager -> Add a new Field

Admin CP -> Styles & Templates -> Search in Templates -> Search for newthread -> Select newthread -> Customize

--Find this code in the newthread template--
-----------------------
{vb:raw messagearea}
-----------------------

--Below Add--
-----------------------
<vb:if condition="$custom_form">
<BR>
<fieldset>
{vb:raw custom_form}
</fieldset>
<BR>
</vb:if>
-----------------------

-- Optional Steps --

--I like my new field above the text area {vb:raw messagearea} so I did this and used a new blockrow:
<div class="blockrow">
<vb:if condition="$custom_form">
<fieldset>
{vb:raw custom_form}
</fieldset>
</vb:if>
</div>

-- I also wanted my field displayed in front of the message so I updated the plugin:
Admin CP -> Plugins & Products -> Plugin Manager -> Custom Thread Forms [newthread_post_start - newthread_post_start -> Edit

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

-- Replace with
$vbulletin->GPC['message'] = $custom_message."<BR><BR>".$vbulletin->GPC['message'];

Thanks again for the plugin! Hope this helps!!

Chuck

Lon 03-27-2014 06:22 AM

Any idea how to show any of the thread field results in lets say the threadbit template?

So instead of the thread title I want to replace that with the input text.

qldafwebmaster 12-16-2014 08:58 PM

this works fine for me on VB4 using barracodE fix however when if use multiple custom fields on a single forum it places the fields all on one line and not a separate line for each field :( im also getting a <BR><BR> code at the beginning of every thread?


All times are GMT. The time now is 11:29 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.01180 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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