hi
i want to add a personal script in page displayimage.php
my script:
"<p class=\"Style1\"><strong>Pour mettre cette photo sur un forum :</strong><br>"
" <br>"
" Copier/coller ce code:"
" <br>"
" <textarea name=\"textarea\" cols=\"40\" rows=\"4\" wrap=\"VIRTUAL\">[img]http://nagaomaar.free.fr/images$fdirectory/$img_name[/img]
[url=http://www.narutocaps.tk]Cliquez-ici pour voir le site \"Naruto Caps : Tous les épisodes en capture d'écran !\" ![/url]</textarea>"
"</p>"
"<p class=\"Style1\"><strong>Pour mettre cette photo sur votre site internet :</strong><br>"
"<br>"
"Copier/coller ce code: <br>"
"<textarea name=\"textarea2\" cols=\"40\" rows=\"4\" wrap=\"VIRTUAL\"><img src="http://nagaomaar.free.fr/images$fdirectory/$img_name"><br><a href="http://www.narutocaps.tk">Cliquez-ici pour voir le site \"Naruto Caps : Tous les épisodes en capture d'écran !\" !</a></textarea>"
"</p> <br>"
"<center><font face=\"verdana\" size=\"1\"><strong>Attention : </strong>Il vous est strictement interdit d'utiliser cette photo à des fins commerciales, cette photo appartient à TV TOKYO.</font></center>"
"<br><center> [<A HREF=\"javascript:window.close()\">Fermer cette fenêtre</A>]
</center>"
"";
but i have a problem when i upload the page
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/free.fr/b/a/mydomaine/nygalerie/displayimage.php on line 305µ
please help me
what is this suppossed to do and where did you put it? The way it is, it will do nothing except outputing the same thing all the time. To get rid of the parse error, you'll have to add some echo statements.
I recommend adding your custom code to your theme instead of a coppermine core file, as this will keep you from updating with ease.
i want to put a script that make bbcode for forums:
like:
[img]bibibibibibjbjbj[img]
search the mods board, there's a hack that does what you want to accomplish.