vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - World of Warcraft Guild Recruitment Form (https://vborg.vbsupport.ru/showthread.php?t=198516)

AureliusFL 01-05-2009 01:41 PM

Quote:

Originally Posted by ErikkuShafer (Post 1702193)
Any update on how to fix where the user/applicant goes after the thread is submitted? Still have mine going back to the app, though the form is properly submitted. Getting a lot of applications lately and I'd like the process to go a little smoother is all! :)

I would love to see a fix for this too.

Ragefire 01-05-2009 03:29 PM

Likewise. Great app tho!

wintrmte 01-07-2009 05:10 AM

Agreed , although looking at the code I think I'm see where the problem is, but will look at it more tomorrow (too sleepy).

AureliusFL 01-07-2009 05:44 PM

Quote:

Originally Posted by wintrmte (Post 1703894)
Agreed , although looking at the code I think I'm see where the problem is, but will look at it more tomorrow (too sleepy).

Halp us!

wintrmte 01-08-2009 02:15 AM

OK, I found a few things that were not working here.. I'll go through them in order as they appear in the product.xml file. You will need to uninstall the product and the reinstall the edited product.xml file once you are done. I tested what I could, but did not test the forum poll or anything like that. The thank you message and redirect to post are working.

I hope this is ok, but I attached the product-new.xml that I modified to get this working on vBulletin 3.7.4 PL1. (Note, if you use my XML, I changed the output color for the Q&A part in the product-xml to be black. If you want to change this color, look for color=black and change it to be whatever color..)

Line 493:
Original Version:
Code:

$bbuserinfo[username], you need to answer every question!";
Change to:
Code:

eval(standard_error($vbulletin->userinfo['username'].", you need to answer every question!"));
Starting at line 661, insert a comment as shown below:
(This is what is causing the redirect to not work, there is an array created called $errors by VB, but it is blank.

Code:

/* if(is_array($errors))
{
  $errormessage = $errors[0];
  $_REQUEST['action'] = 'form';
} else { */

Line 693, Comment out lines 693 and 694 (this was preventing the thank you message from displaying if redirect option 0 was selected):
Code:

/* eval( 'print_output("' . fetch_template('STANDARD_ERROR') . '");' );
    exit(); */

Line 695, Change
Code:

$errormessage = $vbulletin->options['guild_app_post_thankyou'];
TO:
Code:

eval(standard_error($vbulletin->options['guild_app_post_thankyou']));
Line 696, Comment out the bracket (this is the terminating bracket to line 665 that is now commented out.
Code:

/* { */
Line 706, Change
Code:

$errormessage = "$bbuserinfo[username], you need to answer every question!";
TO:
Code:

eval(standard_error($vbulletin->userinfo['username'].", you need to answer every question!"));

Ragefire 01-08-2009 09:20 AM

Tried editing my modified .XML, and got errors when accessing the form (no doubt my lack of editing skills), so downloaded your XML, and edited that to include my options.

Works like a charm!

Thanks a million Wintrmte

wintrmte 01-08-2009 01:06 PM

Quote:

Originally Posted by Ragefire (Post 1704960)
Tried editing my modified .XML, and got errors when accessing the form (no doubt my lack of editing skills), so downloaded your XML, and edited that to include my options.

Works like a charm!

Thanks a million Wintrmte

No problem -- I forgot to mention in my original post that I changed the output colors in the post for the Q&A to be Black instead of neon-green. If you want to change it, look in the product-xml for color=black and change it to what you need it to be.

Tolas 01-09-2009 11:43 AM

Sweede, great work as always.

I do have a suggestion: Is it possible to have the character name also provide a link to their Guild Exes page?
http://www.warcraftrealms.com/guildexes/

In recruiting people we sometimes like to take a peek at their guild history to see where they have been, and it would be nice to have another link on their application that would provide easy access to something like that.


Wintrmte, you rock! Thanks for the Fix! I know Sweede gets busy at times and can't always update/fix right away.

Finger78 01-09-2009 01:50 PM

Quote:

Originally Posted by wintrmte (Post 1705092)
No problem -- I forgot to mention in my original post that I changed the output colors in the post for the Q&A to be Black instead of neon-green. If you want to change it, look in the product-xml for color=black and change it to what you need it to be.


I have checked, checked and rechecked the xml and there is NO color=black in the document, could you please tell me how to change the color back to the original? I have tried looking through both the old and the new and my coding skills are 0 so I cant find what to change back.

Please if you provide a find/replace include the whole line in it (the find/replace info in your previous post is a little messed up and why it gives errors when used exactly)

Thanks again for the fix

Mithan 01-09-2009 02:42 PM

never mind.


All times are GMT. The time now is 07:21 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.01294 seconds
  • Memory Usage 1,746KB
  • 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
  • (9)bbcode_code_printable
  • (4)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
  • (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