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

Unmaintained Automatic URL Aliases - Automatic URL conversion 1.2.3

converts the posted links to the page title

  1. ragtek

    ragtek Guest

    Brandon Sheley, Jarod, melbo and 3 others like this.
  2. ragtek

    ragtek Guest

    ragtek updated Automatic URL Aliases - Automatic URL conversion with a new update entry:

    Automatic URL Aliases - Automatic URL conversion

    Read the rest of this update entry...
     
    ArnyVee likes this.
  3. ArnyVee

    ArnyVee Well-Known Member

    Very cool. Will be using this at some point :)
     
  4. Kintaro

    Kintaro Well-Known Member

    Thank you ragtek!

    Some bugs:
    If the link is of a banned user's profiles I get "Error | website.ext"
    If the link is of a hidden forum (example moderator's forum), url is not converted.
     
  5. ragtek

    ragtek Guest

    of course it's not, because the title are grabed from an "guest session" and if a guest gets an "error ..." title, then the url converter will get it too;)
     
  6. Kintaro

    Kintaro Well-Known Member

    oh ok!

    Another thing... is there an option to hide the " | website.ext" string?
     
  7. ragtek

    ragtek Guest

  8. Kintaro

    Kintaro Well-Known Member

    Yes, I know that. But I don't want to remove/change it from the normal use.

    ...at the end in my forum there's not to much use of internal links so the title of the board can be usefull to let the user know if the link is internal or not.
    So finally I think I'm ok with that. (y)
     
  9. Gabriel Pinho

    Gabriel Pinho Member

  10. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    having a problem: if I only add the link http://www.umnotablogger.com (without any link insertion... just pasting the raw link as text)
    instead of parsing to this: "UmNotaBlogger.com - The Blog for the Bloggers tired of Blogging" I am getting this: "UmNotaBlogger.com - The Blog for the Bloggers tired of Blogging"
     
  11. x7iBiT

    x7iBiT Member

    A very easy to implement suggestion:

    Use the PHP function html_entity_decode to translate all HTML special characters:
    http://ascii.cl/htmlcodes.htm

    In BbCodeAutolink.php
    PHP:
        protected function _getPageTitle($url)
        {
            
    $pageTitle XenForo_Helper_Url::getTitle($url$url);
            if (
    utf8_check($pageTitle))
            {
                return 
    html_entity_decodestr_replace("\n"""$pageTitle), ENT_QUOTES'UTF-8' );
            }
            return 
    $url;
        }
     
  12. Gabriel Pinho

    Gabriel Pinho Member

    Thanks! Solve the caracter problem... to me too.
     
    x7iBiT likes this.
  13. Espen Espelund

    Espen Espelund Active Member

    Fantastic addon !
     
  14. MOZ

    MOZ Well-Known Member

    Excellent addon, however I have been getting an error when I have a link inside another BBCode such as SPOILER. Any solution?
     
  15. Chris D

    Chris D XenForo Developer Staff Member

    What's the error?
     
  16. MOZ

    MOZ Well-Known Member

  17. MOZ

    MOZ Well-Known Member

    ragtek, any solution?
     
  18. dono

    dono Member

    Code:
    Error
    The files associated with this add-on could not be found. Please upload them and try again.
    

    I got that error when installing...

    NB: folder library uploaded

    thanks
     
  19. Chris D

    Chris D XenForo Developer Staff Member

    That error always means the files have been uploaded to the wrong place.

    Either:

    Upload the contents of the upload folder to the root of your site

    Or:

    Find the Ragtek folder and upload that to your library folder.
     
  20. MOZ

    MOZ Well-Known Member

    Any solution for my problem?
     

Share This Page