Welcome to all phpBB2 Refugees!This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area. |
|
Author |
Message |
vlad77 Board Member
Joined: 31 May 2015
Posts: 122
|
Posted: Wed Oct 21, 2015 5:14 am Post subject: Smiles Creator |
|
|
Title: Smiles Creator
Author: esperitox, phpbb2_plus, vlad77
Description: Mod allows you to create emoticons with any text. Using: BBCode [schild]text[/schild]
Version: 3.0.0
This version adds support for international characters.
Description: |
|
Filesize: |
6.38 KB |
Viewed: |
21895 Time(s) |
|
Description: |
|
Download |
Filename: |
smilie_creator_3.0.1.rar |
Filesize: |
236.89 KB |
Downloaded: |
1242 Time(s) |
Description: |
|
Download |
Filename: |
smilie_creator.rar |
Filesize: |
234.28 KB |
Downloaded: |
1390 Time(s) |
|
|
Back to top |
|
|
Vendethiel Board Member
Joined: 26 Oct 2014
Posts: 251
|
Posted: Wed Oct 21, 2015 6:06 am Post subject: Re: Smiles Creator |
|
|
Thanks! Is there a upgrade path from previous version? I can also just remove the old one beforehand...
_________________ Developer on EzArena, the ADR premod.
Developer on Icy Phoenix, the phpBB hybrid cms.
Developer on IntegraMOD, the full-featured premod.
Help me archive premods on github! (fixed for recent PHPs). |
|
Back to top |
|
|
vlad77 Board Member
Joined: 31 May 2015
Posts: 122
|
Posted: Wed Oct 21, 2015 9:05 am Post subject: Re: Smiles Creator |
|
|
Simply remove the old version and install a new version.
Consider that in the new version is used in bbcode $uid, so you have to open for editing existing posts and save them.
Or after update, do
Code: | open
includes/bbcode.php
find
//Begin Smilie Creator Mod Copyright esperitox 2003 [schild=] and [/schild] code..
$text = preg_replace("#\[schild:$uid=([a-z0-9]+)([a-z0-9\-\.,\?!% \*_\#:;~\\&$@\/=\+\\\\)]*)\](.*?)\[/schild:$uid\]#sie", $bbcode_tpl['schild'], $text);
//Begin Smilie Creator Mod Copyright esperitox 2003 [schild] and [/schild] code..
$text = preg_replace("#\[schild:$uid\](.*?)\[/schild:$uid\]#sie", $bbcode_tpl['schild2'], $text);
replace with
//Begin Smilie Creator Mod Copyright esperitox 2003 [schild=] and [/schild] code..
$text = preg_replace("#\[schild=([a-z0-9]+)([a-z0-9\-\.,\?!% \*_\#:;~\\&$@\/=\+\\\\)]*)\](.*?)\[/schild\]#sie", $bbcode_tpl['schild'], $text);
//Begin Smilie Creator Mod Copyright esperitox 2003 [schild] and [/schild] code..
$text = preg_replace("#\[schild\](.*?)\[/schild\]#sie", $bbcode_tpl['schild2'], $text);
find
//Begin Smilie Creator Mod Copyright esperitox 2003
$text = preg_replace("#\[schild=([a-z0-9]+)([a-z0-9\-\.,\?!% \*_\#:;~\\&$@\/=\+\\\\)]*)\](.*?)\[\/schild\]#si","[schild:$uid=\\1\\2\]\\3[/schild:$uid]", $text);
$text = preg_replace("#\[schild\](.*?)\[\/schild\]#si","[schild:$uid\]\\1[/schild:$uid]", $text);
replace with
//Begin Smilie Creator Mod Copyright esperitox 2003
$text = preg_replace("#\[schild=([a-z0-9]+)([a-z0-9\-\.,\?!% \*_\#:;~\\&$@\/=\+\\\\)]*)\](.*?)\[\/schild\]#si","[schild=\\1\\2\]\\3[/schild]", $text);
$text = preg_replace("#\[schild\](.*?)\[\/schild\]#si","[schild\]\\1[/schild]", $text); |
|
|
Back to top |
|
|
DVG Board Member
Joined: 22 Oct 2015
Posts: 3
|
Posted: Fri Nov 20, 2015 4:43 pm Post subject: Re: Smiles Creator |
|
|
Great!
use php5.5.9
fix warning text2shield.php:
find Code: | $schriftwidth = imagefontwidth($schriftdatei);
$schriftheight = imagefontheight($schriftdatei); |
replace
Code: | $schriftwidth = imagefontwidth((int)$schriftdatei);
$schriftheight = imagefontheight((int)$schriftdatei); |
Description: |
А чтобы вместо крякозябр текст на лету пре |
|
Filesize: |
1.63 KB |
Viewed: |
21765 Time(s) |
|
|
|
Back to top |
|
|
vlad77 Board Member
Joined: 31 May 2015
Posts: 122
|
Posted: Thu Jan 12, 2017 6:01 am Post subject: Re: Smiles Creator |
|
|
v 3.0.1
Several fixes, including to work correctly with newer versions of php. Thanks DVG. For the treatment of the signs '<' and '>' in the text smiley is used in available php function strip_tags().
|
|
Back to top |
|
|
|
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0687 seconds using 20 queries. (SQL 0.0108 Parse 0.0168 Other 0.0411) |
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com
|
|