Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 06-23-2009 Last Update: 07-20-2009 Installs: 297
Uses Plugins Template Edits
Additional Files  
No support by the author.

Staff Application Version 1.3.1 by HMBeaty
(aka Redlinemotorsports/Redline)


Requirements
vBulletin 3.8.x

Changelog
1.0.0
- Initial BETA version released.

1.1.0
- Fixed problem when user would submit information, with information missing, it would make the fields blank again.
- Updated "Birthday" fields to look a bit neater (Hope you like this way better)

1.2.0
- Added "Who's Online" locations
- Added "Usergroup Settings" to deny/allow usergroups to use the application (AdminCP > vBulletin Options)
- Added "Post Count Settings" to deny/allow users based on post count (AdminCP > vBulletin Options)
- Added IP address and Host of applicant to the sent email
- Made the email easier to read
- Added an option to apply for "Administrator"
- Added the ability to turn on/off applications for Moderator / Super Moderator / Administrator (AdminCP > vBulletin Options)
- More fields added to the application
- Ability to create a new thread in the forum of your choice when a new application has been submitted (AdminCP > vBulletin Options)
- Option to turn on/off creating a new thread (AdminCP > vBulletin Options)
- Users "Username" Automatically added in (not editable by the user)
- Users "E-Mail" Automatically added in (editable by the user)
- Added the option to change the Location fields from "City, State" to "Region, Country" (AdminCP > vBulletin Options)
- Added error page for when "Accept New Applications" is set to "No"

1.3.0
- Completely XHTML 1.0 Valid
- Changed from "Moderator Application" to "Staff Application"
- Fixed bug in one of the radio buttons on the application
- Fixed incorrect setting for one of the AdminCP vBulletin Options
- Added error page for users who do not have enough posts to apply
- Fixed version checking error
- Changed the format for the phone number so if "City, State" is selected, it appears as "(123) 456-7890". However, if "Region, Country" is selected, it will still appear as a regular text area (e.g: 1234567890)
- Cleaned up the thread/email a little bit more (Changed the user's name so it's on one line (e.g:"User's Name: John Doe"))
- Application welcome message is now editable via vBulletin Options

1.3.1
- Bug fix: Typo (anough changed to enough)
- Bug fix: User's Name showed twice in email instead of Username

Features
- Sends an E-Mail to the E-Mail addresses you specify via the vBulletin Options in your AdminCP.
- Option to turn on/off submission of new applications via the vBulletin Options in your AdminCP.
- Not viewable by guests.
- All fields are required except for "Enter any additional information".
- If the member has selected "No" to "Do you moderate on other forums?", the fields "What other forum(s) do you moderate?" and "How long have you been moderating other forums?" are NOT required.
- Member must submit an E-Mail address and/or Phone Number (Only one of the two is required) for their contact information.
- And much more...

Installation
- Instructions included in readme.htm

Upgrading
- Instructions included in readme.htm

DO NOT remove the copyright!

If you would like to remove the copyright, or you have seen a website who you believe has illegally removed the copyright, please email webmaster@usmilitarylife.com

Supporters / CoAuthors

Show Your Support

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

Comments
  #142  
Old 07-18-2009, 07:14 PM
Jman423's Avatar
Jman423 Jman423 is offline
 
Join Date: Jan 2008
Location: Tampa, FL
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Redlinemotorsports View Post
I can add that in there

Could you post a screenshot please? Not sure I quite understand
In staffapp.php, lines 311 and 313 are the same:
Code:
User's Name: " . $vbulletin->GPC['first_name'] . " " . $vbulletin->GPC['last_name'] . "

Line 313 should be:
Code:
Username: " . $vbulletin->GPC['username'] . "
I noticed that and fixed it today.

Also, is there any way to make this file force a prefix when it starts a thread? I know it would be a simple file edit, I am just not sure where.

I also added in a little code that allows me to show/hide position information on the application based on which positions are turned on. I did it in the template, but maybe this could be a feature in future versions.

After this code:
Code:
<!-- YOU MAY EDIT YOUR WELCOME MESSAGE HERE (START) -->
		<p>Welcome $bbuserinfo[musername]!</p>
		<p>$vboptions[usml_staffapp_welcome]</p>
I added:
Code:
<if condition="$vboptions['usml_postitionapplying_mod_onoff'] == '1'">
...and then some table code with position information and requirements. It will only show when that position is enabled.

Thank you for a great mod!!
Reply With Quote
  #143  
Old 07-18-2009, 07:22 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jman423 View Post
In staffapp.php, lines 311 and 313 are the same:
Code:
User's Name: " . $vbulletin->GPC['first_name'] . " " . $vbulletin->GPC['last_name'] . "
Line 313 should be:
Code:
Username: " . $vbulletin->GPC['username'] . "
I noticed that and fixed it today.
Thanks, I thought I fixed that

Quote:
Originally Posted by Jman423 View Post
Also, is there any way to make this file force a prefix when it starts a thread? I know it would be a simple file edit, I am just not sure where.
Not that I know of since it automatically creates the thread after submission. Or do you want it to have a pre-defined prefix?

Quote:
Originally Posted by Jman423 View Post
I also added in a little code that allows me to show/hide position information on the application based on which positions are turned on. I did it in the template, but maybe this could be a feature in future versions.

After this code:
Code:
<!-- YOU MAY EDIT YOUR WELCOME MESSAGE HERE (START) -->
		<p>Welcome $bbuserinfo[musername]!</p>
		<p>$vboptions[usml_staffapp_welcome]</p>
I added:
Code:
<if condition="$vboptions['usml_postitionapplying_mod_onoff'] == '1'">
...and then some table code with position information and requirements. It will only show when that position is enabled.

Thanks
There's going to be quite a bit of new things in future versions
Reply With Quote
  #144  
Old 07-18-2009, 07:40 PM
Jman423's Avatar
Jman423 Jman423 is offline
 
Join Date: Jan 2008
Location: Tampa, FL
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Redlinemotorsports View Post
Thanks, I thought I fixed that
I figured you had because I didn't see any complaints until this most recent version. It was probably just an oversight.

Quote:
Not that I know of since it automatically creates the thread after submission. Or do you want it to have a pre-defined prefix?
Yes sir, a predefined prefix would be great. I will only use one prefix so that the thread stands out to the staff and administrators.

Quote:
There's going to be quite a bit of new things in future versions
Good to hear, I look forward to it!!
Reply With Quote
  #145  
Old 07-18-2009, 07:43 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jman423 View Post
I figured you had because I didn't see any complaints until this most recent version. It was probably just an oversight.
Yeah. I don't like releasing mods with bugs which is why the next version is taking so long. I have been testing each new addition like crazy and sometimes just get an error that pops up out of nowhere.
Quote:
Originally Posted by Jman423 View Post
Yes sir, a predefined prefix would be great. I will only use one prefix so that the thread stands out to the staff and administrators.
I'll see what I can do
Reply With Quote
  #146  
Old 07-19-2009, 12:01 AM
BigDog56 BigDog56 is offline
 
Join Date: Jan 2007
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to be working ok on the trial run, lol, Thank you!
Reply With Quote
  #147  
Old 07-19-2009, 12:12 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem
Reply With Quote
  #148  
Old 07-19-2009, 03:57 AM
mikeo9043 mikeo9043 is offline
 
Join Date: Mar 2008
Location: MI
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this mod, but is there anyway to change the things from Super Moderator/Moderator to things like Reviewer or News Editor? Or possibly just add those on instead of replacing.
Reply With Quote
  #149  
Old 07-19-2009, 04:05 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mikeo9043 View Post
I love this mod, but is there anyway to change the things from Super Moderator/Moderator to things like Reviewer or News Editor? Or possibly just add those on instead of replacing.
Yes, you just need to do the template edits for each
Reply With Quote
  #150  
Old 07-19-2009, 04:29 AM
Jman423's Avatar
Jman423 Jman423 is offline
 
Join Date: Jan 2008
Location: Tampa, FL
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed them around by altering the phrases...
Reply With Quote
  #151  
Old 07-19-2009, 05:15 AM
SpeedyHire SpeedyHire is offline
 
Join Date: Apr 2005
Location: wales
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

create a poll on posting would be nice, hope to see it in next release
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 12:19 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.07660 seconds
  • Memory Usage 2,328KB
  • 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
  • (8)bbcode_code
  • (10)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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete