Pełna wersja: Unofficial modifications
nieoficjalne modyfikacje for?w phpBB by Przemo
 
lo - fi version Unofficial modifications index

Pokazto phpbb plugin
Kliknij tutaj aby przejśc do pełnej wersji tematu

 
       Unofficial modifications Strona Główna -> Modyfikacje mniejsze
Poprzedni temat :: Następny temat  
cocjambo Wysłany: Czw 22 Mar, 2007  

Download: www.pokazto.com/pokaztomod.zip

Forum pr?bne: http://pokazto.com/phpBB_...?mode=reply&t=1



Kod##############################################################
## MOD Title: pokazto mod - 3rd party, auto-insertion Mod
## MOD Author: zden <admin@pokazto.com> http://www.pokazto.com/
## MOD Description: Allows users to upload images to pokazto. while replying or creating a topic.
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: ~1 Minutes
## Files To Edit: posting_body.tpl
## Included Files: pokaztomod.php
## 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 the syndication feature at pokazto.com.
##
## After user uploads image the thumbnail link is inserted into
## his message automatically.
##
## The iframe includes page located on yoour server. Then form
## calls the script located at pokazto.com which procceses the
## image and then call back the pokazto.com.php file on your server.
## This solution causes that against it's 3rd party hosting you can
## fully customize both pages - the page for choosing image and the
## page for viewing the image.
##
## You can translate the pages to your language... you can modify
## outlook to match your forum design.
##
## But by basic knowledge of HTML and javascript you can also
## modify the functionality. For example you can choose that
## not thumbnail link but hotlink will be inserted automatically.
##
## You can also add new checkbox such public image, resolution/filesize bar, even for example select to select the
## resolution, inputs to choose text or background color. You can even
## add the cropping or rotating checkbox but for this
## you would need much bigger iframe or maybe new window would be much better solution.
## You can study the www.pokazto.com source code to add these functions
## (that big page uses the same processing script as pokazto.com.php)...
## i am going to create larger documentation maybe also javascript to create Mod od Demand with
## thumbnail to view how it will look like but i have to know that some people
## will use this mod.
##
## Support via icq - 169 106 168
################################################################
## MOD History:
##
## 15.01.2007 - 1st version
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------
#
pokaztomod.php to pokaztomod.php
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span><br /><span class="gensmall">{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2"><span class="gen"> </span>
<table cellspacing="0" cellpadding="1" border="0">

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- begin pokaztomod - 3rd party, auto-insertion Mod -->
<iframe id="pokazto" name="pokazto" style="width:450px;height:130px;border:1px solid #000" src="pokaztomod.php" frameborder="0" scrolling="no"></iframe>
<!-- end pokaztomod - 3rd party, auto-insertion Mod -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Czajo Wysłany: Wto 28 Sie, 2007  

a mo?na doda? co? takiego do szybkiej odpowiedzi ??
je?eli tak, to powiedzcie jak
Marcin Wysłany: Wto 28 Sie, 2007  

cocjambo napisał/aa mo?na doda? co? takiego do szybkiej odpowiedzi ??
templates/Nazwa_Stylu/quick_reply.tpl
znajd?
Kod
<!-- BEGIN user_logged_in -->
<b>{L_OPTIONS}</b><br />
dodaj przed
Kod
<!-- begin pokaztomod - 3rd party, auto-insertion Mod -->
<iframe id="pokazto" name="pokazto" style="width:450px;height:130px;border:1px solid #000" src="pokaztomod.php" frameborder="0" scrolling="no"></iframe>
<!-- end pokaztomod - 3rd party, auto-insertion Mod --><br />

nie sprawdza?em ale powinno dzia?a? ;)
 
       Unofficial modifications Strona Główna -> Modyfikacje mniejsze
Strona 1 z 1
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.