NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

Post a reply

Write your message and submit
Options
Humanity test

What is six + one?

Go back

Topic review (newest first)

acwitness
08-17-2007 10:23:18

ahhh... now I get it  tongue

Waccoon
08-17-2007 02:33:41

Nope.  The smilies in the "hacks.php" file replace the ones in "niftytoo.php".  This is done so if the NiftyToo script is updated in a future version of the board, your custom smilies won't be lost.

A smiley editor would make more sense, of course.  wink

acwitness
08-16-2007 06:39:47

Thanks Waccoon - the new ones are working now. But the original ones were working before I changed the 0 to 1. Is that something weird?

Waccoon
08-16-2007 03:50:38

For performance reasons, the smilies in hacks.php are ignored unless you change the value of USE_SMILE_HACK.

Please note that the line define ('USE_SMILE_HACK', 0); must be set to 1.  No other number will work, so it must look like this:

Code:

define ('USE_SMILE_HACK', 1);
acwitness
08-15-2007 08:07:04

I'm trying to add some new smilies but not having any luck. I edited the hacks.php file like this:

                        ':crazy:'    => 'crazy.gif',
            ':what:'     => 'what.gif',
            ':gamer:'    => 'gamer.gif',
            ':kitty:'    => 'kitty.gif',
                        ':angel:'    => 'angel.gif',
            ':barf:'     => 'barf.gif' // No comma on last entry

(I added the kitty and angel)
Uploaded hacks.php into the resource folder, and uploaded the two images into the smilies folder. But when I type :kitty: or :angel:, the smilies don't work. Am I missing something?

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB