Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sun Mar 21, 2010 10:29 am Reply with quote

I hope to release this block today in its first Beta form. Here is a short-list of features being release:

1) Uses Twitter API's to get the user's timeline to refresh the block cache.
2) Caches block HTML in nuke_blocks for better performance.
3) Cached block content is used so that search engine spiders will crawl the produced time-line.
4) Numerous configuration options and more will be created with each release.

AJAX update of the user time-line in near "real time" is planned for the final release of 1.0.0.
 
View user's profile Send private message Visit poster's website
NBPRO
Newbie
Newbie



Joined: Jan 26, 2007
Posts: 1

PostPosted: Mon Mar 22, 2010 6:14 pm Reply with quote

well as you have i have also been looking for a good block for Twitter so i will let you know how ez it is for us noobs to get up and running Laughing ps im following you on Twitter Cool
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Mar 22, 2010 6:17 pm Reply with quote

Sounds good. I appreciate and and all feedback. I may not incorporate all, but that doesn't me I do not appreciate it. Laughing More feedback the better...

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Mon Mar 22, 2010 8:34 pm Reply with quote

I'll try and get this installed by the weekend Smile
Just a quickie though, are you caching a copy of a given twitter accounts full XML file or just caching the last xx bits of data?
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Mon Mar 22, 2010 8:45 pm Reply with quote

Only the number of tweets that you elect to show within the configuration settings. I believe the default is 8 right now.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Murdock
Newbie
Newbie



Joined: Feb 15, 2008
Posts: 1

PostPosted: Tue Mar 23, 2010 6:22 pm Reply with quote

I tried to use an twitter account with an underscore. This is replaced by %20 (space), and ofcourse this won't work.
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Tue Mar 23, 2010 7:24 pm Reply with quote

@ M around line 210 / 334 in the Class there is a rawurlencode in the timeline and 'friend' link building. It's possible this isn't the issue but just trying to save you some time.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Tue Mar 23, 2010 10:19 pm Reply with quote

I'll have to dig further I am afraid, as the PHP manual rawurlencode isn't suppose to change either of "-" or "_".

http://php.net/manual/en/function.rawurlencode.php

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Tue Mar 23, 2010 10:34 pm Reply with quote

Murdock wrote:
I tried to use an twitter account with an underscore. This is replaced by %20 (space), and ofcourse this won't work.


I found a user who had an underscore in their screen name and it worked just fine. Are you sure that you have both the screen name and your id correct?

Maybe PM me both of these so that I can give it a try locally?
 
View user's profile Send private message Visit poster's website
zacklk
Newbie
Newbie



Joined: Mar 20, 2010
Posts: 35

PostPosted: Wed Mar 24, 2010 2:27 am Reply with quote

This is great i will try this one today. thanks.
 
View user's profile Send private message
hicux
Newbie
Newbie



Joined: Jan 30, 2009
Posts: 92
Location: NL

PostPosted: Fri Apr 02, 2010 5:00 am Reply with quote

Hi Montego. Can u please tell me how this works. I tried but it doesnt work for me. Maybe I miss something. Sad

How do I get my user ID. I cant find it.
 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Fri Apr 02, 2010 5:32 am Reply with quote

That would be your Twitter account username.
 
View user's profile Send private message
hicux
Newbie
Newbie



Joined: Jan 30, 2009
Posts: 92
Location: NL

PostPosted: Fri Apr 02, 2010 5:42 am Reply with quote

Very Happy

Ok, I am here again to report the problems after testing the block.

I found out if I put the twitter block on the right or left side then it doesnt show, maybe javascript conflict. I wanna know why it is happening that.

How to find your ID from twitter?

http://help.twitter.com/entries/15360-how-to-find-your-user-id

Maybe Montego forgot to say. I dont know but I couldnt find my id on my twitter account until I read this tutorial from the site above.

Congratulation montego. it looks very nice the block. Thanks.

you can see the block here www.bestbuildpc.com
 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Fri Apr 02, 2010 6:18 am Reply with quote

I don't know if it is the cause but you have two JS on.document.ready functions. Try disabling the live chat and see if that helps.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Fri Apr 02, 2010 9:26 am Reply with quote

hicux, thank you for the nice link. I shall include that in the instructions next time. I didn't provide any assistance there. It had been so long since I had found mine that I didn't remember how difficult it was. Wink

BTW guys, there is NO javascript in this thing yet, so you can rule out anything javascript related in your thinking. I am using this block on the right-hand side, so I can't see why it would not work on your site? What do you mean by "it doesn't show"? Can you expound a bit please? Do any of your blocks underneath and above it still show? What about the footer?

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©