harsh deshmukh
asked 10 years ago

Hi There,

How can I add  Questions,answers,and comments section on user profile as it is available on DW profile pages  like http://designwall.com/profile/feirox/

However I have managed to add Activity and Questions section on profile page using below reference:

Profile page

Please  help/suggest.

harsh deshmukh
replied 10 years ago

Hi,

Any one out there who can look into my issue.

Thanks in advance. 🙂

4 Answers
DominicStaff
answered 10 years ago

Hi Harsh !
Please check again your site now. I can not access the site URL.

harsh deshmukh
replied 10 years ago

Hi Dominic,

Sorry for Inconvenience. There is some issue occurring from host side. That’s why you are not able to see the site. Will get back to you soon.

Thanks.

Dominic Staff
replied 10 years ago

Right now ! I have checked your site, I think you have resolved the issue.

harsh deshmukh
replied 10 years ago

Hi Dominic,
Thanks A lot..
However I have created one more test site:
http://mediassist.site88.net/author/harsh-deshmukh/

As the previous site is up.. We can work upon below:

http://harsh031.0fees.net/author/wardhan033/

Actually I want to see Questions,answers,and comments section on user profile. Can You please help suggest how we can achieve. ???

Thanks in advance.

Regards,
Harsh

harsh deshmukh
replied 10 years ago

My requirement is as below:
If you see dw-Q&A users profile we can see as below :

harsh deshmukh
@harsh031
1
Questions
0
Answer
10
Comments

I want to add these fields to my website users profile as well.

Thanks.

harsh deshmukh
answered 10 years ago

Hi Dominic,
 
Can You please look into my issue.
 
Thanks.

harsh deshmukh
answered 10 years ago

Hi,
 
I got it I did the changes in my theme members/single/members-header.php file.
 
Thanks .

harsh deshmukh
answered 10 years ago

Hi,
 
I got it I did the changes in my theme members/single/members-header.php file.
 
Thanks .

harsh deshmukh
replied 10 years ago

Modified Updated Script.

$user_id = bp_displayed_user_id();
$question_count = dwqa_user_question_count( $user_id );
$answer_count = dwqa_user_answer_count( $user_id );
$comment_count = dwqa_user_comment_count( $user_id );
echo “Question $question_count Answeres $answer_count Comments $comment_count”;
?>
Powered by DW Question & Answer Pro