Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[DBTech] DragonByte vBForms v2 (vB4) Details »»
[DBTech] DragonByte vBForms v2 (vB4)
Version: 2.2.6, by DragonByte Tech DragonByte Tech is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 08-24-2012 Last Update: 04-24-2016 Installs: 51
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

Dragonbyte Forms is a mod that forces users to fill out a form before posting threads in select forums.

Uses
For instance, you can use it to create a "support ticket" system like the one we have on DragonByte-Tech.com, or simply gather common information.

A powerful alert system lets you receive emails for each new form filled out, and usergroup permissions control who can manage the forms in the threads themselves.
-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.

*
For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.

We appreciate the support!
-------------------------------------------------------------------------------------------

Priority support & Product Demos available at: http://www.dragonbyte-tech.com

-------------------------------------------------------------------------------------------

Translations available @ our forum
Support for translations handled by the translator in its respective threads only.

-------------------------------------------------------------------------------------------

Major Features
Multiple Form Options You can create an unlimited amount of form categories that allows you to ask any number of different questions on a per-category basis. You can also create separate statuses for forms, which lets you mark forms as "handled".

AJAX integration We used AJAX wherever we could to help reduce the page reloads

(Pro) Powerful Alert System A powerful alert system lets you decide who should receive alerts for new forms filled out for select forums only. These fine-grained alerts ensure nobody receives unnecessary emails.


Complete Feature List
Lite

Categories / Forms
  • Toggle Active - Whether the category should be usable to the public
  • Private - If yes, all questions submitted will be private between Managers and the thread starter
  • Hide Blank Fields - If yes, this will hide all optional questions that were not filled out from the form display on Show Thread.
  • Show On All Pages - If yes, the completed form will be displayed on all pages of a thread, rather than just the first page.
  • Per-usergroup permissions: Can Use / Can View Others' Form Entries
Forum Manager
  • Choose what categories are enabled for what forum(s)
Questions
  • Toggle Active - Whether the question should be shown on the form
  • Category - What category (form) it belongs to
  • Input type - What type of input is shown: Text Box, Text Area, Yes/No switch, Dropdown
  • Required - Whether this question is required to submit the form
  • Private - Whether answers to this question is displayed to others (Managers can always see answers)
  • Show On Thread List - If yes, this question will be displayed after the thread title on the thread list (A.K.A. "Forum Display").
  • Show Question Title On Thread List - If yes, the title of this question will be displayed before the question data. Only has effect if the above setting is enabled.
  • Data Validation Type - Enforce a specific result: <anything>, Number with decimals, Number without decimals, Positive number, Yes/No, User Name, Valid Email, Valid URL
  • Regular Expression - Additional validation for advanced users, works in conjunction with the above validation types
Statuses
  • Toggle Active - Whether the status should be available for the form
  • Category - What category (form) it belongs to
  • HTML Markup - Input the open / close HTML tags to use around this status. Used for display on Thread List, if enabled.
  • Default Status - If this is the default status for this category.
  • Is Closed Status - Whether this status is considered a closed status.
Settings
  • Display Version Number
  • Enable Modification
  • Reason for turning modification off
  • Enable Navbar Tab (currently no navbar tab exists)
  • Forum Integration (currently no Community or Quick Links menu items exist)
  • Display Form Status On Forum Display
  • Display Form Category On Forum Display
Front-End
  • Choose form category for enabled forum(s) before starting thread
  • Fill out the form above the normal thread information
  • Any form errors will be displayed in the same way posting errors are displayed atm, remembering existing data
  • Managers can change form status from within the thread via AJAX

Pro

Questions
  • Input type - What type of input is shown: Text Box, Text Area, Yes/No switch, Dropdown, Dropdown with multi-select
Notifications
  • User Name - The username of the person receiving the notifications. Doesn't need to be updated if a person changes their username, this is handled automatically.
  • Toggle Active - Whether this user should receive notifications after all
  • Per-forum email notifications checkbox
-------------------------------------------------------------------------------------------
This mod displays a copyright notification in the footer of all pages which includes:
  • 1 Link to DragonByte Technologies homepage
  • 1 Link to Product Description page of this modification

Download Now

File Type: zip [DBTech] DragonByte vBForms v2.2.6 [Lite].zip (115.7 KB, 90 views)

Screenshots

File Type: jpg 178.jpg (69.1 KB, 0 views)
File Type: png 179.png (5.6 KB, 0 views)
File Type: png 180.png (22.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-25-2012, 07:31 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm unable to answer that until you answer the question you quoted in your post


Fillip
Reply With Quote
  #13  
Old 08-25-2012, 07:44 PM
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Location: Scotland
Posts: 471
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
I'm unable to answer that until you answer the question you quoted in your post


Fillip
Line 4443:
Code:
			eval($template_code);
The previous and after line:
Code:
	/**
	 * Renders the output after preperation.
	 * @see vB_Template::render()
	 *
	 * @param boolean	Whether to suppress the HTML comment surrounding option (for JS, etc)
	 * @return string
	 */
	protected function render_output($suppress_html_comments = false)
	{
		//This global statement is here to expose $vbulletin to the templates.
		//It must remain in the same function as the template eval
		global $vbulletin;
		extract($this->registered, EXTR_SKIP | EXTR_REFS);

		$template_code = self::fetch_template($this->template);
		if (strpos($template_code, '$final_rendered') !== false)
		{
			eval($template_code);
		}
		else
		{
			eval('$final_rendered = "' . $template_code . '";');
		}

		if ($vbulletin->options['addtemplatename'] AND !$suppress_html_comments)
		{
			$template_name = preg_replace('#[^a-z0-9_]#i', '', $this->template);
			$final_rendered = "<!-- BEGIN TEMPLATE: $template_name -->\n$final_rendered\n<!-- END TEMPLATE: $template_name -->";
		}

		return $final_rendered;
	}
This was done using notepad. I do not know if commented out lines mess up the line numbers.
Reply With Quote
  #14  
Old 08-27-2012, 09:57 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, what version of vBulletin are you running? I think I know why, but it shouldn't happen - it doesn't on 4.1.12 and newer.

Fillip
Reply With Quote
  #15  
Old 08-28-2012, 03:55 PM
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Location: Scotland
Posts: 471
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
Hmm, what version of vBulletin are you running? I think I know why, but it shouldn't happen - it doesn't on 4.1.12 and newer.


Fillip
I'm running 4.1.3
Reply With Quote
  #16  
Old 08-30-2012, 03:14 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've made some code and template changes to attempt to fix this in the next version.

I'd recommend upgrading to the latest version of the branch you're on (so for you, 4.1.12) if you can't make the switch to 4.2 anyway, old versions sometimes have these quirks and it can be difficult for us to support legacy versions


Fillip
Reply With Quote
  #17  
Old 09-02-2012, 03:17 PM
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Location: Scotland
Posts: 471
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
I've made some code and template changes to attempt to fix this in the next version.

I'd recommend upgrading to the latest version of the branch you're on (so for you, 4.1.12) if you can't make the switch to 4.2 anyway, old versions sometimes have these quirks and it can be difficult for us to support legacy versions


Fillip
When will the newt update be released so I can try and start using the select boxes?

Also, am I filling out the forum properly? I have attached a screenshot to show you how I am inputting it.
Attached Images
File Type: png select.png (16.4 KB, 0 views)
Reply With Quote
  #18  
Old 09-02-2012, 03:36 PM
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Location: Scotland
Posts: 471
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also get this error when replying to mods. It only happens sometimes.

Code:
Fatal error: Registry object is not an object in [path]/includes/class_dm.php on line 205
#0 vb_error_handler(256, Registry object is not an object, /home/xxx/public_html/forum/includes/class_dm.php, 205, Array ([this] => DBForms_DataManager_Entry Object ([validfields] => Array ([entryid] => Array ([0] => 3,[1] => 3,[2] => _-_mEtHoD_-_,[3] => verify_nonzero),[categoryid] => Array ([0] => 3,[1] => 1,[2] => _-_mEtHoD_-_),[statusid] => Array ([0] => 3,[1] => 0,[2] => _-_mEtHoD_-_),[questions] => Array ([0] => 0,[1] => 1,[2] => _-_mEtHoD_-_,[3] => verify_serialized),[dateline] => Array ([0] => 6,[1] => 2),[resolvetime] => Array ([0] => 3,[1] => 0),[responses] => Array ([0] => 0,[1] => 1,[2] => _-_mEtHoD_-_,[3] => verify_serialized)),[table] => dbtech_dbforms_entry,[condition_construct] => Array ([0] => entryid = %1$d,[1] => entryid),[bitfields] => Array (),[setfields] => Array (),[rawfields] => Array (),[registry] => ,[dbobject] => ,[lamda] => ,[errors] => Array (),[error_handler] => 1,[existing] => Array (),[info] => Array (),[condition] => ,[failure_callback] => ,[presave_called] => ,[hook_start] => data_start,[hook_presave] => data_presave,[hook_postsave] => data_postsave,[hook_delete] => data_delete),[registry] => ,[errtype] => 0)) called at [(null):0] #1 trigger_error(Registry object is not an object, 256) called at [/home/xxx/public_html/forum/includes/class_dm.php:205] #2 vB_DataManager->vB_DataManager(, 0) called at [/home/xxx/public_html/forum/dbtech/dbforms/includes/class_dm_entry.php:71] #3 DBForms_DataManager_Entry->DBForms_DataManager_Entry(, 0) called at [/home/xxx/public_html/forum/dbtech/dbforms/includes/class_core.php:227] #4 DBFORMS::initDataManager(Entry, , 0) called at [/home/xxx/public_html/forum/dbtech/dbforms/hooks/postdata_postsave.php:32] #5 require(/home/xxx/public_html/forum/dbtech/dbforms/hooks/postdata_postsave.php) called at [/home/xxx/public_html/forum/includes/class_dm_threadpost.php(949) : eval()'d code:114] #6 eval() called at [/home/xxx/public_html/forum/includes/class_dm_threadpost.php:949] #7 vB_DataManager_Post->post_save_each(1, 3612) called at [/home/xxx/public_html/forum/includes/class_dm.php:917] #8 vB_DataManager->save(1, , , , ) called at [/home/xxx/public_html/forum/includes/class_dm_threadpost.php:796] #9 vB_DataManager_Post->save() called at [/home/xxx/public_html/forum/includes/functions_newpost.php:567] #10 build_new_post(reply, Array ([forumid] => 37,[styleid] => 0,[title] => vBulletin 4 Requests & Help Section,[title_clean] => vBulletin 4 Requests & Help Section,[description] => Name change requests, vB Mods, Styles & Help go here.,[description_clean] => Name change requests, vB Mods, Styles & Help go here.,[options] => 97991,[showprivate] => 0,[displayorder] => 2,[lastpostid] => 3611,[daysprune] => -1,[newpostemail] => ,[newthreademail] => ,[parentid] => 94,[parentlist] => 37,94,25,-1,[password] => ,[link] => ,[childlist] => 37,-1,[defaultsortfield] => lastpost,[defaultsortorder] => desc,[imageprefix] => ,[dbtech_thanks_disabledbuttons] => 0,[vbseo_moderatepingbacks] => 1,[vbseo_moderatetrackbacks] => 1,[vbseo_moderaterefbacks] => 1,[vbseo_enable_likes] => 1,[vsa_frules] => 2,[dbtech_dbforms_enabledcategories] => 3,[podcast] => 0,[depth] => 2,[permissions] => Array ([6] => 16777215,[8] => 536870912,[9] => 549187839,[7] => 16776703,[2] => 549187839,[5] => 16777215,[1] => 655375,[3] => 542871807,[4] => 537526287,[12] => 12316927),[active] => 1,[allowposting] => 1,[cancontainthreads] => 1,[moderatenewpost] => 0,[moderatenewthread] => 0,[moderateattach] => 0,[allowbbcode] => 1,[allowimages] => 1,[allowhtml] => 0,[allowsmilies] => 1,[allowicons] => 1,[allowratings] => 1,[countposts] => 1,[canhavepassword] => 1,[indexposts] => 1,[styleoverride] => 0,[showonforumjump] => 1,[prefixrequired] => 0), Array ([isdeleted] => 0,[issubscribed] => 0,[emailupdate] => ,[folderid] => ,[description] => Have been looking for a good members map, where you can see on a map where each member is located around the world. Anyone know of any mod for this? I found one for vb 3.X but not vb 4.X,[threadid] => 1938,[title] => VBulletin member map,[prefixid] => ,[firstpostid] => 3611,[lastpostid] => 3611,[lastpost] => 1346602661,[forumid] => 37,[pollid] => 0,[open] => 1,[replycount] => 0,[hiddencount] => 0,[deletedcount] => 0,[postusername] => SiM22,[postuserid] => 1264,[lastposter] => SiM22,[lastposterid] => 1264,[dateline] => 1346602661,[views] => 0,[iconid] => 0,[notes] => ,[visible] => 1,[sticky] => 0,[votenum] => 0,[votetotal] => 0,[attach] => 0,[similar] => 1754,1803,76,1796,1429,[taglist] => map, member, vbulletin,[keywords] => map, member, vbulletin, found, world, located, members, good,[dbtech_thanks_disabledbuttons] => 0,[dbtech_thanks_requiredbuttons_content] => 0,[dbtech_thanks_requiredbuttons_attach] => 0,[is_solved] => 0,[wrdate] => ,[vbseo_linkbacks_no] => 0,[vbseo_likes] => 0,[tweet_screen_name] => ,[dbtech_dbforms_entryid] => 15,[entryid] => 15,[categoryid] => 2,[statusid] => 0,[questions] => a:1:{i:3;s:53:"https://vborg.vbsupport.ru/showthread.php?t=99920";},[resolvetime] => 0,[responses] => a:1:{i:0;a:4:{s:6:"userid";i:1264;s:6:"postid";i:3611;s:12:"responsetype";s:4:"user";s:8:"dateline";i:1346602661;}},[vbversion] => ,[forumurl] => ,[orgrequest] => https://vborg.vbsupport.ru/showthread.php?t=99920), Array ([postid] => 3611,[threadid] => 1938,[parentid] => 0,[username] => SiM22,[userid] => 1264,[title] => VBulletin member map,[dateline] => 1346602661,[pagetext] => Have been looking for a good members map, where you can see on a map where each member is located around the world. Anyone know of any mod for this? I found one for vb 3.X but not vb 4.X,[allowsmilie] => 1,[showsignature] => 0,[ipaddress] => 149.241.115.16,[iconid] => 0,[visible] => 1,[attach] => 0,[infraction] => 0,[reportthreadid] => 0,[htmlstate] => on_nl2br,[dbtech_thanks_cache] => ,[dbtech_thanks_disabledbuttons] => 0,[dbtech_thanks_requiredbuttons_content] => 0,[dbtech_thanks_requiredbuttons_attach] => 0,[post_thanks_amount] => 0,[isdeleted] => 0,[edit_userid] => ,[edit_dateline] => ,[edit_reason] => ,[hashistory] => ,[specifiedpost] => 1), Array ([message] => What about this? 
Code:
https://vborg.vbsupport.ru/showthread.php?t=244236
,[title] => ,[iconid] => 0,[parseurl] => 1,[signature] => 1,[preview] => ,[disablesmilies] => 0,[rating] => 0,[rate] => 0,[username] => ,[folderid] => 0,[quickreply] => 0,[poststarttime] => 1346603315,[posthash] => 5a239b871fc77cf948b26df1c9e49242,[humanverify] => Array (),[stickunstick] => 0,[openclose] => 0,[subscribe] => 1,[ajaxqrfailed] => 0,[htmlstate] => on_nl2br,[emailupdate] => 1,[enablesmilies] => 1,[podcastsize] => 0,[visible] => 1), Array ()) called at [/home/xxx/public_html/forum/newreply.php:428] #11 require(/home/xxx/public_html/forum/newreply.php) called at [/home/xxx/public_html/forum/vbseo.php:1397]
Reply With Quote
  #19  
Old 09-03-2012, 04:57 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah man, I was supposed to put out a hotfix for your issue Friday but it slipped my mind, sorry
Thanks for the reminder

If you re-download, re-upload and re-import, it should work for you now

As for the not an object, that I don't think I can fix, if it can't be reliably reproduced D:


Fillip
Reply With Quote
  #20  
Old 09-03-2012, 06:28 PM
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Location: Scotland
Posts: 471
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So am I adding the right code to the form for it to have options? See my previous post with attachment.
Reply With Quote
  #21  
Old 09-03-2012, 06:31 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Indeed you are


Fillip
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:13 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.04582 seconds
  • Memory Usage 2,370KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete