MyBB Central

Full Version: My Tweets v1.1 (Twitter in profile and postbit)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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.
Wow this doesn't really get that much attention. Going to bump this to the top so everyone can see it easier Smile
This is just an updated sexier version.
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
(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.
This is nice, Thanks.
Looks nice, I will try it out thanks
I remember I tried creating this myself,I wonder if the code is any different.Thanks!
I am going to upload this to my forum.
Thanks for the update, i was still on 1.0 with the vulnerability x.x
Pages: 1 2