It is included as a link in the header-insert of my html includes on my forum, however this seems to stop the ubbcode buttons (on new post and reply pages) from functioning. If I remove the link to mootools it works fine, but I do want to use mootools if I can as it does some nifty stuff on my site.
Sirdude
Registered: 04/19/07
Posts: 2066
Loc: SoCal, USA
if you have firebug installed on Firefox, you'd possibly notice the actual errors?
most likely a javascript one.. there could be a conflict with one of the functions in mootools being named the same as one in ubb_js or even a shared variable name?
i use a similar js framework (prototype and scriptaculous) and there are no conflicts..
if you can possibly report what specific errors you are getting, it might be as simple as renaming somethings and changing a .tpl file.
Flaming Carrot
stranger
Registered: 10/07/05
Posts: 22
Loc: United Kingdom
Yes, it is the popups and also the inserting of code into the message textbox that is not working. However if I remove my link to the external mootools javascript from my header-insert it does work.
If you want to take a look it is at the following link...
Flaming Carrot
stranger
Registered: 10/07/05
Posts: 22
Loc: United Kingdom
Hi SirDude, sorry, seemed to be that new users were not being assgned user status, I have corrected it now. Can you log in again and you should see the reply/post buttons now.
Flaming Carrot
stranger
Registered: 10/07/05
Posts: 22
Loc: United Kingdom
Using the uncompacted mootools script did not make a difference unfortunately. However as a workaround, if I remove the following from both instances in the standard_text_editor.js ...
Code:
for (var i in menus) {
if (menus[i] != html) {
get_object(menus[i]).style.display = 'none';
}
}
Then I can get it to work satisfactorily, the drawback is that popups do not close if you click outside or if you click on another popup. But as I don't have any real need for users to post code, media, or change the font/type size/colour I have just removed those elements from the template, leaving just the smiley table and general text styling such as emboldening etc. And if I just limit to images to 1 option (non-floating element) then that popup can be removed too.
I can live with that. Thanks for your suggestions, Phil