REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 7 Vote(s) - 3.57 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Tweets (Twitter in profile and postbit)
#11
why {$post['twitter']} does not work in postbit_author_user?
#12
(Dec 19, 2009, 05:03 PM)Glas Wrote: why {$post['twitter']} does not work in postbit_author_user?

yups. need to change the code Smile
I dont, if this can affected on performance or not.
But, I'd like to also Wink
#13
Hi Labrocca,

could you (please), How to add one single variable code (maybe from MyCustom) to display Yahoo Messenger ID? Smile
Currently, I am working (succesfully) add in one row display Tweeter, Facebook from http://mods.mybboard.net/view/facebook-p...on-postbit, and then (perhaps) Yahoo Messenger ID. Just like this picture [Image: 43233533.gif] and displaying on Post-bit-classic under user-detail
#14
For postbit_author_user add {twitter} where you want and then in the plugin file replace

PHP Code:
        $post['twitter'] = "<a href=\"http://twitter.com/{$tweetid}\"><img src=\"{$theme['imgdir']}/{$lang->language}/postbit_twitter.gif\" border=\"0\" /></a>"

With this:
PHP Code:
    $post['user_details'] = str_replace("{twitter}""<br /><a href=\"http://twitter.com/{$tweetid}\"><img src=\"{$theme['imgdir']}/{$lang->language}/postbit_twitter.gif\" border=\"0\" /></a>"$post['user_details']); 

Alter html and images to suit your needs.
#15
Nice plugin thanx!
[Image: userbar.png]
#16
Great work labrocca, maybe you want to add this plugin to http://www.mybbcentral.com/thread-2433.html Smile
[Image: mystatssig.php]
#17
Hi Labrocca,

I am not PHP coder,
and just adding some code to your Twitter plugins to display Yahoo Messenger status.

Add the code inside function
Code:
mytweets_postbit(&$post)
with this code (I dont know where should be place)?

Code:
$ymid = $post['fid'.'9'];
$post['ym'] = "<img src=\"http://opi.yahoo.com/online?u={$ymid}&t=5\" border=\"0\" />";

for code above,
I assume Custom Profile Fields id for Yahoo is number 9
and icon style number 5

and finally, adding into postbit_classic right beside
Code:
{$post['twitter']}{$post['ym']}

And It's work!! Displaying status Online/Offline.
for icons/image style of Yahoo Messenger here

So, if dont mind. Could you please make the plugins or where should add on your Twitter, so the status not depend of twitter field. Thanks Smile
#18
Quote:So, if dont mind. Could you please make the plugins or where should add on your Twitter, so the status not depend of twitter field. Thanks

I don't fully understand what you're asking me to change in the plugin.
#19
Excellent plugin!!!!
Thanks!
#20
I mean, not only Twitter status, but additionally Yahoo Status (even online/offline only)


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help with extra profile groups. wethegreenpeople 5 5,161 Sep 13, 2010, 07:04 PM
Last Post: wethegreenpeople
  [REQUEST] profile fields with href ozyrys 3 3,374 Sep 07, 2010, 12:26 PM
Last Post: ozyrys
  Profile Groups labrocca 19 14,948 Sep 02, 2010, 02:36 PM
Last Post: wethegreenpeople
  Profile Ban 2.0 labrocca 22 16,889 Aug 12, 2010, 06:39 AM
Last Post: PaulC
  My Awards In Vertical Postbit 3KB 11 8,107 Jul 08, 2010, 04:53 PM
Last Post: labrocca

Forum Jump:


Users browsing this thread: 1 Guest(s)