Text style editor
Posted by hoowoo
Re: Text style editor March 09, 2006 03:21PM |
Registered: 19 years ago Posts: 71 |
Thank you Maurice,
i've tried to check the code but most it was written in a language (i guess from eastern europe) that i don't know.
i'm waiting and anticipating for your mod then, the BBcode editor it's an essential mod and it would be great to have it straight from the developers team.
abt the 5.1 release, it's a matter of weeks or months?
Thank you so much,
tito
i've tried to check the code but most it was written in a language (i guess from eastern europe) that i don't know.
i'm waiting and anticipating for your mod then, the BBcode editor it's an essential mod and it would be great to have it straight from the developers team.
abt the 5.1 release, it's a matter of weeks or months?
Thank you so much,
tito
Re: Text style editor March 09, 2006 03:42PM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: Text style editor May 02, 2006 11:19PM |
Registered: 18 years ago Posts: 202 |
I am very interest with this mods when will it be available?Quote
mmakaay
With NS/Mozilla, enter "javascript:" in the location or startup the javascript console from the menu. Then run your page and see if there are any javascript errors.
Despite Thomas' comment, I have planned a bbcode tool module for the editor that can be shipped with Phorum. I had one finished, but the main problem that I had with it was that the javascript library that I used was GPL licenced. This is totally incompatible with the Phorum license and we really do not want to make Phorum GPL. Therefore, I'll have to come up with some new code for this feature. I hope I have the time to finish this module before the stable release of 5.1.x. Else, I will release the module afterwards.
Thanks
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
Re: Text style editor May 03, 2006 07:44AM |
Admin Registered: 20 years ago Posts: 8,532 |
Basically when it is finished :-) At this moment, I'm doing a lot of work for my daily job, which snoops away time for Phorum development. Next week I hope to have some solid development time available to work out some of the ideas that I have.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Text style editor May 11, 2006 08:19AM |
Registered: 18 years ago Posts: 14 |
Re: Text style editor May 11, 2006 08:31AM |
Admin Registered: 20 years ago Posts: 8,532 |
You'll have to write code for that which checks whether the current user is an administrator and decide if you want to show buttons or not based on that. But why would you do this? Users can still use all BBcode tags, so you're not stopping users from using that this way.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Text style editor May 11, 2006 04:50PM |
Registered: 18 years ago Posts: 14 |
Re: Text style editor May 11, 2006 05:52PM |
Admin Registered: 20 years ago Posts: 8,532 |
Since this means you probably can code PHP, you should be able how to change the bb_texteditor.php. What you can use in the code is $GLOBALS["PHORUM"]["DATA"]["MODERATOR"] which will be set to a true value in case the current user is an administrator.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Text style editor May 11, 2006 07:50PM |
Registered: 18 years ago Posts: 14 |
Thanx, it works.
If somebody need this here it is:
In bb_texteditor.php put this
If somebody need this here it is:
In bb_texteditor.php put this
<?php if ($GLOBALS["PHORUM"]["DATA"]["MODERATOR"]==true) { ?> <input type="button" id="bbbold" class="StileSubmit" title="<?php echo $TE_lang['TE_Bhelp']?>"....... ....... <?php } else { ?> <input type="button" id="bbbold" class="StileSubmit" title="<?php echo $TE_lang['TE_Bhelp']?>"....... ....... <?php } ?>
Re: Text style editor July 03, 2006 02:27PM |
Registered: 18 years ago Posts: 18 |
Sorry, only registered users may post in this forum.