fparamaru
Forum Replies Created
-
Forum: Plugins
In reply to: The quickest way to highlight words in a post?Hi Rob,
you could select more than the actual words (select aloud and the next word, for example, they’d both be highlighted as a set of words)
For example if the child wrote “We were aloud” you could select “were aloud” as a misspelled word to highlight. Then it would only be highlighted in this context.
I know it is not exactly what you are looking for here, but maybe it is enough as a temporal solution to the problem.
About highlighting only for a specific post: I think it could be possible, but until the end of the week I am off to holidays and can’t work on it 🙁 I’ll try, if i find the time to do it! 🙂
Oh, and thanks for writing a blog entry!! 🙂
Forum: Plugins
In reply to: The quickest way to highlight words in a post?Hi, unfortunately i don’t get that error here and can’t check on your page, because authorization is required. 🙁
However, i added some additional checking now, so if you use the new version (v0.3), the message should not display anymore 🙂
And if there are any error messages or if you have some request, don’t hesitate to ask. 🙂
Forum: Plugins
In reply to: The quickest way to highlight words in a post?I uploaded a new version (v0.2, same link as above) In the new version, you are able to select words from the frontend.
To highlight a word from the frontend, you have to be logged in as an administrator. You then select a word and a little popup will be created. there you can click on “highlight word” and then the selected word will be added to the highlight list and will be highlighted (you will see the changes after page refresh)
to remove a word from the highlighted list, you still have to go to the backend though.
Forum: Plugins
In reply to: The quickest way to highlight words in a post?hi, rob
no problem 😀with the plugin, you cannot highlight words from the frontend (atm, but maybe a solution for this can be found), but you wont have to go to each post and edit it either.
the plugin hightlights all words that are put into a field in the backend 🙂
so, you have to go to the backend every once in a while and add misspelled words. but you dont have to do this for every post, because once a word is added to the word list, it will affect all posts that exist. so it is kind of automatic already. you don’t have to highlight the words in the posts by handto highlight misspelled words totally automatically, i would have to reverse the logic and create a whitelist of “correctly spelled words”. all words that are NOT in that list, would be highlighted.
but dont know if that makes much sense, as there are sooooo many words that would have to be checkedForum: Plugins
In reply to: The quickest way to highlight words in a post?Hi Rob,
I have created a very basic plugin to fit your needs 🙂If you want to take a look: WordPress Plugin to Highlight Words
Very basic at the moment, but I can extend the functionallity.
The plugin will, at the moment, look in post contents for the words and color them in the colors you have set in the backend. The Words are colored on rendering in the frontend, means that you dont need to change anything in the posts. That way if you need to make changes, they are made globally on ALL posts. 🙂
Forum: Hacks
In reply to: Removing OptionsTo hide stuff in that menu, do something like this in your plugin
(But… if there are items that are there by default, why are u not using them?):function hide_them() { ?> <script type="text/javascript"><!-- /* <![CDATA[ */ jQuery('#commentstatusdiv label[for="default_comment_status"]').hide(); /* ]]> */ --></script> <?php } add_action('admin_footer', 'hide_them');Or… Maybe the better way for you would be to create another admin page and not using the options-discussion.php 🙂
you can remove the default discussion options page from the menu and add your own, doing this:
function mydisq_remove_old() { // remove discussion page remove_submenu_page('options-general.php','options-discussion.php'); } add_action('admin_init', 'mydisq_remove_old'); function mydisq_add_new() { // add own discussion page add_options_page(__('My Discussion Options'), __('My Discussion'), 'manage_options', 'my_discussion_unique_id', 'mydisq_admin_panel'); } add_action('admin_menu', 'mydisq_add_new'); function mydisq_admin_panel() { ?> <div class="wrap"> <div id="icon-options-general" class="icon32"><br /></div> <h2><?php _e('Discussion Settings'); ?></h2> <!-- output your options panel --> </div> <?php }Forum: Plugins
In reply to: [Disqus Comment System] Disqus WP 3.2b1Disqus Version 2.65, File: disqus.php
Rather than commenting out, changing line 788 from
mc.find('a.wp-has-submenu').attr('href', 'edit-comments.php?page=disqus').end().find('.wp-submenu li:has(a[href=edit-comments.php?page=disqus])').prependTo(mc.find('.wp-submenu ul'));to
mc.find('a.wp-has-submenu').attr('href', 'edit-comments.php?page=disqus').end().find('.wp-submenu li:has(a[href="edit-comments.php?page=disqus"])').prependTo(mc.find('.wp-submenu ul'));fixes the problem 🙂