MyBB Central
My Tweets v1.1 (Twitter in profile and postbit) - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Mybb 1.6x Series Topics (http://www.mybbcentral.com/forum-34.html)
+--- Forum: Mybb 1.6x Official Central Plugins and Hacks (http://www.mybbcentral.com/forum-35.html)
+--- Thread: My Tweets v1.1 (Twitter in profile and postbit) (/thread-8714.html)

Pages: 1 2


My Tweets v1.1 (Twitter in profile and postbit) - Xerotic - Apr 10, 2012

License is attached inside extras folder by using this software you agree to the terms of that license.

Plugin Name: My Tweets
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.1
Plugin Mybb Compatibility: 1.6x
Plugin File Edits: None
Plugin File Uploads: 2
Plugin Description: This will allow members to add their twitter feeds directly into their profiles as well as have a postbit button. Works in classic and regular postbit.

Installation

1. Upload the files from the zip.
ROOT/inc/plugins/mytweets.php
ROOT/images/english/postbit_twitter.gif (upload this image to all your themes image folders)

2. Login to your admincp and INSTALL & ACTIVATE the plugin (My Tweets) in the plugin manager.

3. You will see a new setting group "My Tweets" in admincp.
Profile Tweets - Do you want the tweets displayed in profile?
Postbit Tweets - Would you like a postbit button added linked to twitter profiles?
Twitter Profile Field ID - Filled in on activation but just in case something goes wrong you can manually set this.
Display Tweets - This is the number of tweets you will display in profile.


4. (optional) The image for the button is uploaded to images/english/postbit_twitter.gif. Alter it to suit your needs. This will work from your theme image directory and language. So it's very compatible with multiple themes and languages.

5. (optional) If you'd like to alter the twitter profile feed colors you must alter the actual global template "mytweets". You can change in it the background, link, and text colors.

Screenshots are all available inside the extras folder.

DEMO: http://www.supportforums.net

TROUBLESHOOTING
========================

There are 3 template edits.

postbit and postbit_classic
Find:
{$post['button_find']}
Add after:
{$post['twitter']}

member_profile
Find:
{$signature}
Add after:
{$mytweets}

===============
CHANGELOG
================

MyTweets v1.1
-Fixed XSS vulnerability.
-Upgrade to 1.6x compatible with INSTALL/UNINSTALL options.


That should do it.
Enjoy.


RE: My Tweets v1.1 (Twitter in profile and postbit) - Bad Meets Evil - May 28, 2012

Wow this doesn't really get that much attention. Going to bump this to the top so everyone can see it easier Smile


RE: My Tweets v1.1 (Twitter in profile and postbit) - DOOM - May 29, 2012

This is just an updated sexier version.


RE: My Tweets v1.1 (Twitter in profile and postbit) - Bad Meets Evil - Jun 02, 2012

How do I change the colors? It's default blue but on HF Omni has it as purple and gray so how do I change them


RE: My Tweets v1.1 (Twitter in profile and postbit) - Odin - Jun 02, 2012

(Jun 02, 2012, 12:16 AM)Bad Meets Evil Wrote: How do I change the colors? It's default blue but on HF Omni has it as purple and gray so how do I change them

It says in the post:

(Apr 10, 2012, 09:23 AM)xerotic Wrote: 5. (optional) If you'd like to alter the twitter profile feed colors you must alter the actual global template "mytweets". You can change in it the background, link, and text colors.



RE: My Tweets v1.1 (Twitter in profile and postbit) - Ted B - Jun 08, 2012

This is nice, Thanks.


RE: My Tweets v1.1 (Twitter in profile and postbit) - iMonsteR - Sep 03, 2012

Looks nice, I will try it out thanks


RE: My Tweets v1.1 (Twitter in profile and postbit) - mindaugas355 - Sep 21, 2012

I remember I tried creating this myself,I wonder if the code is any different.Thanks!


RE: My Tweets v1.1 (Twitter in profile and postbit) - Redâ„¢ - Oct 21, 2012

I am going to upload this to my forum.


RE: My Tweets v1.1 (Twitter in profile and postbit) - alv4 - Jan 04, 2013

Thanks for the update, i was still on 1.0 with the vulnerability x.x