Siccome il forum è per la mia gilda stavo cercando di aggiungere un application form mod, l'installato e su prosilver funziona ma non riesco a implementarlo sul mio template (che dovrebbe essere prosilver based). in più quando vado a modificare il codice del "body" e dell application.php per modificare il form a mio piacimento mi va in crash e non funziona....
se non mi son spiegato vi posto di sequito i due file che vado a modificare :
(APPLICATION.PHP)
Codice: Seleziona tutto
<?php
/**
*
* application [English]
*
* @package language
* @copyright (c) Jim http://beta-garden.com 2009
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, array(
'LOGIN_APPLICATION_FORM' => 'You need to login before you can send out an application.',
'APPLICATION_SUBJECT' => 'Application from %s',
'APPLICATION_MESSAGE' => 'A new user has signed up by the application form, called [b] %1$s[/b].<br /><br />[b]Real name[/b]: %2$s<br />[b]E-mail address[/b]: %3$s<br />[b]Appling for[/b]: %4$s<br /><br />[b]Why would we choose him/her?[/b]<br /> %5$s',
'APPLICATION_SEND' => 'Your application has been sent to the administrators of this board. They’ll decide whether your application is good enough and get back to you in the coming days.',
'APPLICATION_PAGETITLE' => 'Application form',
'APPLICATION_WELCOME_MESSAGE' => 'Welcome at this application form. Since we are a still growing community, we wanted to apply new members to a team position, if you feel that you’re the right person, then please fill out the form below and we might get back to you and ask you for conversion regarding this. Good luck!',
'APPLICATION_REALNAME' => 'Real name',
'APPLICATION_EMAIL' => 'E-mail address',
'APPLICATION_POSITION' => 'Position you would like to have',
'APPLICATION_TEAM1' => 'Teamname 1',
'APPLICATION_TEAM2' => 'Teamname 2',
'APPLICATION_TEAM3' => 'Teamname 3',
'APPLICATION_WHY' => 'Why should we choose you for this position?',
));
?>
[color=#FF4000](OVERALL_HEADER)[/color]
<!-- INCLUDE overall_header.html -->
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<h2>{L_APPLICATION_PAGETITLE}</h2>
<span style="font-size: 1.3em;">{L_APPLICATION_WELCOME_MESSAGE}<br /><br /><br />
<form method="post" action="{PROCESS_APPFORM}" id="appform">
{L_APPLICATION_REALNAME} <input type="text" name="name" /><br />
{L_APPLICATION_POSITION}
<select name="postion">
<option value="{L_APPLICATION_TEAM1}">{L_APPLICATION_TEAM1}</option>
<option value="{L_APPLICATION_TEAM2}">{L_APPLICATION_TEAM2}</option>
<option value="{L_APPLICATION_TEAM3}">{L_APPLICATION_TEAM3}</option>
</select>
<br /><br />
{L_APPLICATION_WHY}<br />
<textarea rows="5" cols="50" name="why"></textarea>
<br/><br/>
<input type="submit" name="submit" id ="submit" value="{L_SUBMIT}" class="button1" />
</span>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- INCLUDE overall_footer.html -->