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


All times are GMT. The time now is 03:29 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.01231 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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