Kunena 6.3.2 released

The Kunena team has announce the arrival of Kunena 6.3.2 [K 6.3.2] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question adding a neww bbcode tag

More
14 years 11 months ago - 14 years 11 months ago #11 by xillibit
Hello,

I have something for you :) , open the file components/com_kunena/template/default/smile.class.php at line 304 add this :
Code:
<img class = "fb-bbcode" accesskey = "w" name = "addbbcode16" src="<?php echo KUNENA_LIVEUPLOADEDPATH.'/editor/'; ?>link_url.png" alt="URL" onclick = "bbfontstyle('[url=][img]','[/img][/url]');" onmouseover = "javascript:kunenaShowHelp('<?php @print(_KUNENA_EDITOR_HELPLINE_LINK);?>')" />

You can change the image link_url.png by one other

I don't provide support by PM, because this can be useful for someone else.
Last edit: 14 years 11 months ago by xillibit.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #12 by djcoby
Replied by djcoby on topic Re:adding a neww bbcode tag
Hey!

is there a way that i can add a button like the "CODE" button in the bbcode,
but i want it to add the string :

{flv}blablabla{/flv} ?

im using the newest kunena ..

Thanx !

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #13 by sozzled
Replied by sozzled on topic Re:adding a neww bbcode tag
djcoby wrote:

... I want it to add the string :

{flv}blablabla{/flv}

Congratulations. You have successfully added the string "{flv}blablabla{/flv}".

What is your question? What purpose does it serve to create a button so that, every time someone presses it, it generates the string "{flv}blablabla{/flv}" when you can just as easily type it? :S

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago - 14 years 11 months ago #14 by djcoby
Replied by djcoby on topic Re:adding a neww bbcode tag
well I tried the code you writed and i managed to add another button .

but i have a few questions :

what does the "accesskey", "name", and "alt" does ?

i didnt see any changes... Thanx for the great tip !!
Last edit: 14 years 11 months ago by djcoby.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #15 by djcoby
Replied by djcoby on topic Re:adding a neww bbcode tag
about your question :

I have installed AllVideo plugin so the users can upload videos onto
my server and publish it .

the string to publish it is {flv}myvideo{/flv}

and were talking about USERS ... not u and me ... :)

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago - 14 years 11 months ago #16 by Spock
Replied by Spock on topic Re:adding a neww bbcode tag
djcoby , This will definitely require a hack of the standard video bbcode - i'd suggest adding a new video provider call it "Your Site" to the video bbcode

Try this:
1. Edit /components/com_kunena/lib/kunena.parser.php and insert the embed properties. looks like this for flashvars
Code:
'flashvars' => array ('flash', 480, 360, 0, 0, $between, '', array(array(6, 'flashvars', $vid["param"])))
2. Then edit /components/com_kunena/template/default/smile.class.php
and add "Your Site" to the video providers
Trial and error to see if it works
Last edit: 14 years 11 months ago by Spock.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #17 by ente1
Replied by ente1 on topic Re:adding a neww bbcode tag
xillibit wrote:

Hello,

I have something for you :) , open the file components/com_kunena/template/default/smile.class.php at line 304 add this :

Code:
<img class = "fb-bbcode" accesskey = "w" name = "addbbcode16" src="<?php echo KUNENA_LIVEUPLOADEDPATH.'/editor/'; ?>link_url.png" alt="URL" onclick = "bbfontstyle('[url=][img]','[/img][/url]');" onmouseover = "javascript:kunenaShowHelp('<?php @print(_KUNENA_EDITOR_HELPLINE_LINK);?>')" />

You can change the image link_url.png by one other




if i use this
Code:
<img class = "fb-bbcode" accesskey = "w" name = "addbbcode16" src="<? php echo KUNENA_LIVEUPLOADEDPATH.'/editor/'; ? >http://plattenspiel.de/images/dl_button.png" alt="URL" onclick = "bbfontstyle('[url=][img]','[/img] [/url]');" onmouseover = "javascript:kunenaShowHelp('<? php @print(_KUNENA_EDITOR_HELPLINE_LINK);?>')" />

then comes this white page

Parse error: syntax error, unexpected T_ECHO in /home/www/web426/html/j15/components/com_kunena/template/default/smile.class.php on line 304

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #18 by xillibit
Try this :
Code:
<img class = "fb-bbcode" accesskey = "w" name = "addbbcode16" src="<?php echo KUNENA_JLIVEURL.'images/dl_button.png/'; ? >" alt="URL" onclick = "bbfontstyle('[url=][img]','[/img] [/url]');" onmouseover = "javascript:kunenaShowHelp('<? php @print(_KUNENA_EDITOR_HELPLINE_LINK);?>')" />

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #19 by ente1
Replied by ente1 on topic Re:adding a neww bbcode tag
xillibit wrote:

Try this :

Code:
<img class = "fb-bbcode" accesskey = "w" name = "addbbcode16" src="<?php echo KUNENA_JLIVEURL.'images/dl_button.png/'; ? >" alt="URL" onclick = "bbfontstyle('[url=][img]','[/img] [/url]');" onmouseover = "javascript:kunenaShowHelp('<? php @print(_KUNENA_EDITOR_HELPLINE_LINK);?>')" />



then i become a blank page

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #20 by xillibit
because there is a parse error, now it works :

Attachment smile-20090622.zip not found


I don't provide support by PM, because this can be useful for someone else.
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.533 seconds