To use this website completely, it is necessary to store cookies on your computer.
 

* Statistic

  • *Total Posts: 16418
  • *Total Topics: 2549
  • *Online Today: 10
  • *Most Online: 292
(2016 November 12, 09:37:31)
  • *Users: 0
  • *Guests: 0
  • *Spiders: 2
  • *Total: 2

  • *Baidu (2)

Smf smileys in PortaMx 1.41 shoutbox

Started by sgnaffos, 2011 September 19, 10:14:19

previous topic - next topic

0 Members and 0 Guests are viewing this topic.

sgnaffos

2011 September 19, 10:14:19
Hello,
is it possible to use smf smileys in Portamx 1.41 shoutbox?

I've searched in the forum but I can't find nothing  ;)

Thanks!!

feline

#1
2011 September 19, 10:37:18
No .. that is currently not possible
Many are stubborn in relation to the path, a few in relation to the target.

sgnaffos

#2
2011 September 19, 13:04:49
Quote from: feline ,  2011 September 19, 10:37:18
No .. that is currently not possible


OK

Scooby

#3
2011 September 29, 07:55:58
sorry but i found a way to have different smileys there.

find the smileys you want to use ie: Dizzy Smileys from smf,download the zip,rar file and extract,once extracted you should have a folder called dizzy_light.
upload the dizzy_light folder to root dir /Smileys with an ftp program,ie: filezilla.

find your shoutbox.php file in /Sources/PortaMx/Class
open up shoutbox.php file with notepad/word/dream weaver or your preferred program

search for,setup the PortaMx smileys,it may be online 331 for you,if you want the same one as i,have use code below,or change to custom ones.
Code Select
$codes = array(':)', ';)', ':D', ';D', '>:(', ':(', ':o', '8)', '???', '::)', ':P', ':-[', ':-X', ':-\\\\', ':-*', ':\\\'(', '>:D', '^-^', ':))', 'O0', 'O:-)', '??(', 'C:-)');
$files = array('smiley', 'wink', 'cheesy', 'grin', 'angry', 'sad', 'shocked', 'cool', 'huh', 'rolleyes', 'tongue', 'embarrassed', 'lipsrsealed', 'undecided', 'kiss', 'cry', 'evil', 'azn', 'laugh', 'afro', 'angel', 'blank', 'police');


once them changes has been made there is two more change needed

find
Code Select
$smPath = $modSettings['smileys_url'] . '/PortaMx/';
replace
Code Select
$smPath = $modSettings['smileys_url'] . '/dizzy_light/';

find
Code Select
foreach($this->smileys as $sm)
maybe on line 379

and edit the first <div style="height:30px;">'; to <div style="height:100px;">';
maybe on line 387
this will keep the box in shape


this is how i got mine to work,hope this will help others who would like to have a change now and again.

i have made a slight adjustment to the above...

justdownload.us

#4
2011 December 20, 09:43:17
if you want to change your smiley just simply overwrite your new smiley in the folder of portamx smiley

and find
Code Select

$codes = array(':)', ';)', ':D', ';D', '>:(', ':(', ':o', '8)', '???', '::)', ':P', ':-[', ':-X', ':-\\\\', ':-*', ':\\\'(', '>:D', '^-^', ':))', 'O0', 'O:-)', '??(', 'C:-)');
$files = array('smiley', 'wink', 'cheesy', 'grin', 'angry', 'sad', 'shocked', 'cool', 'huh', 'rolleyes', 'tongue', 'embarrassed', 'lipsrsealed', 'undecided', 'kiss', 'cry', 'evil', 'azn', 'laugh', 'afro', 'angel', 'blank', 'police');


to change/rename the smiley name you want..

Check my website >> http://justdownload.us << Click this one
DOn't BeLiEve tHat yOu kNow EverYthiNg!!

kak2z

#5
2012 January 26, 09:43:06
Bad that you can not use a standard set of SMF Smileys
Женский форум про Дом 2, рецепты, каникулы в Мексике и многое другое!

feline

#6
2012 January 26, 10:34:04
We need our smiley set for compatibility between all the editors ...
Many are stubborn in relation to the path, a few in relation to the target.