Salve a tutti e buon Natale, ho scaricato la mod Quick Reply per un forum in phpbb2 ma non so proprio come installarla!
Mi potreste postare una guida in italiano? :cry:
Printable View
Salve a tutti e buon Natale, ho scaricato la mod Quick Reply per un forum in phpbb2 ma non so proprio come installarla!
Mi potreste postare una guida in italiano? :cry:
phpbb2: è un invito a nozze per i lamer sintonizzati
questo lo so, ma un risposta alla mia domanda non l'hai?
se posti cosa ti prescrive la MOD magari posso risponderti.
################################################## ###############
## Mod Title: Advanced Quick Reply Mod
## Mod Author: RustyDragon <dev@RustyDragon.com> http://www.phpbbhacks.com
## Mod Version: 1.1.1
## Mod Description: This will allow users to use quick reply form
## which is placed below every topic.
## It will only display when user has the Reply access
## User have a option to quote the last message.
## A list of 24 smilies is shown below input area.
## Users can paste names of users just by clicking on it.
## Also they can select any text on a page and quote it to the input area.
##
## Last 3 options were absent in Quick Reply Mod with Quote on which
## this mod is based.
## Additional feature - uses of template for quick reply form.
## So you can change a look of the mod to whatever you want.
##
## Installation Level: Very Easy
## Installation Time: 4 Minutes
##
## Files To Edit: 3
## viewtopic.php,
## language/lang_english/lang_main.php
## templates/subSilver/viewtopic_body.tpl
##
## Included Files: quick_reply.php, quick_reply.tpl
################################################## ###############
##
## Author Note:
## If you want to have different number of smilies displayed find a line
## $max_smilies = 30;
## in a file quick_reply.php and replace 30 with whatever you want. Setting this variable to zero
## will disable smilies row.
##
## This MOD is based on Quick Reply Mod with Quote from Smartor <smartor_xp@hotmail.com>
##
## This mod will increase the size of your topic page by approx 7kb
## and execute one additional (but simple) SQL query for every page load.
##
## The Quick-Quote Feature was an idea from Nexialys (www.bebeabord.org)
##
## You should change all your templates and language pack
##
## Advanced Quick Reply Mod is Copyright © RustyDragon, 2002
##
## Quick Reply Mod with Quote is Copyright © Smartor, 2002
## updated to support phpbb 2.0.4 by danb00
##
## (Any changes to this MOD must retain these Copyright Notices)
#
#-----[ COPY ]------------------------------------------
#
copy quick_reply.php to /
copy quick_reply.tpl to templates/subSilver
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
#
#-----[ BEFORE, ADD ]------------------------------------
#
include($phpbb_root_path . 'quick_reply.'.$phpEx);
#
#-----[ OPEN ]------------------------------------------
#
lang/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all Folks!
#
#-----[ BEFORE, ADD ]------------------------------------
#
// Advanced Quick Reply Mod
$lang['Quick_Reply'] = 'Quick Reply';
$lang['Quick_quote'] = 'Quote the last message';
$lang['QuoteSelelected'] = 'Quote selected';
$lang['QuoteSelelectedEmpty'] = 'Select a text anywhere on a page and try again';
$lang['Quick_Reply_smilies'] = 'all';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_NAME}
#
#-----[ REPLACE WITH ]------------------------------------
#
<a href="javascript:emoticon('{postrow.POSTER_NAME}, ')">{postrow.POSTER_NAME}</a>
#
#-----[ FIND ]------------------------------------------
#
<!-- END postrow -->
#
#-----[ AFTER, ADD ]------------------------------------
#
<tr align="center">
<td class="row1" colspan="2" >
{QUICKREPLY_OUTPUT}
</td>
</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#
#EoM
Devi semplicemente eseguire step by step le modifiche di codice indicate, ma quelle sono compatibili per lo stile subsilver.
Non ci vedo nulla di complesso, apri i file indicati con un editor, tipo il blocco note di Win, ed esegui pari pari le indicazioni, salvando col medesimo nome i file di specie.
dove ti dice [OPEN] apri il file indicato, dove ti dice [FIND] cerchi la stringa indicata, dove ti dice [AFTER, ADD] aggiungi dopo la stringa indicata, con [BEFORE, ADD] aggiungi prima della stringa indicata e con [REPLACE WITH] sostituisci la stringa indicata con quella che ti dice
viewtopic.php sta nella root del forum mentre viewtopic_body.tpl dove ci sono i tmeplate! :wink:
ok grazie
perfetto ci sono riuscito! grazie a tutti!!
Lo vedi che non c'era nulla di complesso?
Ricordo alla noia che quando si modificano dei file della struttura, i meno esperti ( ma anche quelli esperti: quindi tutti... nessuno escluso) dovrebbero sempre crearsi una copia dei file esistenti.
Alla peggio si ritorna al punto di partenza!
Solitamente sono quelli troppo esperti che lo dimenticano.