- Kod: Tümünü seç
##############################################################
## MOD Title: Searchable Total User Post in Viewtopic
## MOD Author: Idiotnesia < info@akuanakindonesia.com > http://www.akuanakindonesia.com
## MOD Description: This mod will make total user post in viewtopic can be searched.
## MOD Version: 0.0.1
##
## Installation Level: Easy
## Installation Time: 3 minutes
## Files To Edit: viewtopic.php
## styles/prosilver/template/viewtopic_body.html
## styles/subsilver2/template/viewtopic_body.html
##
##############################################################
## 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/
##############################################################
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------
#
'U_JABBER' => $user_cache[$poster_id]['jabber'],
#
#-----[ AFTER, ADD ]----------------
#
'U_SEARCH_POST' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$poster_id&sr=posts") : '',
#
#-----[ OPEN ]------------------------
#
styles/prosilver/template/viewtopic_body.html
#
#-----[ FIND ]------------------------
#
<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
#
#-----[ REPLACE WITH ]------------------------
#
<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> <a href="{postrow.U_SEARCH_POST}">{postrow.POSTER_POSTS}</a></dd><!-- ENDIF -->
#
#-----[ OPEN ]------------------------
#
styles/subsilver2/template/viewtopic_body.html
#
#-----[ FIND ]------------------------
#
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
#
#-----[ BEFORE, ADD ]------------------------
#
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> <a href="{postrow.U_SEARCH_POST}">{postrow.POSTER_POSTS}</a><!-- ENDIF -->
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
Go to admin Panel and Purge the cache
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
--------------------------------------------------------
Makale Hakkında
Yazar: Idiotnesia
Açıklama:Viewtopic de bulunan ileti sayısının üstüne tıklandığında üyenin yazmış olduğu tüm iletileri listeler.
Yararlanılan kaynaklar:
* "Idiotnesia" tarafından yazılan "Searchable Total User Post in Viewtopic" eklentisi