Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Re:wysiwyg HTML instead of BBCode (1 viewing) (1) Guest
Go to bottom Favoured: 17
TOPIC: Re:wysiwyg HTML instead of BBCode
#32888
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week 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:


                                  td valign = "top"  div id = "fb-rightcolpost" 
                 textarea class = "..."




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:


mode : "specific_textareas",
editor_selector : "mceEditor"



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)
Expert Boarder
Posts: 110
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
 
The administrator has disabled public write access.  
#32890
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week 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: 1012
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
The administrator has disabled public write access.  
#32893
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week 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)
Expert Boarder
Posts: 110
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#32894
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week ago  
grumblemarc wrote:
manhag wrote:

i hate fireboard's staff


You should put that in your sig.


thanks for advice
manhag (User)
Senior Boarder
Posts: 71
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
 
The administrator has disabled public write access.  
#32895
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week ago  
gomjabbar wrote:
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:


            \\
                \.."




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:


mode : "specific_textareas",
editor_selector : "mceEditor"



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


thanks for fast reply

i will try in a test forum
manhag (User)
Senior Boarder
Posts: 71
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
 
The administrator has disabled public write access.  
#32900
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week 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)
Senior Boarder
Posts: 71
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
 
The administrator has disabled public write access.  
#32934
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week 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)
Senior Boarder
Posts: 50
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#33083
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week 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)
Senior Boarder
Posts: 71
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
 
The administrator has disabled public write access.  
#33085
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week ago  
File Attachment:
File Name: modifed.zip
File Size: 18281
manhag (User)
Senior Boarder
Posts: 71
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
 
The administrator has disabled public write access.  
#33117
Re:wysiwyg HTML instead of BBCode 9 Months, 1 Week 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)
Expert Boarder
Posts: 110
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
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop