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 |
#12
|
|||
|
|||
Quote:
|
#13
|
|||
|
|||
Ahhhh, cheers Wrecked, i did wonder if I was looking in the wrong place.
Ill check it when I get in from work! |
#14
|
|||
|
|||
Awesome addon but instructions are a little vague when it comes to the tools section i have been playing with it for a few hours and i hit a stumbling block, when i change the forum id to number 7 i get a strange error
Fatal error: Undefined class name 'debuglog' in /xxxx/xxxxx/public_html/showthread.php(2149) : eval()'d code on line 21 i presume this line in the tools product file is the one i am supposed to be changing if ($threadinfo[forumid] == 9) any help would be greatfull appreciated cos the applications are looking like this atm without the tools [class="bigusername tcat"]Character Information[/class] <fdsfds: sdfds>, Human Death Knight [class=q2]Class Spec[/class] fdsf / dsf / fds [class="bigusername tcat"]Current Professions[/class] [class=q2]Profession 1[/class] - Alchemy [class=q2]Profession 2[/class] - Alchemy [class="bigusername tcat"]Personal Information[/class] |
#15
|
||||
|
||||
Removed the debug line from the code and there is a custom bbcode that is needed that i forgot to mention in the readme file.
Code:
Title: Class BB Code Tag name: Class Replacement: <span class="{option}">{param}</span> Example: [class="tcat"]Example[/class] Description: CSS Class Code Use {Option}: Yes Remove tag if Empty: No Check out your Main CSS options in your current style for all the classes you can use. I chose this method over hardcoding or a bunch of vbulletin options so that if you change your style the post itself will continue to match the new style. The line you you need to change is the one you copied. that is the forum ID of whatever forum your applications are posted to (In the updated zip you no longer need to edit that plugin). your SHOWTHREAD template MUST HAVE <!-- thread tools menu --> , for this product to be displayed. You also need to have moderator permissions in that forum. |
#16
|
|||
|
|||
I also can not find
Code:
if (fetch_require_hvcheck('post')) I'm having the same error pop up! Quote:
Code:
if ( function_exists(fetch_require_hvcheck) ) |
#17
|
|||
|
|||
that works a treat ......got it all up and running now
|
#18
|
||||
|
||||
fixed.
Dry-coding after working 6pm to 6am is bad mkay. |
#19
|
|||
|
|||
Alright I have an odd problem. I have it set to show a thank you message when a user presses 'submit' However it just reloads the application and when you press submit again says a duplicate thread exists.
I tried the other options as well and all of them do the same thing. Is there something I'm missing? Everything else works fine and its a great mod just this little bug |
#20
|
||||
|
||||
some of those options dont work correctly atm. A few of them depend on how your forum applications are setup. For example if you have private applications where the app is posted in a place where the person applying can't view the thread, then you shouldnt set certain options. I dont really note those or looked to see if i can work around it.
This was a quick hack that i did for my guild that i gave to a couple other guilds that i helped with their vbb site, that i finally decided to post here. Eventually when i get free time from WotLK (lol), then i'll go through this code and clean it up considerably. |
#21
|
|||
|
|||
I really, really love this mod. BUT, I do have one more (at least for now) question.
I'm looking to change how the thread is formatted. Specifically the Q&A section. I'm kind of OCD how the design of forums, and the neon green and red doesn't fit well with my current theme. How can I change this? I'm not seeing any options or code in the templates or XML. I must be blind as a bat Thanks in advance! *Nominated for MOTM. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|