• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [solved] nh_api_twitteruser Weirdness
PostPosted: Fri Jul 03, 2009 11:39 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Aug 29, 2007 4:36 am
Posts: 104
Location: Sydney Australia
When I put the tag for this -
{nh_api_twitteruser name="CaffeineNews"}
- in my template everything works fine, except the tag itself writes this to the page:
"http://twitter.com/statuses/user_timeline/CaffeineNews.xml?count=10&page=1"

After that the tag works as expected listing the tweets fom twitter.

I've tried putting it in the head of the template but it still writes it at the top of the page.

Is there any way to suppress this?

Hoping
Simon66

_________________
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.

This must be Thursday. I never could get the hang of Thursdays.

Douglas Adams - The only sane person in the asylum.


Last edited by Simon66 on Sun Jul 05, 2009 1:23 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: nh_api_twitteruser Weirdness
PostPosted: Fri Jul 03, 2009 5:57 pm 
Hi Simon,

Slowely this is becoming embarrassing for me :). I made that plug-in... I will soon release a fixed file. The problem is, I forgot an ECHO in it.

You need to edit the plug-in in line 20 and remove

Code:

echo $rest;



Upload and you should be fine :).

Best
Nils


Top
  
 
 Post subject: Re: nh_api_twitteruser Weirdness
PostPosted: Sat Jul 04, 2009 12:41 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Wed Aug 29, 2007 4:36 am
Posts: 104
Location: Sydney Australia
Nils
Thanks for replying so quickly and thanks for the fix.
Its a great tag and it has way more functionality than anything from twitter.

I was considering doing a text replace for that bit but I'm a neat freak and thought it would be better to suppress whatever was writing that to the screen.

I'm now going to style the twitter box and I'll post whatever I come up with, maybe you can use it in the next release.

Thanks again
Simon66

_________________
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.

This must be Thursday. I never could get the hang of Thursdays.

Douglas Adams - The only sane person in the asylum.


Last edited by Simon66 on Sat Jul 04, 2009 1:11 am, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Dr.CSS, Zoorlat


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 post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner