PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.


Login to move these ads to the bottom of the page

#1 2006-06-22 10:49:57

ZaiT
Member
From: Poland
Registered: 2006-04-17
Posts: 43

Smilies small problem :P

Please help me because i can find wher i can change the size of emots when i write a new post its looks like that
Screen:
http://img502.imageshack.us/img502/3885/erroror4sr.jpg

And the new emots are to small :- p

Offline

 

#2 2006-06-22 10:53:09

elbekko
Moderator
From: Leuven, Belgium
Registered: 2006-01-31
Posts: 1422

Re: Smilies small problem :P

parser.php


FluxBB
dictionary.com on programming: The most fun you can have with your clothes on (although clothes are not mandatory).

Offline

 

#3 2006-06-22 12:03:41

ZaiT
Member
From: Poland
Registered: 2006-04-17
Posts: 43

Re: Smilies small problem :P

now i can't find wher is this size

Last edited by ZaiT (2006-06-22 12:03:52)

Offline

 

#4 2006-06-22 12:26:08

yemgi
New member
From: Crawley, West Sussex
Registered: 2006-05-17
Posts: 8
Website

Re: Smilies small problem :P

in parser.php, in the function do_smilies($text)

Code:

#---------[FIND (line: 361) ]---------------------------------------------
#

        $text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1<img src="img/smilies/'.$smiley_img[$i].'" width="15" height="15" alt="'.substr($smiley_img[$i], 0, strrpos($smiley_img[$i], '.')).'" />$2', $text);


#
#---------[ REMOVE ]-------------------------------------------------
#

        width="15" height="15"

Tuning Tour is powered by PunBB

Offline

 

#5 2006-06-22 14:47:47

ZaiT
Member
From: Poland
Registered: 2006-04-17
Posts: 43

Re: Smilies small problem :P

in my parser i have only this

Code:

        $text = preg_replace("#(?<=.\W|\W.|^\W)".preg_quote($smiley_text[$i], '#')."(?=.\W|\W.|\W$)#m", '$1<img src="img/smilies/'.$smiley_img[$i].'" alt="'.substr($smiley_img[$i], 0, strrpos($smiley_img[$i], '.')).'" />$2', $text);

But still i see a small smillies when i write the post i see a normal size smillies

Last edited by ZaiT (2006-06-22 14:48:54)

Offline

 

#6 2006-06-23 02:05:50

elbekko
Moderator
From: Leuven, Belgium
Registered: 2006-01-31
Posts: 1422

Re: Smilies small problem :P

Which mod is that?


FluxBB
dictionary.com on programming: The most fun you can have with your clothes on (although clothes are not mandatory).

Offline

 

#7 2006-06-23 02:19:33

ZaiT
Member
From: Poland
Registered: 2006-04-17
Posts: 43

Re: Smilies small problem :P

Easy Custom Smilies

Offline

 

#8 2006-06-23 03:10:48

StevenBullen
Moderator
Registered: 2005-09-13
Posts: 328
Website

Re: Smilies small problem :P

It looks like you have installed Easy BBCode. Which would mean you would have to change this file 'mod_easy_bbcode.php'... it will be in your htdocs directory.

Code:

echo "\t\t\t\t\t\t\t".'<a href="javascript:insert_text(\''.$smiley_text[$i].'\', \'\');"><img src="img/smilies/'.$smiley_img[$i].'" width="15" height="15" alt="'.$smiley_text[$i].'" /></a>'."\n";

Also... you might want to change another file...
help.php in your htdocs directory. Only a minor thing... but if someone clicks on BBCode. Then the big smilies will be squashed here as well.


Blog - Follow Me and FluxBB on Twitter

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.