vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Advanced Application Forms (https://vborg.vbsupport.ru/showthread.php?t=263944)

Alan_SP 06-16-2011 11:17 AM

Thanks. :up:

Gn_Snake 06-17-2011 09:25 AM

Quote:

Originally Posted by nhawk (Post 2202380)
It sounds like you turned off the application system in Application Form Settings and didn't refresh your screen to get rid of the application link. Or, you haven't given yourself permissions to view the application form.

Thanks nhawk,
i have actived the application in Application Form Setting but if I go to the link ../application-forms.php i said that i do not have permission to access this page

:confused:

nhawk 06-17-2011 10:49 AM

Quote:

Originally Posted by Gn_Snake (Post 2208909)
Thanks nhawk,
i have actived the application in Application Form Setting but if I go to the link ../application-forms.php i said that i do not have permission to access this page

:confused:

There are 4 places where you could be eliminating yourself from the application.

1) In Application Form Settings. Your usergroup should NOT be in the list of usergroups there.

2) In the Application Type, your usergroup SHOULD be in the list of allowed usergroups.

3) The Application Position, your usergroup SHOULD be in the list of allowed usergroups.

4) You could be eliminating yourself by post count limit.

Either of the first two will always give no permission errors.

The third will just not show a position when accessing the application list..

The fourth would stop the application type from showing in the community menu and would give a post count error if accessed by direct URL link. The only exception to this is if your userid is 1. Then you will go to the application form as usual so long as 1 through 3 are set properly.

Gn_Snake 06-17-2011 01:51 PM

Thanks Nhawk ,
but my configuration is exactly as you wrote....don't work!! :confused:

I'm Founder

nhawk 06-17-2011 02:20 PM

Quote:

Originally Posted by Gn_Snake (Post 2208981)
Thanks Nhawk ,
but my configuration is exactly as you wrote....don't work!! :confused:

I would need temporary access to your site to find out what's wrong. Something isn't set right.

If you want me to look at it, send me a PM with a user name and password.

Gn_Snake 06-17-2011 02:21 PM

Quote:

Originally Posted by nhawk (Post 2208991)
I would need temporary access to your site to find out what's wrong. Something isn't set right.

Yes,
send PM

nhawk 06-17-2011 02:45 PM

All fixed :)

Misunderstanding of how the system works. ;)

There must be an application type defined when trying to access the system.

http://www.xxx.xxx/application-forms.php

Will never bring up an application type group. The application ID must be defined in the link.

http://www.xxx.xxx/application-forms.php?appid=1

Direct links to the different type groups are shown in the ACP.

Also, there must be at least 1 usergroup banned from using the system. I would suggest usergroup 8 (banned users).

When the application types are activated to display in the community menu or navigation tabs they show there. See attached images..

Irate Pirate 06-20-2011 07:58 PM

Tagged for future. Thanks! :up:

Alan_SP 06-20-2011 09:54 PM

I just noticed this in footer and found out it's posted with your mod: Geise Theme Developed by AcockImplex

But I don't use no theme from AcockImplex. No problem to have this Advanced Application Forms 1.0.8 © 2011 by Snog in footer, but this looks strange.

nhawk 06-21-2011 10:30 AM

Quote:

Originally Posted by Alan_SP (Post 2210604)
I just noticed this in footer and found out it's posted with your mod: Geise Theme Developed by AcockImplex

But I don't use no theme from AcockImplex. No problem to have this Advanced Application Forms 1.0.8 ? 2011 by Snog in footer, but this looks strange.

Yes, very strange. I installed that skin on my dev server just before the 1.0.8 update and it shouldn't have touched the application plugin.

I've removed that from my plugin and uploaded version 1.0.9. That should get rid of it.

nhawk 06-21-2011 10:38 AM

For anyone that has that odd skin credit, the credit is in the Plugin "Advanced Application Form", hook location, "Parse Templates". Edit that plugin and it's at the bottom of the code.

Remove this line of code..
Code:

$vbphrase['powered_by_vbulletin'] .= '<div>Geise Theme Developed by AcockImplex</div>';

Alan_SP 06-21-2011 01:32 PM

Thanks, just waited your approval to remove it, didn't wanted to remove your credits.

RhysH 06-28-2011 01:33 AM

have you fixed the eval()'d code on line 304 error yet?

Loversama 06-28-2011 07:50 AM

IDEA: Accept/Reject -
Allow the Acceptance and Rejection of forms which can change peoples user group (for instance) and send them a congratulations or rejection message, this would really benefit me as I use this application form for clan member applications which I manually have to change there user group on acceptance.

nhawk 06-28-2011 10:13 AM

Quote:

Originally Posted by RhysH (Post 2213831)
have you fixed the eval()'d code on line 304 error yet?

Nobody has reported an eval error for a long time. And line 304 of what file?

A copy of the error would be helpful. So would information about how to duplicate it. So would knowing what version of vBulletin you're runing.

Greight 06-28-2011 11:38 AM

Strange, when I enable the mod the whole style seems to be unloaded. Just removing the product fixes the problem.

nhawk 06-28-2011 11:41 AM

Quote:

Originally Posted by Greight (Post 2214013)
Strange, when I enable the mod the whole style seems to be unloaded. Just removing the product fixes the problem.

I don't understand?

What seems to be unloaded?

More information please.

EDIT: If it is a style problem, temporarily change vBulletin to it's default style. Provided you haven't edited the default vBulletin style, if everything works, it is a problem with the style you are using. Not a problem with the mod.

RhysH 06-28-2011 03:25 PM

Vbulletin Version 4.1.4

I currently have the Easy Forms Mod installed but i would like to run both mods on the same forum.

Code:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/www/[SITE]/httpdocs/forum/includes/class_bootstrap.php(414) : eval()'d code on line 304

Parse error: syntax error, unexpected '<' in /home/www/[SITE]/httpdocs/forum/includes/class_bootstrap.php(414) : eval()'d code on line 304

I also have that style issue above

nhawk 06-28-2011 03:46 PM

Quote:

Originally Posted by RhysH (Post 2214111)
Vbulletin Version 4.1.4

I currently have the Easy Forms Mod installed but i would like to run both mods on the same forum.

Code:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/www/[SITE]/httpdocs/forum/includes/class_bootstrap.php(414) : eval()'d code on line 304

Parse error: syntax error, unexpected '<' in /home/www/[SITE]/httpdocs/forum/includes/class_bootstrap.php(414) : eval()'d code on line 304

I also have that style issue above

I've installed Easy Forms 4.2.6 on my development server running vBulletin 4.1.4 and both mods run without any problem.

The error you quote is coming from vBulletin itself and it is a template load error. Try temporarily setting your forum to use the default vBulletin style and see if everything works then. If it does, then there is a problem with your style.

Also, try disabling Activate in Community Menu and Activate in Navbar Tabs. Let me know if either of those allow the system to run.

The other possibility is you have a damaged file somewhere. You could uninstall/reinstall my mod after downloading a fresh copy. OR, you could have damaged vBulletin files too. It's always possible.

K!nG 06-28-2011 06:32 PM

I just installed it on 4.1.4 few things.

1: how do i get to see this in community & navbar menu when i already have them enabled in the settings but can't see them ?? any template edits ??

2: When "parse_template" is checked in plugin manager i get this error on my forum.

Parse error: syntax error, unexpected T_STRING in /home/****/public_html/mysit.com/includes/class_bootstrap.php(414) : eval()'d code on line 110

when i uncheck it from plug in manager it doesn't give me any errors ???

any help will be appreciated. Thanks

nhawk 06-28-2011 06:58 PM

Quote:

Originally Posted by K!nG (Post 2214203)
I just installed it on 4.1.4 few things.

1: how do i get to see this in community & navbar menu when i already have them enabled in the settings but can't see them ?? any template edits ??

2: When "parse_template" is checked in plugin manager i get this error on my forum.

Parse error: syntax error, unexpected T_STRING in /home/****/public_html/mysit.com/includes/class_bootstrap.php(414) : eval()'d code on line 110

when i uncheck it from plug in manager it doesn't give me any errors ???

any help will be appreciated. Thanks

Check your PMs please.

nhawk 06-28-2011 09:49 PM

For those having trouble, please check this plugin...

Advanced Application Form - parse_templates hook

And make sure that this is what is in the code..

Code:

if ($vbulletin->options['advapp_enable'])
{
        $notlogged = $vbulletin->userinfo['userid'];
        if($notlogged == 0)
        {
                $usergrp = 1;

        }
        if (!is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['advapp_perms'])) && !in_array($usergrp,explode(',', $vbulletin->options['advapp_perms'])))
        {
                $applications = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "advapp_applications ORDER BY type ASC");
                while($application = $vbulletin->db->fetch_array($applications))
                {
                        if ($vbulletin->options['advapp_inmenu'] && $vbulletin->userinfo['posts'] >= intval($application['postcount']) && is_member_of($vbulletin->userinfo, explode(',', $application['usergroup'])) && $application['community'] && $application['active'])
                        {
                                $template_hook['navbar_community_menu_end'] .= '<li><a href="application-forms.php?appid=' . $application['appid'] . '" title="' . $application['description'] . '">' . $application['type'] . '</a></li>';
                        }

                        if($vbulletin->options['advapp_navtabs'] && $application['navtabs'] && $vbulletin->userinfo['posts'] >= intval($application['postcount']) && is_member_of($vbulletin->userinfo, explode(',', $application['usergroup'])) &&  $application['active'])
                        {
                                $pop_options .= '<li><a style="color:' . vB_Template_Runtime::fetchStyleVar('navbar_selected_popup_body_a_Color') .'"  href="application-forms.php?appid=' . $application['appid'] . '" title="' . $application['description'] . '">' . $application['type'] . '</a></li>';
                        }
                }
                $vbulletin->db->free_result($applications);
        }

        if($vbulletin->options['advapp_navtabs'])
        {
                $templater_nav = vB_Template::create( 'advapp_poptab' );
                $templater_nav->register('title', $vbphrase['advapp_title']);
                $templater_nav->register('options', $pop_options);
                $template_hook['navtab_end'] = $templater_nav->render();
        }

$vbphrase['powered_by_vbulletin'] .= '<div>Advanced Application Forms 1.0.9 ? 2011 by Snog</div>';
}

It seems somehow the last part of the plugin might not be being imported properly on some systems.

K!nG 06-28-2011 10:04 PM

Thanks for updating it :) I came up with another one :$ i don't seem to get any email or pm when someone apply for a position. everything is enabled in admin cp as well i do have user id # not user name for the pm. Can u help me on that.
Second thing i tried to change the names of forum1,forum2,forum3 and saved it in admin cp but when go to application it still shows forum1, forum2, forum3 etc how to change that as well please ?
Thanks

nhawk 06-29-2011 09:27 AM

Quote:

Originally Posted by K!nG (Post 2214286)
Thanks for updating it :) I came up with another one :$ i don't seem to get any email or pm when someone apply for a position. everything is enabled in admin cp as well i do have user id # not user name for the pm. Can u help me on that.
Second thing i tried to change the names of forum1,forum2,forum3 and saved it in admin cp but when go to application it still shows forum1, forum2, forum3 etc how to change that as well please ?
Thanks

If the email addresses to send the applications to are valid, and separated by commas, then they should be getting sent out. They are sent using the same routine as all system sent emails. (such as registration emails and subscribed thread emails)

For the PM problem... The User ID # is for who is sending the PM. PM Recipients should be user names separated by semi-colons ( ; ).

When you save the changes in AdminCP, does it show the changes when you go back to the application in AdminCP?

If it does there but not on the application page, then you have a caching problem with your browser and it is not loading the changed page. Try closing all browser windows and then going back to the application page.

EDIT: LOL.. it just hit me like a ton of bricks.. I think I know what the email/PM problem might be. See your PMs.

Once I'm certain of the problem, I'll let everyone know.

K!nG 06-29-2011 02:53 PM

I only have one email address in there and its valid even when someone contact me via forum i do get all the emails.
just changed the pm settings, still nothing happens
Yes it does show the changes in admincp but not when i go back to the application. i did clear all browsers history,cahce,forms everything but still the same. :(

K!nG 06-29-2011 08:30 PM

Hi nhawk .

Thanks for ur help to make it working :) appreciate that. :P

nhawk 06-29-2011 08:37 PM

Quote:

Originally Posted by K!nG (Post 2214724)
Hi nhawk .

Thanks for ur help to make it working :) appreciate that. :P

No problem :D

I should let everyone know that the PM problem was the Sender ID was set to 0. It needs to be a valid userid number. ;)

And that his email is going out, but his full problem is private and I won't discuss that in public.

Alan_SP 06-30-2011 12:21 PM

Quote:

Originally Posted by nhawk (Post 2214726)
I should let everyone know that the PM problem was the Sender ID was set to 0. It needs to be a valid userid number. ;)

Is it possible to make applicant's user name as PM sender's name? Or we need to use some fixed name?

nhawk 06-30-2011 02:22 PM

Quote:

Originally Posted by Alan_SP (Post 2215011)
Is it possible to make applicant's user name as PM sender's name? Or we need to use some fixed name?

Well..

Technically the name can be anything we want it to be.

BUT

Changing it has a couple of drawbacks...

When you read the PM, it will show the actual username of the userid that sent the PM.

Anyone who replies, would reply to the userid that sent the PM.

And now I know you'll ask 'Can we use the userid of the person who filled out the application?'

Absolutely... That is if I code it as an option. ;)

Alan_SP 07-01-2011 02:05 PM

Yes, I meant that. :) That we receive PM after filled application from applicant. This isn't some fixed user ID as anyone can fill application.

ewebdesigner 07-01-2011 04:50 PM

I successfully installed the mod but I get a no permission message when I go to the actual page.

I also cannot find it on the forum home. It is supposed to be in community. I set up a position, and the rest.

CAn you help me with this if I give you admin access?

nhawk 07-01-2011 06:08 PM

Quote:

Originally Posted by ewebdesigner (Post 2215527)
I successfully installed the mod but I get a no permission message when I go to the actual page.

I also cannot find it on the forum home. It is supposed to be in community. I set up a position, and the rest.

CAn you help me with this if I give you admin access?

In 'Application Types', make sure your usergroup has permission to view the type. And also be sure 'Show in Community Menu' is set to 'Yes'.

In the 'Application Position', make sure your usergroup has permission to view the position ('Allowed Usergroups').

And be sure you aren't excluding yourself by setting the 'Post Count Limit' in either of those above the number of posts you have.

If that doesn't do it, PM the info and I'll take a quick look at it.

CrazyProgrammer 07-05-2011 10:49 PM

Hey m8 is it possible you can add poll function when posted it starts a poll automatically? with some options like yes no

nhawk 07-06-2011 05:58 PM

Quote:

Originally Posted by CrazyProgrammer (Post 2217239)
Hey m8 is it possible you can add poll function when posted it starts a poll automatically? with some options like yes no

I'll put that on the wish list. :)

CrazyProgrammer 07-09-2011 01:03 PM

Quote:

Originally Posted by nhawk (Post 2217498)
I'll put that on the wish list. :)

Thanks man i cant wait

+buG 07-11-2011 03:13 AM

Any reason why my forms are not being shown?

http://i.imgur.com/Y0pin.jpg
http://i.imgur.com/SlLna.jpg

Gyarados 07-11-2011 06:16 AM

I am getting this error whenever I try to test the application settings:

Warning: Invalid argument supplied for foreach() in [path]/application-forms.php on line 576

I am also getting an error when I attempt to begin the application that says "Unknown Question Type" and then redirects me to the start of the application.

nhawk 07-11-2011 10:12 AM

Quote:

Originally Posted by +buG (Post 2219167)
Any reason why my forms are not being shown?

http://i.imgur.com/Y0pin.jpg
http://i.imgur.com/SlLna.jpg

Make sure the application position is active, that you have given yourself permission to view the position and that you haven't eliminated yourself by putting the Post Count Permission for the postion higher than your post count.

nhawk 07-11-2011 10:21 AM

Quote:

Originally Posted by Gyarados (Post 2219204)
I am getting this error whenever I try to test the application settings:

Warning: Invalid argument supplied for foreach() in [path]/application-forms.php on line 576

I am also getting an error when I attempt to begin the application that says "Unknown Question Type" and then redirects me to the start of the application.

Without more info, this one will be hard to diagnose.

The "Unknown Question Type" is in the program as a failsafe. It should never show up if the add-on was installed correctly, you've defined questions for the application position and the database tables are intact

+buG 07-11-2011 11:33 AM

Quote:

Originally Posted by nhawk (Post 2219245)
Make sure the application position is active, that you have given yourself permission to view the position and that you haven't eliminated yourself by putting the Post Count Permission for the postion higher than your post count.

Yea, pretty embarrassing to admit this; my post count was keeping me from accessing it lol. Thanks for the tip!


All times are GMT. The time now is 01:02 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.02113 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
  • (4)bbcode_code_printable
  • (19)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
  • (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