The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
World of Warcraft Guild Recruitment Form Details »» | |||||||||||||||||||||||||
This is a quick release of my Guild Application form
This uses the Online Gaming Recruitment addition as its base ( https://vborg.vbsupport.ru/showthread.php?t=182165 ) with a lot of modification to be warcraft specific and have part of it dynamicly created. Also included is a small tool i wrote to automaticly approve/deny applications via thread prefixes and move threads to a "Graveyard". From the Readme. ---------------------------------------- All of the options in the control panel may be self explainitory (see images). Editing the Application form template: Adding new text field questions are automatic and done in the control panel. Adding any other field is done through the template editor Example: <input type="text" size="30" value="$current_server" name="app[current_server]" /> Any application question must be in the format name="app[XXXXX]" , the value attribute is the php variable for the preview. Example of Dropdown (checkbox or radio fields follow similar concepts): <select name="app[character_class]"> <option value="Druid" <if condition="$character_class == 'Druid'">selected="selected"</if> >Druid</option> </select> Every form MUST have the following code at the begining of the form <form name="vbform" action="newthread.php" method="post" onSubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"> <input type="hidden" value="$formname" name="do" /> <input type="hidden" value="submit" name="action" /> <input type="hidden" name="posthash" value="$posthash" /> <input type="hidden" name="poststarttime" value="$poststarttime" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="s" value="$session[sessionhash]" /> and the following at the end of the form. <input type="submit" value="Submit" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" /> <input type="submit" value="Preview" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" /> <input type="reset" value="Reset" name="reset" style="font-family: Verdana; font-size: 10pt" class="button" /> For the Comment Boxes, you place the variable, $comment_boxes , in the position you want them to appear in the template. If you want unregistered users to post, you will need <if condition="!$show['member']"> $human_verify </if> somewhere in your application form. Editing the Application Post Template: Editing this is very straight forward. You put the php variable of the form field name, in the proper template location. For example, if you have <input name="app[MyQuestion]"> , then you would put $MyQuestion in your template. The default template requires a new BBCode entry (See images bbCode_Class.png and bbCode_Style.png) For the Textarea Questions, you will need the following variable, $guild_app_answer_qa_message somewhere in your form. Thread Prefixes This makes use of Extensive Prefixes. See the PrefixExample and ThreadPrefixes images. Application Tools: This makes it very simple to change prefixes or move applications to other forums. Some of the important items are now a vbulletin option. Show Your Support
|
Comments |
#62
|
|||
|
|||
dude is there any otehr way without editting the file and can accept the thread application..
|
#63
|
|||
|
|||
Upgraded this product to the latest version... didn't like how it jacked up the forum post, so i uninstalled and reverted back to the prior version. Now, regardless of which version I use (and i have re-tried them all) I get the following error:
Fatal error: Existing data passed is not an array Called set_existing in [path]/newthread.php(74) : eval()'d code on line 225 Called eval in [path]/newthread.php on line 74 in [path]/includes/class_dm.php on line 235 Any ideas what has gone wrong? |
#64
|
|||
|
|||
Thanks for the add-on sweede.
I like it, easy to edit and looks cool. I only noticed 1 issue. The App tool is not working for us when we use Firefox. (Firefox/3.0.5) We can see the options like "Approved", "Best of" ect.. but whatever we click, we only can select the option that is on top. When we try to same with IE7 its working like it should be. But this just for your info, dont think we will use it anyway. |
#65
|
|||
|
|||
Thanks for the great work on this addon... I seem to be having another issue (not addon breaking tho)
I seem to get the Apptools drop down menu twice, but only the farthest left works. It basically the drop down links look like this... | Apptools \/ \/ | Apptools | Thread tools \/ | |
#66
|
|||
|
|||
Thnx for this one, really appreciate it =)
As you can see by taking a look at the image I included I've managed to modd the plugin lightly to change questions and layout slightly, however, something I have not been able to change is the layout of the "Questions and Answers" in the preview and ultimately not in the submitted application. What I would like to see is an addition of a line break after each of them questions somehow but I have been unable to solve the issue. I do however suspect this part of the code to be the "villain": PHP Code:
Any help would be greatly appreciated =) |
#67
|
||||
|
||||
I'm totally confused
In the preivew and the forum post, you want a line break after the answer before the next question? That's done in the newthread_start plugin. Look around line 126 in the plugin code $comment_boxes .= '</td><td valign="top">'; changing it to $comment_boxes .= '<br /></td><td valign="top">'; may do what you want I havent figured out a way to template that bit of logic yet, so it's a little.. wonkey. |
#68
|
|||
|
|||
Quote:
Edit* Actually I think I found out something, by editing line 140 to look like this: PHP Code:
|
#69
|
||||
|
||||
try adding
$guild_app_answer_aq_message .= "<br />"; after eval('$guild_app_answer_qa_message .= "' . fetch_template('App_Question_Answer') . '";'); |
#70
|
|||
|
|||
Quote:
I tried adding several <br /> along with some XX to see if anything got included like this: $guild_app_answer_aq_message .= "<br />XX<br />XX<br />XX<br />"; but alas... nothing shows up, copare with my previous post where I at least see the <br /> printed in the preview ^^ Edit* Woot!? XD Problem solved, I ventured into the template fetched at line 140 fetch_template('App_Question_Answer'). By hitting "return" on my keyboard at the end of the template I get the preview to show what I want it to show =) Thnx for the help ^^ |
#71
|
|||
|
|||
Sorry to bother you again but I've ran into another problem.
Using the "app mover" while browsing the topic in order to Deny or Accept it is not working for me, well, it is partially working: I can assign forums and names for the radio buttons, I see the "Tool" while browsing the application topic and I can move the application, however - I am unable to select any but the first option to move to if you get what I mean? (a simple grafic presentation of the problem) *App Mover* - Accept (this one works) - Deny (I can't select this) - Trash (I can't select this) To work around this I could simply move all apps to the same forum and make sure to reply/change the subject or whatever but if you have the time I'd appreciate if you could have a look at this. The thought of being able to move the app to any destination just like that is thrilling ^^ Edit* I changed the input type to instead be a checkbox, by doing this I am now able to first click the option I want and then remove the automaticaly selected first option... It's slightly barbaric but it works, perhaps this is a clue that could help you sort this out? (or yes, might just as well be my set-up but if it's related to new changes in vB hope this helps ^^ ) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|