View previous topic :: View next topic |
Author |
Message |
jackiec
Joined: 27 Jan 2004 Posts: 12 Location: Pennsylvania
|
Posted: Tue Jan 27, 2004 10:34 pm Post subject: hack for personal smilies? |
|
|
Is there a hack so that you can use smilies that you made and uploaded in comments/posts? I don't like the b2 smilies too much.. _________________ -Jackie- |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1007 Location: Washington
|
Posted: Wed Jan 28, 2004 2:34 am Post subject: |
|
|
You can basically replace all the smilies in "b2-img/smilies" sudirectory with yours. Just be sure to update the smilie array in the configuration file. _________________ Michael P. |
|
Back to top |
|
 |
jackiec
Joined: 27 Jan 2004 Posts: 12 Location: Pennsylvania
|
Posted: Wed Jan 28, 2004 3:06 am Post subject: |
|
|
Cyberian75 wrote: | You can basically replace all the smilies in "b2-img/smilies" sudirectory with yours. Just be sure to update the smilie array in the configuration file. |
oh, so if I make my own smilies, and save them the exact same way they're saved in my ftp, and upload them, it will show mine? or will i still have to update the smilie array in the configuration? (because i don't know how to do that) _________________ -Jackie- |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1007 Location: Washington
|
Posted: Wed Jan 28, 2004 3:16 am Post subject: |
|
|
They have to be exactly the same in that case. Remember they're case-sensitive. _________________ Michael P. |
|
Back to top |
|
 |
jackiec
Joined: 27 Jan 2004 Posts: 12 Location: Pennsylvania
|
Posted: Wed Jan 28, 2004 3:17 am Post subject: |
|
|
Cyberian75 wrote: | They have to be exactly the same in that case. Remember they're case-sensitive. |
okay, thank you  _________________ -Jackie- |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1007 Location: Washington
|
Posted: Wed Jan 28, 2004 3:19 am Post subject: |
|
|
Here's a modified version of smilie array in b2config.php file...
Code: |
# here's the conversion table, you can modify it if you know what you're doing
$b2smiliestrans = array(
':grin:' => 'icon_biggrin.gif',
':D' => 'icon_biggrin.gif',
':-D' => 'icon_biggrin.gif',
':smile:' => 'icon_smile.gif',
':)' => 'icon_smile.gif',
':-)' => 'icon_smile.gif',
':sad:' => 'icon_sad.gif',
':(' => 'icon_sad.gif',
':-(' => 'icon_sad.gif',
':o' => 'icon_surprised.gif',
':shock:' => 'icon_eek.gif',
':eek:' => 'icon_eek.gif',
':confused:' => 'icon_confused.gif',
':?' => 'icon_confused.gif',
':cool:' => 'icon_cool.gif',
':lol:' => 'icon_lol.gif',
':mad:' => 'icon_mad.gif',
':x' => 'icon_mad.gif',
':razz:' => 'icon_razz.gif',
':P' => 'icon_razz.gif',
':blush:' => 'icon_redface.gif',
':cry:' => 'icon_cry.gif',
':evil:' => 'icon_evil.gif',
':worried:' => 'icon_worried.gif',
':roll:' => 'icon_rolleyes.gif',
':wink:' => 'icon_wink.gif',
';)' => 'icon_wink.gif',
';-)' => 'icon_wink.gif',
':lipsseal:' => 'icon_lipssealed.gif',
':dizzy:' => 'icon_dizzy.gif',
':kiss:' => 'icon_kiss.gif',
':disappointed:' => 'icon_disappointed.gif',
':neutral:' => 'icon_neutral.gif',
':|' => 'icon_neutral.gif',
':brood:' => 'icon_brood.gif',
':heart:' => 'icon_heartbeat.gif',
':drool:' => 'icon_drool.gif',
':wth:' => 'icon_wth.gif',
'o_O' => 'icon_wth.gif'
);
|
_________________ Michael P. |
|
Back to top |
|
 |
jackiec
Joined: 27 Jan 2004 Posts: 12 Location: Pennsylvania
|
Posted: Wed Jan 28, 2004 3:24 am Post subject: |
|
|
thanks, i'll save it! _________________ -Jackie- |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1007 Location: Washington
|
Posted: Wed Jan 28, 2004 3:30 am Post subject: |
|
|
You already have the unmodified version in your configuration file... _________________ Michael P. |
|
Back to top |
|
 |
jackiec
Joined: 27 Jan 2004 Posts: 12 Location: Pennsylvania
|
Posted: Wed Jan 28, 2004 3:32 am Post subject: |
|
|
yeah..and then don't I want to add this one and change the files so that it's customized to what I want? _________________ -Jackie- |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1007 Location: Washington
|
Posted: Wed Jan 28, 2004 3:34 am Post subject: |
|
|
You can modidify the unmodified version of it in your b2config.php file. _________________ Michael P. |
|
Back to top |
|
 |
jackiec
Joined: 27 Jan 2004 Posts: 12 Location: Pennsylvania
|
Posted: Wed Jan 28, 2004 3:38 am Post subject: |
|
|
okay _________________ -Jackie- |
|
Back to top |
|
 |
jackiec
Joined: 27 Jan 2004 Posts: 12 Location: Pennsylvania
|
Posted: Wed Jan 28, 2004 2:10 pm Post subject: |
|
|
Cyberian75 wrote: | You can modidify the unmodified version of it in your b2config.php file. |
ugh...okay I made smilies, put them in (click here) but why don't they actually work when people use them? _________________ -Jackie- |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 1007 Location: Washington
|
Posted: Wed Jan 28, 2004 11:50 pm Post subject: |
|
|
You seem to be having other problems... _________________ Michael P. |
|
Back to top |
|
 |
jackiec
Joined: 27 Jan 2004 Posts: 12 Location: Pennsylvania
|
Posted: Thu Jan 29, 2004 2:25 am Post subject: |
|
|
poo. i'm tired of b2 and greymatter. they dislike me very much. _________________ -Jackie- |
|
Back to top |
|
 |
|