Twitter on portal board

Please post general support questions for the phpBB3 core system on phpBB.com!
Bitte allgemeine Supportanfragen zu phpBB3 auf phpBB.de stellen!
Forum rules
Please post general support questions for the phpBB3 core system on phpBB.com!
Bitte allgemeine Supportanfragen zu phpBB3 auf phpBB.de stellen!

Topic author
Weltall
Active Member
Active Member
Posts: 18
Joined: 19. April 2010 20:45
phpBB.com User: Weltall

Twitter on portal board

Post by Weltall » 16. May 2010 11:18

Your Portal Version: 1.0.6RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://decimabc2.it

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
Hi
Searching on the web i discovered a project wich allow to have a twitter box on homepage,allowing users to be updated in real time about the channel they select.
I tried to intall this thing but it doesn't seems to work for me.
Here is the project link: rem blog
and here it is the code I applyed in my block:

Code: Select all

{$LR_BLOCK_H_L} Official BFBC2 Twitter {$LR_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%" >
   <tr class="row1">
      <td style="text-align:center;">
<script   src="http://twitterjs.googlecode.com/svn/trunk/src/twitter.min.js"  type="text/javascript">
</script>
<script type="text/javascript" charset="utf-8">
getTwitters('tweet', { 
  id: 'OfficialBFBC2', 
  count: 2, 
  enableLinks: true, 
  ignoreReplies: true, 
  clearContents: true,
  template: '"%text%" <a href="http://twitter.com/%user_screen_name%/statuses/%id%/">%time%</a>
  <hr width="50%">'
});
</script>
<div id="tweet">
 <p>Tweet sta caricando...</p>
 <p><a href="http://twitter.com/OfficialBFBC2">Se non puoi aspettare - clicca qui!</a></p>
</div>
         
      </td>
   </tr>
</table>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
I know this may be not the right place to post this problem,but support on that blog did not answered me,and maybe i only missed a stupid thing and you can help me...
thanks anyway[/i]

User avatar

Marc
Dev
Dev
Posts: 2487
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München

Re: Twitter on portal board

Post by Marc » 16. May 2010 15:21

This line is causing an error:

Code: Select all

  template: '"%text%" <a href="http://twitter.com/%user_screen_name%/statuses/%id%/">%time%</a>
And this is the error:

Code: Select all

unterminated string literal

And you are right, this is not the right place to ask for support. If you have an issue with a script, then please ask the script author for support or ask at phpBB.com.

Return to “General phpBB3 Support”