WordPress.org

Ready to get started?Download WordPress

Forums

Plugin "Explanatory Dictionary" - what new features do you want to see? (35 posts)

  1. Ruben Sargsyan
    Member
    Posted 4 years ago #

    Hello

    I am the developer of the WordPress plugin "Explanatory Dictionary" and I'd like to know what do you want to see in new versions of the plugin.

    Thank you

  2. adamsmark
    Member
    Posted 4 years ago #

    1. Would like to be able to edit entries.

    2. Word highlighting such as underlining.

  3. adamsmark
    Member
    Posted 4 years ago #

    Also, it would be nice if the link were optionally clickable.

  4. Ruben Sargsyan
    Member
    Posted 4 years ago #

    adamsmark,

    Thank you for suggestions. Your suggestions will be included in one of the new versions.

    But I didn't understand what is "Also, it would be nice if the link were optionally clickable.". Can you write it in details?

    Thanks

  5. adamsmark
    Member
    Posted 4 years ago #

    I'm one of those people that hates links with hovering text. If users could click on the link before the definition pop-up window appeared, that would be nice. I don't know if I'm explaining that right, but just visit MSNBC.com and place the cursor over the green-underlined text. A Bing window hovers over the text, which is annoying.

  6. diver66
    Member
    Posted 4 years ago #

    Hi,
    firt of all thanks for that great plugin, you did really good work. What I like to see also is the possibility to edit the entries.
    Is it possible to insert a picture ?

    adamsmark - if you tell your visitor how this thing works they will be happy and appreciate the plugin

    regards

    Joe

  7. Ruben Sargsyan
    Member
    Posted 4 years ago #

    diver66,

    Thank you very much.
    Where do you want to insert a picture? In the tooltips?

  8. diver66
    Member
    Posted 4 years ago #

    hi s_ruben, yes in the tooltip, that would look really cool, don't you think ?

    I just ran into a little problem, I am using qtranslate on my site, because we need 3 languages.

    the code to insert a lange is the following

    <!--:de-->german<!--:--><!--:es-->spanish<!--:--><!--:en-->english<!--:-->

    when I put this in , it shows everything, there is also another way to put in languages using quicktags [:de]german[:es]spanish[:en]englisch

    this does not work also ... can you pls make your extension compatible with qtranslate this would be the coolest ever

    regards from La Palma

    Joe

  9. diver66
    Member
    Posted 4 years ago #

    I forgot something for the other post :

    I am trying to show the definition of La Palma Diving Center in 3 languages, as a workaroung i am tryin to use something like "La Palma Diving Center EN" or "La Palma Diving Center ES", but I cannot save it because I also have "La Palma Diving Center" .... what can I do ... ?

    crying

    Joe

  10. diver66
    Member
    Posted 4 years ago #

    Too bad the programmer of this nice extension has little interest in his creation. Does anybody know of another extension, that does the same ?

  11. Ruben Sargsyan
    Member
    Posted 4 years ago #

    Dear diver66,

    I have great interest in my creations, and I am sorry that I couldn't answer you for a month.

    Please contact me from my personal website http://rubensargsyan.com/contact/ and we will discuss about the plugin. I think you understand me why I don't write my email here.

    Thank you very much

  12. anthonydpaul
    Member
    Posted 4 years ago #

    Hello Ruben,
    Firstly, thanks for a great plugin. I found a glitch that was giving me some problems on my site until I figured out it had to do with your plugin.

    When a word defined in your plugin shows up in a photo caption, the photo caption is getting dropped.

    In media.php, the function img_caption_shortcode(), $caption is being returned empty and thus, an image that should be saving as:

    <div id="attachment_1" class="wp-caption alignnone" style="width: 100px"><img class="size-large wp-image-1" title="the image description" src="http://website.com/image.png" alt="the image description" width="100" height="100" /><p class="wp-caption-text">the image description</p></div>

    Is instead being displayed (in the client-side source) as only:

    <img class="size-large wp-image-1" title="the image description" src="http://website.com/image.png" alt="the image description" width="100" height="100" />

    To work around this, I changed my preference to only create a pop-up for the first instance, and I had to make sure on any page where a word is in a caption to write the word in the opening paragraphs before any photos.

    Ideally, the plugin would allow captions with the dictionary words, but it would also be fine to simply exclude adding the dictionary to captions.

    Thanks!

  13. anthonydpaul
    Member
    Posted 4 years ago #

    Oh, and if anyone else is having this issue, be assured your data is fine.

    The captions show up normally in the admin view as well as in the database. It is only on the public side where the plugin is preventing the caption from being used...so disabling the plugin makes everything appear again.

  14. Ruben Sargsyan
    Member
    Posted 4 years ago #

    The problem with posts images captions is solved in the new 1.4 version of the plugin.

    http://rubensargsyan.com/wordpress-plugin-explanatory-dictionary-new-1-4-version/

  15. bianca
    Member
    Posted 3 years ago #

    When I include the glossary on a page, clicking on one of the alphabet letters opens a new browser window.

    How can I restrict glossary to opening link in same window?
    Or can I show entire glossary on one page with alphabet linking to anchors in page?
    Or can I remove alphabet all together and just have listing of all glossary terms?

  16. Dharmist
    Member
    Posted 3 years ago #

    Dear s_ruben,

    Thanks for the great plugin. I've literally looked through all of the possible glossary plugins and this is the only one that seems to be working just fine with Unicode (and with WordPress 3.0.1).

    And it's the perfect solution for a multilingual blog - I simply needed to create separate entries for terms and their translations, and add the alphabet to the Options page.

    My question is: if I have terms in two different languages and I need to show two different alphabets - English (in latin characters) and Armenian (in Armenian characters, so they won't be mixed up at all), can I somehow separate those alphabets on the main glossary page? Say, put a line break after the English alphabet is listed, so that Armenian alphabet starts from the new line?

    Thank you for your work, hope to see more plugins developed by you :)

  17. Dharmist
    Member
    Posted 3 years ago #

    Oh my god!

    Don't mind my question, the solution was as simple as possible :)

    For all those who also use qTranslate and had the same question, there's the answer: simply put the language shortcodes for the Alphabets at Explanatory Dictionary's options page. In my case, I have the following at the options page:

    [:en]A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [:hy]Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ Հ Ձ Ղ Ճ Մ Յ Ն Շ Ո Չ Պ Ջ Ռ Ս Վ Տ Ր Ց Ու Փ Ք Եւ Օ Ֆ

    Now I have the English alphabet listed on my main Glossary page for website's English version, and Armenian one - if users are viewing my site in Armenian.

    Once again, thank you :)

  18. Ruben Sargsyan
    Member
    Posted 3 years ago #

    bianca, I tested the plugin again and when I clicked on one of the alphabet letters it opened in the same window. And what about to show the glossary without any alphabet, I will include this option in the new version.

    Dharmist, good posts!!!

    Thank you very much.

  19. iftomkins
    Member
    Posted 3 years ago #

    Hi s_ruben!

    Great plugin. I love it. There are two things that would make it perfect for me.

    1) I'm with @bianca, an option to view all glossary entries would be amazing. This would be very useful if your glossary only has 20 words in it.

    2) Links from the Glossary Term (on the site's glossary page) to the pages/posts in which that term appears. There are probably fancy ways to do it. But an easy solution would be to use the WordPress search feature. So for the glossary term "Gross Domestic Product", it would link to http://www.website.com/?s=gross+domestic+product, which will then show all of the posts/pages where the term appears. And to make it even better, if there is only one search result, then the link could go directly to that page, and maybe even highlight the glossary term so the user can find it. (Whoa! That got intense real fast.)

    Again, great plugin, thank you so much! If you could post on this thread if you release a new version, I'd be even more appreciative. :)

    Best,
    Alan

  20. Ruben Sargsyan
    Member
    Posted 3 years ago #

    iftomkins, an option to view all glossary entries will be in the new version. What about the search link, I think who needs it, they can put the link in the page where they've put [explanatory dictionary] for showing the glossary.

  21. Steve Taylor
    Member
    Posted 3 years ago #

    Ruben, thanks for this plugin, it seems to be the best one I've found for glossary-type functionality.

    Three suggestions. Firstly, the default page for the plugin should be the Manage page, not the Options. Once the options are set, you don't really want to deal with them much - the best page to go to straight away is the one for adding new words.

    And it's problem when you edit an explanation and paste in text from a web page (and I presume Word?). I think using "contenteditable" means it's pulling in HTML behind the scenes - and this really screws up the tooltip output! Much better if it could be a plain text form field.

    Also, it'd be good to include the option for a different style of outputting all the words. I've created a template for my theme that does this. It only outputs the letters at the top that have words defined, and it outputs everything on that page instead of jumping to another page. Obviously most suited to smaller sites:

    <?php /* Template name: Glossary */ ?>
    
    <?php get_header(); ?>
    
    <?php
    // Get glossary
    global $wpdb;
    $slt_glossary = $wpdb->get_results("
    	SELECT	id, word, explanation
    	FROM		" . $wpdb->prefix . "explanatory_dictionary
    	ORDER BY	word ASC
    ");
    ?>
    
    <div id="content">
    
    	<?php if ( have_posts() ) { while ( have_posts() ) { the_post(); ?>
    
    		<h1><?php the_title(); ?></h1>
    
    	<?php } } ?>
    
    	<ul class="glossary-letters">
    		<?php
    		// Output letters
    		$slt_currentLetter = "";
    		foreach ( $slt_glossary as $slt_glossaryTerm ) {
    			$slt_firstLetter = strtoupper( substr( $slt_glossaryTerm->word, 0, 1 ) );
    			if ( $slt_firstLetter != $slt_currentLetter ) {
    				echo '<li><a href="#letter-' . $slt_firstLetter . '">' . $slt_firstLetter . '</a></li>';
    				$slt_currentLetter = $slt_firstLetter;
    			}
    		}
    		?>
    	</ul>
    
    	<dl class="glossary">
    		<?php
    		// Output terms
    		$slt_currentLetter = "";
    		foreach ( $slt_glossary as $slt_glossaryTerm ) {
    			$slt_firstLetter = strtoupper( substr( $slt_glossaryTerm->word, 0, 1 ) );
    			echo '<dt';
    			if ( $slt_firstLetter != $slt_currentLetter ) {
    				echo ' id="letter-' . $slt_firstLetter . '"';
    				$slt_currentLetter = $slt_firstLetter;
    			}
    			echo '>' . $slt_glossaryTerm->word . '</dt>';
    			echo '<dd>' . $slt_glossaryTerm->explanation . '</dd>';
    		}
    		?>
    	</dl>
    
    </div>
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
  22. iftomkins
    Member
    Posted 3 years ago #

    @Ruben - thanks, and i look forward to the next version!

    @gryus - I modified and used your code. Thanks so much.

    I also changed it a little to add hyperlinks. Now each glossary word on the glossary page is a link. When you click the link, it searches the website for all pages containing that word. It's not a direct link to the word's location, but it's a quick fix. This is the section of code, modified from your code above:

    <dl class="glossary">
    		<?php
    		// Output terms
    		$slt_currentLetter = "";
    		foreach ( $slt_glossary as $slt_glossaryTerm ) {
    			$slt_firstLetter = strtoupper( substr( $slt_glossaryTerm->word, 0, 1 ) );
    			echo '<dt';
    			if ( $slt_firstLetter != $slt_currentLetter ) {
    				echo ' id="letter-' . $slt_firstLetter . '"';
    				$slt_currentLetter = $slt_firstLetter;
    			}
    			echo '><a href="/?s=' . $slt_glossaryTerm->word . '">' . $slt_glossaryTerm->word . '</a></dt>';
    			echo '<dd>' . $slt_glossaryTerm->explanation . '</dd>';
    		}
    		?>
    	</dl>

    :) Alan

  23. Giorgos Sarigiannidis
    Member
    Posted 3 years ago #

    Fist of all, thanks for the great plugin,

    My suggestions:
    - Optional display of an icon (question-mark perhaps) next to the term, instead of highlighting it.
    - When presenting the dictionary, it would be nice to have a link "All terms" before the alphabet starts (as it already mentioned).
    - Similar to the above: you should also have an entry for the display of all entries starting with a number.
    - View highlighted terms only on article's fullstories and not in the indexes (eg. homepage etc).

  24. Ruben Sargsyan
    Member
    Posted 3 years ago #

    gyrus and gsarig, good proposals, thank you. I will definitely take into consideration your proposals while doing new versions.

  25. Giorgos Sarigiannidis
    Member
    Posted 3 years ago #

    Thanks for listening! :)

    Two more from me:

    - I've just spotted an issue that I guess it needs consideration too: If a term is called e.g. "net", then it will be highlighted on the word "magnet". This should not be the case, and it should highlight only the actual word.

    - Also, an extra field "synonyms" would be nice, displaying the tooltip on different variations of the term.

  26. viaestvita
    Member
    Posted 3 years ago #

    Ruben, hello
    I have a problem
    I use two languages on the site. Apply plug qTranslate. When working with default language all is well. But the links do not work contents with a second language.
    when you click on the link to the page again to get credit default language. glossary
    One more question - will it possible to create different vocabularies? It would be very useful for multilanguage sites

  27. Ruben Sargsyan
    Member
    Posted 3 years ago #

    gsarig, thank you again for new suggestions. But I want to inform you that if you uncheck the checkbox "Unicode", the word "net" will not be highlighted on the word "magnet".

    shaggyanton, now it is impossible to create different vocabularies, but I will try to include this feature in the one of the new versions of the plugin.

    Thank you

  28. Giorgos Sarigiannidis
    Member
    Posted 3 years ago #

    Thank you for the tip - this was very helpful!

    Would unchecking the "unicode" option affect words written in non-latin alphabet (e.g. Greek in my case)?

  29. Ruben Sargsyan
    Member
    Posted 3 years ago #

    gsarig,

    The plugin doesn't work correctly with unicode text if the checkbox "Unicode" isn't checked. But, unfortunately, if the checkbox "Unicode" is checked the plugin highlights the word "net" on the word "magnet".

  30. GoodChoiceStudio
    Member
    Posted 3 years ago #

    Hi Ruben,
    the plugin is very cool, thank you!

    I have a problem.
    I don't understand how to create a page with the glossary of a single letter and how to create an index of these pages with all letters linked to relative page.
    Is it possible?

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic