204 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 500+ members
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
r0nka says

I used a PHP snippet I found on the web,

<?php function get_status($twitter_id, $hyperlinks = true) { $c = curl_init(); curl_setopt($c, CURLOPT_URL, "http://api.twitter.com/1/statuses/user_timeline.json?screen_name=$twitter_id?count=1"); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); $src = curl_exec($c); curl_close($c); preg_match('/<tex?>(.*)<\/text>/', $src, $m); $status = htmlentities($m[1]); if( $hyperlinks ) $status = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "<a href="\\"\\0\">\\0</a>", $status); return($status); } echo get_status('google'); ?>

but for some reason it doesn’t echo any nothing .. can someone help me here please?

2333 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+5 more
CreativeMilk says

i think this is selfpromotion ;)

1383 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wpCanyonThemes says

i think this is selfpromotion ;)

I’ll tell you the same thing @themolitor told me today when he was in my shoes and i was in yours :)

“The “self promotion” prohibition applies to your items on the marketplace. The moderators said it was okay to promote stuff that helps the community (FYI).”

3503 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

I’ll tell you the same thing @themolitor told me today when he was in my shoes and i was in yours :)

“The “self promotion” prohibition applies to your items on the marketplace. The moderators said it was okay to promote stuff that helps the community (FYI).”

+1

If this weren’t allowed it’d just stifle the sharing of knowledge… and sharing knowledge is kinda the point of the forums in the first place.

204 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 500+ members
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
r0nka says
2333 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+5 more
CreativeMilk says


i think this is selfpromotion ;)

I’ll tell you the same thing @themolitor told me today when he was in my shoes and i was in yours :)

“The “self promotion” prohibition applies to your items on the marketplace. The moderators said it was okay to promote stuff that helps the community (FYI).”

sorry to say but even stuff thats of help for the community which is written or created by yourself is selfpromotion

trust me i know, this has been pointed out by the mods a while back.(so why does the mods say this now?)

What you are saying is that everybody who has an blog can post on threads there post about some item/subject…..

1950 posts Do the Needful
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
+10 more
JamiGibbs says

i think this is selfpromotion ;)

hahahahaa!! That made my night (because I see wpCanyonThemes make this accusation on a daily basis).

1383 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wpCanyonThemes says


i think this is selfpromotion ;)
hahahahaa!! That made my night (because I see wpCanyonThemes make this accusation on a daily basis).

Ohh cmn today was the first and for now last time i said that. How come is that daily basis?

And @themolitor said that it’s not forbidden if it helps the community, and i believe him.

@ronka – Sure, everything you find there you can use for whatever you like and however you like. :)

60 posts
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
  • Located in United States
Potshot says

Guys, he’s not posting the link because he wants everyone to click it and visit his site. He’s posting it because it’s a legitimate solution to this guy’s problem that just happens to be written by him. I’m pretty sure that’s fine.

1383 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wpCanyonThemes says

Thanks @potshot :)

@everybody else

I reported my own post, the moderators will figure out what to do with it, don’t want to be the bad guy here.

PHP (change TwitterProfileName)

function parse_feed($feed) {
    $stepOne = explode("<content type="\\"html\">", $feed);
    $stepTwo = explode("</content>", $stepOne[1]);
    $tweet = $stepTwo[0];
    $tweet = str_replace("&lt;", "<", $tweet);
    $tweet = str_replace("&gt;", ">", $tweet);
    return $tweet;
}

function getTweet(){
$feed = "http://search.twitter.com/search.atom?q=from:TwitterProfileName&rpp=1";
$twitterFeed = file_get_contents($feed);
echo parse_feed($twitterFeed);
}

jQuery (change username)

$.getJSON("http://twitter.com/statuses/user_timeline/username.json?callback=?", function(data) {
     $("#theIdOfTheElement").html(data[0].text);
});

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by