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)
-   -   Add-On Releases - [USML] Staff Application (https://vborg.vbsupport.ru/showthread.php?t=261978)

K!nG 06-28-2011 03:23 AM

Hmmmmm I guess no choice but uninstall it :( anyways thanks for trying buddy :) Great mod hopefully i will find something similar as this one around :)

Thanks

PHP FAN 06-28-2011 07:43 AM

Yes I use utf8

but no problems at all except for Staff Application mod

maybe because you are not using phrases


see this is the parse_templates for Staff Application mod



PHP Code:

if ($vbulletin->options['usml_staffapp_enabled'] AND $vbulletin->options['usml_staffapp_autotemplate'])
{
    
$template_hook['navbar_community_menu_end'] .= '<li><a href="staff-application.php" title="Apply now to be a member of our staff!">Staff Application</a></li>';
}

if (
$vbulletin->options['usml_staffapp_enabled'])
{
    
$vbphrase['powered_by_vbulletin'] .= '<div>Staff Application 1.4.0 

you can see also the last line is not complete!

HMBeaty 06-28-2011 11:59 AM

Quote:

Originally Posted by PHP FAN (Post 2213954)
Yes I use utf8

but no problems at all except for Staff Application mod

maybe because you are not using phrases


see this is the parse_templates for Staff Application mod



PHP Code:

if ($vbulletin->options['usml_staffapp_enabled'] AND $vbulletin->options['usml_staffapp_autotemplate'])
{
    
$template_hook['navbar_community_menu_end'] .= '<li><a href="staff-application.php" title="Apply now to be a member of our staff!">Staff Application</a></li>';
}

if (
$vbulletin->options['usml_staffapp_enabled'])
{
    
$vbphrase['powered_by_vbulletin'] .= '<div>Staff Application 1.4.0 

you can see also the last line is not complete!

??? It shows complete on my end....
PHP Code:

if ($vbulletin->options['usml_staffapp_enabled'] AND $vbulletin->options['usml_staffapp_autotemplate'])
{
    
$template_hook['navbar_community_menu_end'] .= '<li><a href="staff-application.php" title="Apply now to be a member of our staff!">Staff Application</a></li>';
}

if (
$vbulletin->options['usml_staffapp_enabled'])
{
    
$vbphrase['powered_by_vbulletin'] .= '<div>Staff Application 1.4.0 ? 2011 by <a href="http://www.usmilitarylife.com/" title="US Military Life" target="_blank">U.S. Military Life</a></div>';



PHP FAN 06-28-2011 12:46 PM

OK man :D

I copy your code and replace it with the one I have


The error is gone, but the link to the mod page still not showing, but it's ok

HMBeaty 06-28-2011 12:49 PM

Quote:

Originally Posted by PHP FAN (Post 2214049)
OK man :D

I copy your code and replace it with the one I have


The error is gone, but the link to the mod page still not showing, but it's ok

Did you go back and re-enable the plugin? Also, there's a new yes/no setting in the AdminCP for automatic template edits

PHP FAN 06-28-2011 12:54 PM

Quote:

Originally Posted by HMBeaty (Post 2214051)
Did you go back and re-enable the plugin? Also, there's a new yes/no setting in the AdminCP for automatic template edits

Yes I re-enable it


Sorry did not see the Automatic Template Changes option before :p

I make it yes and all OK now

HMBeaty 06-28-2011 01:01 PM

Quote:

Originally Posted by PHP FAN (Post 2214052)
Yes I re-enable it


Sorry did not see the Automatic Template Changes option before :p

I make it yes and all OK now

Hmm...ok, so automatic template changes were made and no errors now?

PHP FAN 06-28-2011 01:16 PM

Yep, all OK and working fine

HMBeaty 06-28-2011 01:18 PM

Quote:

Originally Posted by PHP FAN (Post 2214068)
Yep, all OK and working fine

:eek: Interesting.....

HMBeaty 07-07-2011 10:52 PM

Just a teaser for what's to come in 1.5.0 :D
Quote:

new features
------------
1. New PM Sender Options! - You may specify if you want the pm to be sent by the applicant, or another user that you may still specify in "User ID (Sender)"

2. Poll creation settings! - Create a poll, make the poll public, specify up to 4 options that users may vote for

3. New Options for Auto Template Changes! - Enable/Disable automatic template edit, Specify where you want the link to be placed


misc fixes
------------
- error messages reworked and rewritten
- bugfix for plugin not installing correctly for some users
- plugins optimized (to help decrease memory usage)
I have all of this coded and working, just going through testing to make sure there aren't any errors and to be sure everything is working correctly, and need to clean up the code a little. Should be released either tonight or tomorrow :D

HMBeaty 07-08-2011 01:03 AM

Updated to version 1.5.0 :D
Quote:

1.5.0 (07 JUL 2011):
- New PM Sender Options
- Poll creation settings
- New Options for Auto Template Changes
- Error messages reworked and rewritten
- Bugfix for plugin not installing correctly for some users
- Plugins optimized (to help decrease memory usage)

ForceHSS 07-08-2011 01:34 AM

PM Sender Options pick applicant
Send by PM no
it brings up a error and asks to put in a id in the User ID (Sender) field
only way to remove error is to put a user id in there

HMBeaty 07-08-2011 01:46 AM

Quote:

Originally Posted by ForceHSS (Post 2217995)
PM Sender Options pick applicant
Send by PM no
it brings up a error and asks to put in a id in the User ID (Sender) field
only way to remove error is to put a user id in there

Should be fixed now :) Thanks

ForceHSS 07-08-2011 02:18 AM

can you tell me what file is fixed so i can just upload that one file

HMBeaty 07-08-2011 02:21 AM

Quote:

Originally Posted by ForceHSS (Post 2218008)
can you tell me what file is fixed so i can just upload that one file

Just re-import the .xml

ForceHSS 07-08-2011 02:25 AM

thanks done working now

HMBeaty 07-08-2011 02:27 AM

Quote:

Originally Posted by ForceHSS (Post 2218011)
thanks done working now

Yeah, I had forgotten to take out the php validation code in one of the vbulletin settings after I decided to change things around a bit from how I DID have it lol. (oops :p)

Skyline_GT 07-17-2011 05:35 AM

How to add a new question asking which forum they want to become a mod?

Marc0 07-22-2011 09:04 PM

when i install this mod, my forum is crashing....

i have vb 4.1.4...

HMBeaty 07-22-2011 09:06 PM

Quote:

Originally Posted by Marco?? (Post 2223671)
when i install this mod, my forum is crashing....

i have vb 4.1.4...

Did you upload all of the files to the correct directory? What do you mean your "forum is crashing"?

Successfulsteps 07-23-2011 08:24 PM

Any problems on 4.1.4? I see the one where they say the forum is crashing, and not sure what is going on with that.

How about any success on 4.1.4?

HMBeaty 07-23-2011 08:39 PM

Quote:

Originally Posted by Successfulsteps (Post 2224062)
Any problems on 4.1.4? I see the one where they say the forum is crashing, and not sure what is going on with that.

How about any success on 4.1.4?

Works just fine on 4.1.4. Not sure what's going on with the "forum crash" as I've NEVER seen this from ANYONE that has installed this modification

Successfulsteps 07-23-2011 09:03 PM

Quote:

Originally Posted by HMBeaty (Post 2224067)
Works just fine on 4.1.4. Not sure what's going on with the "forum crash" as I've NEVER seen this from ANYONE that has installed this modification

Thank you! I just installed, set my settings in the admin cp, and checked out the app, and it's just beautiful! (and my forum of course didn't crash but is still up and running on 4.1.4)

Nominated! Thanks again for a great mod! Very much appreciated!

HMBeaty 07-23-2011 09:05 PM

No problem :) I will posting an update later this week (hopefully) with a forum selection option to let users choose which forums they would like to moderate

GFG_Cam 07-28-2011 03:15 PM

works well on 4.1.4 PL2
but this really is usefull

thanks mate

Skyline_GT 08-08-2011 11:34 AM

Quote:

Originally Posted by Skyline_GT (Post 2221401)
How to add a new question asking which forum they want to become a mod?

????

HMBeaty 08-09-2011 12:54 AM

Quote:

Originally Posted by Skyline_GT (Post 2230848)
????

Sorry for the delay. Been a bit busy. 2.0.0 will be uploaded shortly with all kinds of cool stuff :D

HMBeaty 08-09-2011 01:14 AM

Updated to version 2.0.0 :D

This version is in Beta atm as this was almost a complete rewrite of the template/php files and I haven't exactly fully tested everything. So, with that said, PLEASE report any bugs here :)

Taurus1 08-09-2011 01:34 AM

Thanks for the update. One thing however. This part: [USML] Staff Application (Position Settings) is missing in my settings. There seem to only be a blank space where it is supposed to be. Please advise. Thanks.

HMBeaty 08-09-2011 01:39 AM

Quote:

Originally Posted by Taurus1 (Post 2231149)
Thanks for the update. One thing however. This part: [USML] Staff Application (Position Settings) is missing in my settings. There seem to only be a blank space where it is supposed to be. Please advise. Thanks.

Oops lol! Ok, should be fixed now. Redownload the package and re-import the xml to fix. Thanks :)

Taurus1 08-09-2011 01:42 AM

1 Attachment(s)
Also, is it perhaps possible to position this part a bit better? See screenshot. Thanks

Attachment 131821

HMBeaty 08-09-2011 01:44 AM

Quote:

Originally Posted by Taurus1 (Post 2231152)
Also, is it perhaps possible to position this part a bit better? See screenshot. Thanks

Attachment 131821

Hmm.....what browser are you using? (I've only tested this on IE9 and FF5)

Taurus1 08-09-2011 01:48 AM

Quote:

Originally Posted by HMBeaty (Post 2231151)
Oops lol! Ok, should be fixed now. Redownload the package and re-import the xml to fix. Thanks :)

Yep :up: That fixed it, thanks. Just the alignment issue I mentioned in my previous post.

EDIT: Firefox 5.0.1

Taurus1 08-09-2011 01:53 AM

I edited my post above. Not sure if you seen that. It seems to be skin related. On any of my non-default skins it shows like my screenshot. But on default no parent skin it is correct. How would I fix that though?

HMBeaty 08-09-2011 02:05 AM

In the template usml_staff_application, change:
HTML Code:

        <div class="blockrow">
            <div class="colrow">
                <div class="col1">
                    <ul class="multifield stacked group">
                        <li>
                            <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>
                        </li>
                    </ul>
                </div>
                <div class="col2">
                    <label for="applyingto">{vb:rawphrase usml_staffapp_applyingto}</label>
                </div>
            </div>
        </div>

To:
HTML Code:

        <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>

Does that fix it?

Taurus1 08-09-2011 02:09 AM

Yeah, great stuff! Now looks great. Thank you very very much!!

HMBeaty 08-09-2011 02:12 AM

Quote:

Originally Posted by Taurus1 (Post 2231161)
Yeah, great stuff! Now looks great. Thank you very very much!!

Thanks! However, I just discovered a bug myself lol. If Human Verification is not required for the user, clicking "send" will just go to a blank page. So, for the moment, turn human verification on for the application. I'm working on a fix now :)

HMBeaty 08-09-2011 02:20 AM

Quote:

Originally Posted by Taurus1 (Post 2231152)
Also, is it perhaps possible to position this part a bit better? See screenshot. Thanks

Attachment 131821

Fixed!
Quote:

Originally Posted by HMBeaty (Post 2231165)
Thanks! However, I just discovered a bug myself lol. If Human Verification is not required for the user, clicking "send" will just go to a blank page. So, for the moment, turn human verification on for the application. I'm working on a fix now :)

Fixed!

Reupload the files and reimport the xml :) Both issues have been fixed :)

HMBeaty 08-09-2011 02:27 AM

Just a few new features to note:

Birthday automatically gets filled in now, and if birthday is required on registration, the user is not able to edit the birthday in the application.

Also, location automatically gets filled in, which is editable at all times by the user.

I've reduced the amount of phrases as well. So, if you want to edit a question, you should only need to edit ONE phrase now, and it will change everywhere.

Enjoy :D

Mrquarter2 08-09-2011 04:58 AM

Great job :) Love this plugin!


All times are GMT. The time now is 12:44 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.01592 seconds
  • Memory Usage 1,856KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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