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)

CharlieDelta 06-23-2011 12:25 AM

Quote:

Originally Posted by Gemma (Post 2211564)
Try this

Code:

#twitter {
        width: 900px;0.81em;
        border: 0px solid #888;
}
#twitter_update_list {
        margin: 0;
        padding: 0 0.5em 0.5em 0.5em;
        list-style-type: none;
}
#twitter_update_list li {
        margin: 0;
        padding: 0.5em 0 0.5em 0;
        border-bottom: 0.5px solid #ccc;
}
#twitter_update_list li a {
        /* timestamp link */
        color: #f00;
}
#twitter_update_list li span {
        display: block;
}
#twitter_update_list li span a {
        /* links in tweet */
        color: #00f;
}
#twitter_update_list li.firstTweet {
}
#twitter_update_list li.lastTweet {
        border-bottom: none;
}


Sorry I still get the same error. Strange.

merk_aus 06-23-2011 12:35 AM

I get the same error as well so unable to install until this is hopefully fixed - shame as my members would love this.

EDIT: Okay here is something strange for those who have been adding this with the error above (the curl ending error) - try pasting this code at the top of your additional.css rather than the end.

I know it's weird but I just put this at the top after posting I had the same error and it saved no issues.

Gemma 06-23-2011 12:49 AM

Yeah I was just going to say that. I'll make a stylesheet in the morning to save any bother

CharlieDelta 06-23-2011 03:29 AM

Quote:

Originally Posted by merk_aus (Post 2211572)
EDIT: Okay here is something strange for those who have been adding this with the error above (the curl ending error) - try pasting this code at the top of your additional.css rather than the end.

I know it's weird but I just put this at the top after posting I had the same error and it saved no issues.

Yup that did it! Thanks.

CharlieDelta 06-23-2011 03:37 AM

The enhanced version is just awesome!!:up:

merk_aus 06-23-2011 04:10 AM

Quote:

Originally Posted by Gemma (Post 2211580)
Yeah I was just going to say that. I'll make a stylesheet in the morning to save any bother

Sorry didn't mean to steal your thunder, I just wanted this to work on my new site and continued to get that error and then it was by pure mistake I pasted it at the beginning and it worked and my members are loving it.


Quote:

Originally Posted by CharlieDelta (Post 2211620)
Yup that did it! Thanks.

Am glad I was able to help, I am not the best coder in the world but I thought it has to work somehow so was going to do some trial and error until I accidently pasted the code at the top of the additional.css page and it worked.

Gemma 06-23-2011 07:04 PM

I've added a stylesheet (twitter.css) and update the zip file and instructions :)

If you are updating, download the new zip file and upload the contents to your forumroot, delete the additional.css template edit.

Open your headinclude template and 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>

Below that add:
Code:

<link rel="stylesheet" href="twitter/twitter.css"/>

CharlieDelta 06-24-2011 03:25 AM

Quote:

Originally Posted by Gemma (Post 2211874)
I've added a stylesheet (twitter.css) and update the zip file and instructions :)

If you are updating, download the new zip file and upload the contents to your forumroot, delete the additional.css template edit.

Open your headinclude template and 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>

Below that add:
Code:

<link rel="stylesheet" href="twitter/twitter.css"/>

Perfect! :up:

x YNWA x 06-24-2011 11:46 AM

followed the instructions and it isnt working for me on 4.1.3 i have a profile field number 7, and it is in there under field7 as per instructions and no feed is showing up.

CharlieDelta 06-24-2011 12:58 PM

Quote:

Originally Posted by x YNWA x (Post 2212140)
followed the instructions and it isnt working for me on 4.1.3 i have a profile field number 7, and it is in there under field7 as per instructions and no feed is showing up.

Ensure that you have the proper field # in all four instances. I have 4.1.3 and is working perfect. Read the code carefully and change all fieldXX to field18. Missing one will cause it to not load the tweets. :D


All times are GMT. The time now is 03:56 PM.

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.01181 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
  • (6)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