Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: PM (Personal Message) feature for the classipress users

  1. #1
    Marketplace Seller ahikmahin's Avatar
    Join Date
    Aug 2010
    Location
    Australia
    Posts
    504
    Thanks
    32
    Thanked 52 Times in 42 Posts

    Thumbs up PM (Personal Message) feature for the classipress users

    So many users were looking for this solution. Here i am using an existing plugin called "cartpauj-pm" to solve this issue.

    cartpauj-pm - is one of the most popular wordpress based personal message system plugin. More details here

    I am going to show you how you can make it works with classipress .

    1. add and active "cartpauj-pm" plugin into your site

    2. Now, If you want to add a PM link to User's profile, Open author.php file ,

    Find -
    Code:
    	<li><div class="facebookico"></div><a href="http://facebook.com/<?php echo urlencode($curauth->facebook_id); ?>" target="_blank"><?php _e('Facebook','appthemes')?></a></li>
    after this add bellow codes -

    PHP Code:
    <li> <?php if($page get_page_by_title('message'))

                            
    $link get_permalink($page->ID);

                            echo 
    '<a href="'.$link.'?pmaction=newmessage&to='.( $curauth->ID ).'">
                            <span class="pm">Send PM
                            </a></span></a>'


                            } 
    ?>
                            
                            </li>
    It will showup a "Send PM" text link on user's profile.

    Lets , use an image as link and put it on ad side bar

    1. Open includes/sidebar-contact.php file

    2. Find -

    Code:
       <form name="mainform" id="mainform" class="form_contact" action="#priceblock2" method="post" enctype="multipart/form-data">
    3. After this add bellow codes -

    PHP Code:
    <?php if($page get_page_by_title('message'))
    {

                            
    $link get_permalink($page->ID);

                            echo 
    '<a href="'.$link.'?pmaction=newmessage&to='.get_the_author_meta("ID").'">
                            <span class="pm"><img class="aligncenter" title="contact" src="imagepath/demoimage.jpg" alt="" width="100" height="75" />
                            </a></span></a>'


                            } 
    ?>

    message: make sure this is same as your message page tittle

    imagepath/demoimage.jpg : image path of your contact PM image

    Hope you are going to enjoy this beautiful plugin and start offering your site users PM feature



    Thank you.

  2. The Following 3 Users Say Thank You to ahikmahin For This Useful Post:

    echo08 (August 3rd, 2013), gr8wan (April 3rd, 2012), lucrothe (April 2nd, 2012)

  3. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. The Following 2 Users Say Thank You to samcy For This Useful Post:

    inwal (April 2nd, 2012), silver (April 1st, 2012)

  5. #3
    Marketplace Seller ahikmahin's Avatar
    Join Date
    Aug 2010
    Location
    Australia
    Posts
    504
    Thanks
    32
    Thanked 52 Times in 42 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #4
    Amateur evoweb's Avatar
    Join Date
    Jan 2012
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #5
    Marketplace Seller ahikmahin's Avatar
    Join Date
    Aug 2010
    Location
    Australia
    Posts
    504
    Thanks
    32
    Thanked 52 Times in 42 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #6
    Amateur evoweb's Avatar
    Join Date
    Jan 2012
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #7
    Amateur evoweb's Avatar
    Join Date
    Jan 2012
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Cool

    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #8
    Marketplace Seller ahikmahin's Avatar
    Join Date
    Aug 2010
    Location
    Australia
    Posts
    504
    Thanks
    32
    Thanked 52 Times in 42 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  11. #9
    gr8wan's Avatar
    Join Date
    Dec 2011
    Location
    United States
    Posts
    46
    Thanks
    3
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  12. #10
    Marketplace Seller ahikmahin's Avatar
    Join Date
    Aug 2010
    Location
    Australia
    Posts
    504
    Thanks
    32
    Thanked 52 Times in 42 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Similar Threads

  1. Automated welcome message to new users
    By aubertin in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: January 24th, 2012, 06:26 AM
  2. Encourage users to post more, add a button to this message...
    By McGee in forum ClassiPress General Discussion
    Replies: 3
    Last Post: March 13th, 2011, 11:20 AM
  3. Sending a message to all registered users
    By jshgroup in forum Help Using ClassiPress
    Replies: 5
    Last Post: January 30th, 2011, 10:35 AM
  4. Users receiving error message when submitting an ad
    By jeffprov in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: August 3rd, 2010, 12:21 AM