PDA

View Full Version : Miscellaneous Hacks - General Application Form 1.1.1


nhawk
04-21-2011, 10:00 PM
* General Information *
-----------------------
This mod will no longer be supported.

For an up to date version, see this mod.

https://vborg.vbsupport.ru/showthread.php?t=263944

yahooooh
04-22-2011, 10:11 PM
thanks many this will help as copy right application for any company or person to claim againstt thread or images or any thing as complaint

i will test for this
but does it send mail for unregisterd user that we recived his appliccation? and is there ability to using capcta or recaptcha?

Alan_SP
04-22-2011, 11:45 PM
and is there ability to using capcta or recaptcha?

Yes, if you look at the images, you see option to use it or not.

Alan_SP
04-22-2011, 11:52 PM
nhawk, would be possible to have different sets of questions/forms for different positions? As it looks to me from pictures, you can have only one form/set of questions.

Also, I think it would be much better if we could make forms from forum end, not from admincp. In admincp we should decide which usergroups could create forms and which usergroups are allowed to answer the questions. Those who are allowed to create forms for positions should decide which usergroups are allowed to answer for certain forms (choose from usergroups set in admincp) as we may require someone to be in some usergroup already.

AttalaEA
04-23-2011, 08:42 AM
Hello

I installed this Mod it is great but it doesn't appear in the community (I Have chosen yes in AdminCP)

bahrainfalcon
04-23-2011, 09:38 AM
wow wow great mod
Thanks

nhawk
04-23-2011, 10:06 AM
thanks many this will help as copy right application for any company or person to claim againstt thread or images or any thing as complaint

i will test for this
but does it send mail for unregisterd user that we recived his appliccation? and is there ability to using capcta or recaptcha?

I posted a fix that allows email from unregistered users this morning. It does not send email to the user at all. It sends to whoever receives the filled out forms.

Yes, the mod uses whatever human verification system you have chosen in Admincp.

nhawk
04-23-2011, 10:13 AM
nhawk, would be possible to have different sets of questions/forms for different positions? As it looks to me from pictures, you can have only one form/set of questions.

There is a way to install multiple copies of many mods. I know I've done it in the past. But at this moment it slips my mind how I did it. I'll look into it and post instructions when I can.

Also, I think it would be much better if we could make forms from forum end, not from admincp. In admincp we should decide which usergroups could create forms and which usergroups are allowed to answer the questions. Those who are allowed to create forms for positions should decide which usergroups are allowed to answer for certain forms (choose from usergroups set in admincp) as we may require someone to be in some usergroup already.

Would a Modcp version work for this? I don't think you want regular members posting forms to be filled out by other members do you?

nhawk
04-23-2011, 10:14 AM
Hello

I installed this Mod it is great but it doesn't appear in the community (I Have chosen yes in AdminCP)

Check your personal post count. If your post count is lower than what is required to fill out the form, you won't see it in the community menu.

If you want everyone to see the form, set the required post count to zero.

nhawk
04-23-2011, 01:40 PM
Hello

I installed this Mod it is great but it doesn't appear in the community (I Have chosen yes in AdminCP)

Fixed the problem.

If you don't want to download the mod again, you can fix it yourself.

In the Admin Panel go to Plugins & Products and Select Plugin Manager.

Look for General Application Form with a hook location of Parse Templates and select Edit.

In the Plugin PHP Code look for this code:
if (($vbulletin->userinfo['posts'] > $vbulletin->options['genapp_postcount']) && $vbulletin->options['genapp_inmenu'])



And replace it with this code:
if (($vbulletin->userinfo['posts'] >= $vbulletin->options['genapp_postcount']) && $vbulletin->options['genapp_inmenu'])

MrD
04-23-2011, 04:03 PM
Hi,
this Mod sounds good.
Have anyone a German translation?
Tagged

AttalaEA
04-23-2011, 05:10 PM
nhawk
Thanks alot for your great support and quick response i will try the fixed one and i will let you know if there is any other problem

Cheers

AttalaEA
04-23-2011, 05:26 PM
nhawk

Now it is working great, marked as installed, and nominated for the modification of the month.

Thanks alot for this great Mod

ProFifaLeagues
04-23-2011, 06:13 PM
Warning: Missing argument 2 for vB_Template_Runtime::linkBuild(), called in [path]/includes/class_core.php(4090) : eval()'d code on line 1227 and defined in [path]/includes/class_core.php on line 4495 Fatal error: Call to undefined method vB_Friendly_Url_Error::get_url() in /home/*********/public_html/includes/functions.php on line 6920

All seems to work well and the applying members form is sent ok but this error pops up when sending it any ideas where i may be going wrong????

Alan_SP
04-23-2011, 06:31 PM
There is a way to install multiple copies of many mods. I know I've done it in the past. But at this moment it slips my mind how I did it. I'll look into it and post instructions when I can.

Yes, we can change name of mod and variables, so it would appear as another mod. It's a way to use it as two (or more) different mods.

But what I had in mind was ability to have completely different sets of questions for different positions out of the box. If one applies for moderator, we need different set of questions and if we wanting someone to write articles for our forums, we need different sets of skills.

Would a Modcp version work for this? I don't think you want regular members posting forms to be filled out by other members do you?

Of course not, but you can make that only members of certain usergroups could use this ability even if it's available in forum. Just use conditionals. If someone is a member of allowed usergroup, he would see part where he can edit questions.

You can use this conditional:

<vb:if condition="is_member_of($bbuserinfo,x,y,z)">

x,y,z are allowed usergroups.

nhawk
04-23-2011, 07:07 PM
Warning: Missing argument 2 for vB_Template_Runtime::linkBuild(), called in [path]/includes/class_core.php(4090) : eval()'d code on line 1227 and defined in [path]/includes/class_core.php on line 4495 Fatal error: Call to undefined method vB_Friendly_Url_Error::get_url() in /home/*********/public_html/includes/functions.php on line 6920


All seems to work well and the applying members form is sent ok but this error pops up when sending it any ideas where i may be going wrong????

I can't seem to duplicate this.

Could you tell me what your settings are for Friendly URLs?

Also, what version of vBulletin are you running? That might make a difference in my trying to duplicate the problem.

nhawk
04-23-2011, 07:10 PM
Yes, we can change name of mod and variables, so it would appear as another mod. It's a way to use it as two (or more) different mods.

But what I had in mind was ability to have completely different sets of questions for different positions out of the box. If one applies for moderator, we need different set of questions and if we wanting someone to write articles for our forums, we need different sets of skills.



Of course not, but you can make that only members of certain usergroups could use this ability even if it's available in forum. Just use conditionals. If someone is a member of allowed usergroup, he would see part where he can edit questions.

You can use this conditional:

<vb:if condition="is_member_of($bbuserinfo,x,y,z)">

x,y,z are allowed usergroups.

I understand what you want for the individual positions, and I'll see what I can do.

But that's not going to be a quick fix. ;)

johkalhaups
04-23-2011, 11:36 PM
Yea, I would also like to see different sets of questions for the different positions people apply for. :)

Also, I have it set to make a post in a forum after they fill out an app.

Is there a way I can change the title of the thread?

Im looking for something easier like [USERNAME]'s XXXX Application where XXXX is the position they are applying for.

Id also like to see an option to remove the IP at the bottom of the post. :)

Thanks for the great mod though!

Going to use it soon for gaming community apps and maybe in the future for forum positions and hacking reports on servers if we can get different sets of questions. :up:



EDIT: Just thought, when/if you add the option for different sets of questions for different apps, maybe an option for a thread to be posted in separate forums depending on what they apply for. :)

Alan_SP
04-24-2011, 02:07 AM
EDIT: Just thought, when/if you add the option for different sets of questions for different apps, maybe an option for a thread to be posted in separate forums depending on what they apply for. :)

Actually, this would be great. In this way we can use it for many things, even to enable users to report problems in working with our forum.

SuperTaz
04-24-2011, 03:40 AM
In the settings, it says this:


If you place applications in a private forum (which is where they should be) all application threads will be marked as moderated.


I have it in a private forum but I do not want it to be moderated. I want it to post the application after it is submitted. How do I turn off the moderation for this mod?

And also it does not post the application in the forum specified after submitting and moderating. And I do have it set to post when a new application is received.

nhawk
04-24-2011, 11:25 AM
Yea, I would also like to see different sets of questions for the different positions people apply for. :)

Also, I have it set to make a post in a forum after they fill out an app.

Is there a way I can change the title of the thread?

Im looking for something easier like [USERNAME]'s XXXX Application where XXXX is the position they are applying for.

The post/pm/email subject is in the phrases. Look for genapp_subject and edit it. In that phrase {1} is the type of application set on the Settings page. {2} is the member who filled out the application. So using the default setting "{1} from {2}" would give you a message title of "Staff Application from Membername".

Because I really hate having to edit phrases, I'll add that to the settings page with the next release. ;)

Id also like to see an option to remove the IP at the bottom of the post. :)

Thanks for the great mod though!

Going to use it soon for gaming community apps and maybe in the future for forum positions and hacking reports on servers if we can get different sets of questions. :up:

Because I'm pretty certain in some countries there are some privacy issues when an IP is included, the IP was one of those things that I debated on and was going to give the option to include it or not. I decided that I would include it and the first person to ask for it to be an option would change my mind. You win the prize!

Next release (probably sometime Monday), it will be an option in the settings.

EDIT: Just thought, when/if you add the option for different sets of questions for different apps, maybe an option for a thread to be posted in separate forums depending on what they apply for. :)

I'm already working on the general flow for different questions for different positions. I'll put this on the wish list and see how it can be worked into the logic.

Before I get down to actually coding that major change, I'll probably ask for some more input here.

nhawk
04-24-2011, 11:36 AM
In the settings, it says this:



I have it in a private forum but I do not want it to be moderated. I want it to post the application after it is submitted. How do I turn off the moderation for this mod?

And also it does not post the application in the forum specified after submitting and moderating. And I do have it set to post when a new application is received.

The post being marked as moderated is a part of vBulletin itself. The member is posting in an area that they don't have permissions for and vBulletin is following it's built in moderation rules. So, at this time there is no way to override that.

But since you mention it, I can add a default member to post the applications to the settings page. You would just need to be sure that the member you use has usergroup permissions to post in the forum. I will add that to Monday's update.

Jamey
04-24-2011, 11:39 AM
Can it move a member to a membergroup once accepted?

nhawk
04-24-2011, 11:56 AM
Can it move a member to a membergroup once accepted?

No. That's not a function of this mod.

This mod simply gives an extremely flexible way to collect information from a member. It does not change any permissions.

johkalhaups
04-24-2011, 01:15 PM
The post/pm/email subject is in the phrases. Look for genapp_subject and edit it. In that phrase {1} is the type of application set on the Settings page. {2} is the member who filled out the application. So using the default setting "{1} from {2}" would give you a message title of "Staff Application from Membername".

Because I really hate having to edit phrases, I'll add that to the settings page with the next release. ;)

Ok, thank you. :)

Because I'm pretty certain in some countries there are some privacy issues when an IP is included, the IP was one of those things that I debated on and was going to give the option to include it or not. I decided that I would include it and the first person to ask for it to be an option would change my mind. You win the prize!

Next release (probably sometime Monday), it will be an option in the settings.

Nice! Thank you!

Yeah, we are using this mainly for apps to be in our gaming community and they are gonna be published in an open forum where everyone can see them so removing the IP option will be nice. :)

I'm already working on the general flow for different questions for different positions. I'll put this on the wish list and see how it can be worked into the logic.

Before I get down to actually coding that major change, I'll probably ask for some more input here.

Alright, sounds nice! :up:


Another thing that would be nice is to make some of the questions optional.

I removed the warning message on some thinking this would do it but I just tried to fill an app out and it wont let me go on unless all questions are answered.

nhawk
04-24-2011, 01:52 PM
Ok, thank you. :)
Another thing that would be nice is to make some of the questions optional.

I removed the warning message on some thinking this would do it but I just tried to fill an app out and it wont let me go on unless all questions are answered.

And without realising it you just gave me a way to do just what you want.

I'll try to get that into Monday's release too.

johkalhaups
04-24-2011, 02:22 PM
Nice!

This mod is coming together pretty well! :)



EDIT: Just noticed that you are subscribed by default to the thread it posts but Ive received no e-mails.

nhawk
04-24-2011, 03:24 PM
EDIT: Just noticed that you are subscribed by default to the thread it posts but Ive received no e-mails.

I think one of two things would cause this..

1) There aren't any replies to the thread, so no email would be sent by vB. (I don't use automatic subscriptions but I don't think an email is sent out to the thread creator when that same person creates a new thread. I'll check it)

2) If it's a "moderated post" and in a private forum you don't have access to, I don't think vB would send the email either.

johkalhaups
04-24-2011, 04:06 PM
It was posted in a private forum and there were several replies (private as in only the general public cant see it - members of the gaming community can).

I dont use moderation on anything and I didnt subscribe to it as I rarely ever use that feature.

I am an admin on the forum so I can see all. ;)

SuperTaz
04-24-2011, 06:36 PM
I tested this mod in an open forum as well and used a user account with full admin access and it still does not post in the forum. Does the moderation rule pertain to public forums as well?

I double checked the forum ID number and that is correct.
I made sure the post thread is set to "yes".
The forum is public where everyone can see it.
The admin account has full privileges.

Thoughts?

nhawk
04-25-2011, 02:00 PM
I tested this mod in an open forum as well and used a user account with full admin access and it still does not post in the forum. Does the moderation rule pertain to public forums as well?

I double checked the forum ID number and that is correct.
I made sure the post thread is set to "yes".
The forum is public where everyone can see it.
The admin account has full privileges.

Thoughts?

Try the updated version. There have been some changes to how a thread is posted.

johkalhaups
04-25-2011, 07:02 PM
Nice work!

Since I edited that phrase the other day, that wont conflict with the new option to set what the posts title is will it?

nhawk
04-25-2011, 07:05 PM
Nice work!

Since I edited that phrase the other day, that wont conflict with the new option to set what the posts title is will it?

Since the post title is no longer a phrase, you will need to reset it on the settings page.

All of your other settings should stay intact if you use the upgrade method to install.

XiTCLUB
04-25-2011, 09:20 PM
nice wok..

SuperTaz
04-26-2011, 01:14 AM
Works a lot better now. Thanks.

Vick98
04-27-2011, 03:39 AM
Is this mod compatible with v4.1.3?

HMBeaty
04-27-2011, 03:46 AM
Is this mod compatible with v4.1.3?
This is an add-on that is designed for vBulletin 4.1.1 and higher
...

craig100
05-02-2011, 08:19 PM
Hi,

I have just installed on 4.1.0 and it works....kinda

Everything does as it should, it posts in forum, sends pm etc. The only issue i have, is when you click "send", the page i get is displays this error

Warning: Missing argument 2 for vB_Template_Runtime::linkBuild(), called in [path]/includes/class_core.php(4426) : eval()'d code on line 1227 and defined in [path]/includes/class_core.php on line 5280

Fatal error: Call to undefined method vB_Friendly_Url_Error::get_url() in /home/stopinvi/public_html/includes/functions.php on line 7096

I know you state it's for 4.1.1 and above, but if you could help solve this issue, i would be very greatful.

Thanks

nhawk
05-02-2011, 09:28 PM
Hi,

I have just installed on 4.1.0 and it works....kinda

Everything does as it should, it posts in forum, sends pm etc. The only issue i have, is when you click "send", the page i get is displays this error


Warning: Missing argument 2 for vB_Template_Runtime::linkBuild(), called in [path]/includes/class_core.php(4426) : eval()'d code on line 1227 and defined in [path]/includes/class_core.php on line 5280

Fatal error: Call to undefined method vB_Friendly_Url_Error::get_url() in /home/stopinvi/public_html/includes/functions.php on line 7096



I know you state it's for 4.1.1 and above, but if you could help solve this issue, i would be very greatful.

Thanks

Unfortunately there have been enough changes to vBulletin that 4.1.0 is not compatable with this mod.

You could try disabling friendly_urls. But I'm not sure that would work.

nhawk
05-03-2011, 02:54 PM
For those having the friendly URL error, try the latest update. It's been tested on a site running vB 4.0.7 and seems to work fine.

AttalaEA
05-05-2011, 08:14 PM
Hello After updating to v1.1.1 again the staff application doesn't appear in the community menu

nhawk
05-05-2011, 08:40 PM
Hello After updating to v1.1.1 again the staff application doesn't appear in the community menu

Check these two things..

1) Make sure Post Count Settings is set to 0 (or some minimal number)

2) If you mean for users not logged in, make sure they aren't listed in the Usergroup settings (remove 1).

NOTE: There is no check for Admin priveledges for the community menu. So, if your post count isn't greater than the Post Count Settings, you won't see it.

Raeven
05-12-2011, 11:29 AM
Hi, nice Mod but there is one thing I would like to have it:

would it be possible to set a own Forum for each Application Type? Since we use separate Forums for different Games we support in our Clan (and as far as i know other clans, they do that too).

//edit:
Other Stuff i would find also usefull:
Application Types also per Usergroup (for example you want only Moderators be able to apply for Admin, but still want to have normal Members be able to apply for Moderator and such)

nhawk
05-12-2011, 12:13 PM
Hi, nice Mod but there is one thing I would like to have it:

would it be possible to set a own Forum for each Application Type? Since we use separate Forums for different Games we support in our Clan (and as far as i know other clans, they do that too).

//edit:
Other Stuff i would find also usefull:
Application Types also per Usergroup (for example you want only Moderators be able to apply for Admin, but still want to have normal Members be able to apply for Moderator and such)

These are already on the wish list.

To do these is a major re-write of the mod. It will happen, but I can't guarantee when it will be done.

Raeven
05-12-2011, 02:29 PM
Ahh, very good to know :). I thought already, that the first one will (depending how it was done) require a major rewrite and its good to see that your on them.

Good luck with that.

bad2dbone
05-14-2011, 01:59 AM
omg fix this plugin should be easy plug and play and just upload the file on on server nice plugin

prandah
05-19-2011, 02:12 PM
Hoe ti add attachment ?

nhawk
05-19-2011, 09:53 PM
Hoe ti add attachment ?

There is no way to add an attachment to the applications.

nhawk
05-20-2011, 05:40 PM
For those looking for an updated version with all of the requests made in this thread, please look here..

https://vborg.vbsupport.ru/showthread.php?t=263944

Alan_SP
05-20-2011, 10:53 PM
Thanks, going to this new thread. :)

Eplexx
05-28-2011, 03:58 PM
Thats a very nice mod, thanks.

fevredsuk
05-31-2011, 12:50 AM
hi, nice mod.

just one question, when a applications are posted in a thread, whats the the title of the thread.

I use easy forms for members introductions to encourage members to make a detailed introduction when joining the forum.

Easy forms has many options for the thread title, I use

{username} form title

eg

fevredsuk introduction

nhawk
05-31-2011, 10:09 AM
hi, nice mod.

just one question, when a applications are posted in a thread, whats the the title of the thread.

I use easy forms for members introductions to encourage members to make a detailed introduction when joining the forum.

Easy forms has many options for the thread title, I use

{username} form title

eg

fevredsuk introduction

Edit the 'Report Subject' field in settings.

Default is 'A new {1} has been submitted by {2}', where {1} is the application title and {2} is the member name.

For even more control on a per application basis see this add-on..

https://vborg.vbsupport.ru/showthread.php?t=263944

Gn_Snake
06-01-2011, 10:40 AM
///sorry missing thread

Manoel J?nior
06-04-2011, 03:42 PM
Please, mod in 3.8.7?

nhawk
06-04-2011, 05:11 PM
Please, mod in 3.8.7?

At this point I can't say if I will or won't port any of my mods to 3.8.7.

None of the sites I service run 3.x.x any more and my time is spent servicing 4.x.x sites and mods.

popular
06-17-2011, 03:38 AM
not sure what I did wrong but when I click the application I'm getting a blank page?

nhawk
06-17-2011, 10:37 AM
not sure what I did wrong but when I click the application I'm getting a blank page?

I'm not sure either. :)

I'll need a little more info. Like what version of vB, what the settings for the application are in ACP and if possible a link to the form so I can see what's happening.