207 comments found

cancasa, I advice you to use “User Role Editor” plugin.

esterndesign

Not sure if this plugin will work for what you need to get out of it. There are custom roles in this theme that are defined in the admin menu as Experts.

Help me or give my money back. I cant use this theme in it that way.

  • Breakline ( br ) doesnt work in comments.
  • Authors and Commantators must edit their question and answers like Admin.

Give this permission. Members can edit their own questions without the admin panel through Front-end Editor plugin and User Role Editor

esterndesign

Hi,

1. As noted below i will work on getting the br’s in Answers. Comments will just be inline without br’s to consolidate the responses.

2. This is an expanded feature request that i am unable to develop at this time. There are some challenges with having users edit posts and data. If you need this feature then you can look to hire a developer to work this feature into your site.

Regards, -esterndesign

esterndesign

The answer br tag fix is as simple as adding this css to the styles.css file:

 .answers .questionBox .contentText p {margin-bottom: 15px;}

The code is doing the right thing out of the box but we just need to add some margin to the code to separate them some more then just to the next line.

So you can use br tags to just go to the next line in the code OR if you just do a natural space line break in the text area it will add <p></p> tags to the sections. With this css it targets those p tags to add some margin to the bottom of the p to separate them visually.

Let me know if you have any questions.

Regards, -esterndesign

I wish there future developments were made on this theme because it could have increased to see more features.

I would have loved to have some notification sent to someone who posts a question that his question has been answered….this will bring the individual back to my site via his email and increase pageviews. Obviously, it will help the poster know when to check the site for his answer.

I had to buy another theme – a bit more expensive but would have preferred working with yours.

Are there any works in the pipeline and what version is this current one – I cant find it anywhere on the site?

JD

esterndesign

Hi.

This feature is already built into the theme. When you add a new question it has a checkbox that says “let me know when someone answers my question”. Which will send them an email linking right to the answer when someone replies.

Let me know if you have any more questions. Regards Esterndesign

Is there a way to allow questions to be posted without the need or a sign up? Only require account to answer?

Or

Can the theme be easily modified to have two different profiles? I’m looking for the same model, but where only paid “pro” members can answer questions, but basic users can ask.

Please let me know.

Thanks!

esterndesign

Hi,

1.) There is no way to post without knowing how to attribute the question to a user, otherwise they will all be marked as unknown user or lumped into one bucket of users. Not the best experience. On this note out of the box you must have an account with the site to post a question, answer or comment to answer.

2. Not sure what the two profiles are for but i would assume if you know PHP and Wordpress you could expand it to have two to suit your need. Not out of the box though.

3. There is currently no option for a paid member. This would need to be custom code that you would need to do on your own or hire someone to do this for you.

Hope that this helps with your questions.

Regards, esterndesign

Hello,

Could you please advise on how admin can edit a “source link” a user has left with an answer.

For example, if a real user left a useful answer, but the link url is misspelled. Can admin fix the spelling in the link? Or if a user left a good answer, but then also left an unrelated link (to his website)

I know how to edit the answers themselves but cannot see how to edit/delete source links.

Thanks for the help

Default-user

Many thanks for the update! Could you please advise which lines in functions.php were altered. If you could give me code I could paste into the file that would be ideal (my functions file is customized) Thanks again

esterndesign

Hi,

I placed the new code at the bottom of the functions.php page it includes this code:

/////////////////////////////////////////////
// Edit Source URL for Answers in WP-ADMIN //    
/////////////////////////////////////////////

// Add input field to the answer/comment form
add_action( 'comment_form_logged_in_after', 'rqa_source_url_tut_fields' );
add_action( 'comment_form_after_fields', 'rqa_source_url_tut_fields' );
function rqa_source_url_tut_fields()
{
    ?>
    <p class="comment-form-title">
        <input type="text" name="rqa_source_url_title" id="rqa_source_url_title" />
    </p>
    <?php
}

// Add the label to our admin edit comments screen
add_action( 'add_meta_boxes_comment', 'rqa_source_url_tut_add_meta_box' );
function rqa_source_url_tut_add_meta_box()
{
    add_meta_box( 'rqa-source_url', __( 'Answer Source Link' ), 'rqa_source_url_tut_meta_box_cb', 'comment', 'normal', 'high' );
}

function rqa_source_url_tut_meta_box_cb( $comment )
{
    $source_url = get_comment_meta( $comment->comment_ID, 'answer_source_link', true );
    wp_nonce_field( 'rqa_source_url_update', 'rqa_source_url_update', false );
    ?>
    <p>
        <input type="text" name="rqa_source_url_title" value="<?php echo esc_attr( $source_url ); ?>" class="widefat" />
    </p>
    <?php
}

// Save our Source URL on Edit Answer/Comment Form
add_action( 'edit_comment', 'rqa_source_url_tut_edit_comment' );
function rqa_source_url_tut_edit_comment( $comment_id )
{
    if( ! isset( $_POST['rqa_source_url_update'] ) || ! wp_verify_nonce( $_POST['rqa_source_url_update'], 'rqa_source_url_update' ) ) return;
    if( isset( $_POST['rqa_source_url_title'] ) )
        update_comment_meta( $comment_id, 'answer_source_link', esc_attr( $_POST['rqa_source_url_title'] ) );
}

/* Save Source Link to the Comment Meta*/
add_action( 'comment_post', 'rqa_source_url_tut_insert_comment', 10, 1 );
function rqa_source_url_tut_insert_comment( $comment_id )
{
    if( isset( $_POST['rqa_source_url_title'] ) )
        update_comment_meta( $comment_id, 'answer_source_link', esc_attr( $_POST['rqa_source_url_title'] ) );
}

// Show the Value on the Edit Comments Screen if set
add_action('load-edit-comments.php', 'wpse64973_load');
function wpse64973_load()
{
    $screen = get_current_screen();
    add_filter("manage_{$screen->id}_columns", 'wpse64973_add_columns');
}

function wpse64973_add_columns($cols)
{
    $cols['title'] = __('Source Link', 'wpse64973');
    return $cols;
}

add_action('manage_comments_custom_column', 'wpse64973_column_cb', 10, 2);
function wpse64973_column_cb($col, $comment_id)
{
    switch($col)
    {
        case 'title':
            if($u = get_comment_meta($comment_id, 'answer_source_link', true))
            {
                echo esc_html($u);
            }
            else
            {
                esc_html_e('No Source Link Set', 'wpse64973');
            }
            break;
    }
}

Place this before the closing php tag:

?>

Let me know if you have any questions

Regards, -esterndesign

Default-user

Works great, thanks for all the help!

Hello,

would you be able to provide code so I could add two links and some text beside or above the “sign up” button on the sign up page (http://wordpressqa.com/robust-qa/sign-up/) I want to add a “by signing up you agree to our privacy policy and terms of service”

Thank you

esterndesign

Hi,

You could do something like this:

In the theme file, signup.php near the end of the form right after the Captcha section and before the input type=”submit” you could add a line of code like this:

<p style="padding: 10px 0 20px;">By signing up you agree to our <a href="privacy-policy/">privacy policy</a> and <a href="terms-of-service">terms of service</a></p>                                                                                     

You can change the links to suit your needs in the text. You would also need to create those pages if you were to link to them.

Hope this helps,

Regards,

-esterndesign

Default-user

Perfect, thank you!

jmalevic Purchased

Hello,

Could you please recommend a way to prevent bot registrations? I know the theme has a captcha on the sign up page but bots just sign up through wp-login.php?action=register

Thanks for the help.

Default-user
jmalevic Purchased

Nevermind, I have resolved the issue via a plugin.

by
by
by
by
by
by