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.

All Jomsocial links open new tab

9 years 5 months ago
  • Mark's Avatar
    Topic Author
  • Mark
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired

Under Configuration > Site> Activity > Open link in new tab is set to NO, however links outside the domain (cor****.info) open in a new tab.

Also, when users use the return key to drop down a line when typing an update a \n is placed in the update instead of a return to the next line once the post is submitted.

In example a post of:
"Line1
Line2"

once posted shows up as
"Line1 \nLine2"

9 years 5 months ago
Licenses:

Hi Mark,

please provide me super user access level, and FTP access detail. By editing your first post at this topic. I need it for debugging purpose.
seem this issue related with server configuration. with current access level at your site info, I cant have a look at system information, because not as super user.

FYI: support domain has been changed

Regards,
Albert

The following user(s) said Thank You: Mark
9 years 5 months ago
  • Mark's Avatar
    Topic Author
  • Mark
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired

Made the change and setup an FTP user for you, thanks!

9 years 5 months ago
Licenses:

Hi Mark,

seem your server not converted "\n" as new line, please check at your DB by using phpmyadmin and have a look at table
[prefix]_community_activities there is a "\n" or not, the correct one must not containing "\n" but new line.

for fixing this issue I put new code

$str = str_replace('\n', "<br />", $str);
at /components/com_community/libraries/activities.php line 1536

about open new tab issue. I confirmed this is a bug. please wait for the fixes.

Regards,
Albert

The following user(s) said Thank You: Mark
9 years 5 months ago
  • Mark's Avatar
    Topic Author
  • Mark
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired

Thanks, any idea how long the bug fix will take? We're hoping to make the site live very soon.

9 years 5 months ago
Licenses:

Hi Mark,

estimation for bug fix, 1 - 2 weeks (can more faster). I will let you know if developer done with it.

Regards,
Albert

The following user(s) said Thank You: Mark
9 years 5 months ago
  • Mark's Avatar
    Topic Author
  • Mark
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired

Just a suggestion, a nice feature might be to include a whitelist for domains to open in the same tab/window and other domains not in the whitelist open into a new tab.

Thanks!

The following user(s) said Thank You: Albertus
9 years 5 months ago
Licenses:

Hi Mark,

here the fix:
1. edit components/com_community/helpers/string.php
2. at line 60, replace the code from

$isInternal = JURI::isInternal($url) ? \'\': \'target="_blank" \';
to
$isNewTab = CFactory::getConfig()->get(\'newtab\',false);
$isInternal = !$isNewTab ? \'\': \'target="_blank" \';

3. edit /components/com_community/templates/default/activities.profile.php line 136 from
$href = "href='".$href."' target='_blank'";
to
$isNewTab = CFactory::getConfig()->get('newtab',false);
if ($isNewTab) $href = "href='".$href."' target='_blank'";
else $href = "href='".$href."'";

Regards,
Albert

The following user(s) said Thank You: Mark
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