vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - [DBTech] DragonByte vBForms v2 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=287061)

DragonByte Tech 08-24-2012 10:00 PM

[DBTech] DragonByte vBForms v2 (vB4)
 
1 Attachment(s)
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 https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png 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

SuperTaz 08-24-2012 11:16 PM

You forgot the attachment(s). lol

DragonByte Tech 08-24-2012 11:28 PM

That's what happens when I wait too long between uploading and submitting the thread :p Thanks :)


Fillip

Fakher 08-25-2012 03:30 AM

ok I have been waiting for this DB-Tech product to come out as lite ..... :)
Downloading and installing right now ....

Fakher 08-25-2012 03:49 AM

I love this mod ...... :) Nominated ..... ;)

Black Snow 08-25-2012 03:42 PM

When I use this mod and click on create new thread, I get a blank screen.

The URL the blank page shows on is:
Code:

/newthread.php?do=newthread&f=37
I use vBSeo. Not sure if this mod is compatible with it.

DragonByte Tech 08-25-2012 04:19 PM

Quote:

Originally Posted by Black Snow (Post 2359906)
When I use this mod and click on create new thread, I get a blank screen.

The URL the blank page shows on is:
Code:

/newthread.php?do=newthread&f=37
I use vBSeo. Not sure if this mod is compatible with it.

Can you please try adding
PHP Code:

ini_set('display_errors'true); 

directly beneath <?php in your config.php file, then try again?


Fillip

Black Snow 08-25-2012 06:58 PM

Quote:

Originally Posted by DragonByte Tech (Post 2359916)
Can you please try adding
PHP Code:

ini_set('display_errors'true); 

directly beneath <?php in your config.php file, then try again?


Fillip

I get this error when using drop-down menus:
Code:

Warning: Invalid argument supplied for foreach() in [path]/includes/class_core.php(4443) : eval()'d code on line 54
But I may not be entering the correct format of question. How exactly do I enter a drop down menu question? The text on the left of the question manager is a bit vague.

This is how I have it at the moment:

Code:

select
Text1
Text2
Text3

Is this correct?

DragonByte Tech 08-25-2012 07:03 PM

Can you please tell me what's on line 4443 of your /includes/class_core.php file?

Fillip

Black Snow 08-25-2012 07:23 PM

Quote:

Originally Posted by DragonByte Tech (Post 2359958)
Can you please tell me what's on line 4443 of your /includes/class_core.php file?


Fillip

It may be that I am filling in the options wrong. Or was the code in my last post right for making a drop-down menu?

DragonByte Tech 08-25-2012 07:31 PM

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


Fillip

Black Snow 08-25-2012 07:44 PM

Quote:

Originally Posted by DragonByte Tech (Post 2359961)
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.

DragonByte Tech 08-27-2012 09:57 PM

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

Black Snow 08-28-2012 03:55 PM

Quote:

Originally Posted by DragonByte Tech (Post 2360542)
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

DragonByte Tech 08-30-2012 03:14 PM

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

Black Snow 09-02-2012 03:17 PM

1 Attachment(s)
Quote:

Originally Posted by DragonByte Tech (Post 2361207)
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.

Black Snow 09-02-2012 03:36 PM

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]


DragonByte Tech 09-03-2012 04:57 PM

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

Black Snow 09-03-2012 06:28 PM

So am I adding the right code to the form for it to have options? See my previous post with attachment.

DragonByte Tech 09-03-2012 06:31 PM

Indeed you are :)


Fillip

Black Snow 09-04-2012 12:17 PM

1 Attachment(s)
I'm still getting the same issue and I'm now using vB 4.2.0. Attached is how the editor is shown when I try and create a menu selection.

DragonByte Tech 09-04-2012 12:27 PM

That's not the same issue then as it's not dying with a fatal error :p

Can you try it on a default skin? If it works there, then you need to edit the dbtech_dbforms_newthread2 template to follow your skin's non-standard way of displaying content.


Fillip

Black Snow 09-04-2012 01:13 PM

I get this error:
Code:

Warning: Invalid argument supplied for foreach() in [path]/includes/class_core.php(4633) : eval()'d code on line 54
And the style is still messed up.

DragonByte Tech 09-04-2012 01:44 PM

Did you upload all the files and re-import the XML, and revert all customised vBForms templates? There's simply no way that can still be happening unless one of those things have not been done =/

Fillip

Black Snow 09-04-2012 02:32 PM

Fixed it. I forgot to re-import the XML. Sorry.

DragonByte Tech 09-04-2012 05:41 PM

Not a problem, glad it got solved :D


Fillip

DragonByte Tech 09-28-2012 10:16 PM

vBForms v1.1.0

Priorities
  • Form categories can have Priorities attached to them
  • Lets you determine when a form should be updated to a Closed status

General / Other
  • The "Show Thread" form now applies 50% opacity while AJAX changing of form category / status / priority


Fillip

DragonByte Tech 04-02-2013 10:38 PM

DragonByte vBForms v1.1.1
Feature: Improved logging details for Control Panel actions
Fix: It was possible for a rogue ":" to be displayed in threadbit in certain scenarios
Fix: If a question had a data validation type other than "Free" and was not required, it would still produce an error message if no data was entered
Change: Changed the Branding display method to inject itself into the copyright footer (underneath vBulletin copyright) instead of the page footer.
Change: Changed the Branding Free Key to a more secure key.

Fillip

Aaristocat 04-16-2013 07:30 PM

I get this error when i upload the xml file
/home/aaristo/public_html/dbtech/dbforms/includes/class_install.php appears to be missing!

but the file is there?

DragonByte Tech 04-22-2013 06:36 PM

You need to upload the contents of the upload folder to your public_html folder :)


Fillip

tagline 05-29-2013 06:31 PM

Hello,
I'm testing this mod on my test board. My question is: is it possibile to search per field content?
Example: form's fileds are name and profession.

If I try to search profession, vbulletin show me a no result page.

DragonByte Tech 06-03-2013 03:31 PM

This has been handled @ our site, but for reference: There's no way to make these fields searchable at this time.

Fillip

datoneer 06-04-2013 01:15 PM

Excellent mod just what i was looking for! Thank you dbtech

lgfilmfest 07-15-2013 02:23 PM

Hi, i'm getting a database error when i'm using my second category, anyway to fix this?

DragonByte Tech 07-18-2013 07:42 PM

Sorry, without an error message I cannot help you.

Fillip

croft 07-19-2013 01:11 PM

I cant seem to find the control panel for this in admin cp.
Its just not there anywhere.

I find the general settings in the vbulletin option section. but not anything ellse like categories and such.

Im admin i added my self to this script as manager.

DragonByte Tech 07-23-2013 05:59 PM

Please ensure you've uploaded the files correctly, you may be missing cpnav_dbtech_dbforms.xml from your /includes/xml folder.

Re-upload the contents of the upload folder to your forum folder, then refresh the AdminCP.

Fillip

croft 07-23-2013 09:45 PM

I tried that to, but no go :(

DragonByte Tech 07-31-2013 11:17 PM

If you have a product that modifies the AdminCP menu, please try disabling it. I recall there was some product called "advanced admincp menu" or something to that effect.

Fillip

datoneer 08-21-2013 12:31 PM

Is it possible to make url clickable?


All times are GMT. The time now is 07:07 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.01917 seconds
  • Memory Usage 1,882KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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