Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Add 'Send to Twitter' and 'Send to Facebook' links to the users Dashboard

  1. #1
    Thread Starter
    smcdaniel's Avatar
    Join Date
    Jul 2010
    Posts
    2
    Thanks
    1
    Thanked 13 Times in 1 Post

    Post Add 'Send to Twitter' and 'Send to Facebook' links to the users Dashboard

    I wanted to put links for the end user so they could easily post their ads on their own Facebook and Twitter pages.
    Instead of messing around with specific user rights on individual ads, I decided to just add them to the Dashboard, alongside each ad.

    In order to do this, open 'tpl-dashboard.php' and search for <div class="meta">.
    Before the next </div> tag, enter the following:

    Code:
    <?php the_category(', ') ?>Created <?php the_time(get_option('date_format'))?> |
    <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>" target="_blank">Send to Facebook</a> | <a href="http://twitter.com/home?status=I'm selling this, buy it! <?php the_permalink(); ?>" title="Click to send this ad to Twitter" target="_blank">Send to Twitter</a>
    You can change the link text to whatever you want it to display. A screenshot of the end result is attached.

    I hope this helps someone out.
    Attached Images Attached Images

  2. The Following 13 Users Say Thank You to smcdaniel For This Useful Post:

    bellboy (December 8th, 2010), bseabs (October 28th, 2010), bughy84 (January 28th, 2011), claysparkes (May 31st, 2012), destacamos (March 17th, 2011), evoweb (May 31st, 2012), Fanatic (December 7th, 2010), manolake07 (January 18th, 2012), mr_xx (January 9th, 2012), rolan (June 8th, 2012), room8coza (December 31st, 2010), shopcenter (January 22nd, 2012), trustedsamurai (May 26th, 2012)

  3. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    36,819
    Thanks
    159
    Thanked 2,966 Times in 2,842 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  4. #3
    bseabs's Avatar
    Join Date
    Jul 2010
    Posts
    27
    Thanks
    3
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    Veteran Fanatic's Avatar
    Join Date
    Jul 2010
    Location
    Canada
    Posts
    859
    Thanks
    300
    Thanked 56 Times in 50 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #5
    Senior Member drabello's Avatar
    Join Date
    Nov 2010
    Location
    Rio de Janeiro
    Posts
    224
    Thanks
    23
    Thanked 19 Times in 15 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    Veteran alinimmo's Avatar
    Join Date
    Sep 2010
    Location
    United Kingdom
    Posts
    372
    Thanks
    29
    Thanked 11 Times in 8 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    Veteran alinimmo's Avatar
    Join Date
    Sep 2010
    Location
    United Kingdom
    Posts
    372
    Thanks
    29
    Thanked 11 Times in 8 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #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!

  10. #9
    aamazloum's Avatar
    Join Date
    Nov 2010
    Location
    Mililani, HI
    Posts
    16
    Thanks
    3
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  11. #10
    aamazloum's Avatar
    Join Date
    Nov 2010
    Location
    Mililani, HI
    Posts
    16
    Thanks
    3
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. v3.0.1 Twitter/Facebook Links on Profile page no links
    By Bidge in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: January 30th, 2011, 09:41 AM
  2. send email to admin on new ad posted
    By david-sg in forum Help Using ClassiPress
    Replies: 8
    Last Post: June 27th, 2010, 06:19 AM
  3. Send Inquiry Not UTF????
    By leda88 in forum ClassiPress General Discussion
    Replies: 4
    Last Post: October 6th, 2009, 01:57 AM
  4. Send email to author trouble
    By aledan in forum ClassiPress General Discussion
    Replies: 0
    Last Post: September 28th, 2009, 08:04 AM