Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.
Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

Community



Donate

Donate for PortaMx !
Your donation is safe and helps support the issues and causes you care most about.

Stats

  • *Total Members: 4319
  • *Latest: thygrim

  • *Total Posts: 15781
  • *Total Topics: 2384
  • *Online Today: 3
  • *Most Online: 157
(27.08.09, 03:54:53)
  • *Users: 0
  • *Guests: 1
  • *Total: 1

Author Topic: Smf smileys in PortaMx 1.41 shoutbox  (Read 7013 times)

0 Members and 0 Guests are viewing this topic.

Offline sgnaffos

  • Newbie
  • *
  • Posts: 2
Smf smileys in PortaMx 1.41 shoutbox
« on: 19.09.11, 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!!

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: Smf smileys in PortaMx 1.41 shoutbox
« Reply #1 on: 19.09.11, 10:37:18 »
No .. that is currently not possible
Many are stubborn in relation to the path, a few in relation to the target.

Offline sgnaffos

  • Newbie
  • *
  • Posts: 2
Re: Smf smileys in PortaMx 1.41 shoutbox
« Reply #2 on: 19.09.11, 13:04:49 »
No .. that is currently not possible

OK

Offline Scooby

  • Newbie
  • *
  • Posts: 14
  • Gender: Male
Re: Smf smileys in PortaMx 1.41 shoutbox
« Reply #3 on: 29.09.11, 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...

Offline justdownload.us

  • Laughter is the Best Medicine...
  • Newbie
  • *
  • Posts: 28
  • Gender: Male
  • Smiling makes me Smile
    • Click and Share Files!!
Re: Smf smileys in PortaMx 1.41 shoutbox
« Reply #4 on: 20.12.11, 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!!

Offline kak2z

  • Newbie
  • *
  • Posts: 37
  • Gender: Male
  • SMF 2.0.2 + PortaMx 1.51 UTF-8
    • Дом 2
Re: Smf smileys in PortaMx 1.41 shoutbox
« Reply #5 on: 26.01.12, 09:43:06 »
Bad that you can not use a standard set of SMF Smileys
Женский форум про Дом 2, рецепты, каникулы в Мексике и многое другое!

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: Smf smileys in PortaMx 1.41 shoutbox
« Reply #6 on: 26.01.12, 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.