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 08-08-2011 06:16 PM

Quote:

Originally Posted by webgroup (Post 2230789)
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.

Can you provide me with a link to your site?

webgroup 08-16-2011 02:17 AM

Oops, forgot to replace fieldxx for the actual one in one of the instances.

Working great!

But, the tweeter box is not working, when I try to send a tweet and authorize the connection, I get this:

Sorry, something went wrong.
The provided callback url http://www.mywebsite.net/forums/members/gregg/ is not authorized for the client registered to ''.


Thanks

Gemma 08-16-2011 10:04 AM

Looks like you haven't set up the application correctly in Twitter - https://dev.twitter.com/apps/new

webgroup 08-17-2011 12:32 AM

Thanks.
The callback URL setting was empty

Gemma 08-30-2011 07:04 PM

1 Attachment(s)
Anyone wanting a 'Twitter Follow' button instead of
Quote:

You can follow me on Twitter, my username is blah...
Can apply the following

In your memberinfo_block_statistics template, find:

Code:

<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>
Replace it with
Code:

<a href="https://twitter.com/{vb:raw userinfo.fieldxx}" class="twitter-follow-button" data-show-count="true">Follow @{vb:raw userinfo.fieldxx}</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>

Remember change the fieldxx.

Clicking on the username will produce a mini-profile popup and it will also tell how many followers the user has.

x YNWA x 09-12-2011 01:02 PM

Ok So when i was setting this up and I said it was not working, I was looking in the wrong place! I thought they appeared in the user info where people post! Ill test this again later!

Any way I can set this up so it appears in the user info part instead of profile? (or some kind of popup)

Thanks

x YNWA x 09-13-2011 12:18 PM

Ok So I have done this but it turns my profile pages into a page with a transparent background instead of white.

Before:

http://cl.ly/1X0V11121r1a063A1Q00

After:

http://cl.ly/251Z2E1C0m3M000V2k0Z

A bit further down the twitter thing working:

http://cl.ly/1e1L0J3p1x3x0N3T2044

Gemma 09-13-2011 07:08 PM

Try removing one of the </div> tags towards the end of the code

Code:

</div></div>
</vb:if>


rugby 10-01-2011 11:48 AM

This is the great mod, i tried on my vb 4.1.6 site and it worked on FF7 browser.

Kingdombuilder 10-16-2011 07:36 PM

It works good for listing tweet updates for me on 4.1.2 - FF. I tried the Tweet box and it showed up for the first time and then disappeared when I tried to use it. I got an error talking about the call back url as well. After leaving the page and then coming back is when i notice that the tweet box was gone.


All times are GMT. The time now is 10:52 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.01334 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (2)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