vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - [CanesInSight] Twitter in Profile Tab (API 1.1 Compatible) (https://vborg.vbsupport.ru/showthread.php?t=315532)

AndrewSimm 11-20-2014 10:00 PM

[CanesInSight] Twitter in Profile Tab (API 1.1 Compatible)
 
1 Attachment(s)
This mod adds a tab to the user profile displaying the users twitter feed. The user enters their twitter username into a profile field which links it to the tab. Admins can select what features and style they want the users to have by using the options in the admin panel. This mod does work with the Twitter 1.1 API.

Features available to set in AdminCP (Screenshot Attached)
  • Set Link Color
  • Set Border Color
  • Show Replies
  • Set number of tweets to display
  • Show or Hide Header
  • Show or Hide Footer
  • Show or Hide Borders
  • Make background transparent

Things you need to do with Twitter
  1. Vist https://twitter.com/settings/widgets and set up a widget
  2. Get Widget ID which appears in address bar when you click to edit the widget

Create Custom Profile Field in vBulletin AdminCP and use the following options (Screenshot Attached)
- Title = Twitter (You can call this whatever you want really)
- Private Field = no
- Regular expression = ^[^\@]*$ (This prevents users from enter the @ sign with their username)

Installation (Screenshot Attached)
After completing the above install the mod and enter the widget id you got with twitter and the profile field # you got when you created the custom profile field in the admincp.

Enjoy!


11-22-14 - Fixed missing closing div tag in profiles with no twitter linked.

AndrewSimm 11-21-2014 08:58 PM

Reserved


All times are GMT. The time now is 04:33 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.01067 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete