View Full Version : Profile Enhancements - Twitter Profile 1.0 (displays Twitter on a member's profile page)
AlexanderT
07-14-2008, 10:00 PM
As the title already says, this product adds a Twitter (http://twitter.com) widget to a member's profile page. It's very easy to install, adds no additional queries, requires no file modifications and no template modifications.
Features include:
Variable placement within the profile page
Define the number of tweets to display
Make links within tweets clickable (on/off)
Ignore tweets that are replies (on/off)
Asynchronous request to avoid delays in loading the profile page
Fully phrased
Example: link (http://www.mobil-talk.de/members/benjamin-zeller.html)
Installation instruction included in the zip file.
I release this product as unsupported, because I don't have the time to constantly track this board. I will, however, listen to your feedback and suggestions, and I invite everyone to enhance this product and to post your enhancements here.
Cheers,
Alex
AlexanderT
07-15-2008, 06:35 AM
<reserved>
Q-v-n-s-Q
07-15-2008, 06:36 AM
nice mod, reserved
aktifnet
07-15-2008, 07:21 AM
nice mod. thank you :)
rem-rael
07-15-2008, 07:27 AM
Instaled, works like a charm. Thank you for your great mod! :)
bezibaerchen
07-15-2008, 10:39 AM
Nice hack!
Here's another example page which doesnt require authentication ;)
http://www.mobil-talk.de/members/benjamin-zeller.html
AlexanderT
07-15-2008, 10:44 AM
Nice hack!
Here's another example page which doesnt require authentication ;)
http://www.mobil-talk.de/members/benjamin-zeller.html
Oops, I forgot about this, thank you. I hope you don't mind me putting it in the first post as an example.
Jase2
07-15-2008, 01:40 PM
Great! Thanks.
-- Jason
Jase2
07-15-2008, 01:59 PM
May I suggest opening a new window for the links. ;)
Also, add a "More..." link at the bottom that goes to the members' full profile.
BeerLuver
07-15-2008, 02:43 PM
Great mod :). Thanks... works fine.
CrankyFC
07-15-2008, 03:10 PM
How about one for Plurk?
marcossalazar
07-15-2008, 03:17 PM
I have to say this is a great mod! Wish it was supported.
Brandon Sheley
07-15-2008, 03:36 PM
ooo.. lovin it :)
I'll get it installed later when I get time
great idea ;)
* Brandon Sheley clicks install and nominated for MOTM
looks good
here is another live example
http://forum.vbulletinsetup.com/members/brandon/
AyeCapn
07-15-2008, 04:02 PM
Would it be difficult to put something like the last 2 or 3 tweets into a member's signature instead of the profile?
Brandon Sheley
07-15-2008, 04:20 PM
I like that, or having the last tweet showing up in the post like facebook's "status"
btw... my page just shows loading...
Cobro
07-15-2008, 06:55 PM
Nice hack ! have been waiting for this hack
Thank you very much
Roxie
07-15-2008, 08:02 PM
Twitter is down so much it might keep the page from loading fully. Cool mod though...
AlexanderT
07-16-2008, 06:08 AM
May I suggest opening a new window for the links. ;)
Also, add a "More..." link at the bottom that goes to the members' full profile.
I will consider these as options for the next update of this mod.
I have to say this is a great mod! Wish it was supported.
Although I decided to call it unsupported, I am going to be here and listen to your feedback. It's just a technicality so nobody gets upset if I suddenly decide to go on vacation for a longer period of time. :D
Would it be difficult to put something like the last 2 or 3 tweets into a member's signature instead of the profile?
That would actually require fundamental changes. To make the mod scale well with big boards, I decided to use Javascript to fetch all information from Twitter. If we'd want to display tweets in a member's signature (or his postbit in general), we'd have to use the server to fetch tweets and store them in the database. That would be possible, but as I said, I wanted to solution that doesn't add any burden on the server.
Twitter is down so much it might keep the page from loading fully. Cool mod though...
This is one item on the to do list: to catch the situation when Twitter is down or when the user entered an invalid Twitter username. However, loco, in your particular case, I think you broke something when you edited the template that is being passed to the Twitter-fetching javascript. Can you revert
template: '<div class="smallfont">"%text%" <a onclick="pageTracker._trackPageview ('/outgoing/http_twitter_com_user_screen_name_statuses_id_');" href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a></div>'
to
template: '<div class="smallfont">"%text%" <a href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a></div>'
and see if that works for you?
Matt_Crawford
07-16-2008, 12:40 PM
Can anyone help - my twitter status is showing up as:Fetching tweets...
and staying there!
file:///C:/DOCUME%7E1/Wealden/LOCALS%7E1/Temp/moz-screenshot.jpg
AlexanderT
07-16-2008, 01:18 PM
Matt, have you followed the instruction? Did you go to ACP->vBulletin Options->Twitter Profile and input the User Profile Field Id of your Twitter field? Also, did you enter a valid Twitter username?
InfoSpyware
07-17-2008, 12:51 AM
Thank you Alex, mod installed. :up:
Maybe for the future can only add that the contacts/friends can see the twitter status in my profile.
Salu2
Marcelo.
Hornstar
07-17-2008, 06:19 AM
I still have not got involved in Twitter. do many people use it?
KProjects
07-27-2008, 11:35 AM
Thanks! Great mod.
http://www.lifeattack.com/member.php?u=1 <-- mine
edit: ok - now that i've posted that, and it was working great... it's stalled out at fetching tweets.. heh.
edit again: I tweeted and it picked up on the tweets... now its working fine again. Last thing I did was change the number of tweets shown before it stopped (if that helps to figure anything out).
Last edit :) - I think it gets stuck at listing just 1 tweet... mine is at least..
zmmmzz
07-28-2008, 12:22 AM
awesome mod
ibuddy
07-29-2008, 06:35 AM
not working...followed the directions but its not working and stuck on loading
It's a great add-on.
A couple of suggestions for future versions:
Add rel=nofollow to all the twitter links -- if it doesn't already have no-follow, then nofollow it.
Please don't change it to open links in a new window... that is bad for usability because different browsers handle that behavior differently. Some browsers will unexpectedly open a new tab 25 tabs away from the original tab if you set links to open in a new window
Brandon Sheley
08-15-2008, 11:29 PM
I may have to give this a try again, I really wanted to get it working
ZeroHour
08-16-2008, 12:27 AM
If you run vbSEO then you will need to edit the template "memberinfo_block_twitter"
Change:
template: '<div class="smallfont">"%text%" <a href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a></div>'
to
template: '<div class="smallfont">"%text%" <a rel="novbseo" href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a></div>'
This should fix the javascript error you get.
FYI if you add:
rel="novbseo"
To any <a href="blah"> tag it will stop vbSEO from modifying the link.
tpearl5
09-02-2008, 04:04 PM
thanks for that Zero, I couldn't figure out why it wasn't updating.
irishblacknight
09-05-2008, 11:23 PM
I've been trying to get this to work, but I'm at a loss.
I've got a Last.fm profile block, which is working fine, but the Twitter block simply is not appearing.
(I also made the modification for VBseo, but that made no difference)
Any ideas?
9mmPreacher
09-07-2008, 02:46 PM
Fantastic MOD!@!!
soulface
09-07-2008, 06:40 PM
Its not showing up in my profile. Uploaded all files, created a new profile field, imported the product, configured the twitter options But twitter box wont showing up.. :S
AMcKay
09-15-2008, 02:46 PM
Did you add your Twitter username to your personal profile field? It only shows up if the user actually enters a Twitter username.
keith455
10-04-2008, 05:46 AM
This works great but how can I do this on it's own page and also pull from all my sites members twitter accounts?
devoslack
10-13-2008, 04:04 PM
This is bad assery at it's finest!!!
yinyang
10-14-2008, 11:46 PM
anyone have ideas how i can make this a cmps module?
BucWiLd
10-15-2008, 02:39 AM
works like a charm, thanks
AndrewRich
10-17-2008, 06:49 PM
Installed.
Would love an option to display a Twitter icon along with the Yahoo, AIM, Skype icons in member infobox next to posts.
Eq4bits
10-21-2008, 02:09 AM
Installed.
Would love an option to display a Twitter icon along with the Yahoo, AIM, Skype icons in member infobox next to posts.
Try this:
edit your postbit/postbit legacy template(s) as follows:
Find:<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]Add After:
<!-- Twitter start -->
<if condition="$post[fieldx]"><a href="http://www.twitter.com/$post[fieldx]" alt="Go to my Twitter" target="_blank">
<img src="images/misc/twitter.gif" border="0"></a>
</if>
<! --Twitter end -->replacing the red 'x' with your field number (same as the one you used in admincp options setting.
Upload the attached twitter.gif to your ...forums/images/misc folder Or whereever else you choose, if not the images/misc folder then change the img src in above code to point to where you did place it.
attached is a Twitter 't' gif
Eq4bits
10-21-2008, 02:14 AM
Thought I might should add a screen shot of how the above postbit looks after adding the twitter 't'
AndrewRich
10-22-2008, 07:52 PM
That worked very nicely, thanks!
rollinjunk
10-24-2008, 04:29 PM
I have this installed and it works great for the people who use twitter.
But for the people who do not use twitter, it locks them up when they dont put something in under there name
this is what you get when you do not have something in
"You did not enter the correct format for the Twitter User Name field. Please read the field description for the expected format."
AndrewRich
10-28-2008, 10:18 PM
But for the people who do not use twitter, it locks them up when they dont put something in under there name
In the User Profile Field Manger, set the "Required" option for the Twitter field to "No".
brhoom
10-29-2008, 01:44 AM
nice mod. thank you
Eq4bits
10-30-2008, 08:43 PM
In the User Profile Field Manger, set the "Required" option for the Twitter field to "No".
is that the single 'no' or can 'no but display at registration'? either one or only 'no'?
Brandon Sheley
11-02-2008, 04:58 PM
If you run vbSEO then you will need to edit the template "memberinfo_block_twitter"
Change:
template: '<div class="smallfont">"%text%" <a href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a></div>'
to
template: '<div class="smallfont">"%text%" <a rel="novbseo" href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a></div>'
This should fix the javascript error you get.
FYI if you add:
rel="novbseo"
To any <a href="blah"> tag it will stop vbSEO from modifying the link.
thanks, but this still didn't work for me.
I just added it to another site with vbseo but they have their forum in a folder, I have mine in a subdomain, theirs works great and I didn't have to edit the template.
anymore ideas?
thanks
Brandon Sheley
11-02-2008, 09:00 PM
also.. can we show the latest one tweet in the postbit as well?
squishi
01-05-2009, 05:47 PM
Having the same problem as Loco.M.
I tried to install this mod several times, but all it does is show the "fetching tweets".
This was working fine on my board, but now it's asking for the twitter API login credentials when I try to view a profile with tweets on it.
Any idea what could be causing that?
This was working fine on my board, but now it's asking for the twitter API login credentials when I try to view a profile with tweets on it.
Any idea what could be causing that?
Turns out the problem was on twitter's end and the mod is working perfectly again.
Brandon Sheley
01-19-2009, 03:22 PM
also.. can we show the latest one tweet in the postbit as well?
anything on this?
I know a few who have shown interest in this addition.
Deyth
01-21-2009, 11:12 PM
I just added it to my board running 3.8 and it doesn't show under mini-statistics as set.
inparadise
01-23-2009, 08:00 PM
great mod..
Is it possible to show it on the vblog to ?
www.upplandsforum.com (http://www.upplandsforum.com)
Marked as Installed!
inparadise
01-23-2009, 08:06 PM
I just added it to my board running 3.8 and it doesn't show under mini-statistics as set.
strange? It works fine for me on 3.8..
do you have vbseo installed ? If you do you have to change the code, as seen in some earlier post...
GlamRockTalk
01-24-2009, 01:22 PM
Is there basically an issue only when vBSEO is involved?
dirtycrow
01-27-2009, 12:22 AM
i wish there was some why to display tweets in postbits. :(
fmckinnon
01-29-2009, 11:42 AM
Awesome - It didn't work for me at first, because I put "field14" - but mine was just "field5" ... for those not sure ... go back to the User Profile Field manager, and it will show you the correct field #.
I found this searching for twitter - I'd love to see a plugin that does for twitter, what the FaceBook integration plugin does for FaceBook ... so, that you can make it so that everytime you post a reply, or create a new thread, you have the OPTION to "tweet" it.
kushal
02-14-2009, 02:29 AM
Yes, it did not work for me either with VBSEO activated. I did the modification suggested, but no luck. When I de-activate the vbseo, it start reflecting.
Alien
03-02-2009, 03:18 AM
I changed the template to the fix above (I use vbSEO) and it worked 100% on 3.8!
Thanks!
Marcus_Fenix
03-04-2009, 12:51 PM
<tagged>
fifers
03-06-2009, 02:45 PM
Is there an older version of this plugin which supports vB 3.6.8 patch level 2 ? :(
DobieGillis?
03-13-2009, 03:34 PM
Cripes! I cannot read the instructions included. What do i put in the Profile Fields, especially in Regular Expression. This is what the intructions say to put in Regular Expression ^[0-9a-zA-Z_]{1,15}$|^$ is this correct?
DobieGillis?
03-13-2009, 03:49 PM
not working at all
redlabour
03-17-2009, 07:57 AM
Does not work with 3.8.1 PL1 - fetching Twitter does not end.
aztecboi2003
03-22-2009, 09:56 PM
Nevermind I was able to figure it out.
Eq4bits
03-24-2009, 06:12 PM
any chance of this getting ported to 3.8.x?
Digital2
03-25-2009, 06:24 PM
It isn't showing up in the profile on 3.8.1. I notice several people here with the same issue yet no response?
Anytime you release a mod which does automatic template edits you should *always* include the code to do manual edits in your installation instructions. You cannot simply assume that everyone on a vBulletin mod site is running an unmodded board or standard templates and automatic template edits, while handy for beginners, are notorious for not working properly.
Digital2
03-25-2009, 07:28 PM
OK I got the block displaying and now I have the eternal "Fetching Tweets" error...
I am not running vBSEO either.
JoeLouie
03-27-2009, 02:22 PM
I just installed it on 3.8.1 and it worked perfectly.
belai123
03-29-2009, 11:54 AM
Thanks....excellent advise this now works on my site.
D
:DIf you run vbSEO then you will need to edit the template "memberinfo_block_twitter"
Change:
template: '<div class="smallfont">"%text%" <a href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a></div>'
to
template: '<div class="smallfont">"%text%" <a rel="novbseo" href="http://twitter.com/%user_screen_name%/statuses/%id%">%time%</a></div>'
This should fix the javascript error you get.
FYI if you add:
rel="novbseo"
To any <a href="blah"> tag it will stop vbSEO from modifying the link.
JJ the Fox
04-01-2009, 05:30 PM
When I first view a profile that has twitter on it, it displays but If I go back there the same tweets do not display? Is this standard behavior? Is it acting like those tweets are already 'read' so it doesn't display them anymore?
ViciousCode
04-10-2009, 02:26 PM
how can i add the block manually?
hbalagh1
04-15-2009, 07:26 AM
i have the myspace profile mod installed so this doesn't work how can i add it manually to my memberinfo template?
brianoakes
05-28-2009, 11:45 AM
Did something at Twitter change last night? Now when I look at a user profile, I am getting a username/password prompt from a dialogue that says "Twitter API"
zombietom
06-03-2009, 03:09 PM
Installed and working perfectly.
thanks for this.
To DobieGillis:
Regular Expression ^[0-9a-zA-Z_]{1,15}$|^$ is this correct? Yes , just copy and paste.
TheLastSuperman
06-16-2009, 04:21 PM
TY
/me marks as installed!
DianaDiana
06-21-2009, 09:49 PM
OK, so i've just installed this, did everything exactly, checked and rechecked profile fields, copied and pasted the regular expressions, it is simply NOT showing up on my profile at all. i have put my valid twitter username and nothing...not even a block and i'm confused as to why? any ideas?
ArnyVee
06-22-2009, 01:16 PM
Works perfectly! :up:
Just have to figure out why it drops it below two other custom fields when I select 'below mini stats' and then I'll be good ;)
Where can you edit some of the fields to bold the text?
ArnyVee
07-22-2009, 03:37 AM
Looks like it sits on "Fetching Tweets" for folks that have their Tweets on "protected" status. Anyone found a work around for that?
ilovevbull
09-02-2009, 08:21 PM
I dont know it dosn't work for me :(
zombietom
09-05-2009, 04:29 PM
Seems twitter has changed something..it's not worked in the last couple of days
zombietom
09-05-2009, 04:37 PM
I went and checked my twitter and it is all working now, it seems twitter has made the username more letter case aware..i had some upper case letters in my user name on twitter but not on my forum info (This mod still worked) ..i changed it to match the twitter info and it is working fine again now.
BucWiLd
09-18-2009, 12:50 AM
mines stays on fetching.. i matched the case letters
bestmilan
09-18-2009, 08:47 PM
great mod !! thanks
edward hamilton
09-20-2009, 10:06 PM
After reading all of the above posts, I can't get this mod to work and suspect it is because I have edited memberinfo_block_twitter
Can anyone post the code in this template?
edward hamilton
09-20-2009, 10:12 PM
I reverted memberinfo_block_twitter to the original unedited version in the history and this still doesn't show up in the member profile. Any ideas?
l3it3r
09-23-2009, 10:45 AM
This doesn't work for me :(
MagicThemeParks
09-24-2009, 01:53 AM
Worked perfectly! :up:
masterweb
11-03-2009, 06:10 PM
Installed on just 5 seconds, great mod (thanks a lot :D )
Harley D
12-04-2009, 08:54 PM
I seem to be getting only tweets I made from 129 days ago? nothing more resent. any ideas?
vbv 3.8.4
oxblood12
12-24-2009, 01:26 AM
thanks testing
saturngod
01-04-2010, 03:02 PM
also work in vb4. Thank
Wseries
02-21-2010, 04:19 PM
Does not appear to be working on vBulletin 4.0.2.
Kaelon
04-06-2010, 07:52 PM
The class and javascript do not function anymore; I'm not sure if the Twitter widget was changed since you released this, but bottom line, this add-on does not seem to function anymore. Tested here on 3.8.4 PL 2 and 3.8.5.
Morrus
04-09-2010, 04:48 PM
Just installed on 3.8.4. Worked perfectly.
Had a while where I coulodn't figure out why it wasn't appearing - in the settings you don't just put the profile field number of your profile field, you have to put, in full, "field50" or whatever, not just "50".
Lore Master
04-10-2010, 11:26 PM
Does not appear to be working on vBulletin 4.0.2.
It'll work with 4.x with a small edit to the class_twitter.php file:
http://www.reawebservices.com/reaforum/members/rea-web-services.html
All I had to do was edit the class_twitter.php file to point to the 4.x memberinfo hooks. I then edited the twitter template to give it the look of the other blocks.
BlueCheri
07-03-2010, 05:55 AM
Looking for this mod for 4.0.4
eternal_
09-09-2010, 12:22 PM
Looking for this mod for 4.0.4
me too.
BlackThorn
09-13-2010, 08:07 PM
Not working.
MagicThemeParks
09-14-2010, 12:31 AM
Working for me
Demo: http://www.fantasyleagueforums.com/member.php?u=1
8thos
05-21-2011, 07:48 PM
Not working in vb4.1.3
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.