Topic: [Extension Release] BBCodeBar

new version up and running...

http://www.punres.org/desc.php?pid=499

FluxBB - v1.4.8

Re: [Extension Release] BBCodeBar

You should use

<img src="<?php echo $base_url.'/img/smilies/'.$smiley_img[$i] ?>

instead of

<img src="<?php echo PUN_ROOT.'img/smilies/'.$smiley_img[$i] ?>

if you don't want to have problems with folder based URL Scheme

Re: [Extension Release] BBCodeBar

I am sure you are right.
Could you just explain why???

FluxBB - v1.4.8

Re: [Extension Release] BBCodeBar

When folder based URL Scheme is on all topic links are like
http://domain/topic/3/

If URLs for smiles are generated as you wrote url of image appears to be
./img/smilies/smile.png
It means that browser will try to get image from
http://domain/topic/3/./img/smilies/smile.png == http://domain/topic/3/img/smilies/smile.png

In my case image always will be searched in
http://domain/img/smilies/smile.png

Re: [Extension Release] BBCodeBar

Ah ok. So PUN_ROOT is only for server-side things

FluxBB - v1.4.8

Re: [Extension Release] BBCodeBar

The bbcodebar extension is not work in my local host while i browse it with Firefox 3 beta 5.
I am not sure what has happen. It is OK in the other host although i use it with the same browser.

Re: [Extension Release] BBCodeBar

The firebug find the error here:(firefox 3 beta 5 firebug 1.1beta)

document.forms.postmessage is undefined
insert_text("", "")viewtopic.php?id=... (line 356)
onclick(click clientX=264, clientY=449)viewtopic.php?id=... (line 1)
[Break on this error] msgfield = (document.all) ? document.all.req_message : document.forms['postmes...

8 (edited by adama136 2008-05-06 08:50)

Re: [Extension Release] BBCodeBar

Sorry, It is my mistake. My punbb is a older 1.3 beta version. hmm

Re: [Extension Release] BBCodeBar

Glad I could help tongue wink

FluxBB - v1.4.8

Re: [Extension Release] BBCodeBar

When i install it, it stays in viewtopic and post:

Notice: Use of undefined constant PUN_ROOT - assumed 'PUN_ROOT' in C:\hosted\pokenorway\forum\post.php(492) : eval()'d code on line 8

Warning: require(PUN_ROOTextensions/bbcodebar/bar.php) [function.require]: failed to open stream: No such file or directory in C:\hosted\pokenorway\forum\post.php(492) : eval()'d code on line 8

Fatal error: require() [function.require]: Failed opening required 'PUN_ROOTextensions/bbcodebar/bar.php' (include_path='.;C:\php5\pear') in C:\hosted\pokenorway\forum\post.php(492) : eval()'d code on line 8

Please fix it.

PunBB, the FluxBB of tomorrow - today!

Re: [Extension Release] BBCodeBar

Uhmmm... I will look at it.

FluxBB - v1.4.8

12

Re: [Extension Release] BBCodeBar

Is this the same as the pun_bbcode extension?

If so, the styling of the buttons needs some work, maybe use some nice icons instead?

Also, it should show up in the Quick post.

Re: [Extension Release] BBCodeBar

hcgtv wrote:

Is this the same as the pun_bbcode extension?

If yes, it is the other way around wink
Change it if you want...

FluxBB - v1.4.8

14

Re: [Extension Release] BBCodeBar

lie2815 wrote:

If yes, it is the other way around wink

Yes, I know Franz.

Sorry but this is all getting a bit confusing. Where do you go for support, at what domain, in what forum?

What do you plan on doing with PunHooks?

Re: [Extension Release] BBCodeBar

hcgtv wrote:

Sorry but this is all getting a bit confusing. Where do you go for support, at what domain, in what forum?

What for? For this extension? I think it isn't needed anymore. One can use the official one. If nothing changes, I won't be developing anything for PunBB anyways...

hcgtv wrote:

What do you plan on doing with PunHooks?

As nobody is using it (and I see know that it doesn't make that much sense...), I will delete it in a few days...

FluxBB - v1.4.8

Re: [Extension Release] BBCodeBar

lie2815 wrote:
hcgtv wrote:

Sorry but this is all getting a bit confusing. Where do you go for support, at what domain, in what forum?

What for? For this extension? I think it isn't needed anymore. One can use the official one. If nothing changes, I won't be developing anything for PunBB anyways...

You are welcome to make official extension better and we will approve (or complete if necessary) it, keeping you as one of extension authors.

lie2815 wrote:
hcgtv wrote:

What do you plan on doing with PunHooks?

As nobody is using it (and I see know that it doesn't make that much sense...), I will delete it in a few days...

Personally I like it. What do you need to keep it up?
I suppose you could build up a useful extension "Extension Info" showing extension hooks' details.
You site could be a useful tool if promoted/updated.

Carpe diem

Re: [Extension Release] BBCodeBar

Anatoly wrote:

I suppose you could build up a useful extension "Extension Info" showing extension hooks' details.

I am not quite sure what you mean with that comment. Sorry roll

You can just keep developing that extension. I don't really care...

FluxBB - v1.4.8

Re: [Extension Release] BBCodeBar

lie2815 wrote:
Anatoly wrote:

I suppose you could build up a useful extension "Extension Info" showing extension hooks' details.

I am not quite sure what you mean with that comment. Sorry roll

I'm talking about this page might be an extension.

Carpe diem

Re: [Extension Release] BBCodeBar

Why would that be needed?

FluxBB - v1.4.8

20 (edited by MattF 2008-06-25 14:07)

Re: [Extension Release] BBCodeBar

lie2815 wrote:

Why would that be needed?

I believe Anatoly is referring to the site as a whole rather than the extensions specifically, i.e: the general non-standard features you have incorporated in the site, such as that page view for a project and it's code and such. smile