Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Links are not automatically formatted as links

7 years 11 months ago
  • daniel's Avatar
    Topic Author
  • daniel
  • Offline
  • Fresh Boarder
  • Posts: 29
  • Thank you received: 4
Licenses:
JomSocial Expired Socialize Expired

ISSUE SUMMARY:
If I add a link to the group discussion text box like:
www.medi-learn.de/pruefungsprotokolle/fa.../detailed.php?ID=159

This would be very important because if you add like 20 links you have to do all time "add link" etc....

Attachments:
7 years 11 months ago
Licenses:

Dear user,

Currently you hold JomSocial PRO license what means that we could support only ONE your domain/site.
Presently your supported domain/site is: jualda.com
And you request support for: medi-learn.de. I'm sorry but as it is different domain/site, so we can't support it at the moment.
But don't worry, you may change your supported domain/site (still you'll need to have valid reason for change).
Please post a domain change request here: www.jomsocial.com/forum/billing-issues

After your request is accepted, please, update this thread and make sure it has "Pending Support" status.

Additionally issue that you're reporting is known. Rich text editor that is currently in use doesn't convert URL into active link automatically upon save. You need to insert links using panel tool. If you think we should improve it, please, post your request here: www.jomsocial.com/uservoice


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
7 years 11 months ago
  • daniel's Avatar
    Topic Author
  • daniel
  • Offline
  • Fresh Boarder
  • Posts: 29
  • Thank you received: 4
Licenses:
JomSocial Expired Socialize Expired

Hello

I did a "quick hack" if you want a solution for all other customers need this:
Line 2277 in view.hmtl.php of group

//add auto link
$matches="";
 $content = $discussion->message;
preg_match_all('!(((f|ht)tp(s)?://)[-a-zA-Zа-яА-Я()0-9@:%_+.~#?&;//=]+)!i', $content, $matches);
            
            foreach ($matches[0] as $key=>$link) {
                if (!preg_match('!<a(.*)'.$link.'(.*)/a>!i', $content))
                {
                    $content = str_replace($link, '<a href="'.$link.'" target="_blank">'.$link.'</a>', $content);
                }
            }
$discussion->message = $content;

7 years 11 months ago
Licenses:

Hi, Daniel.

Thank you for sharing it. I'll just add (for future references) that this is a core hack... what means it will be overwritten during next JS upgrade so you need to have copy of customized file.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW