 |
boardom b2 message board
|
View previous topic :: View next topic |
Author |
Message |
Alex
Joined: 20 Jun 2003 Posts: 17 Location: Canada
|
Posted: Sun Jan 11, 2004 5:12 am Post subject: I installed smilies, and... |
|
|
I put smilies in place of the old ones in my b2config.php file, and now everything is screwed up. My b2 page looks like this:
Parse error: parse error, expecting `')'' in /home/hawoo88/public_html/a/b2/b2config.php on line 221
Warning: main(/home/hawoo88/public_html/a/b2//b2template.functions.php): failed to open stream: No such file or directory in /home/hawoo88/public_html/a/b2/blog.header.php on line 11
Fatal error: main(): Failed opening required '/home/hawoo88/public_html/a/b2//b2template.functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hawoo88/public_html/a/b2/blog.header.php on line 11
I've tried EVERYTHING (I had a post similar to this at these boards a while ago, and even when I followed what I did the time before it didn't work), and nothing. Please help? Here's the smilie part of the b2config.php file:
Code: | # set this to 1 to enable smiley conversion in posts
# (note: this makes smiley conversion in ALL posts)
$use_smilies = 1;
# the directory where your smilies are (no trailing slash)
$smilies_directory = 'http://prismatical.net/a/b2/b2-img/smilies';
# here's the conversion table, you can modify it if you know what you're doing
$b2smiliestrans = array(
':)' => 'smile.gif'
':minismile:' => 'minismile.gif'
':D' => 'grin.gif'
':(' => 'sad.gif'
':o' => 'ooh.gif'
':eek:' => 'eek.gif'
':\' => 'erk.gif'
':hmm:' => 'hmm.gif'
':bashed:' => 'bashed.gif'
';)' => 'wink.gif'
':P' => 'tongue.gif'
':oops:' => 'oops.gif'
':|' => 'wide.gif'
':sarcastic:' => 'v.gif'
); |
What's wrong with it? Thanks. _________________ - Alex |
|
Back to top |
|
 |
Timi
Joined: 23 Jul 2003 Posts: 75 Location: Hungary
|
Posted: Sun Jan 11, 2004 9:17 pm Post subject: |
|
|
I'm not sure, but at the end of each line where you defined the codes for smilies, I have a comma, like:
Code: | $b2smiliestrans = array(
':)' => 'smile.gif',
':D' => 'biggrin.gif',
':(' => 'frown.gif',
':eek:' => 'eek.gif',
':eekeyes:' => 'eekeyes.gif',
':eekyaw:' => 'eekyaw.gif',
':confused:'=> 'confused.gif',
':huh:' => 'huh.gif',
':thumb:' => 'thumb.gif',
':cool:' => 'cool.gif',
':lol:' => 'lol.gif',
':mad:' => 'mad.gif',
':P' => 'tongue.gif',
':p' => 'tongue.gif',
':rolleyes:'=> 'rolleyes.gif',
':blush:' => 'blushie.gif',
':cry:' => 'cry.gif',
':devil:' => 'devil.gif',
':angel:' => 'angel.gif',
';)' => 'wink.gif',
':banghead:'=> 'banghead.gif',
':naughty:' => 'naughty.gif',
':grinlove:'=> 'grinlove.gif',
':censored:'=> 'censored.gif',
':cheer:' => 'cheer.gif',
':teach:' => 'teach.gif',
':lick:' => 'lick.gif',
':annoyed:' => 'annoyed.gif',
':nono:' => 'nono.gif',
':tape:' => 'tape.gif',
':rotfl:' => 'rotfl.gif',
':laughing:'=> 'laughing.gif',
':zzz:' => 'zzz.gif',
':jump:' => 'jump.gif',
':wave:' => 'wave.gif',
':ohmy:' => 'ohmy.gif',
':toofunny:'=> 'toofunny.gif',
); |
I'm not sure if that causes it though. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2 © 2001, 2002 phpBB Group
|