Welcome Guest. Please Login or Register  


You are here: Index > Advanced Electron Forums > Languages and International Support > Topic : مد ثبت نام سریع فارسی

A2 Hosting

News:

Group Message
Hello Guest,

Welcome to the AEF Board. AEF is getting better and better and is also becoming more popular.
Take a few seconds to Register, its free, and it inspires us to work harder and improve on whatever we can improve on.
Give us some feedback, and tell your buddies about AEF!

Thanks,
The AEF Team



Threaded Mode | Print  

 مد ثبت نام سریع فارسی, Quick Register for AEF 1.0.8 (1 Replies, Read 29021 times)
Ghadamyari
Group: Support
Post Group: Newbie
Posts: 36
Status:
مد ثبت نام سريع به صورت فارس طراحي شده توسط تيم طراحي آي آر گيگ

طريقه نصب:

1.فايل زير را باز کنيد:
Code
languages/{your_language}/MainIndex_lang.php


متن زير را پيدا کنيد:

Code
//Theme Strings


بعد از آن قرار دهيد:

Code

$l['quick_register_title'] = 'عضويت سريع';
$l['quick_register_username'] = 'نام کاربري';
$l['quick_register_password'] = 'کلمه عبور';
$l['quick_register_confirm_password'] = 'تکرار کلمه عبور';
$l['quick_register_email'] = 'آدرس ايميل';
$l['quick_register_time_zone'] = 'منطقه زماني';
$l['quick_register_confirmation_code'] = 'کد امنيتي';
$l['quick_register_i_agree'] = 'قوانين انجمن را قبول دارم';
$l['quick_register_submit_button'] = 'عضويت';


2.
فايل زير را باز کنيد:

Code
\themes\{THEME}\MainIndex_theme.php


متن زير را پيدا کنيد:
Code
//Are there any Bots


قبل از آن قرار دهيد:
Code


if($logged_in){
}else{
echo '
<div>
<iframe name="I1" id="I1" src="'.$globals['ind'].'act=register" style="display:none;visibility:hidden;width:0px;height:0px">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
<form accept-charset="UTF-8" action="'.$globals['ind'].'act=register" &nbs p;method="post" name="registerform">
<table class="cbor" align="center">
<tr>
<td colspan="4" align="center" class="cbg">
'.$l['quick_register_title'].' <br />
</td>
</tr>
<tr>
<td style="width: 10%" class="alt1">
<div style="width: 100%">'.$l['quick_register_username'].':<br> < br /> <input type="text" size="45" name="username" style="width: 120px" /></div></td>
<td style="width: 10%" class="alt2">
<div style="width: 100%">'.$l['quick_register_password'].':<br> < br /> <input type="password" size="45" name="password" style="width: 120px" /></div></td>
<td style="width: 10%" class="alt1"><div style="width: 100%">'.$l['quick_register_confirm_password'].':< br>
<input type="password" size="45" name="conf_password" style="width: 120px" /></div></td>
<td style="width: 10%" class="alt2"><div style="width: 100%">'.$l['quick_register_email'].':<br>
<input type="text" size="45" name="email" style="width: 120px" /></div></td>
</tr>
<tr>

<td style="width: 177px" class="alt1">
<div style="width: 100%">'.$l['quick_register_time_zone'].':<br>
<select name="timezone" style="width: 120px;font-size:11px">
<option value="-12" class="" >(GMT -12:00) Eniwetok, Kwajalein</option>
<option value="-11" class="" >(GMT -11:00) Midway Island, Samoa</option>
<option value="-10" class="" >(GMT -10:00) Hawaii</option>
<option value="-9" class="" >(GMT -9:00) Alaska</option>
<option value="-8" class="" >(GMT -8:00) Pacific Time (US &amp; Canada)</option>
<option value="-7" class="" >(GMT -7:00) Mountain Time (US &amp; Canada)</option>
<option value="-6" class="" >(GMT -6:00) Central Time (US &amp; Canada),
Mexico City</option>
<option value="-5" class="" >(GMT -5:00) Eastern Time (US &amp; Canada),
Bogota, Lima</option>
<option value="-4" class="" >(GMT -4:00) Atlantic Time (Canada),
Caracas, La Paz</option>
<option value="-3.5" class="" >(GMT -3:30) Newfoundland</option>
<option value="-3" class="" >(GMT -3:00) Brazil, Buenos Aires,
Georgetown</option>
<option value="-2" class="" >(GMT -2:00) Mid-Atlantic</option>
<option value="-1" class="" >(GMT -1:00 hour) Azores, Cape Verde Islands</option>
<option value="+0" class="">(GMT) Western Europe Time, London, Lisbon,
Casablanca</option>
<option value="1" class="" >(GMT +1:00 hour) Brussels, Copenhagen,
Madrid, Paris</option>
<option value="2" class="" >(GMT +2:00) Kaliningrad, South Africa</option>
<option value="3" class="" >(GMT +3:00) Baghdad, Riyadh, Moscow, St.
Petersburg</option>
<option value="3.5" class="" >(GMT +3:30) Tehran</option>
<option value="4" class="" >(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi</option>
<option value="4.5" class="" >(GMT +4:30) Kabul</option>
<option value="5" class="" >(GMT +5:00) Ekaterinburg, Islamabad,
Karachi, Tashkent</option>
<option value="5.5" class="" >(GMT +5:30) Bombay, Calcutta, Madras, New
Delhi</option>
<option value="6" class="" >(GMT +6:00) Almaty, Dhaka, Colombo</option>
<option value="7" class="" >(GMT +7:00) Bangkok, Hanoi, Jakarta</option>
<option value="8" class="" >(GMT +8:00) Beijing, Perth, Singapore, Hong
Kong</option>
<option value="9" class="" >(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo,
Yakutsk</option>
<option value="9.5" class="" >(GMT +9:30) Adelaide, Darwin</option>
<option value="10" class="" >(GMT +10:00) Eastern Australia, Guam,
Vladivostok</option>
<option value="11" class="" >(GMT +11:00) Magadan, Solomon Islands, New
Caledonia</option>
<option value="12" class="" >(GMT +12:00) Auckland, Wellington, Fiji,
Kamchatka</option>
        <option value="0" class="" selected="selected">Board Default</option>
</select>

</div></td>
';
if($globals['sec_conf']){
echo '
<td style="width: 10%" class="alt2">
<div>
<img src="'.$globals['index_url'].'act=sec_conf_image" style="width:130px;height:40px"><br>
'.$l['quick_register_confirmation_code'].':<br>
<input type="text" size="20" name="sec_conf" style="width: 120px" /></div>
</td>';}
echo'
<td style="width: 10%" class="alt1">
<div>
<input type="checkbox" name="iagree" /><a href="'.$globals['ind'].'act=register">'.$ l['quick_register_i_agree'].'</a><br /><input type="submit" name="register" value="'.$l['quick_register_submit_button'].'" />
</div>
</td>
<td class="alt2" colspan="2" style="width: 10%"></td>
</tr>
</table>
</form>
</div>
<br />
';
}



Edited by Ghadamyari : July 25, 2009, 5:03 pm
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Members who read this topic
parscon, Ghadamyari, trikiano, cristrixy, paulosty, xfiles666


Users viewing this topic
1 guests, 0 users.

A2 Hosting

All times are GMT. The time now is September 21, 2019, 2:49 am.

  Powered By AEF 1.1.0 Preview © 2007-2011 AEF Group. All rights reservedQueries: 13  |  Page Created In:0.032