1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Buying Auto Post Thumbnail Wordpress Plugin For BBCode

Discussion in 'Programming' started by chotoan, Nov 25, 2012.

  1. #1
    Anybody here can help me customize the Auto Post Thumbnail for BBCode: http://www.sanisoft.com/blog/2010/04/19/wordpress-plugin-automatic-post-thumbnail/
    I think here is the content for it, it's getting the thumbnail by html now:

    
    // Get all images from post's body
    preg_match_all('/<\s*img [^\>]*src\s*=\s*[\""\']?([^\""\'>]*)/i', $post[0]->post_content, $matches);
    PHP:
    I will pay $10 for this job, please add my skype: uxdedotnet

    Thanks!
     
    chotoan, Nov 25, 2012 IP
  2. Einheijar

    Einheijar Well-Known Member

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    165
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    How do want this customized?
     
    Einheijar, Nov 25, 2012 IP
  3. chotoan

    chotoan Active Member

    Messages:
    423
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Auto Post Thumbnail for BBCode
     
    chotoan, Nov 25, 2012 IP
  4. Einheijar

    Einheijar Well-Known Member

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    165
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    I mean what do you want done with it?
     
    Einheijar, Nov 25, 2012 IP
  5. chotoan

    chotoan Active Member

    Messages:
    423
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Customize it to get the first image from code. It's getting from <img src="" /> now.
     
    chotoan, Nov 25, 2012 IP
  6. StevenKidman045

    StevenKidman045 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    You will see an option like this in the sidebar of your Write Post Panel in WordPress Dashboard.
    Publish, Post tags, Categories, Post thumbnail(set thumbnail);
    Click on the set thumbnail.
    Click on the link, and you will be taken to an upload image page. Upload the picture,
    Just click on the link that says "use it as thumbnail".
    once you see the image, then "Hit Publish".
    And the image will show on your site.

     
    StevenKidman045, Nov 27, 2012 IP