Jump to content

Share via twitter suggestion

Featured Replies

Posted

currently, the tweet generated by IPB share via twitter have the following form: forum_name - title - link
i suggest changing the forum_title by the official twitter account so it becomes: @twitter_account - title - link

  • Author

c'mon guys its a cool idea :)

If you sent the tweet out starting with @twitter_account it would be sent as an @reply and not a tweet.

  • Author

yeah but i want this feature so my official twitter account appears in every tweeted message by my members.


yeah but i want this feature so my official twitter account appears in every tweeted message by my members.



So, this actually isnt a suggestion for IPB, its a feature *you* want. Which can be easily added by just changing your templates.

Open up the IPB file at

admin/sources/classes/share/plugins/twitter.php

Find this part:


		$url   = "http://twitter.com/home?status=" . urlencode( $title ) . '%20-%20' . urlencode( $url );

Change it to this:


		$url   = "http://twitter.com/home?status=@Username" . urlencode( $title ) . '%20-%20' . urlencode( $url );


Replace "@Username" with the username you wanted to use.

Save and upload.

Tada.

  • 5 weeks later...
  • Author

it didn't work :(

  • Author

is there another solution?


is there another solution?




Yeah, the new Twitter Button does exactly what you want.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.