*fg* da hast du wohl recht, trozdem möcht ich hier meine Aussage konkretisieren.
Das hier ist die Readme:
...
==INSTALL==
* Copy addon_smilies2.php to your forums directory. In [IMG] directory, create folder for smilies (example: "smilies"). Copy all desired smilies and system smdesc.php from .zip's folder "smilies" to that folder. Note: smile images are copyrighted to their authors. It is better to design and define yours.
* Edit your language pack(s) (/lang/eng.php or whatever) and paste to the end of file (translate if necessary):
/* Smilies language */
$l_disableSmilies='Disable smilies';
* Edit bb_plugins.php and copy/paste this code:
/* Smilies addon */
if(($action=='ptopic' or $action=='pthread' or $action=='editmsg' or $action=='editmsg2' or $action=='pmail') or (isset($_POST['prevForm']) and trim($_POST['postText'])!='')) include ($pathToFiles.'addon_smilies2.php');
/* --Smilies addon */
==SETUP==
1) Open addon_smilies2.php in some ASCII editor and edit this parameter:
* $dirname = 'smilies'; Determine directory name you have created for smilies.
2) Smilies definitions are kept in smdesc.php file (it obligately should exist in smilies dir). If you need to add some defs, or edit given, you may edit this file. Defs are saved in the PHP associative array format:
$smilies=array(
':)'=>'grin.gif',
':-)'=>'grin.gif',
==================etc.etc.etc.==================
':spy:'=>'spy.gif'
);
It means:
'SMILEY_DEFINITION'=>'SMILEY_FILENAME',
and no comma after the last element in array. Refer to PHP manual for more information on how to store associative arrays.
==NOTES==
* If you define smile pointing to non-existent image, image will be displayed like "browser-empty", because script doesn't check for the existing file.
* main_post_form.code file contains HTML-code that you can include in template main_post_form.html, for example (right after "Disable BB code" checkbox). For displaying list of smilies and their descriptions, use "addon_smilies2.php?p=display".
* Try to not use smiliey :/ since it will be concerned as URL fragment (http://)
...
Alles anzeigen
Ich hab soweit alles genauso gemacht wie es oben vorhanden ist, nur wird in normalen Betrachten die "Codes" nicht umgewandelt in den Smilie.
So wie ich vermute, habe ich hier ein fehler gemacht:
* Edit bb_plugins.php and copy/paste this code:
Wo muss ich den Code genau einfügen? vor dem ?> ? ich hab leider sehr wenig ahnung, deswegen solche, für euch warscheinlich "n00b" fragen.
Irgendwo anders kann ich auch keinen Fehler gemacht haben, das funktioniert ja soweit. Danke schonmal