Forums / Addon Sideboxes / Twitter sidebox Cached

Twitter sidebox Cached

Views: 35,596

Results 41 to 60 of 71
13 Oct 2012, 1:41 PM
#41
soki avatar

soki

New Zenner

Join Date:
Apr 2008
Location:
Athens
Posts:
85
Plugin Contributions:
0

Twitter sidebox Cached

paulm:

Great! Thanks soki!

Applied the change, refreshed the cache, and it works again :clap:

That's great! :hug:

14 Oct 2012, 7:57 AM
#42
wakeleymb avatar

wakeleymb

New Zenner

Join Date:
Sep 2011
Location:
Sydney, Australia
Posts:
48
Plugin Contributions:
0

Re: Twitter sidebox Cached

is anybody having problems with the sidebox not displaying tweets atm?

wakeleymb.com.au

28 Dec 2012, 4:10 AM
#43
miked101 avatar

miked101

New Zenner

Join Date:
Dec 2012
Posts:
4
Plugin Contributions:
0

Re: Twitter sidebox Cached

I cant get this to show tweets either..

28 Dec 2012, 4:20 AM
#44
miked101 avatar

miked101

New Zenner

Join Date:
Dec 2012
Posts:
4
Plugin Contributions:
0

Re: Twitter sidebox Cached

More info....I am using Zencart 1.5.1 and twitter sidebox cache 1.3.9.

28 Dec 2012, 9:22 AM
#45
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Twitter sidebox Cached

wakeleymb:

is anybody having problems with the sidebox not displaying tweets atm?
Did you already apply the fix? (previous page, post #39)

(EDIT: the sidebox, including the fix, still works as usual here)

28 Dec 2012, 11:52 AM
#46
miked101 avatar

miked101

New Zenner

Join Date:
Dec 2012
Posts:
4
Plugin Contributions:
0

Re: Twitter sidebox Cached

Yes I applied that....cleared browser cache...then about an hour later tweets sowed up... The next day no tweets showing again..tried clearing browser cache still no tweets? Sorry I am new to this...is this how it should work?

28 Dec 2012, 9:42 PM
#47
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Twitter sidebox Cached

Miked101:

Yes I applied that....cleared browser cache...then about an hour later tweets sowed up... The next day no tweets showing again..tried clearing browser cache still no tweets? Sorry I am new to this...is this how it should work?
Well, it is correct that it takes a while before the first tweets show, that indicates that the cache works. You can speed that up if you like by refreshing the cache manually by adding ?refresh_twitter_cache to your url.

But the tweets should not disappear, no idea (yet) where that comes from :huh:

29 Dec 2012, 8:01 PM
#48
miked101 avatar

miked101

New Zenner

Join Date:
Dec 2012
Posts:
4
Plugin Contributions:
0

Re: Twitter sidebox Cached

It's working great now..maybe a twitter thing that was giving me issues? Thanks for your quick replies!! Great looking mod btw..Very Professional looking.:smile:

27 Feb 2013, 1:17 PM
#49
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Twitter sidebox Cached

Today I noticed some connection errors are not handled correctly by the mod (which might explain some of the reported incidental problems), and also found a fix for it.

I hope I will find the time to update soon, of course the api url correction will then be included.

6 Mar 2013, 5:07 PM
#50
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Twitter sidebox Cached

New version attached to this post (will be moved to the Zen Cart Plugins section later).

New in this version (quote from the readme):

New in v1.11

  • Tested on Zen Cart 1.5.0 & PHP5.3

  • Fix for http error responses
    Now the cache should be used (and not overwritten, as before) whenever the Twitter response is not 200.

  • Previously the timeout setting only worked when the connection to Twitter failed, now the same timeout is used to abort an update when the connection succeeds but the Twitter response fails or lags

  • Error responses are logged

  • Automated character set conversion (ISO-8859-1,UTF-8).

  • Fixed api url setting

8 Mar 2013, 12:08 PM
#51
phil_lomas avatar

phil_lomas

New Zenner

Join Date:
Feb 2013
Location:
Southampton, United Kingdom
Posts:
40
Plugin Contributions:
0

Re: Twitter sidebox Cached

Help. I am still working my way through zencart and getting to grips with it but am struggling to get my Twitter feed to work. I am posting feeds on twitter but they are not coming through on my site bikeporn.co.uk. Any thought or help as to why this is not working would be appreciated

thanks in advance

Phil

8 Mar 2013, 12:28 PM
#52
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Twitter sidebox Cached

Maybe I should document the cache feature better? I just manually refreshed your cache (by adding ?refresh_twitter_cache to the url) and I see a tweet :-)

8 Mar 2013, 12:55 PM
#53
phil_lomas avatar

phil_lomas

New Zenner

Join Date:
Feb 2013
Location:
Southampton, United Kingdom
Posts:
40
Plugin Contributions:
0

Re: Twitter sidebox Cached

Hi Paul

Thats great :D. Not sure I understand this as I was clearing my browser cache. Does this mean I will have to manually refresh it every time I want new tweets to come through?

Regards

Phil

8 Mar 2013, 1:51 PM
#54
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Twitter sidebox Cached

Phil Lomas:

Does this mean I will have to manually refresh it every time I want new tweets to come through?Normally it should refresh itself every 20 minutes (you can edit this value in the config file). But if you want a new tweet to appear right away you can manually refresh.

10 Mar 2013, 3:00 AM
#55
bcolby99 avatar

bcolby99

New Zenner

Join Date:
Sep 2012
Posts:
38
Plugin Contributions:
0

Re: Twitter sidebox Cached

where do I start on this? I downloaded the Twitter Side Box for 1.5 and have the files. I had someone design baystatetoolsupply.com and don't know where to place it or how to place it

17 Mar 2013, 6:57 AM
#56
cru22z avatar

cru22z

New Zenner

Join Date:
Dec 2012
Posts:
15
Plugin Contributions:
0

Re: Twitter sidebox Cached

HI There,

I installed the latest file and tested the sidebox in zencart with the live tweeter account however, I am getting a dutch translation of the 'Twitter data not available!'
Can you please advise? my site is mmaapparel.com.au

19 Mar 2013, 2:12 PM
#57
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Twitter sidebox Cached

cru22z:

mmaapparel.com.auI see tweets on your site, so I assume it was just the cache that wasn't refreshed yet?

@bcolby99: please be more specific about what's unclear about the installation instructions.

2 Apr 2013, 10:36 AM
#58
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Twitter sidebox Cached

cru22z:

HI There,

I installed the latest file and tested the sidebox in zencart with the live tweeter account however, I am getting a dutch translation of the 'Twitter data not available!'
Can you please advise? my site is mmaapparel.com.au

I was getting this until I uploadded the new version. However now I get One minuto ago, 5 days ago, 6 days ago etc - shouldn't I be seeing the tweets? They are in the cache file...

10 Apr 2013, 6:35 AM
#59
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Twitter sidebox Cached

The mod seems to be working and I can read tweets in the cache file but they don't appear in the sidebox. I only get links with the number of days ago tweets were posted. Help gratefully received.

10 Apr 2013, 11:37 AM
#60
patski avatar

patski

Zen Follower

Join Date:
Nov 2004
Location:
Deal, Kent, UK
Posts:
325
Plugin Contributions:
0

Re: Twitter sidebox Cached

Finally got this working - removed this from functions/extra_functions/twitter_cached_sidebox.php:

 if (!(CHARSET == 'utf-8')) { 
  // convert UTF-8 to ISO-8859-1
    $text = iconv('UTF-8', 'ISO-8859-1//TRANSLIT//IGNORE', $text);
  }