Viewing 5 replies - 1 through 5 (of 5 total)
  • Will take that as a suggestion. And perhaps can embed in the plugin some system that provides short urls. Like tinyurl.com.

    Or perhaps provide a way to directly short the site url before displaying it. Thinking in laud perhaps set only a text on the page which links to the user site…

    Yes, it is possible.

    Open: alkivia/templates/userlist-default.php

    Find:
    echo '<a href="'. $user['user_url'] .'" target="_blank">'. substr($user['user_url'], 7) . '</a>';

    Change to:
    echo '<a href="'. $user['user_url'] .'" target="_blank">'. substr($user['user_url'], 7, 24) . '</a>';

    This will limit the number of character displayed in the table without changing the link. Sorry you had to wait so long for an answer..

    Regards,
    Carl

    Thread Starter johandemeijer

    (@johandemeijer)

    Thanks!
    How do I make a short url with three dots at the end?

    http://www.website.com/foru&#8230;

    Not sure…I would like to know this too. Anyone?

    In the provided sample from cde10, just add the dots before the closing :

    echo '<a href="'. $user['user_url'] .'">'
         . substr($user['user_url'], 7, 24) . '...</a>';
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: User Community] Long user url’s are possible’ is closed to new replies.