1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Related Posts 1.4

Related Posts

  1. annyW32f

    annyW32f Banned

    I'm going to try it out right now. [​IMG]
    [​IMG]
    [​IMG]
     
  2. angolanmade

    angolanmade Well-Known Member

    Does anybody have a solution to show video thumbnails in the related post area?

    Thanks

     
  3. PuckRobin

    PuckRobin New Member

  4. romancos

    romancos New Member

    Would be nice to have some customisations like the number of tags to use or number of related results.
     
    shibuya246 likes this.
  5. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

  6. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    A late reply, but a great idea from you. Yes, I will add in a setting to change the number of related posts showing. I have also released a new version of plugin that allows for customisation of the template. thanks
     
  7. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

  8. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    valMETNG likes this.
  9. robin007

    robin007 Well-Known Member

    Attached Files:

  10. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    Can you let me know

    what version of hotaru is this on?
    have you been able to update a plugin before using this?
    what does the rest of the message say at the top of the screen left covered by sidebar?
    are there are red/green messages coming up after the last one i can see on the snapshot?

    thanks
     
  11. robin007

    robin007 Well-Known Member

    Version 1.6.6. ( 500 Internal Server Error )

    also I update the follow plugin update done.
    Who voted & related post getting same error.
     

    Attached Files:

  12. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    I cant read the messages near the side bar but something from "mkdir" seems to be showing
    looks like it tried to write to the directory and didnt have permission
     
  13. robin007

    robin007 Well-Known Member

    mkdir() [<a href='function.mkdir'>function.mkdir</a>]: File exists
     
  14. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    in Libs/PluginManagement.php around line 1111 there is code as follows

    PHP:
    // Create those directories if need be:
               
    foreach ( $needed_dirs as $_dir ) {  
                       if (! 
    is_dir($dir) && ! mkdir($_dir0777))  {// Only check to see if the Dir exists upon creation failure. Less I/O this way.                           
                                    
    $h->messages['Could not create directory.' $dir] = 'red';
                                    return 
    false;
                            }
               }
    It checks first whether a directory exists before making it
    If it cant make a new directory it gives an error message which i can see in your snapshots

    Can you check whether that code is in your file?

    Also, can you try remove the space between "!" and "is_dir($dir)", same for "!" and "mkdir"

    thanks
     
  15. robin007

    robin007 Well-Known Member

    I have the same code what you put here.
    I remove the space between "!" and "is_dir($dir)", same for "!" and "mkdir".
    But I got same error.
    thanks.
     
  16. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    try putting in "!file_exists" in place of "!is_dir"
    what is your php version?
     
  17. robin007

    robin007 Well-Known Member

    I cheked php versions 5.3, 5.4 and 5.5
    but not work.

    I put this "!file_exists" in place of "!is_dir" also not work.

    I am getting same error
     
  18. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    As a test to see which folder it doesnt link try this

    There is an error here in the code

    The variable $_dir is declared but only $dir is tested. This is a mistake

    Please copy this code in around line 1111, libs/PluginManagement.php
    I have fixed and changed for version 1.7 just now

    PHP:
    // Create those directories if need be:
    foreach ( $needed_dirs as $dir ) {
            if (!
    is_dir($dir) && !mkdir($dir0777))  {// Only check to see if the Dir exists upon creation failure. Less I/O this way.                          
                        
    $h->messages['Could not create directory.' $dir] = 'red';
                         return 
    false;
            }
    }
     
  19. shibuya246

    shibuya246 Hotaru Developer Staff Member Admin

    I think this discussion is not really about the plugin itself but more about the way to update plugins from the admin dashboard. Please move the discussion to a new thread to continue it. thanks
     
  20. narc

    narc Well-Known Member

    it plugin are fine, but bad performance problems :( i have over 300.000 tags in my db. one site need 30sec to open. any ideas for caching?
     

Share This Page