Сюда складываем моды и запрашиваем для форумного двежка phpBB3!!!
Я ищу мод Спасибо!
Модератор: doliar
##############################################################
## MOD Title: Advanced Thanks MoD
## MOD Author: nE0sIghT < jabber_mod@mail.ru > (Yuri Konotopov) http://clanctl.narod.ru
## MOD Description: This MoD allow users to thank posts
## MOD Version: 0.1 PR1
##
## Installation Level: (Advanced)
## Installation Time: ~15 Minutes (~3 Minutes with EasyMod)
## Files To Edit: memberlist.php
## viewtopic.php
## language/ru/common.php
## styles/prosilver/template/memberlist_view.html
## styles/prosilver/template/viewtopic_body.html
## styles/subsilver2/template/memberlist_view.html
## styles/prosilver/subsilver2/viewtopic_body.html
##
## Included Files: root/includes/functions_thanks.php
## root/styles/prosilver/template/memberlist_thanks.html
## root/styles/subsilver2/template/memberlist_thanks.html
## root/styles/prosilver/imageset/en/icon_post_thanks.gif
## root/styles/subsilver2/imageset/en/icon_post_thanks.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## This MoD is based on Geoffreak's Thank Post MOD, but have
## more optimized syntax, allow view users, that said thanks
## and allow view amount of thanks while viewing profile
##
## This modification is Free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as published
## by the Free Software Foundation; either version 2 of the License, or (at
## your option) any later version.
##
## http://www.fsf.org/licensing/licenses/gpl.html
##
##############################################################
## MOD History:
##
## 2007-10-01 - Version 0.1 test PR1, "The begining"
## - Initial test prerelease
##
##############################################################
## TODO:
## - redirects
## - pagination
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
Parse error: parse error, unexpected '}' in T:\home\localhost\cache\tpl_prosilver_viewtopic_body.html.php on line 182
<?php }} if ($this->_rootref['S_NUM_POSTS'] > 1 || $this->_rootref['PREVIOUS_PAGE']) { ?>
<form id="viewtopic" method="post" action="<?php echo (isset($this->_rootref['S_TOPIC_ACTION'])) ? $this->_rootref['S_TOPIC_ACTION'] : ''; ?>">
<fieldset class="display-options" style="margin-top: 0; ">
<?php if ($this->_rootref['PREVIOUS_PAGE']) { ?><a href="<?php echo (isset($this->_rootref['PREVIOUS_PAGE'])) ? $this->_rootref['PREVIOUS_PAGE'] : ''; ?>" class="left-box <?php echo (isset($this->_rootref['S_CONTENT_FLOW_BEGIN'])) ? $this->_rootref['S_CONTENT_FLOW_BEGIN'] : ''; ?>"><?php echo ((isset($this->_rootref['L_PREVIOUS'])) ? $this->_rootref['L_PREVIOUS'] : ((isset($user->lang['PREVIOUS'])) ? $user->lang['PREVIOUS'] : '{ PREVIOUS }')); ?></a><?php } if ($this->_rootref['NEXT_PAGE']) { ?><a href="<?php echo (isset($this->_rootref['NEXT_PAGE'])) ? $this->_rootref['NEXT_PAGE'] : ''; ?>" class="right-box <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>"><?php echo ((isset($this->_rootref['L_NEXT'])) ? $this->_rootref['L_NEXT'] : ((isset($user->lang['NEXT'])) ? $user->lang['NEXT'] : '{ NEXT }')); ?></a><?php } ?>
<label><?php echo ((isset($this->_rootref['L_DISPLAY_POSTS'])) ? $this->_rootref['L_DISPLAY_POSTS'] : ((isset($user->lang['DISPLAY_POSTS'])) ? $user->lang['DISPLAY_POSTS'] : '{ DISPLAY_POSTS }')); ?>: <?php echo (isset($this->_rootref['S_SELECT_SORT_DAYS'])) ? $this->_rootref['S_SELECT_SORT_DAYS'] : ''; ?></label>
<label><?php echo ((isset($this->_rootref['L_SORT_BY'])) ? $this->_rootref['L_SORT_BY'] : ((isset($user->lang['SORT_BY'])) ? $user->lang['SORT_BY'] : '{ SORT_BY }')); ?> <?php echo (isset($this->_rootref['S_SELECT_SORT_KEY'])) ? $this->_rootref['S_SELECT_SORT_KEY'] : ''; ?></label> <label><?php echo (isset($this->_rootref['S_SELECT_SORT_DIR'])) ? $this->_rootref['S_SELECT_SORT_DIR'] : ''; ?> <input type="submit" name="sort" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" class="button2" /></label>
</fieldset>
</form>
<hr />
<?php } ?>
<div class="topic-actions">
<div class="buttons">
<?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['S_DISPLAY_REPLY_INFO']) { ?>
<div class="<?php if ($this->_rootref['S_IS_LOCKED']) { ?>locked-icon<?php } else { ?>reply-icon<?php } ?>"><a href="<?php echo (isset($this->_rootref['U_POST_REPLY_TOPIC'])) ? $this->_rootref['U_POST_REPLY_TOPIC'] : ''; ?>" title="<?php if ($this->_rootref['S_IS_LOCKED']) { echo ((isset($this->_rootref['L_TOPIC_LOCKED'])) ? $this->_rootref['L_TOPIC_LOCKED'] : ((isset($user->lang['TOPIC_LOCKED'])) ? $user->lang['TOPIC_LOCKED'] : '{ TOPIC_LOCKED }')); } else { echo ((isset($this->_rootref['L_POST_REPLY'])) ? $this->_rootref['L_POST_REPLY'] : ((isset($user->lang['POST_REPLY'])) ? $user->lang['POST_REPLY'] : '{ POST_REPLY }')); } ?>"><span></span><?php if ($this->_rootref['S_IS_LOCKED']) { echo ((isset($this->_rootref['L_TOPIC_LOCKED_SHORT'])) ? $this->_rootref['L_TOPIC_LOCKED_SHORT'] : ((isset($user->lang['TOPIC_LOCKED_SHORT'])) ? $user->lang['TOPIC_LOCKED_SHORT'] : '{ TOPIC_LOCKED_SHORT }')); } else { echo ((isset($this->_rootref['L_POST_REPLY'])) ? $this->_rootref['L_POST_REPLY'] : ((isset($user->lang['POST_REPLY'])) ? $user->lang['POST_REPLY'] : '{ POST_REPLY }')); } ?></a></div>
<?php } ?>
</div>
<?php if ($this->_rootref['PAGINATION'] || $this->_rootref['TOTAL_POSTS']) { ?>
<div class="pagination">
<?php echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''; ?>
<?php if ($this->_rootref['PAGE_NUMBER']) { if ($this->_rootref['PAGINATION']) { ?> • <a href="#" onclick="jumpto(); return false;" title="<?php echo ((isset($this->_rootref['L_JUMP_TO_PAGE'])) ? $this->_rootref['L_JUMP_TO_PAGE'] : ((isset($user->lang['JUMP_TO_PAGE'])) ? $user->lang['JUMP_TO_PAGE'] : '{ JUMP_TO_PAGE }')); ?>"><?php echo (isset($this->_rootref['PAGE_NUMBER'])) ? $this->_rootref['PAGE_NUMBER'] : ''; ?></a> • <span><?php echo (isset($this->_rootref['PAGINATION'])) ? $this->_rootref['PAGINATION'] : ''; ?></span><?php } else { ?> • <?php echo (isset($this->_rootref['PAGE_NUMBER'])) ? $this->_rootref['PAGE_NUMBER'] : ''; } } ?>
</div>
<?php } ?>
</div>
<?php if ($this->_rootref['QUICK_REPLY']) { $this->_tpl_include('quick_reply.html'); } $this->_tpl_include('jumpbox.html'); if ($this->_rootref['S_TOPIC_MOD']) { ?>
<form method="post" action="<?php echo (isset($this->_rootref['S_MOD_ACTION'])) ? $this->_rootref['S_MOD_ACTION'] : ''; ?>">
<fieldset class="quickmod">
<label><?php echo ((isset($this->_rootref['L_QUICK_MOD'])) ? $this->_rootref['L_QUICK_MOD'] : ((isset($user->lang['QUICK_MOD'])) ? $user->lang['QUICK_MOD'] : '{ QUICK_MOD }')); ?>:</label> <?php echo (isset($this->_rootref['S_TOPIC_MOD'])) ? $this->_rootref['S_TOPIC_MOD'] : ''; ?> <input type="submit" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" class="button2" />
<?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>
</fieldset>
</form>
<?php } if ($this->_rootref['S_DISPLAY_ONLINE_LIST']) { ?>
<h3><a href="<?php echo (isset($this->_rootref['U_VIEWONLINE'])) ? $this->_rootref['U_VIEWONLINE'] : ''; ?>"><?php echo ((isset($this->_rootref['L_WHO_IS_ONLINE'])) ? $this->_rootref['L_WHO_IS_ONLINE'] : ((isset($user->lang['WHO_IS_ONLINE'])) ? $user->lang['WHO_IS_ONLINE'] : '{ WHO_IS_ONLINE }')); ?></a></h3>
<p><?php echo (isset($this->_rootref['LOGGED_IN_USER_LIST'])) ? $this->_rootref['LOGGED_IN_USER_LIST'] : ''; ?></p>
<?php } $this->_tpl_include('overall_footer.html'); ?>
biz писал(а):После установки мода Olympus_QR_1.6.3 при открытии любого топика появляется вот такая ошибка:
- Код: Выделить всё • Развернуть
Parse error: parse error, unexpected '}' in T:\home\localhost\cache\tpl_prosilver_viewtopic_body.html.php on line 182
Если убрать } в 182 строке - то 1 пост в топике отображается нормально, но остальные смещены вправо.. кароче пипец.
Чать этого файла с 182 строки:
...
В чом проблема?
Вернуться в Установка веб-приложений
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 13