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.

ampersand showing as &amp on home page members log in.

10 years 9 months ago
  • alex's Avatar
    Topic Author
  • alex
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

ampersand showing as & on home page members log in.
I went through and tried all the "fixes" found on this forum and none of them worked.
on the home page after log in it shows avatar and YOUR NAME. Well the ampersand showing as &.
How can this be fixed?

Attachments:
10 years 9 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Alex,

Please you do update again your status from sharebox, and do not update the & from the hellome module..

i hope it will help.

thank you

10 years 9 months ago
  • alex's Avatar
    Topic Author
  • alex
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

sorry i did not understand. what file name do i need to edit?

10 years 9 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Alex,

Ok here is the proper fix

#1 open this file components/com_community/controllers/status.php
- find this code (line 120) and remove it :

$message		= CStringHelper::escape( $message );
- add this code :
$status	= str_replace( array("\r\n", "\n", "\r"), "", $status );
below this code (line 170):
$status	= $my->getStatus();
- remove this code :
$objResponse->addScriptCall( "joms.jQuery('title').val('" . $status . "');");

#2 open this file modules/mod_hellome/helper.php
- find this code (line 70):
$isMineScript 		= '';
and replace to :
$profileStatus      = html_entity_decode( $profileStatus );
			$profileStatus      = preg_replace( '/<br\s*\/?>/', '', $profileStatus );
Add a comment to this line
			$profileStatus      = preg_replace( '/\n/', ' ', $profileStatus );
			$profileStatus      = preg_replace( '/<a[^>]*>([^<>]*)<\/a>/', '$1', $profileStatus );
			$profileStatus      = addslashes( $profileStatus );

			$isMineScript       = '';

- find this code :
joms.jQuery('#helloMeStatusText').val('$cleanProfileStatus');
replace to :
joms.jQuery('#helloMeStatusText').val('$profileStatus');

I hope it will help

thank you

10 years 9 months ago
  • alex's Avatar
    Topic Author
  • alex
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

I tried this fix and it still does not correct this issue.

Attachments:
10 years 9 months ago
  • alex's Avatar
    Topic Author
  • alex
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

I really need to get this fixed. Can you please expedite the response?

10 years 9 months ago
  • Paul's Avatar
  • Paul
  • Visitor
  • Thank you received: 0
Licenses:

Hi Alex,

I am sorry for the delay regarding this, the fault logged for our developers was for status in the hello me module and not the username as you have reported. (the status has the same fault) I have created a new development ticket and put is as Urgent so the correct fault can be fixed and given to you.

I ma sorry for the inconvenience this is causing our support staff will reply ASAP with the new fix

10 years 8 months ago
  • Paul's Avatar
  • Paul
  • Visitor
  • Thank you received: 0
Licenses:

Hi Alex,

Sorry for the delay and mix up with the fault, the fix for & in the username is attached to this post

Please replace the file in modules/mod_hellome/tmpl/default.php Back up the file before overwriting it

This message has an attachment file.
Please log in or register to see it.

10 years 8 months ago
  • alex's Avatar
    Topic Author
  • alex
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Expired

still this "fix" does not correct my issue. ?? what is going on here ??

10 years 8 months ago
  • Paul's Avatar
  • Paul
  • Visitor
  • Thank you received: 0
Licenses:

Hi Alex,

I'm not sure what is happening. I selected new module and selected community hello me then enabled it in the sidebar. I then took this screen shot which shows Alex & Test then i added a status with & and that also shows correctly. I'm not sure if you cleared the browser cache or there is confusion regarding which site the fault is on, but from the test i just did and the screenshot i took both fixes are working.




Please let me know if there is something i am missing and i can assist you further

I have disabled the module but left it in admin so you can enable it and see it working i called it "hello me" I did not leave it enabled in case you have live traffic on this site

Attachments:
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