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.

HTML code Problem on posts.

11 years 7 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi, I Installed jomsocial 4 but when I add more than one line to profile, Group or Event, it saves it as a one line with "\n" from the HTML code between lines. How can I fix if?


The second problem is pictures, those are not normal size on posts and modules.

Thanks

11 years 7 months ago
Licenses:

Hi Ahmad,

your Database stored new line as "\n", maybe that related with server settings. you can contact server support for more info.
or it can be any 3rd party joomla extensions.

for the fix I put this code at /chat/components/com_community/libraries/activities.php line 1539

$str = str_replace('\n', '<br />', str_replace(' \n', '<br />', $str));

and about 2nd issue it must be your template CSS issue. I cant find that stream anymore, because your site is live. I cannot make any avatar changes. could you please make some?

after that I need to build new CSS rule for it.

Regards

The following user(s) said Thank You: Ahmad
11 years 7 months ago
Licenses:

HI Ahmad,

please try this solution:
put this css

.joms-avatar img {
  width: auto;
}
at /templates/socialize/css/custom.css

Regards

11 years 7 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi Dear Albertus
Thank you for your response.
I use the code and worked. But there is 2 new problem on RTL.
As you see in the picture, the setting icon on profile page is center with a big shadow on RTL.


The other one is edit details page. there is no any text box to see our edit on RTL.
How I can fix it?

The third one is front page image. I upload an image from admin side to show as a front page image. but there is no any picture
The last question, Im going to jomsocial use the Joomla date that when users switch to RTL " Persian Language ", come up Persian calendar. How can do It?

Thank you so much.

11 years 7 months ago
Licenses:

Hi Ahmad,

about RTL code problem. please open new topic about it.

Regards

11 years 7 months ago
Licenses:
JomSocial Expired Socialize Expired

Ok, I do.
Tanks
Best

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