1) Download package and upload to your server /templates/YOUR-templates/images/ folder
2) Open your templates files: comments.tpl, pm.tpl, registration.tpl, searchresult.tpl, userinfo.tpl and remove the tag {icq} from those theme files
3) Open your-templates/frame.css
Find and remove:
#file-uploader {
min-height: 50px;
}
#flash-uploader {
min-height: 50px;
}
Find:
.qq-upload-drop-area {
position:absolute; top:0; left:0; width:100%; height:100%; min-height: 50px; z-index:2;
background:#FF9797; text-align:center;
}
REPLACE with:
.qq-upload-drop-area {
position:absolute; top:0; left:0; width:100%; height:100%; z-index:2;
background:#FF9797; text-align:center;
}
4) Open your-theme/login.tplFind:
<li class="lfield lfchek"><input type="checkbox" name="login_not_save" id="login_not_save" value="1"/><label for="login_not_save"> Do not save me</label></li>
Add below:
<li class="lfield lfchek">
<div class="sociallogin">
[vk]<a href="{vk_url}" target="_blank"><img src="{THEME}/images/social/vkontakte.gif" /></a>[/vk]
[odnoklassniki]<a href="{odnoklassniki_url}" target="_blank"><img src="{THEME}/images/social/odnoklassniki.gif" /></a>[/odnoklassniki]
[facebook]<a href="{facebook_url}" target="_blank"><img src="{THEME}/images/social/facebook.gif" /></a>[/facebook]
[mailru]<a href="{mailru_url}" target="_blank"><img src="{THEME}/images/social/mailru.gif" /></a>[/mailru]
[yandex]<a href="{yandex_url}" target="_blank"><img src="{THEME}/images/social/yandex.gif" /></a>[/yandex]
[google]<a href="{google_url}" target="_blank"><img src="{THEME}/images/social/google.gif" /></a>[/google]
</div>
</li>
5) Open theme file poll.tplFind:
doPoll('vote'); return false;
REPLACE with:
doPoll('vote', '{news-id}'); return false;
Find:
doPoll('results'); return false;
REPLACE with:
doPoll('results', '{news-id}'); return false;
6) Open theme file userinfo.tplFind:
<tr>
<td class="label">Avatar:</td>
<td>Upload from your computer: <input type="file" name="image" class="f_input" /><br /><br />
Use avatar from <a href="http://www.gravatar.com/" target="_blank">Gravatar</a>: <input type="text" name="gravatar" value="{gravatar}" class="f_input" /> (Enter your E-mail on gravatar.com)
<br /><br /><div class="checkbox"><input type="checkbox" name="del_foto" id="del_foto" value="yes" /> <label for="del_foto">Delete current avatar</label></div>
</td>
</tr>
REPLACE with:
<tr>
<td class="label">My Local Time Zone:</td>
<td>{timezones}</td>
</tr>
Aucun commentaire:
Enregistrer un commentaire