vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Profile Enhancements - Twitter Updates in Members Profile (https://vborg.vbsupport.ru/showthread.php?t=265541)

Gemma 07-20-2011 03:26 PM

Works for me using FF5.

What version of FF are you using and what doesn't seem to be working?

CharlieDelta 07-20-2011 04:16 PM

Quote:

Originally Posted by Gemma (Post 2222904)
Works for me using FF5.

What version of FF are you using and what doesn't seem to be working?

Yup using 5 as well. I just checked and it is now working. I refresh the page and it is gone.

Gemma 07-20-2011 05:15 PM

Do you mind PMing me a link to your site so I can have a look?

CharlieDelta 07-20-2011 05:33 PM

Quote:

Originally Posted by Gemma (Post 2222951)
Do you mind PMing me a link to your site so I can have a look?

Done. :up:

Gemma 07-24-2011 01:33 PM

Anyone running this on vB 4.1.4 and having problems with the tweetbox not showing might want to try this solution.

AdminCP > Plugins & Products > Add New Plugin

Product: vBulletin
Hook Location: member_build_blocks_start
Title: Load About Me Tab By Default
Execution Order: 5
Plugin PHP Code:
Code:

if (!$vbulletin->GPC_exists['tab'])
{
    $vbulletin->GPC['tab'] = 'aboutme';
}


x YNWA x 07-24-2011 05:14 PM

Quote:

Originally Posted by Gemma (Post 2217540)
Yes this one is per user.



Are the jscript and css files in the correct location? It should really work on any vB 4.x.x - is anything showing up in the profile?

Just followed instructions, location?

x YNWA x 08-03-2011 11:20 AM

Trying this again but still not working. I even changed permissions of the folder to 777 because I thought it was something to do with that.

I am using the css version not basic one. Followed steps 1-6

8thos 08-03-2011 06:41 PM

Quote:

Originally Posted by Gemma (Post 2221436)
And if you want to add a tweetbox to your feed:

Open your headinclude template
Find:
Code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="twitter/jquery.twitter.js"></script>
 <script src="http://platform.twitter.com/anywhere.js?id=consumer_key&amp;v=1">
  </script>
  <script type="text/javascript">
    twttr.anywhere(function(twitter) {
            twitter.hovercards({ expanded: true });
    });
  </script>
<link rel="stylesheet" type="text/css" href="twitter/twitter.css"/>

Replace it with:
Code:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="twitter/jquery.twitter.js"></script>
<script src="http://platform.twitter.com/anywhere.js?id=consumer_key&amp;v=1">
  </script>
  <script type="text/javascript">
    twttr.anywhere(function(twitter) {
    twitter.hovercards({ expanded: true });
});
  twttr.anywhere(function (twitter) {
  twitter("#tbox").tweetBox({
  count: true,
  height: 100,
  width: 400,
  label: "Send a tweet",
      });
  });
        </script>
<link rel="stylesheet" type="text/css" href="twitter/twitter.css"/>

Remember to change the consumer_key. Save.

Open memberinfo_block_stats
Find:
Code:

<br><dt class="smallfont">You can follow me on Twitter, my username is <a class="twitter-anywhere-user" href="http://twitter.com/{vb:raw userinfo.fieldXX}">{vb:raw userinfo.fieldXX}</a></dt>
Below that add:
Code:

<img src="clear.gif" height="10" /><br />
<div id="tbox"></div>

Save.

Wow! Thank you!

Gemma 08-05-2011 11:47 AM

1 Attachment(s)
Quote:

Originally Posted by cloferba (Post 2222669)
i would like to see a demo :(

Here's a picture.

It shows your last X tweets in your profile (About Me tab), when you hover over a twitter account link ie @username (see @youtube in image) it displays an info hovercard. Also there is a tweetbox so you can send a tweet directly from your website profile to your twitter account.

webgroup 08-08-2011 06:34 AM

No twitterr area is showing in the about me tab in my profile. v.4.1.5
I tried adding the above plugin and nothing.


All times are GMT. The time now is 11:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01205 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete