By Gurdip on Friday, 07 March 2014
Posted in General Issues
Replies 10
Likes 0
Views 896
Votes 0
Hi.

If you look at Quora (similar to EasyDiscuss), the identity of person who asked the question is not prominent (focus is not on who asked the questions, but on who answers it).

On EasyDiscuss, the user who asked the question is shown on the left of the page. I would like to hide this. See the screenshots I attached.

All I need is for directions on which files to edit ( and the lines to edit would be helpful too). If I can use css to hide those parts (eg display:none) do let me know.

Thanks
Gurdip
Hello,

If you want to customize the theme files it is located in /components/com_easydiscuss/themes/simplistic/frontpage.post.php and also /components/com_easydiscuss/themes/simplistic/post.php
·
Friday, 07 March 2014 19:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks! I'll go check them out.

I thought I missed you guys for this week since its already late Friday.
·
Friday, 07 March 2014 20:01
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Gurdip
·
Friday, 07 March 2014 22:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

On the post page, I want to hide the left section for the person who asks the question (part with the avatar), but retain this for the person who answers. I am hoping to do this using css but am unable to find a way to address the parent div. I'll explain:

My css to hide the left side:

div#discuss-wrapper .discuss-entry xxxxxx .discuss-item-left {
display:none;
}

But the xxxxxx class above looks like this (obviously the values in here change, making it difficult to address):
<div class="discuss-item discussQuestion mt-10 is-resolved DS030917325247900174" data-id="2">

How do I do this? Looked at post.php but that part is a bunch of php that I do not understand (thought perhaps I could add an id but could not locate the div that I see in the generated html).

Help appreciated.
Gurdip
·
Sunday, 09 March 2014 02:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, the system did not show the code, so here it is again:

< d iv class="discuss-item discussQuestion mt-10 is-resolved DS030917325247900174" data-id="2">
·
Sunday, 09 March 2014 02:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gurdip,

In order to achieve this, you'll probably need to add a custom css class on the reply item that is the answer.
·
Sunday, 09 March 2014 02:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

No, I mean I need to do it for the post itself (see my original image screenshot #2), not for the reply. But custom css will not work on randomly assigned code.

I also can't locate anything remotely looking like this in post.php (otherwise I'd stick a id in there that I can address directly):
< d iv class="discuss-item discussQuestion mt-10 is-resolved DS030917325247900174" data-id="2">

Hope I am making sense.

gs
·
Sunday, 09 March 2014 03:02
·
0 Likes
·
0 Votes
·
0 Comments
·
The theme files responsible to output the main question item is located in /components/com_easydiscuss/themes/simplistic/post.question.item.php
·
Sunday, 09 March 2014 13:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Yup, that was the one! Thanks a heap!

A question (off tangent from original question, but related to the same project):
I've got EasyDiscuss, EasyBlog and Jomsocial installed. All 3 have badges. Are the points for all 3 integrated automatically?
·
Sunday, 09 March 2014 17:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gurdip,

We do have some points integrations with JomSocial. You can run a rule scan in JomSocial to "detect" these new points Or alternatively you can try out EasySocial
·
Sunday, 09 March 2014 21:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post