modified quote-comments (Make new Plugin?)
I recently tried the different Bb quote Plugins that exists but neither of them fit my taste in a WYSIWYG environment.
Then I remembered that the “quote-comments” plugin in WordPress works even with TinyMCE,
so I copied it over to bbpress and modified it so it would call the bbpress functions instead of wordpress.
Needed to change some calls to the post_content instead of comments too..
It works fine for me now, but the only problem is that I can’t use the quote link from another page than the form itself. So If Im in a thread with 2 pages, the first page won’t redirect me to the form of the last page.
I put the files into the my-plugins folder with a folder called quote-comments
Here is the PHP file (It gets outputed below the post) :
Here is the JS file:
Mark that the addQuote function ISNT used if you use TinyMCE and I set to use TinyMCE = true in the php file.
As im not so good at php im kind of lost here. But it would be nice to make it all work and clean it up and make a plugin out of it.
- You must be logged in to reply to this topic.