Tricked Out News

Welcome to TON. This site is dedicated to development of addons for the RavenNuke™ CMS
Follow Us:
Tricked Out Mods: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unexpected error with T Center
 
 
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> Twitter Center Block
View previous topic :: View next topic  
Author Message
sexycoder
Regular
Regular


Joined: Jun 03, 2009
Posts: 10

Reputation: 1

PostPosted: Tue Sep 08, 2009 1:48 pm 
Post subject: Unexpected error with T Center
Reply with quote

Hi Bobby

I am having an error with the javascript from twitter everytime I enter the site.

This file is causing that plugin.js. I downloaded and I called it directly to my site but the problem persist. Sometimes I get it but sometimes not.

The problem is twitter news dissapear. Thanks in advance.
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Tue Sep 08, 2009 4:01 pm 
Post subject:
Reply with quote

I have been having the same problem. It is something with twitter. They actually host the javascript file that is being called. I checked with them to see if they had updated the js but they have not. They are still using the same one. I hope they fix the glitch soon.
_________________
Tricked Out News
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 600
Location: North Carolina
Reputation: 543Reputation: 543Reputation: 543
votes: 4

PostPosted: Wed Sep 09, 2009 8:07 am 
Post subject:
Reply with quote

Something that seems to help is to defer the javascript. This can be done by opening the block-twitter.php and adding the following code:

Code:
defer=\"defer\"

just after
Code:
script type=\"text/javascript\"

which will result in the following:
Code:
$content .= "<script type=\"text/javascript\" defer=\"defer\" src=\"http://twitter.com/javascripts/blogger.js\"></script>\n"; 

$content .= "<script type=\"text/javascript\" defer=\"defer\" src=\"http://twitter.com/statuses/user_timeline/$tname.json?callback=twitterCallback2&amp;count=$tnum\"></script>\n";
  
Back to top
View user's profile Send private message
sexycoder
Regular
Regular


Joined: Jun 03, 2009
Posts: 10

Reputation: 1

PostPosted: Mon Sep 14, 2009 9:50 am 
Post subject:
Reply with quote

Very nice from you bobby. I notice you are very serious with phpnuke. I love that from you. Keep on doing the best. I wish I could work more with you. Is the tag cloud available on download session?

Thanks for this fix. I knew something was not working.
  
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> Twitter Center Block All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
Forums ©