vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Advanced Application Forms (https://vborg.vbsupport.ru/showthread.php?t=266263)

nhawk 07-03-2011 10:00 PM

Advanced Application Forms
 
THIS ADD-ON IS NO LONGER AVAILABLE AND IS NOT SUPPORTED

* General Information *
-------------------------
This is an add-on that is designed for vBulletin 3.8.7. It may not work with earlier versions of vBulletin.

The vBulletin 4.x version can be found HERE.

Features
- Unlimited Application Types*
- Unlimited Application Positions*
- Unlimited Questions*
- Different Application Positions for each Application Type
- Different Questions for each Application Position.
- Allow others to add/edit Application Types by permissions.
- Allow others to edit Positions/Questions by permissions.
- Edit Application Types, Positions and Questions in either ACP or from board.
- Show Multiple Application Types in Community Menu, Navbar or direct link to them.
- Control Application Type access by Usergroup, Postcount
- Control Application Position access by Usergroup, Postcount
- Notification of an application via Forum Thread and/or Email and/or Private Message
- Specify Different Forums for Reports by Application Position.
- Define a default question set that can be included on all applications.
- Much, much more!

* Limited only if you are limited in database size and/or free disk space.



* INSTALLATION *
------------------
1) Upload the contents of the 'upload' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)

2) Import the product XML file (product-advapp38.xml) into the Product Manager in AdminCP.

3) Take some time to set the options, application types and application postions in the new Application Forms area of AdminCP.
(It's really not that hard!)

4) Make sure this modification is marked as 'Installed' on vBulletin.org!
(If you want to get notices from me about updates for this modification.)

* UPGRADE INSTRUCTIONS *
-----------------------------
1) Upload the contents of the 'upload' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)

2) Import the product XML file (product-advapp38.xml) into the Product Manager in AdminCP and be sure "Allow Overwrite" is set to 'Yes'.

* History (Changelog) *
-------------------------
1.0.4 (February 25, 2012)
- Corrected parse error when editing application types while in the forum.

1.0.3 (August 15, 2011)
- Changed hard coded Yes/No to standard vBulletin Yes/No phrases.
- Corrected message posting format.

1.0.2 (July 30, 2011)
- Code enhancments to allow for future expansion.

1.0.1 (July 7, 2011)
- Moved hardcoded 'Select Application' phrase in template to vBulletin Phrases.

1.0.0 (July 4, 2011)
- Initial Release

Hasann 07-06-2011 04:55 AM

thank you

Eplexx 07-14-2011 05:24 PM

Cheers!

chick 07-20-2011 02:33 PM

This is great and works very well, just one issue (see the word ARRAY in the attached image) it shows on the main form page, and the page that one fills out.

Is there a way to remove this or fix it? Thank you

nhawk 07-20-2011 02:50 PM

Quote:

Originally Posted by chick (Post 2222875)
This is great and works very well, just one issue (see the word ARRAY in the attached image) it shows on the main form page, and the page that one fills out.

Is there a way to remove this or fix it? Thank you

There shouldn't be anything where you're showing 'ARRAY' unless there's an error after sending the application. And the error isn't an array.

There might be a problem with the template, try replacing the advapp_application template with this...

Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        $advapp_css
        <title>$pagetitle - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width:0px">
        <tr>
                <td class="tcat" width="100%">$apptype</span></td>
        </tr>
</table>
<if condition="$imp_vars['do'] == 'start' OR $imp_vars['do'] == 'errors'">
        <form action="application-forms.php?do=send" method="post"id="staff_application">
        <table class="tborder" width="100%" cellpadding="6" cellspacing="1" border="0"  align="center">
                <thead>
                        <tr align="center">
                                <td class="thead" align="left">$pagetitle</td>
                        </tr>
                </thead>
                <tbody>
                        <if condition="$errors != ''">
                        <tr align="center">
                                <td class="alt1" align="left">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                                <tr>
                                                        <td>
                                                                        $errors
                                                        </td>
                                                </tr>
                                        </table>
                                </td>
                        </tr>
                        </if>
                        <tr align="center">
                                <td class="alt2">
                                        <table width="95%" cellpadding="6" cellspacing="1" border="0">
                                                <tr align="left">
                                                        <td width="45%" valign="top"><div class="advappleftcol">
                                                                $vbphrase[advapp_applyfor]
                                                        </div></td>
                                                        <td>
                                                                $positionname
                                                        </td>
                                                </tr>
                                                <tr align="left"><td colspan="2"><div class="tcat appdiv"></div></td></tr>
                                                <tr align="left">
                                                        <td width="45%" valign="top"><div class="advappleftcol">
                                                                $vbphrase[advapp_membername]
                                                        </div></td>
                                                        <td>
                                                                $username
                                                        </td>
                                                </tr>
                                                $questions
                                                <if condition="$vboptions[advapp_humanverify]">
                                                <if condition="$human_verify">
                                                <tr align="left"><td colspan="2"><div class="tcat appdiv"></div></td></tr>
                                                <tr align="left">
                                                        <td width="45%" valign="top">
                                                        $vbphrase[advapp_humanverify]
                                                </td><td>
                                                        $human_verify
                                                </td></tr>
                                                </if>
                                                </if>
                                        </table>
                                </td>
                        </tr>
                </tbody>
        </table>
        <br />
        <div class="advbuttons">
                <div class="group">
                <input type="hidden" name="maxquestions" value="$maxquestions" />
                <input type="hidden" name="positionapplying" value="$positionapplying" />
                <input type="hidden" name="positionname" value="$positionname" />
                <input type="hidden" name="appid" value="$appid" />
                <input type="hidden" name="apptype" value="$apptype" />
                <input type="hidden" name="multichoice" value="$multichoice" />
                <input type="hidden" name="username" value="$username" />
                <input type="submit" class="button" value="$vbphrase[send]" tabindex="1" accesskey="s" />
                <input type="reset" class="button" value="$vbphrase[reset_fields]" tabindex="1" accesskey="r" />
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                </div>
        </div>
        </form>
<else />
        <div class="standard_error">
                <h2 class="blockhead">$vbphrase[vbulletin_message]</h2>
                <div class="blockbody formcontrols">
                        <div class="blockrow restore">
                                <p align="center">$vboptions[advapp_thanks]</p>
                                <p><a href="$vboptions[forumhome].php$session[sessionurl_q]"><div class="smallfont" align="center">$vbphrase[advapp_return] $vboptions[bbtitle]</div></a></p>
                        </div>
                </div>
        </div>
</if>

$footer
</body>
</html>

If that doesn't do it, then I'm going to need all of the info on the application. (vB version, postion settings, questions, etc).

EDIT: I just noticed you said it shows on the main form page too. On the main page, that would be the application type greeting in that area. But again, that's not an array. It almost sounds like something wasn't imported during install. That's a long shot, but that's all I can think of.

chick 07-22-2011 07:48 PM

Hi, thanks for answering. You correct the greeting does not work, and I tried the above change in the template, array still shows... so I will try reimporting the product and let you know.

tansu 07-25-2011 12:56 PM

Installed perfectly, but I can not see no reports. where are applied applications?

nhawk 07-25-2011 01:21 PM

Quote:

Originally Posted by tansu (Post 2224770)
Installed perfectly, but I can not see no reports. where are applied applications?

You have to set each position to be emailed, posted or sent by PM.

AdminCP->Application Forms->Application Positions... Edit Postion

See this screen shot.

https://vborg.vbsupport.ru/attachmen...hmentid=130702

chick 08-07-2011 03:23 PM

Result, I never could fix the array so I removed it plus the welcome was not needed... I have it tweaked as 'report' forms and it does everything I want it to do and works great.

civic-nation 08-11-2011 11:16 PM

This is a pretty cool mod, thanks very much. One request though, would it be possible to add some kind of formatting to the thread it creates. Maybe a line break or 2 after every question.

TIA


All times are GMT. The time now is 07:58 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.01958 seconds
  • Memory Usage 1,776KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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