Yes the syntax of tag with [/mp3] is incorrect here but the tag would have being posted despite everything I wanted to say. Because I don't think that it have a checking of the existance there tags to insertion (just a simple javascript code for insertion in an area) and your first code but with the B (bold) tag (but very identical) works so this is strange...

You wanted to surely say that there is no problem for insertion but bad insertion ([mp3][/mp3] instead of good tag [mp3 url=]).

So, thus inevitably works with [mp3 url=] instead of [mp3][/mp3]... wink

fantasma wrote:

If i want add in My Easy BBcode the tag of this what i do??


I do it but not work:

<input type="button" value="Mp3" name="Mp3" onclick="insert_text('[mp3]','[/mp3]')" />

I know Easy BBCode little but it's strange that? hmm
The button appears but the tag is not insered ?

##
##
##          Mod title :  Flash MP3 Player
##
##        Mod version :  1.0.3
##     Works on PunBB :  tested on the 1.2.12 version (the support is only assured for this version (and greater) of PunBB)
##       Release date :  2006-09-13
##
##             Author :  Nicolas D. a.k.a. nicolas2k10 (nicolas2k10 at gmail.com)
##
##        Description :  This mod add the BBCode mp3 tag.
##                       This tag makes possible the insertion of a flash mp3 player in the posts.
##                       The MP3 files provided in parameter can be local or distant (http).
##                       Integration in PunToolBar 1.3 (thanks very much to "LePoivronFarceur") !
##
##              Usage :  One file : [mp3 url="path/file.mp3"]
##                       Many files : [mp3 url="path/file num 1.mp3|path/file num 2.mp3"]
##
##     Affected files :  include/parser.php
##                       post.php
##
##         Affects DB :  No
##
##              Notes :  This mod is based on a contribution of "Ju"
##                       (http://punbb.org/forums/viewtopic.php?id=7398) and use
##                       the DewPlayer (http://www.alsacreations.fr/?dewplayer).
##                       The flash code which is produced is valid Xhtml 1.0 Strict.
##
##
##         DISCLAIMER :  Please note that "mods" are not officially supported by
##                       PunBB. Installation of this modification is done at your
##                       own risk. Backup your forum database and any and all
##                       applicable files before proceeding.
##

Diff between 1.0.2 and 1.0.3
You could now put whitespaces in filenames [without replace by %20] (and also beset with " or ' the filename (optional)).

Download here

4

(3 replies, posted in PunBB 1.2 discussion)

Thanks for your response. smile
It will thus be necessary that you locate all the crucial points where to thus place the hooks apparently. wink

5

(3 replies, posted in PunBB 1.2 discussion)

Hello everybody, smile

I speak french so excuse my bad english in advance. ^^

What is the range of the function eval in the new extension system of PunBB 1.3?
For example, the BBCode parser can it be modified via an extension (because many mods modifies this last)?

Thanks in advance. smile
Continue like that, it's a goooood work ! big_smile
I liiiiiike especially the new extension system ! wink

Very good work ! wink

##
##
##          Mod title :  BBCode noparse
##
##        Mod version :  1.0.0
##     Works on PunBB :  mod tested on the 1.2.12 version
##       Release date :  2006-06-25
##
##             Author :  Nicolas D. a.k.a. nicolas2k10 (nicolas2k10 at gmail.com)
##
##        Description :  This mod add the BBCode noparse tag (and the short version : np).
##                       This tag makes it possible to avoid the parsing BBCode for part of a message.
##                       Example : [noparse][b][i]message[/i][/b][/noparse]
##                       Will show this (without parsing) : [b][i]message[/i][/b]
##
##     Affected files :  include/parser.php
##
##         Affects DB :  No
##
##              Notes :  Method used : for all the contents located in the noparse tag (and np tag), 
##                       we replace the "[" and "]" character by character strings specific. This is
##                       allow to pass in full discretion the zone of parsing BBCode and then, before
##                       sending the text, we rebuild the original message by making the opposite replacement.
##
##
##         DISCLAIMER :  Please note that "mods" are not officially supported by
##                       PunBB. Installation of this modification is done at your
##                       own risk. Backup your forum database and any and all
##                       applicable files before proceeding.
##

Download

Version 1.0.2 is now available, please now go at this address : http://punbb.org/forums/viewtopic.php?id=12047 wink

New version of "Flash MP3 Player" (1.0.2) available here : http://punbb.org/forums/viewtopic.php?id=12047 wink

1.0.3 available here.
Please now use this link for your questions.

It works on my PunBB 1.2.12 (french version). hmm
What version of PunBB you use ?
A french visitor (on punbb.fr) even its integration in PunToolBar proposed !

I'm sorry, I don't see your problem and I don't understand English well. hmm

(For info purpose, it only works in messages, not signature and this mod was only tested (successfully) on PunBB 1.2.12).

trongha, please don't post on ALL forums and topics (in relation) please !
I answered on punres.org !
The images increase the loading of the pages. Please post only the link to image.

Moreover, this topic is not my topic. I just post a link in relation because I built a mod in relation of this topic.
Thanks you. wink

I answered on punres.org wink

(But the reason is not "Flash MP3 Player" because the error appears also with the swf plugin [not by me] (for all animations)).

And it perfectly works for others hmm

Hello everybody,

for those which want, I have write a MOD (Flash MP3 Player (1.0.1)) available here : http://punbb.org/forums/viewtopic.php?id=12026 wink

EDIT : Version 1.0.2 is now available, please now go at this address : http://punbb.org/forums/viewtopic.php?id=12047

Thanks you. wink