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
#33189
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
did u mean this
[code:1]function submitForm() {
submitme=1;
formname=document.postform.fb_authorname.value;
if ((formname.lengthngth{
alert("You forgot to enter your email"«»);
submitme=0;
}
formsubject=document.postform.subject.value;
if ((formsubject.length0) {
// var message = document.postform.message.value;
// message = message.replace(/"«»);
// document.postform.message.value = message;
//change the following line to true to submit form
return true;
}else{
return false;
}
}[/code:1]

i deleted it and the same message :(
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
 
 
#33225
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
Manhag,

That's not the right section. Look for the alert "You forgot to include a message." and comment out the whole if clause that contains it. Make sure you're looking at /components/com_fireboard/sources/fb_bb.js.php . If you find nothing there, then the alert could be coming from: /administrator/components/com_fireboard/bb_adm.js . Sorry about this confusion--I made this change a long time ago and forgot what the original code was like and where it was.

Gom
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
 
 
#33261
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
gomjabbar,

i searched in all files using notepad++

i searched for "You forgot to enter a message."
result = 0

u may have an old version

i downloaded the file package from the website

i think it may be different
because it is not a pop up message
after i clicked submit it directs me to a ny page with that message "


see attached
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
 
 
#33262
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
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
 
 
#33274
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
Manhag,

Yes, you must have a newer version. Don't worry, we can sort this out. Try to look for instances where the code calls _POST_FORGOT_MESSAGE and tell me what they are. There should be one in /templates/default/post.php. It should look something like:

if (empty($fb_authorname)) {
echo _POST_FORGOT_NAME;
}
else if (empty($subject)) {
echo _POST_FORGOT_SUBJECT;
}
else if (empty($message)) {
echo _POST_FORGOT_MESSAGE;
}
else...

Try removing this call and tell me if your post gets registered. But if that's the call you get, then the problem is back in the smile.class.php--$message shouldn't be empty at this point.

Gom
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
 
 
#33294
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
gomjabbar,

no error messages now

but the post is empty......................i am waiting

thanks alot for your efforts
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
 
 
#33312
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
Manhag,

As I anticipated, the problem is elsewhere. Uncomment the code in post.php and go back to /com_fireboard/templates/default/smile.class.php

find the lines (brackets stripped):
td valign = "top" div id = "fb-rightcolpost"

textarea class = "..."

Make sure that you changed *only* the class tag so that the code reads:

textarea class = "mceEditor" name = "message" id = "postform" ...

Gom
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
 
 
#33345
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
i did that

no change

the style of tinymce appears

but when submit

empty post


can u upload your template " changed files only"
or it is private ??

i will compare files using eXamDiff application
manhag (User)
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/12/05 05:42 By manhag.
 
idont hate a fireboard moderator

karma [size=4][color=#c0c9c0][u][url=www.bestofjoomla.com/component/option,co...rease/userid,897/pid
 
 
#33632
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
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
 
 
#33681
Re:wysiwyg HTML instead of BBCode 1 Year, 1 Month ago  
Manhag,

Dreadfully sorry, been busy irl. Now, if we both have patience, we'll see this one through. I'm sending you the relevant files from my code. Place them in one directory, create another directory next to it and put your files in that one. Then, use winmerge to compare each of the four files. My code has many modifications--look only at the ones that contain "message," "$message," "POST" or "REQUEST," and in post.php, the "INSERT" into the database. We need to figure out where the chain is broken. Begin by comparing my fb_bb.js.php to yours. It seems like the problem is somewhere there. Good luck and keep me posted!

Cheers,
Gom

P. S. If we manage to get this working, I have a bonus for you . It's a cleaned up version of the iBrowser plugin that lets users upload pics from their hard drive into their post. Check it out on Gossper--the icon is right next to the smileys.
File Attachment:
File Name: WYSIWYG_from_Gossper.rar
File Size: 32060
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
 
 
Go to top