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

Reply
 
Thread Tools
[USML] Staff Application Details »»
[USML] Staff Application
Version: 4.2.0.0, by HMBeaty HMBeaty is offline
Developer Last Online: Feb 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.2.x Rating:
Released: 04-13-2011 Last Update: 06-22-2012 Installs: 166
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

The [USML] Staff Application Version 4.2.0.0 allows you to add an application system to your web site that allows users to apply for up to 10 positions which you can specify in your AdminCP options. You currently have the options to restrict usage to certain usergroups and you can specify a minimum post count to be able to submit applications. Also features Human Verification! More available features are listed below!

------------------
Features
------------------
  • Up to 10 customizable positions.
  • Restrict access by:
    • Usergroup
    • Post count
    • Reputation amount
    • Registration length
  • Require Human Verification
  • Email submitted applications to the email address(es) you specify
  • And more!
------------------
Installation
------------------
  • Instructions in readme.html
------------------
Upgrade
------------------
  • Instructions in readme.html
------------------
Uninstallation
------------------
  • Instructions in readme.html
Please remember to click Mark as Installed if you use this modification.

Also, feel free to nominate this modification for the MOTM, and/or use the Donate link to show your appreciation in the time and effort put into this modification.

Download Now

File Type: zip [USML] Staff Application (4.2.0.0).zip (16.7 KB, 513 views)

Screenshots

File Type: jpg [USML] Staff Application - Main Settings.jpg (99.6 KB, 0 views)
File Type: jpg [USML] Staff Application - Position Settings.jpg (105.5 KB, 0 views)
File Type: jpg [USML] Staff Application - Usergroup Manager.jpg (103.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
f4vn, ForceHSS, puertoblack2003, seb5594, shahryar_neo, Successfulsteps, topranger

Comments
  #132  
Old 09-13-2011, 10:28 PM
bp323 bp323 is offline
 
Join Date: May 2006
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ as stated above. assign it to the forum email/email you have set for the "contact us" link.
Just remember to check your email :P
Reply With Quote
Благодарность от:
HMBeaty
  #133  
Old 09-28-2011, 03:59 PM
ibeteck ibeteck is offline
 
Join Date: Jan 2009
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to remove the feature "applying to". I actually want to remove the selectable forums.
Reply With Quote
  #134  
Old 09-28-2011, 11:48 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ibeteck View Post
Is there a way to remove the feature "applying to". I actually want to remove the selectable forums.
In the file /includes/functions_staff-application.php, find and remove the following:
PHP Code:
function usml_construct_forum_chooser()
{
    global 
$vbulletin;

    
$forumids = array();

    foreach (
$vbulletin->forumcache AS $forumid => $forum)
    {
        
$forumperms $vbulletin->userinfo['forumpermissions']["$forumid"];

        if (
            
$forum['displayorder'] > 0
            
AND verify_forum_password($forum['forumid'], $forum['password'], false)
            AND (
$forum['options'] & $vbulletin->bf_misc_forumoptions['active'])
            AND (
$forumperms $vbulletin->bf_ugp_forumpermissions['canview'])
        )
        {
            
$forumids["$forumid"] = usml_construct_forum_depth($forum['depth']) . ' ' $forum['title'];
        }
    }
    return 
$forumids;
}

function 
usml_construct_forum_depth($depth)
{
    
$depthmark '';

    for (
$i 0$i $depth$i++)
    {
        
$depthmark .= '--';
    }
    return 
$depthmark;
}

function 
usml_construct_forum_options($forumids)
{
    
$options '';

    foreach (
$forumids AS $key => $val)
    {
        
$options .= render_option_template($val$key'');
    }
    return 
$options;

In the file /staff-application.php, find and remove the following (these are in the same order as they are in the file (unless already modified)):
PHP Code:
        'forumids'         => ''
PHP Code:
    $forumids usml_construct_forum_options(usml_construct_forum_chooser()); 
PHP Code:
        $templater->register('forumids'$forumids); 
PHP Code:
        'forumids'         => TYPE_ARRAY_UINT
PHP Code:
    $forumids usml_construct_forum_options(usml_construct_forum_chooser()); 
PHP Code:
    if (empty($vbulletin->GPC['forumids'])) { $errors[] = fetch_error('usml_staffapp_forumids'); } 
PHP Code:
    if (!empty($vbulletin->GPC['forumids']))
    {
        foreach (
$vbulletin->GPC['forumids'] AS $forumid)
        {
            
$applyingto[] = $vbulletin->forumcache["$forumid"]['title_clean'];
        }
        
$applyingto implode(', '$applyingto);
    } 
PHP Code:
$vbphrase[usml_staffapp_applyingto]:
$applyingto 
PHP Code:
[b]$vbphrase[usml_staffapp_applyingto]:[/b]
$applyingto 
PHP Code:
        $templater->register('forumids'$forumids); 
In the template usml_staff_application, find and remove the following:
HTML Code:
<!-- START FORUMS APPLYING TO -->
        <div class="blockrow">
            <div class="colrow">
                <div class="col1">
                            <select class="primary" id="sel_forumids" name="forumids[]" multiple="multiple" tabindex="1" size="5">{vb:raw forumids}</select>
                            <p class="staffappdescription">{vb:rawphrase usml_staffapp_selectforumsdesc}</p>
                </div>
                <div class="col2">
                    <label for="applyingto">{vb:rawphrase usml_staffapp_applyingto}</label>
                </div>
            </div>
        </div>
<!-- END FORUMS APPLYING TO -->
Reply With Quote
  #135  
Old 12-07-2011, 08:37 PM
barbaros1 barbaros1 is offline
 
Join Date: Sep 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

install later..thank you..
Reply With Quote
Благодарность от:
HMBeaty
  #136  
Old 12-12-2011, 02:51 PM
pantani's Avatar
pantani pantani is offline
 
Join Date: Dec 2007
Location: Belgium
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved, thanks
Reply With Quote
  #137  
Old 12-18-2011, 03:42 PM
lapiervb lapiervb is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work fine on vb 4.1.8 ?
Reply With Quote
  #138  
Old 12-18-2011, 03:47 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lapiervb View Post
Does this work fine on vb 4.1.8 ?
Yes
Reply With Quote
  #139  
Old 12-29-2011, 01:40 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great MOD thanks, never had the need for it before, but now I am checking it out..

Some phrases are hardcoded I had to play around to get away with it..

Like the tiltle, header title, welcome and thank you..

I am working on it..

Thanks

Update: Everything seems to be working fine, till I click Submit and things went real crazy, loads of error many pages
toooooo long to post in here ... Sorry had to uninstall 4.1.10

Update 2: I found out it only goes nuts when I choose to use Polls both private or public, but when I choose create Thread only it worked fine, and it sends PM, but will not create a Thread even though it's set and forum selected
Reply With Quote
  #140  
Old 12-29-2011, 02:57 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So there's possibly a conflict with 4.1.10 then. I'll look into this and test it when 4.1.10 final is released. Thanks for your feedback
Reply With Quote
  #141  
Old 12-29-2011, 03:21 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, Merjawy, if you wouldn't mind posting step-by-step in detail what you did that caused the error so I can try to reproduce this when I get the final version of 4.1.10 installed, I'd appreciate it

Also, what were the error(s) you received? (You can post in code/php/html tags so it doesn't take up so much room)

Thanks
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 06:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14695 seconds
  • Memory Usage 2,385KB
  • 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
  • (1)bbcode_html
  • (11)bbcode_php
  • (2)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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