vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - [3.8.x] Staff Application (https://vborg.vbsupport.ru/showthread.php?t=216953)

fta_nightwizard 07-03-2009 07:11 PM

Quote:

Originally Posted by Redlinemotorsports (Post 1842152)
Set it to "No". Do you still get the error?

Hi Redlinemotorsports,

Guru has done this and now it does not show up in any forum. I am writing cause his english is not very good. He did what you told him and now he does not get the error. Now what should he do as to get it to post in the forum some wheres?

HMBeaty 07-03-2009 07:15 PM

Set it to "Yes" and put a the Forum ID that you want the application to be posted in. Before, Guru stated that there was no Forum ID entered in that area, which is most likely what was causing the error

fta_nightwizard 07-03-2009 07:27 PM

I will give that a try Thank You for your fast response....FNW

HMBeaty 07-03-2009 07:30 PM

No problem :)

fta_nightwizard 07-03-2009 08:00 PM

Thanks for all the help redline. Works excellent now..again Thanks......:up:

guru1221 07-03-2009 08:03 PM

Thanks redline.

HMBeaty 07-03-2009 08:04 PM

No problem :)

fta_nightwizard 07-03-2009 08:21 PM

Adding to my site...Great hack.....considered it installed

Mahar 07-08-2009 03:58 AM

Is there a way to put this in the User CP instead of Quick Links or Navbar?

sunnylikbeckham 07-08-2009 03:38 PM

hey i get to much spams in it

anyway to get recaptcha in it

HMBeaty 07-08-2009 07:43 PM

Quote:

Originally Posted by Mahar (Post 1844952)
Is there a way to put this in the User CP instead of Quick Links or Navbar?

Yes, you would just need to edit your USERCP_SHELL template to suit your needs.
Quote:

Originally Posted by sunnylikbeckham (Post 1845180)
hey i get to much spams in it

anyway to get recaptcha in it

Possibly, I will look into this. Thank you :)

CrashPush 07-10-2009 02:44 PM

First off this is a great mod. I will nominate this.

I edited the application to fit my forums needs. I managed to edit the fields on the application itself but when an application is submitted I still get the old fields on the application.

e.g. Original field: What skills can you bring to this forum?
Edited field: What skills do have using vBulletin forums?

On the submitted application it still shows up as "What skills can you bring to this forum?

How can I change it so the submitted application shows "What skills do have using vBulletin forums?" instead of the original field?

Mahar 07-10-2009 03:57 PM

Did you edit the part where they send out the email or create a thread? That's probably why.

CrashPush 07-10-2009 05:00 PM

Quote:

Originally Posted by Mahar (Post 1846437)
Did you edit the part where they send out the email or create a thread? That's probably why.

I just edited the template. Or is everything located on that one template?

sdfaheem 07-10-2009 05:50 PM

How can i edit this part: Sorry, you do not have anough posts to apply

There's a spelling mistake in here!

HMBeaty 07-10-2009 10:13 PM

Quote:

Originally Posted by CrashPush (Post 1846389)
First off this is a great mod. I will nominate this.

I edited the application to fit my forums needs. I managed to edit the fields on the application itself but when an application is submitted I still get the old fields on the application.

e.g. Original field: What skills can you bring to this forum?
Edited field: What skills do have using vBulletin forums?

On the submitted application it still shows up as "What skills can you bring to this forum?

How can I change it so the submitted application shows "What skills do have using vBulletin forums?" instead of the original field?

You have to replace several areas inside the php file as well. Not everything is in the template itself
Quote:

Originally Posted by sdfaheem (Post 1846483)
How can i edit this part: Sorry, you do not have anough posts to apply

There's a spelling mistake in here!

Thank you for noticing that. You would have to edit the phrase in order to fix that.

HMBeaty 07-14-2009 08:52 PM

Quote:

Originally Posted by sunnylikbeckham (Post 1845180)
hey i get to much spams in it

anyway to get recaptcha in it

WILL BE adding this in as I have successfully learned how to add this to other pages :D

johny30238 07-16-2009 07:41 AM

This May have been asked already, But Can you let us choose Custom Positions, not just admin, mod, super mod. That would really help me out . I dont want to spend hours modding yout script , just to have the fields I Would Like

Bobby Blaze 07-16-2009 03:14 PM

hello,

I am having a problem. When a users submits and application and I get the email it has their real name twice instead of their forum username, so I can't see which member is sending the app.

HMBeaty 07-16-2009 07:08 PM

Quote:

Originally Posted by Bobby Blaze (Post 1849961)
hello,

I am having a problem. When a users submits and application and I get the email it has their real name twice instead of their forum username, so I can't see which member is sending the app.

Could you post a screenshot please? Not sure I quite understand

Jman423 07-18-2009 07:14 PM

Quote:

Originally Posted by Redlinemotorsports (Post 1850089)
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!! :)

HMBeaty 07-18-2009 07:22 PM

Quote:

Originally Posted by Jman423 (Post 1851289)
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 (Post 1851289)
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 (Post 1851289)
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 ;)

Jman423 07-18-2009 07:40 PM

Quote:

Originally Posted by Redlinemotorsports (Post 1851293)
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!!

HMBeaty 07-18-2009 07:43 PM

Quote:

Originally Posted by Jman423 (Post 1851302)
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. :confused:
Quote:

Originally Posted by Jman423 (Post 1851302)
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

BigDog56 07-19-2009 12:01 AM

Seems to be working ok on the trial run, lol, Thank you!

HMBeaty 07-19-2009 12:12 AM

No problem :)

mikeo9043 07-19-2009 03:57 AM

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.

HMBeaty 07-19-2009 04:05 AM

Quote:

Originally Posted by mikeo9043 (Post 1851499)
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

Jman423 07-19-2009 04:29 AM

I changed them around by altering the phrases...

SpeedyHire 07-19-2009 05:15 AM

create a poll on posting would be nice, hope to see it in next release

KenD 07-19-2009 11:32 AM

Great mod. Have been looking for something like this for a while. Thanks **Installed** and nominated:)

Bobby Blaze 07-19-2009 04:28 PM

Quote:

Originally Posted by Redlinemotorsports (Post 1850089)
Could you post a screenshot please? Not sure I quite understand

As you can see it has the persons real name twice instead of their forum ID. So I have no way of knowing which member sent in the application.

HMBeaty 07-19-2009 04:51 PM

Quote:

Originally Posted by Bobby Blaze (Post 1851719)
As you can see it has the persons real name twice instead of their forum ID. So I have no way of knowing which member sent in the application.

Ok, refer back to this post

mikeo9043 07-20-2009 03:29 PM

Alright I'll work on some edits later, thanks!

HMBeaty 07-20-2009 06:55 PM

I'll be uploading 1.3.1 later today or tomorrow with a few bug fixes

HMBeaty 07-21-2009 01:07 AM

Updated to 1.3.1 (Bug fix)

bigmonay2k 07-21-2009 01:13 AM

Quote:

Originally Posted by Tilly (Post 1836043)
Installed, not sure if I will actually use it or not, I only make moderators on who I trust, I dont want members getting their panties in a bunch because they are rejected :D

Cool nuff though

true indeed, if you have a big board can't just trust anyone..
nice hack thought

tafreeh 07-21-2009 01:51 AM

great mod.... just a quick question before i try it out...

can we edit/add/remove a question by our choice......?

HMBeaty 07-21-2009 01:52 AM

Currently you have to edit the php file and the template to edit/add/remove questions

SVTCobraLTD 07-21-2009 11:37 AM

Without reading 11 pages of postings, is this working on 3.6.x?


All times are GMT. The time now is 11:40 PM.

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.01463 seconds
  • Memory Usage 1,832KB
  • 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
  • (8)bbcode_code_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