Page 1 of 1

Twitter on portal board

Posted: 16. May 2010 11:18
by Weltall
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]

Re: Twitter on portal board

Posted: 16. May 2010 15:21
by Marc
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.