Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
wysiwyg HTML instead of BBCode (1 viewing) (1) Guest
TOPIC: wysiwyg HTML instead of BBCode
#32888
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
Manhag,

The next step in the tinymce integration into FB makes tinyMCE editor appear in the Fireboard "post" screen.

1. open /com_fireboard/templates/default/smile.class.php

2. find the lines (brackets stripped):

[code:1]
td valign = "top" div id = "fb-rightcolpost"
textarea class = "..."

[/code:1]

and replace the text inside the " " with "mceEditor"

3. You might want to comment out the sections in smile.class.php that load up the Boardcode table row, and the emoticons, since tinyMCE has its own (worse-looking if you ask me).

What you just did was link the post textarea to the tinyMCE init you put into your index.php:
[code:1]
mode : "specific_textareas",
editor_selector : "mceEditor"
[/code:1]

You can create multiple tinyMCE layouts using different selectors. I can show you how to do that if you want a 'simple' tinyMCE to load in quickreply, for instance.

Now you should have tinyMCE running as a front but bbcode is still behind and you're likely to encounter all kinds of formatting issues so you may just have to do those changes and send me a link so we can troubleshoot your specific problems.

Good luck,
Gom
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/12/02 01:12 By gomjabbar.
 
Gossper - One Forum to Rule Them All
 
 
#32890
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
The solution would be simple:

Sombody write a simple WYSIWYG edit for BB-code. Less security risks and easy for endusers. A user does not care what the underlying encoding is.
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#32893
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
fxstein:

I'm not sure what the FB team is working on right now, but it would be nice if that is what they're going for. It's a lot of javascript to write though and if you think that's simple and you're a coder, I urge you to do it for all our sakes.

The issue with BB-code in fireboard is not only the unpretty front end, though. The way messages are coded and decoded is really chaotic and scattered across too many files. And, as this forum itself would testify, it behaves just as erratically as it looks in the code.
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Gossper - One Forum to Rule Them All
 
 
#32894
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
grumblemarc wrote:
manhag wrote:

i hate fireboard's staff


You should put that in your sig.


thanks for advice
manhag (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
idont hate a fireboard moderator

karma [size=4][color=#c0c9c0][u][url=www.bestofjoomla.com/component/option,co...rease/userid,897/pid
 
 
#32895
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
gomjabbar wrote:
[quote]Manhag,

The next step in the tinymce integration into FB makes tinyMCE editor appear in the Fireboard "post" screen.

1. open /com_fireboard/templates/default/smile.class.php

2. find the lines:

[code:1]
\
.."

[/code:1]

and replace the text inside the " " with "mceEditor"

3. You might want to comment out the sections in smile.class.php that load up the Boardcode table row, and the emoticons, since tinyMCE has its own (worse-looking if you ask me).

What you just did was link the post textarea to the tinyMCE init you put into your index.php:
[code:1]
mode : "specific_textareas",
editor_selector : "mceEditor"
[/code:1]

You can create multiple tinyMCE layouts using different selectors. I can show you how to do that if you want a 'simple' tinyMCE to load in quickreply, for instance.

Now you should have tinyMCE running as a front but bbcode is still behind and you're likely to encounter all kinds of formatting issues so you may just have to do those changes and send me a link so we can troubleshoot your specific problems.

Good luck,
Gom[/quote]

thanks for fast reply

i will try in a test forum
manhag (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
idont hate a fireboard moderator

karma [size=4][color=#c0c9c0][u][url=www.bestofjoomla.com/component/option,co...rease/userid,897/pid
 
 
#32900
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
i found a lite Pseudo WYSIWYG BBcode Editor

attached
File Attachment:
File Name: pseudo_wysiwyg_bbcode_editor_1.zip
File Size: 32035


it is tooo simple more than tinymce

plz read the file code called pseudo.bbcode*******.mod
manhag (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
idont hate a fireboard moderator

karma [size=4][color=#c0c9c0][u][url=www.bestofjoomla.com/component/option,co...rease/userid,897/pid
 
 
#32934
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
I have no Idea whats happening, thought BOJ was doing some thing on Wysiwyg last night but it seems more like candystuff for their own site than anything "useful" for installing/upgrading but hey, they need to play around as well.

I would like a step by step walkthrough how to make Fireboard Wysiwyg -friendly. i´d like the user to be able to chose what they like best (I know most of our user would chose Wysiwyg for sure).

Right now, clock is 04:56 AM here in sweden, i am to tired to think really clear so, excuse alla my typos!
Thobbe (User)
Junior Boarder
Posts: 50
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#33083
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
i done all step

it gives
"You forgot to include a message. Click your browser’s back button to go back and try again"


see attached
manhag (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/12/03 09:29 By manhag.
 
idont hate a fireboard moderator

karma [size=4][color=#c0c9c0][u][url=www.bestofjoomla.com/component/option,co...rease/userid,897/pid
 
 
#33085
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
File Attachment:
File Name: modifed.zip
File Size: 18281
manhag (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
idont hate a fireboard moderator

karma [size=4][color=#c0c9c0][u][url=www.bestofjoomla.com/component/option,co...rease/userid,897/pid
 
 
#33117
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
This error comes from the javascript code that handles errors.

Next step:

open /com_fireboard/sources/fb_bb.js.php

find:

formmessage=document.postform.message.value;
if ((formmessage.length||1)) {
alert("You forgot to enter a message.";
submitme=0;
}


Comment this section out. Now, if a user forgets to enter a message, the error will be returned after they navigate away from the page--inconvenient but not unbearable.

There's a way to modify the js code to give errors for the tinyMCE message area, but I haven't figured it out yet. Will post when I do. Anyway, that's not essential for now.
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/12/03 14:31 By gomjabbar.
 
Gossper - One Forum to Rule Them All
 
 
Go to top