Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thanks for the reply.

    I do not want the plugin to update the counting of the views in the database. Updating the counting of the views in the database may add processing and network load. Basically, I want to use FAQ as read only, but no database update.

    Could you please suggest a code to disable the counting and updating of the views count.

    Thanks for the code. The code shows the link as I expected.

    But, the link is static. Showing the same static link for each sender. Could you please suggest a code to display current sender’s profile page link.

    For example,
    if John David is the sender, display John David’s profile page link.
    echo '<a href="https://www.example.com/author/john/">John David</a>';

    if Robert Mills is the sender, display Robert Mills’ profile page link.
    echo '<a href="https://www.example.com/author/robert/">Robert Mills</a>';

    Change following code to generate current sender’s profile page link.
    echo '<a href="https://www.example.com/author/sender_username/">Sender Display Name</a>';

    Also, when the recipient open the message, cannot see the sender’s profile page link. Looks like the link is not stored in the message. In that case, is it possible to put the link in message box? Then the sender type the message below the link. When the recipient open the message, he can see the link in the message.

    Thanks.

    Could you please suggest a code to show sender profile link below title field.

    Sample output link
    <a href="https://www.example.com/author/sender_username/">Sender Display Name</a>

    Thanks.

    Part of the send message page will look like the following lines:

    ****************************
    Send Message
    To: *
    Robert Mills
    Subject: *
    Business Meeting
    Sender Profile :
    John David
    Recipient Profile :
    Robert Mills
    Message: *
    ****************************

    Sender Profile :
    John David

    “John David” is a hyper link – sender’s profile page url
    <a href="https://www.example.com/author/john/">John David</a>

    john is sender’s username

    Recipient Profile :
    Robert Mills

    “Robert Mills” is a hyper link – recipient’s profile page url
    <a href="https://www.example.com/author/robert/">Robert Mills</a>

    robert is recipient’s username

    • This reply was modified 11 months, 3 weeks ago by primyhub.

    Corrected code in above reply.

    • This reply was modified 11 months, 3 weeks ago by primyhub.
    • This reply was modified 11 months, 3 weeks ago by primyhub.
    • This reply was modified 11 months, 3 weeks ago by primyhub.

    Thanks for the code. I need code that works for every sender and recipient.

    For example,

    add_action( 'fep_display_before_content', function(){
        echo '<a href="$sender_profile_page_url">$sender_nicename</a>';
        echo '<a href="$recipient_profile_page_url">$Recipient_nicename</a>';
    });

    I do not know the variable names for sender’s profile page url, sender’s nicename, recipient’s profile page url, recipient’s nicename

    I put the shortcode fep_shortcode_message_to in the post page. I want to display current post page author’s profile page url and current logged in user’s profile page url above the message box.

    Thanks.

    • This reply was modified 11 months, 3 weeks ago by primyhub.
Viewing 6 replies - 1 through 6 (of 6 total)