Страница 34 из 34

Re: Recent Topics

Добавлено: 24.11.2008 23:10
Lancerrr
Отличный и полезный мод, только один минус - страница, куда выводятся эти актуальные темы, загружается заметно дольше, чем страница без необходимого Джава-скрипта.
Это у всех так?

Re: Recent Topics

Добавлено: 25.11.2008 10:17
Siava
Lancerrr
Ну это логично, так как на этой странице присутствуют дополнительные sql-запросы.

Re: Recent Topics

Добавлено: 13.12.2008 0:57
forall
Страниц в теме очень много.
Модов Xpert выкладывал много, тяжело чтолибо искать =(

Пытался найти по таким запросам:
"вывод последних сообщений в виде сообщений" (каламбур %) через яндекс поиск
"вывод последний сообщений на одной странице"

Мне бы хотелось, чтобы выводились последния сообщения так же, как при расширенном с поставленной галочкой
"Показывать результаты как: сообщения"

Кнопка "Найти сообщения с вашего последнего посещения " отображает все последние сообщения в виде тем.

Re: Recent Topics

Добавлено: 13.12.2008 10:28
forall
Нашел мод:

Код: Выделить всё

##############################################################
## Mod Name:			view_recent_posts_v1_0_3.txt
## Mod Date:			2002-06-07
## Mod Title:			View Recent Posts
## Mod Version:			1.0.3
## for phpBB Version:	2.0.1
## Author:				Matthias C. Hormann <matthias@hormann-online.net>
## Description:			This mod allows viewing recent posts directly from
##						the index page. It introduces a new 'View Posts
##						from previous <selection>' on the main page,
##						directly below the 'View unanswered posts' link.
##						The selection box has the standard search selections
##						(1 day/1 week/2 weeks/1 month/3months/6 month/1 year)
##						and defaults to '1 day'.
##
##						Results are shown as a search-like topic list.
##						If you really want, you can also follow the 'OR'
##						REPLACE in 'templates/subSilver/index_body.tpl' to
##						get results displayed as posts, but personally I
##						don't like it since it's non-standard and doesn't
##						really help if your user wants an overview.
##
##						Guests can also use it (no need to be logged in).
##						The mod will honor all board restrictions, i.e.,
##						no hidden forums/topics will be shown if permissions
##						are insufficient (uses the 'search' logic).
##
##						This mod was requested by users that are not online
##						so very often and just want to easily check what has
##						happened recently.
Дожен делать по идее то, что мне надо, если поставить такое значение:

Код: Выделить всё

#
#-----[ OR ]------------------------------------------
#
# Show results as a list of single posts (not recommended)
#
		<!-- MOD: View Recent Posts v1.0.3 -->
		<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
		<span class="gensmall"><form action="{S_SEARCH_ACTION}" method="POST">{L_SEARCH_TIME}&nbsp;<select class="gensmall" name="search_time">{S_TIME_OPTIONS}</select>&nbsp;<input type="submit" class="gensmall" value="{L_GO}" name="submit" /><input type="hidden" name="show_results" value="posts"><input type="hidden" name="sort_by" value="0"><input type="hidden" name="sort_dir" value="DESC"></form>
		</td>
		<!-- MOD: -END- -->
Но не работает. Т.к. заместо автора при поиске ставит просто звездочку:

Код: Выделить всё

		'S_SEARCH_ACTION' => append_sid("search.$phpEx?mode=results&search_author=*"),

Re: Recent Topics

Добавлено: 15.12.2008 16:31
forall
Вопрос решается модом: view_recent_posts_v1_0_4
т.к. с какойто версии phpBB перестали делать поиск со звездочкой, то там еще добавляется вот этот мод: Allow Author Wildcard Search