Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#51 2011-05-11 12:56:43

jejeje
Member
Registered: 2011-03-18
Posts: 288
Website

Re: [MOD] EZBBC Toolbar

thanks jojaba for your input unfortunately it didnt work putting this line

<?php require PUN_ROOT.'plugins/ezbbc/ezbbc_toolbar.php'; ?>

maybe because javascript or something is not working i will ask Visman as you suggested (yes its the first mod)

anyway thank you for this mod quite good smile

Offline

#52 2011-05-11 14:18:46

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

jejeje wrote:

i will ask Visman as you suggested

Can you please tell him to answer here? It would be easier for me to adapt EZBBC Toolbar if I know what to do for the PM Mod. wink


Localize Mozilla extensions on BabelZilla

Offline

#53 2011-05-11 14:26:57

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] EZBBC Toolbar

1 variant http://fluxbb.org/forums/viewtopic.php?pid=40983#p40983
2 variant (universal, for standard forms and all PM)

if ((isset($cur_post) && $cur_post) || (isset($cur_posting) && $cur_posting) || (isset($cur_topic) && $cur_topic && $quickpost)):

replace

if (isset($required_fields['req_message']) && PUN_ACTIVE_PAGE != 'index'):

Last edited by Visman (2011-05-11 14:29:06)

Offline

#54 2011-05-11 14:31:31

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

Thanks Visman.I will try to implement this in the next release wink


Localize Mozilla extensions on BabelZilla

Offline

#55 2011-05-11 14:41:58

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] EZBBC Toolbar

But still it is necessary to add the block

<?php require PUN_ROOT.'plugins/ezbbc/ezbbc_toolbar.php'; ?>

You need to place creation of BBCode panel in javascript (only 1 script in header.php).

Offline

#56 2011-05-11 14:47:51

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

Visman wrote:

But still it is necessary to add the block

<?php require PUN_ROOT.'plugins/ezbbc/ezbbc_toolbar.php'; ?>

You need to place creation of BBCode panel in javascript (only 1 script in header.php).

I see you mean. You want me to create the Toolbar dynamically using Javascript so that we didn't need anymore the Toolbar to be inserted as it is for now. Well as soon I have more time, I will reconsider this.
Thanks a lot. Rock on !


Localize Mozilla extensions on BabelZilla

Offline

#57 2011-05-16 06:31:43

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

Visman wrote:

1 variant http://fluxbb.org/forums/viewtopic.php?pid=40983#p40983
2 variant (universal, for standard forms and all PM)

if ((isset($cur_post) && $cur_post) || (isset($cur_posting) && $cur_posting) || (isset($cur_topic) && $cur_topic && $quickpost)):

replace

if (isset($required_fields['req_message']) && PUN_ACTIVE_PAGE != 'index'):

I didn't understand why you look if "PUN_ACTIVE_PAGE != 'index'", the PUN_ACTIVE_PAGE value on all forum pages (including eidt.php, post.php and viewforum.php) is "index". Here the test I make to find out where we are (I added also the profile page in which you can edit the signature) :

if (isset($required_fields['req_message']) || (PUN_ACTIVE_PAGE == 'profile' && $pun_config['o_signatures'] == '1')):

Just a question : are you sure the bbCode are taken in account when you send a message in private messaging ?

Last edited by jojaba (2011-05-16 07:14:19)


Localize Mozilla extensions on BabelZilla

Offline

#58 2011-05-16 07:35:47

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] EZBBC Toolbar

>I didn't understand why you look if "PUN_ACTIVE_PAGE != 'index'", the PUN_ACTIVE_PAGE value on all forum pages (including eidt.php, post.php and viewforum.php) is "index".
My error.

if (isset($required_fields['req_message']) && basename($_SERVER['PHP_SELF']) != 'misc.php'):

all textarea "req_message"                   and             no email
---

(PUN_ACTIVE_PAGE == 'profile' && $pun_config['o_signatures'] == '1')

but textarea name = "signature"
---
>are you sure the bbCode are taken in account when you send a message in private messaging ?
In my PM:
post and edit - The condition will be executed (isset($required_fields['req_message']))
topic - in new version PM I will add an element $required_fields['req_message'] in a code

Offline

#59 2011-05-16 08:59:23

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

Visman wrote:
if (isset($required_fields['req_message']) && basename($_SERVER['PHP_SELF']) != 'misc.php'):

all textarea "req_message"                   and             no email

OK for that, I did it this way :

if (isset($required_fields['req_message']) && (!isset($_GET['email']') || (!isset($_GET['report']))):
(PUN_ACTIVE_PAGE == 'profile' && $pun_config['o_signatures'] == '1')

but textarea name = "signature"

Right, but I took this in account by this line :

$textarea_name = (PUN_ACTIVE_PAGE == 'profile') ? 'signature' : 'req_message';

I put this $textatrea_name into the JS code like this :

var field  = document.getElementsByName('<?php echo $textarea_name ?>')[0]; 

wink

>are you sure the bbCode are taken in account when you send a message in private messaging ?
In my PM:
post and edit - The condition will be executed (isset($required_fields['req_message']))
topic - in new version PM I will add an element $required_fields['req_message'] in a code

So I can insert my EZBBC Tollbar as for the other pages, is that correct? (I'm not sure I understood what you wrote)

Last edited by jojaba (2011-05-16 11:26:20)


Localize Mozilla extensions on BabelZilla

Offline

#60 2011-05-16 09:25:54

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: [MOD] EZBBC Toolbar

>So I can insert my EZBBC Tollbar as for the other pages, is that correct?
Yes.

Offline

#61 2011-05-16 11:53:03

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

@translators, please translate this string :

'Smilies toogle'                =>        'Toogle the smilies Bar',

Thanks in advance ! smile


Localize Mozilla extensions on BabelZilla

Offline

#62 2011-05-17 05:42:17

cyberman
Member
From: Germany
Registered: 2010-01-11
Posts: 297
Website

Re: [MOD] EZBBC Toolbar

It seams like a typo ... think you mean toggle instead toogle wink.

German translation

'Smilies toggle'                =>        'Die Smiley-Werkzeugleiste an-/ausschalten',

Modified 8)!

Last edited by cyberman (2011-05-17 06:04:01)

Offline

#63 2011-05-17 05:50:18

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

cyberman wrote:

It seams like a typo ... think you mean toggle instead toogle wink.

Right. Thanks a lot for this fixing and translation smile
So, the right string to translate is:

'Smilies toggle'                =>        'Toggle the smilies Bar',

Localize Mozilla extensions on BabelZilla

Offline

#64 2011-05-17 09:27:45

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

I'm testing the next EZBBC Toolbar release and have some troubles.
For this release only the header.php file will be changed (the integration is made through JavaScript).
When I add the code by using a php require like this :

<?php require PUN_ROOT.'plugins/ezbbc/ezbbc_head.php'; ?>

Tidy says this:

line 7 column 1 - Avertissement: plain text isn't allowed in <head> elements
line 3 column 1 - Info: <head> previously mentioned
line 7 column 1 - Avertissement: inserting implicit <body>
line 7 column 2 - Avertissement: <link> isn't allowed in <body> elements
line 7 column 1 - Info: <body> previously mentioned
line 8 column 1 - Avertissement: <link> isn't allowed in <body> elements
line 7 column 1 - Info: <body> previously mentioned
line 10 column 1 - Avertissement: <link> isn't allowed in <body> elements
line 7 column 1 - Info: <body> previously mentioned
line 11 column 1 - Avertissement: </head> isn't allowed in <body> elements
line 7 column 1 - Info: <body> previously mentioned
line 13 column 1 - Avertissement: discarding unexpected <body>
Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN"
Info: Document content looks like XHTML 1.0 Transitional

Here the beginning of the file:

1 - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 - <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr">
3 - <head>
4 - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 - <title>Test post (Page 1) / First forum of first category / My FluxBB forum</title>
6 - <!-- EZBBC Toolbar integration -->
7 - <link rel="stylesheet" type="text/css" href="plugins/ezbbc/style/Simple/ezbbc.css" />
8 - <script type="text/javascript">
9 - /* <![CDATA[ */ 
10 - // Function to insert the tags in the textarea       
11 - function insertTag(startTag, endTag, tagType) {
12 -         var field  = document.getElementsByName('req_message')[0]; 
13 -         var scroll = field.scrollTop;
14 -         field.focus();
15 -         
16 -         
17 -         /* === Part 1: get the selection === */
18 -         if (window.ActiveXObject) { //For IE
19 -                 var textRange = document.selection.createRange();
[...]

I don't see any error on that code!!!
If I put directly the code of the ezbbc_head.php file into the header.php file there's no tidy error. Strange, strange! Can somebody help me?


Localize Mozilla extensions on BabelZilla

Offline

#65 2011-05-19 09:15:14

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

I would appreciate if somebody could test the new 1.3 release before I submit it to the FluxBB developpers...
http://code.google.com/p/jojaba-code/do … ortest.zip
Thanks in advance


Localize Mozilla extensions on BabelZilla

Offline

#66 2011-05-20 05:11:17

Jack
Member
Registered: 2010-12-24
Posts: 485
Website

Re: [MOD] EZBBC Toolbar

Sorry for the little delay. Here is the italian version:

'Smilies toggle'                =>        'Attiva/disattiva la barra delle emoticon',

J wink

Last edited by Jack (2011-05-20 05:14:39)


Sorry I don't speak English smile
FluxBB Italy

Offline

#67 2011-05-21 06:41:54

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

Jack wrote:

Sorry for the little delay. Here is the italian version:

'Smilies toggle'                =>        'Attiva/disattiva la barra delle emoticon',

J wink

Thanks Jack smile


Localize Mozilla extensions on BabelZilla

Offline

#68 2011-05-31 18:34:20

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

New release approved by FluxBB devs:
Changelog:
  • Complete reworking of the Mod to have less core files modified using Javascript code (only header.php and include/parser.php files are modified now).

  • Adding 2 new styles (Big buttons and little buttons)

  • Adding to the Toolbar a Smilies bar that can be toggled

  • Adding toolbar to signature textarea (in profile page)

  • Taking in account if BBCodes, or images tag or smilies are disabled or not in the administration by displaying or not the relevant buttons.

  • Adding toolbar to New Private Messaging System Mod (Visman) and Another Private Messaging Mod (Adaur) if installed

  • It's now possible to edit css of each buttons style directly from the Admin page

Please uninstall the previously installed mod before installing this one wink
Big thanks to Visman and quy for help and tests smile

Last edited by jojaba (2011-05-31 19:01:46)


Localize Mozilla extensions on BabelZilla

Offline

#69 2011-06-06 14:02:55

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

Hello everybody smile
I'm working on the 1.3.1 version and should have some strings to be translated.
Here they are. These strings are made to manage the style folders:

'OK'                            =>      'OK', // Button to validate the css modification
'Edit css'                      =>      'Edit CSS file',
'Rename'                        =>      'Rename',
'Remove'                        =>      'Remove',
'Copy'                          =>      'Copy',
'Remove confirm'                =>      'Do you really want to remove this folder?',

These strings complete the admin explanations:

To have it work, the <code>header.php</code>, <code>include/parser.php</code>, and <code>plugins/ezbbc/config.php</code> files must be writeable. To have the possibility to manage the style folders directly from the administration page, the <code>plugins/ezbbc/style/</code> folder and all his content must be writeable.

Thanks in advance wink

Last edited by jojaba (2011-06-06 14:07:15)


Localize Mozilla extensions on BabelZilla

Offline

#70 2011-06-07 06:52:43

Jack
Member
Registered: 2010-12-24
Posts: 485
Website

Re: [MOD] EZBBC Toolbar

Italian version

'OK'                            =>      'OK', // Pulsante per validare le modifiche CSS
'Edit css'                      =>      'Modificare il file CSS',
'Rename'                        =>      'Rinominare',
'Remove'                        =>      'Eliminare',
'Copy'                          =>      'Copiare',
'Remove confirm'                =>      'Confermi l'eliminazione di questa cartella?',
Affinch&egrave; il sistema funzioni, i file <code>header.php</code>, <code>include/parser.php</code> e <code>plugins/ezbbc/config.php</code> devono avere i permessi in scrittura. Per poter modificare la cartella degli stili direttamente dalla pagina di amministrazione, la cartella <code>plugins/ezbbc/style/</code> e tutto il suo contenuto devono avere i permessi in scrittura.

J wink

Last edited by Jack (2011-06-07 09:23:43)


Sorry I don't speak English smile
FluxBB Italy

Offline

#71 2011-06-07 07:30:00

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

Thanks Jack.
Could you please also translate the second field?

To have it work, the <code>header.php</code>, <code>include/parser.php</code>, and <code>plugins/ezbbc/config.php</code> files must be writeable. To have the possibility to manage the style folders directly from the administration page, the <code>plugins/ezbbc/style/</code> folder and all his content must be writeable.

Localize Mozilla extensions on BabelZilla

Offline

#72 2011-06-07 09:23:17

Jack
Member
Registered: 2010-12-24
Posts: 485
Website

Re: [MOD] EZBBC Toolbar

I'm always the same hehehe smile I edited the previous post!

J

Last edited by Jack (2011-06-07 09:23:58)


Sorry I don't speak English smile
FluxBB Italy

Offline

#73 2011-06-13 17:19:53

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

New 1.3.1 release approved and published:
http://fluxbb.org/resources/mods/ezbbc- … ses/1.3.1/ wink


Localize Mozilla extensions on BabelZilla

Offline

#74 2011-08-13 09:38:25

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

The last EZBBC Toolbar mod works with FluxBB 1.4.6.
If you already installed this mod version, and you have upgarded to FluxBB 1.4.6, you just have to visit the admin page and click on the install button. wink
As this is the last big update of the FluxBB 1.4 branch, I will try to submit a new version of this mod only for 1.4.6 branch including new features. So stay tuned wink

Last edited by jojaba (2011-08-13 09:40:14)


Localize Mozilla extensions on BabelZilla

Offline

#75 2011-08-26 22:11:33

jojaba
Member
From: Obersoultzbach, Elsaß, France
Registered: 2009-12-04
Posts: 473
Website

Re: [MOD] EZBBC Toolbar

Well Here I am again with good news wink
The developpement of the new EZBBC Toolbar is about to be complete. As it is a big update (many code was completely rewritten), I decide to jump to 1.4 version (the last one was the 1.3.1). I remember you that this version will only be compatible with FluxBB 1.4.6.
I would like to have the lang folder updated. For that, I give you a link for all languages already provided but that have to be updated. Also a link to the english language, if you want to provide your own language wink

The languages packages

Containing 3 files: ezbbc_plugins.php for the interface, help.php for the help file and index.html that has not to be translated. Please look carefully, I added some text into your language sometimes or some "optional" string.

Thanks in advance smile

I will try to provide a test package of the new 1.4 version this week-end if possible...


Localize Mozilla extensions on BabelZilla

Offline

Board footer

Powered by FluxBB