I'm using v2.0. I've just enabled it. When I click on a button (like bold) it does nothing apart from jump up to the top of the page. Anybody know why?
I've updated the unofficial build to v0.3. Quick-tested in FF 2, Safari 2, IE 6.
Fixes: - Resolves table prefix bug mentioned above - Resolves conflict with jQuery - YouTube button now works (Some assembly required. Instructions in read-me)*
* Please note I am a client-side developer (not a server-side). I developed a client-side solution, though it could probably be done better by someone with server-side knowledge. That said, it works.
I have created a modification of the BBInsertBar extension 0.1.5 for my forum. This is what I changed.
First, because I use the DefaultFormatter extension on my forum, and I have it remove the radio buttons, I have modified the BBInsertBar to only support HTML. This is ironic because it is the BBInsertBar. I think this might make my modification less useful to some people, but if you want your forum to be HTML only, like mine, this will work quite well.
Secondly, I modified the InsertURL functionality. Now if you have selected some text, it will no longer prompt you for link text and use the selected text instead. However, if you have not selected any text when you push the link button, it will still prompt you.
Lastly, I added a video button. It allows embedding video for youtube, google, or myspace in the way that is supported by the HtmlFormatter extension. It does this with two prompts, and it is rather clumsy. However, it solves the problem of having to teach my forum users how to write the tags themselves.
My modified extension is available to download here.
I have experienced the same problem - that there are no brackets on inserted BB code. I have found that this can be remedied if the user clicks the "HTML" radio button and then clicks the "BBcode" button afterward.
Is there any reason why this happens? It seems like this should be a relatively easy fix.
I'm attempting to incorporate the BBInsertBar into the Private Messages add on, meaning that when my users go to "create a new message", they'll also see the BBInsertBar.
I thought I targeted where and how to do this... in the default.php in the BBInsertBar extension folder, I found this code:
if (in_array($Context->SelfUrl, array("post.php", "comments.php"))) {
And added "extension.php" like this:
if (in_array($Context->SelfUrl, array("post.php", "comments.php", "extension.php"))) {
Since the "create a new message" occurs on the extension.php file...why isn't this working? Is my logic correct here? Or no?
i think the two key files are in this case both PrivateMessages/message_form_new.php and PrivateMessages/message_form_reply.php . as they don't use delegates, IMHO the best approach will be to edit those files (also seems improbable for this extension to be updated after such a long time) to add somehow the editor bar.
Hmm, I'm stumped. With my very limited php skills, or lack thereof, I can not make this work. I can only generate an error message where I would like the BBInsertBar to be on the Create Private Message page, heh.
What I do find odd though is that the way I originally tried to do this, by just adding "extension.php" into the InsertBar's default.php code (above), worked for the Vanillacons add on! It used the exact same line of code, and simply plugging in a new php file added it to that just fine...?
Today I tried to switch my Vanilla forum from port 80 to port 443. After my failing play with the variable "BASE_URL" in the settings.php I got it with the following lines of code in my .htaccess:
RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
Everything went O.K., except the BBInsertBar extension... :( I used v0.1.5 and got a JS error. With v0.3 (from liquidguy) it does nothing apart from jumping up to the top of the page (like look some comments above) and appending a "#" to the URL.
Might I suggest that if this has been abandoned, that someone contact the original developer to get permission to take over maintenance? It would be nice to have this unofficial versions made official.
Comments
even with the original version, when i'm pressing a button, i get this so what is this? :/ can anybody help me?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •stash, i'm sorry. the project isn't relesed yet. so it is not open for everyone
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Fixes:
- Resolves table prefix bug mentioned above
- Resolves conflict with jQuery
- YouTube button now works (Some assembly required. Instructions in read-me)*
* Please note I am a client-side developer (not a server-side). I developed a client-side solution, though it could probably be done better by someone with server-side knowledge. That said, it works.
BBInsertBar v0.3
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •First, because I use the DefaultFormatter extension on my forum, and I have it remove the radio buttons, I have modified the BBInsertBar to only support HTML. This is ironic because it is the BBInsertBar. I think this might make my modification less useful to some people, but if you want your forum to be HTML only, like mine, this will work quite well.
Secondly, I modified the InsertURL functionality. Now if you have selected some text, it will no longer prompt you for link text and use the selected text instead. However, if you have not selected any text when you push the link button, it will still prompt you.
Lastly, I added a video button. It allows embedding video for youtube, google, or myspace in the way that is supported by the HtmlFormatter extension. It does this with two prompts, and it is rather clumsy. However, it solves the problem of having to teach my forum users how to write the tags themselves.
My modified extension is available to download here.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •what is this? :/ help!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I thought I targeted where and how to do this... in the default.php in the BBInsertBar extension folder, I found this code:
if (in_array($Context->SelfUrl, array("post.php", "comments.php"))) {And added "extension.php" like this:
if (in_array($Context->SelfUrl, array("post.php", "comments.php", "extension.php"))) {Since the "create a new message" occurs on the extension.php file...why isn't this working? Is my logic correct here? Or no?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •you may want to check also for the PostBackAction of Private Messages addon
may be also some delegate attachment could be needed,
if i have time, i'll look into it, but can't promise anything :(
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •This might help - here's the actual URL when a user clicks "Send Private Message":
/forum/extension.php?PostBackAction=PrivateMessages&View=SendMessage- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •hope it helps
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Today I tried to switch my Vanilla forum from port 80 to port 443.
After my failing play with the variable "BASE_URL" in the settings.php I got it with the following lines of code in my .htaccess:
RewriteEngine OnRewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
Everything went O.K., except the BBInsertBar extension... :(
I used v0.1.5 and got a JS error.
With v0.3 (from liquidguy) it does nothing apart from jumping up to the top of the page (like look some comments above) and appending a "#" to the URL.
Can someone help?
Thanks,
sokai
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •