WordPress.org

Ready to get started?Download WordPress

Forums

Private Messages For WordPress
how can i redirect the widget link to the front inbox (8 posts)

  1. me
    Member
    Posted 2 years ago #

    i whant to redirect the widget link to the front inbox
    the page who using the "pm4wp-template.php" template

    http://wordpress.org/extend/plugins/private-messages-for-wordpress/

  2. gplana
    Member
    Posted 2 years ago #

    I have exactly the same problem. Have you found a solution for this ?

  3. Karem
    Member
    Posted 2 years ago #

    not yet
    actually, i waiting for developer to fix it

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    @gplana: Please stick to your own topic.

  5. Karem
    Member
    Posted 2 years ago #

    how can i stick it

  6. gplana
    Member
    Posted 2 years ago #

    esmi: if we have the same problem, isn't it better to create a single topic for the problem instead of two ?

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    No. It makes things a lot more difficult to plugin developers and forum volunteers to help. Plus you already have your own topic.

  8. Peter
    Member
    Posted 1 year ago #

    I created a new template using the pm4wp-template.php and called the template name inbox messages, saved it as pm4wp-in_template.php

    Then changed the array so inbox would be 0:

    <div id="pm-inbox" <?php if (!$show[0]) echo 'style="display:none"'; ?>><?php rwpm_inbox();?></div>
    		<div id="pm-send" <?php if (!$show[1]) echo 'style="display:none"'; ?>><?php rwpm_send();?></div>
    		<div id="pm-outbox" <?php if (!$show[2]) echo 'style="display:none"'; ?>><?php rwpm_outbox();?></div>

    Then I created a page called Inbox and used the inbox message template.

    then I edited widget.php so it would link to the inbox:

    echo '<p><a href="', get_bloginfo( 'wpurl' ), '/inbox">', __( 'Click here to go to inbox', 'pm4wp' ), ' &raquo;</a></p>';

    Hope this helps someone

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags