By Vincenzo on Monday, 03 August 2015
Posted in Technical Issues
Replies 12
Likes 0
Views 700
Votes 0
Hi
i would that the accept answer remains in the starting position and not begins the first answer that appear under the question, because often the user have to give more answer.
Moreover, my user always wrote in the field of ID facebook, or ID twitter: http://www.facebook.con/example, but should write only /example. So doesn t work.
How i can modify? I would that my user will write http://www.facebook.con/example, or http://www.twitter/example and it work.

Thank
have a good day
Vincenzo
Hey Vincenzo,

Hm, not really sure if I understand you here but do you mean you want to re-organize the way the answers appear? You could actually customize this by modifying the theme file /components/com_easydiscuss/simplistic/post.php

As for the social links, what you can do is to modify the file /components/com_easydiscuss/views/profile/view.html.php and at line 63 locate the codes below,


$name = $params->get( $site );
$url = 'www.' . $site . '.com/' . $name;
$params->set( $site , DiscussUrlHelper::clean( $url ) );


Replace it with,


$url = $params->get( $site );
$params->set( $site , DiscussUrlHelper::clean( $url ) );
·
Monday, 03 August 2015 22:06
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Mark
about social now work it, thanks
About the order. I saw that when one answer is accepted, up to the first place, I don t want it. I want that remain in the same place.
sorry for my english Mark..
·
Tuesday, 04 August 2015 16:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Vincenzo,

Please replace the attached file in: ../components/com_easydiscuss/models/posts.php and see how it goes.
·
Tuesday, 04 August 2015 16:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, ok i want also that.I forgot to ask you

But, maybe i didnt explan well the problem.
in the discussion, not in the list of the discussions.

In a single discussion, i don t want that the reply that is marked like accept (best answer) come at the top of other answers.
If you don t understand i can try to explain in the other way
attach one file
·
Monday, 10 August 2015 20:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Vincenzo,

I am really sorry for the delay of this reply.

Ah I see. Unfortunately there is no possible way to alter this behavior in easydiscuss currently .
·
Tuesday, 11 August 2015 15:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Ezrul, It is really important for my site, otherwise, users do not understand.
Maybe changing the script
·
Monday, 24 August 2015 22:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vincenzo,

I am really sorry for the delay of this reply.

You can download both attachment below and place it according to the file path below and then rename both file to posts.php and see how it goes.
1) /components/com_easydiscuss/models/posts.php-1
2) /components/com_easydiscuss/themes/simplistic/post.php-2

Please note that this is a custom modification and it will not be included in the next update of easydiscuss.
·
Tuesday, 25 August 2015 18:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vincenzo,

I am really sorry for the delay of this reply.

You can download both attachment below and place it according to the file path below and see how it goes.
1) /components/com_easydiscuss/models/posts.php (with s)
2) /components/com_easydiscuss/themes/simplistic/post.php (without s)

Please note that this is a custom modification and it will not be included in the next update of easydiscuss.
·
Tuesday, 25 August 2015 19:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Ezrul,
thanks for the answer
i have already changed this file. If i replace, i will lost the old changes. Could you write me which lines have you changed?

Thanks
·
Tuesday, 25 August 2015 20:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vincenzo,

The modification that I've made for /components/com_easydiscuss/themes/simplistic/post.php is at line 111 until 140. For posts.php the you can take a look at line 657 where I commented out some of the code there.
·
Wednesday, 26 August 2015 00:05
·
0 Likes
·
0 Votes
·
0 Comments
·
thanks ezrul, work very well
have a good day
·
Sunday, 30 August 2015 16:22
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome, glad to heard your issue resolved.
·
Sunday, 30 August 2015 17:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post